Its a bit complicated...
The vacuum pump supplies vacuum to a switch on the injector pump,called a VRV valve...this switch interupts the vacuum to the tranny modulator...what it does is regulate the vacuum so it acts just like a gas engine does--high vacuum at idle,and progressivly less vacuum as the throttle is opened wider..since a pump put out constant vacuum,this valve is needed for the tranny modulator to work properly( I.E. "fool" it into thinking its hooked to a gas engine!)..
The VRV valve on my truck was pooched--the tranny would hang in second gear until 50+mph,then SLAM into 3rd when I first got the truck--which supposedly had a fresh rebuilt TH400 installed when a boneyard motor was put in--
The shop that did the swap must have never seen or worked on a diesel GM truck before--they succeded in installing the engine and tranny,but couldn't even get it started!--nor did they have a clue HOW too!

--when I asked on CK5,tRustyK5 told me how to bleed the fuel system,and what too do about fuel lines and glow plugs,and I got it started in no time,and its been one of the best trucks I've owned so far(and my first GM diesel!)..
Back to the VRV valve!--mine wasnt working right,I adjusted it (its similar to a throttle posistioning sensor on EFI)..but it acted the same,or sometimes it would work perfect,and shift normal,then act up again!..a search at the dealer showed the valve was no longer a "service part"--and every one I saw at the junkyards were pooched as well,or they would not "break up" parts off a good running 6.2..SO---
I asked at a few tranny shops locally and 2 guys said the same thing--run the hose directly to the modulator valve from the vacuum pump!--and screw the adjustment screw on the modulator (usually located INSIDE the nipple the hose goes on!) with a tiny screwdriver IN until it bottoms out gently! (DONT TIGHTEN IT TOO TIGHT!) and the tranny should shift normally!.....
I've had mine set up that way since I got the truck roadworthy 1-1/2 years ago--it shifts a bit early and too smooth for my tastes,but at least I dont have to hit 50 before it shfts into 3rd anymore,and it hasn't blown the tranny after plowing 25 BAD snowstorms last winter,so I guess the "soft" shifts havent hurt it any..
One other tranny shop said they use a "mechanical" modulator that is CABLE operated on diesel trucks like mine with the vacuum switch dilema--they said places like Jegs or Summit sells them for cars using a 6-71 Blower or other supercharger,because the blower will make the modulator act goofy!!...I looked on TCI's website--they sell one for about 120 bucks!
