IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copybook Help required


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chkiran2

New User


Joined: 24 Jun 2004
Posts: 24
Location: Gurgoan

PostPosted: Wed Nov 10, 2004 12:37 pm
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
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Fri Nov 12, 2004 11:54 am
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Trying to change copybook in online c... CICS 4
No new posts Help to Filter File Manager Copybook ... DFSORT/ICETOOL 14
No new posts Need to add field to copybook, proble... COBOL Programming 14
No new posts Recompiling programs after a copybook... COBOL Programming 1
Search our Forums:

Back to Top