It's not a question of programs, manpower or budgets, it's a question of Presidential will. The President can shut down the border cold at any time by executive decision, with no need to consult Congress. All he needs to do is issue "wartime rules of engagement" to the current Border Patrol. The current meant-to-fail Keystone Kops ROE are the problem.
Yup. National security has taken a back seat to pandering.