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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm


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