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

How to find the library of COPYBOOK?


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

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Mon Mar 17, 2008 4:30 pm
Reply with quote

Hi,

I want to view the contens of copyboof AIGAW used in COBOL program.

How to find out the library or PDS where the copybook resides?

**-----------------------------+------------------------------**
* PROGRAM COPYBOOKS *
**-----------------------------+------------------------------**
COPY AIGAW.
/

Regards
R.Karthik
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Mon Mar 17, 2008 5:05 pm
Reply with quote

Karthik,

Ask your Superiors or colleagues whoever already working and accessing.

If you people only started work, ask your counter parts in Onsite/Offshore.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Mar 17, 2008 5:08 pm
Reply with quote

are you the only one working at your site?

I realize that new guys don't like to ask questions and possibly draw attention as someone who does not know, but there are certain questions that anyone should ask, such as: what does the environment look like?

There are potentially many ways you could find the answers to these type of questions.

in your case, look at the compile jcl and see what libraries are concatenated in the syslin.
Back to top
View user's profile Send private message
karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Mon Mar 17, 2008 5:12 pm
Reply with quote

Thanks to all replies.

Regards
R.Karthik
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Mar 17, 2008 5:22 pm
Reply with quote

Look in the compile jcl it will be in the SYSLIB concatenation.
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Mon Mar 17, 2008 5:24 pm
Reply with quote

Dick,

I think, SYSLIN DD statement defines the dataset which gives OBJECT MODULE as an input to IEWL and SYSLIB gives concatenation of datasets, like COPYLIB, PROCLIB, etc..., that have been used during compilation.

Please correct me if I am wrong.

KSK
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Mar 17, 2008 6:22 pm
Reply with quote

ksk,

you are probably correct.

i just picked a dd reference at random. I just wanted the op to use resources that were available to him, that are easy to use.

anyone with more than 1 minute experience knows that a compile job will reveal much about an environment.
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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Calling an Open C library function in... CICS 1
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
Search our Forums:

Back to Top