Hi Rob,
What's in your batch4.com file ? when you execute $ pro "QUE4", "QUE4" is treated as a parameter for the pro command and it doesn't recognise it. I'm guessing that's why you received that error.
The first parameter should be the CO/DIV parameter which is an alpha-numeric of 3 characters. The second parameter should be the pro4 user id, also 3 characters.
I've execute the pro command in a VMS script using pro "LOG" "LOG" "function name", where LOG is a dummy CO/DIV and LOG is also a pro4 user ( just for running batch jobs ) and "function name" being another parameter.
To run a pro4 job from a VMS queue, don't you just submit your batch4.com file on a queue ? At the specified time/date, VMS executes batch4.com script which then logs into pro4 via pro command with appropriate parameters.
Hai
hai
Member Since 04 Jul 2003Offline Last Active Jan 09 2006 06:19 AM