Use of List Variables Each COBOL job that I recieve in a BAT file may contain 1 or 2 COBOL programs, or an FTP and a COBOL program. I would include the following at the top of the BAT file:
go to jobstart
COBJOB=cobolprog1.exe,cobolprog2.exe
:jobstart
Then I have code that will monitor the program until it ends or throws a U-level error and pops up a series of two different message boxes. I have been able to get it working perfectly.
Thanks. |