Hi,
My requirement is as follows.
I have to write 2 headers in the report using cobol. My requirement is as follows.
Read one item from input file and write header in the first page.
-------------------------Header1-------------------------------
Compare that item with 10 other input files and write those records in the report.
But after going to second page the header gets changed to header2.
How do I implement this?.
Report Layout:
-------------------------Header1------------------------------- (page1)
Write compared records....
...
...
...
When you reach page 2 change the header
-------------------------Header2------------------------------- (page2 till you complete writing all records)
This has to repeated for all the items.