Page 1 of 1

Routing the output to a file

PostPosted: Tue Oct 05, 2010 3:18 pm
by isai_22
Hi

I have a command macro that does some specific tasks of copying files. After the process is over , I am right now displaying " Copy process over " using display_line command. I want this message to be captured in a file for future reference. Can some one suggest me a solution to route it to a file.

Isai.

Re: Routing the output to a file

PostPosted: Tue Oct 05, 2010 7:03 pm
by NicC
In cobol there is no display_line command that I know of.

Is this a foreground execution i.e. is the message displaying to a terminal or to sysout? If foreground just change the code to write the message to a file. If background just change the JCL to use a dataset rather than a sysout class.