Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Need equivalent conversion for Older Version code

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
AJAYREDDY

New User


Joined: 17 Feb 2007
Posts: 47
Location: USA

PostPosted: Tue Dec 04, 2007 11:36 pm    Post subject: Need equivalent conversion for Older Version code
Reply with quote

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
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Dec 04, 2007 11:58 pm    Post subject: Re: Need equivalent conversion for Older Version code
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 1 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us