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

the copybook comes from???


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

New User


Joined: 13 Feb 2004
Posts: 5

PostPosted: Sun Feb 29, 2004 2:19 pm
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
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Feb 29, 2004 10:57 pm
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
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 Replacing FILLER with FILLER<SeqNu... DFSORT/ICETOOL 2
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
Search our Forums:

Back to Top