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
 
the copybook comes from???

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

New User


Joined: 13 Feb 2004
Posts: 5

PostPosted: Sun Feb 29, 2004 2:19 pm    Post subject: the copybook comes from???
Reply with quote

Assuming one particular copybook may exist in multiple-libraries. And I don't want to search the copybook from the library one by one. Can anybody tell me how to know the copybook invoked by PGM is coming from which libraries after PGM is compiled.
Back to top
View user's profile Send private message
References
PostPosted: Sun Feb 29, 2004 2:19 pm    Post subject: Re: the copybook comes from??? Reply with quote

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1494

PostPosted: Sun Feb 29, 2004 10:57 pm    Post subject:
Reply with quote

Hi adous,

In a standard COBOL compile the copybook lib(s) are pointed to by the SYSLIB DD in the compile step JCL.

If there's more than one lib and they're concatenated you'll have to search each lib in the concatenation. The circumstances surrounding your particular compile may give you some insight into which lib in the concatenation might contain the copybook.

For example, if you're testing a change in the cbook made by another pgmr, there's a good chance the cbook will reside in a test lib in the concatenation. Otherwise, you'll have to search the old fashoned way: one lib at a time. icon_smile.gif

HTH, Jack.
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