Hi folks,
I am working on the VS COBOL-II. I had coded a new program in which there was a requirement of using the BEFORE ADVANCING PAGE with one of the WRITE statement out of 24 WRITE statements. When I'm using BEFORE ADV.. all the writes are being written preceded by the blank line and the format of my output file changes from FB 132 to FBM 133. And just to be sure that the problem is coming out of the BEFORE ADVANCING PAGE statement I changed this to AFTER ADVANCING PAGE. And the things worked as expected with no blank preceding in other write statements and the page break at required position and the file format changed from FB 132 FBA 133, which was expected because of the control chracters being inserted.
Please let me know if you need any other information regarding this.
thanks and regards,
Atul
I am working on the VS COBOL-II. I had coded a new program in which there was a requirement of using the BEFORE ADVANCING PAGE with one of the WRITE statement out of 24 WRITE statements. When I'm using BEFORE ADV.. all the writes are being written preceded by the blank line and the format of my output file changes from FB 132 to FBM 133. And just to be sure that the problem is coming out of the BEFORE ADVANCING PAGE statement I changed this to AFTER ADVANCING PAGE. And the things worked as expected with no blank preceding in other write statements and the page break at required position and the file format changed from FB 132 FBA 133, which was expected because of the control chracters being inserted.
Please let me know if you need any other information regarding this.
thanks and regards,
Atul