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

How to Expand the COPY Book while in Program itself.


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kiran_polnati
Warnings : 2

New User


Joined: 23 Jun 2005
Posts: 22

PostPosted: Wed Jul 02, 2008 5:17 pm
Reply with quote

How to Expand the copybook in COBOL Programme itself. I know that the copy book will expand in Precompilation time when we code Copy COPYBOOKNAME IN COBOL PROGRAM.

My requirement is while coding the program I want to refer the one variable name in copy book, for this we need to open the copy book explicitly. For convenience purpose expand the copy book in program itself.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6965
Location: porcelain throne

PostPosted: Wed Jul 02, 2008 5:35 pm
Reply with quote

anything other than expanding the copybook as notelines could lead to problems if you save the module without deleting the 'expanded copybook'.

suggest that you utilize SWAP and cut&paste.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts DB2 Image Copy DFSMS MGMTCLAS Partial... DB2 2
No new posts After newcopy the CICS program user f... CICS 7
No new posts Starting a CICS Transaction from a Th... CICS 0
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts Copy only TEXT or String from a record SYNCSORT 4
Search our Forums:


Back to Top