|
|
| Author |
Message |
adous_sg
New User
Joined: 13 Feb 2004 Posts: 5
|
|
|
|
| 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 |
|
 |
References
|
Posted: Sun Feb 29, 2004 2:19 pm Post subject: Re: the copybook comes from??? |
 |
|
|
 |
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1494
|
|
|
|
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.
HTH, Jack. |
|
| Back to top |
|
 |
|
|