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: 6966
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top