Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 52
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 Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us