Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating Reports 1

Status
Not open for further replies.

starter

MIS
May 11, 2001
2
0
0
US
Anyone have any idea how can i generate error report on a separate file from my output file. Eg. I would need to print the errors occured in the program.
Can i open 2 files and print to 2 files at the same time ?

Is there any URL where i can get help from ?
Thanks.
 
Starter,

i don't know in what environment you are working, but COBOL is perfectly capable of processing (reading and/or writing) multiple files. Open two output files, or as many as you fancy, and write your output (= processed data) to one and your error report lines to another. Whether the error report file is actually written to a file or to a printer is no issue.

Good luck !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top