View previous topic :: View next topic
|
Author |
Message |
AJAYREDDY
New User
Joined: 17 Feb 2007 Posts: 52 Location: USA
|
|
|
|
I have older version of COBOL code and its giving compilation errors with new processors. Can anyone please let me know what is the equivalent conversion for these statements marked in Red?
MOVE A-VAR1 TO B-VAR2.
ON 1 MOVE C-VAR3 TO D-VAR4.
WRITE REPORT-REC FROM TANK-TITLE1
AFTER POSITIONING 0 LINES
Both ON and POSITIONING keywords does not take with New Processor.
Thanks |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
AJAYREDDY wrote: |
I have older version of COBOL code and its giving compilation errors with new processors. Can anyone please let me know what is the equivalent conversion for these statements marked in Red?
MOVE A-VAR1 TO B-VAR2.
ON 1 MOVE C-VAR3 TO D-VAR4.
WRITE REPORT-REC FROM TANK-TITLE1
AFTER POSITIONING 0 LINES
Both ON and POSITIONING keywords does not take with New Processor.
Thanks |
ON is gone, you will have to set up your own means of doing this. POSITIONING I think can be replaced with ADVANCING. |
|
Back to top |
|
|
|