Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Copybook Help required-Urgent

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
chkiran2

New User


Joined: 24 Jun 2004
Posts: 25
Location: Gurgoan

PostPosted: Wed Nov 10, 2004 12:37 pm    Post subject: Copybook Help required-Urgent
Reply with quote

Hi

I need your help in getting the syntax for the following.

I have a copybook which has field definations. When I am using the copy book in one of the programs I want that to change all Level 01 to 05; Level 05 to Level 10; Level 10 to Level 15 for this particular program using the COPY statement. Please note that it should change the above strings (01, 05, 10 etc) at any where else in the program execept for level numbers.
Back to top
View user's profile Send private message
References
PostPosted: Wed Nov 10, 2004 12:37 pm    Post subject: Re: Copybook Help required-Urgent Reply with quote

manoopatil

New User


Joined: 07 Dec 2003
Posts: 25
Location: Pune

PostPosted: Fri Nov 12, 2004 11:54 am    Post subject:
Reply with quote

Why do you want to do it using "COPY" command? Any specific reason.

I gues you can write a small Cobol program or earl script for it , if the level number is starting in the specific column.

Best Regards,
Manohar
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1