Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> COBOL Programming
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    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

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
No new posts Geneartion of COBOL copybook structre... murugan_mf COBOL Programming 3 Fri May 20, 2016 12:48 pm
No new posts View Copybook having COPY statement i... nkumar Compuware & Other Tools 6 Mon May 16, 2016 7:28 pm
No new posts JCL Utility in accordance to the copy... meetsupriyo JCL & VSAM 3 Tue Dec 08, 2015 8:46 pm
No new posts Convert a COBOL copybook spoorni All Other Mainframe Topics 0 Fri Aug 28, 2015 7:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us