klophockey
Programmer
Typically, in a Cobol program if you have a line such as
DISPLAY "Hello World".
It will be displayed on the on console output. Of course, adding the line to UPON CONSOLE assures that it gets there.
I am calling a Cobol program from a batch file and want the console output to go to a file. The file is defined by a system variable called 'runout'
Eg. call cobolpgm >> %runout%
This works with no issue when executing MFCobol or ISCobol.
However when attempted with ACUCobol, it sends the output to a console window.
Anyone have an idea for me?
Thank you very much.
DISPLAY "Hello World".
It will be displayed on the on console output. Of course, adding the line to UPON CONSOLE assures that it gets there.
I am calling a Cobol program from a batch file and want the console output to go to a file. The file is defined by a system variable called 'runout'
Eg. call cobolpgm >> %runout%
This works with no issue when executing MFCobol or ISCobol.
However when attempted with ACUCobol, it sends the output to a console window.
Anyone have an idea for me?
Thank you very much.