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 a copybook getting improper values in... COBOL Programming 7
No new posts IDMS record copybook IDMS/ADSO 3
No new posts COBOL copybook to Focus COBOL Programming 7
No new posts Converting a copybook value into Json... COBOL Programming 1
No new posts Assembler Macro Copybook converted to... PL/I & Assembler 4
Search our Forums:

Back to Top