klophockey
Programmer
I am executing a Cobol program using RMCobol in a Windows environment.
I have made a slight change to the program so that I could prove it was working properly and also allows me to ask the following question.
As the program executes it executes 'Display' statements.
I can see the displayed information in a separate display window that pops up over the Command Prompt window.
I am able to see them all because I have put an 'Accept' data-field at the end of the program which keeps that Display window up until I hit enter.
This Accept statement is only for the purpose of figuring out what is going on. It cannot be part of the Production program.
MY QUESTION:
I need the output that is being put in the Display window to be sent to a file. We would call this a Standard Output file in MFCobol, ISCobol or ACUCobol.
RMCobol in the Linux environment puts the program display statement output to a Standard Output file without any special coding to do so.
Is there a change I could make to the configuration file statements which are used at the time runcobol.exe is executed which would send the program display information to a file?
I thank you and appreciate your expertise on the subject.
I have made a slight change to the program so that I could prove it was working properly and also allows me to ask the following question.
As the program executes it executes 'Display' statements.
I can see the displayed information in a separate display window that pops up over the Command Prompt window.
I am able to see them all because I have put an 'Accept' data-field at the end of the program which keeps that Display window up until I hit enter.
This Accept statement is only for the purpose of figuring out what is going on. It cannot be part of the Production program.
MY QUESTION:
I need the output that is being put in the Display window to be sent to a file. We would call this a Standard Output file in MFCobol, ISCobol or ACUCobol.
RMCobol in the Linux environment puts the program display statement output to a Standard Output file without any special coding to do so.
Is there a change I could make to the configuration file statements which are used at the time runcobol.exe is executed which would send the program display information to a file?
I thank you and appreciate your expertise on the subject.