Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I find one member in which PDS?

Status
Not open for further replies.

HUJ

Programmer
Dec 18, 2003
20
CN
When read program,it is difficult to find one macro file's location.So how can i easily to discover that copybook in which PDS.
thanks
 
See thread209-701120 How to read a PDS in Cobol. This may help answer your question.

etom
 
Hi HUJ,

I THINK what you want to ask is, "in what library (or file) can I find a copybook that's used in my program".

You didn't mention your environment. If it's an IBM Mainframe you can do the following:

You have to go to the JCL you used to compile your program and find the SYSLIB DD card. The library(s) listed there will contain the copybooks used by your program. If more than one library is used (i.e. SYSLIB is concatenated) the copybooks can be in any one or all of the libraries used.

HTH, Jack.
 
thanks to etom and jack.
Yes, i mean "in what library (or file) can I find a copybook that's used in my program". my shop use os/390. and i find it's sometimes diffcult to find one copybook exists in which PDS.whether there is a tso command or utility which functions is find the copybook's location.
By using that command,i need not use ISPF 3.4 and manually locate whether that copybook is in current PDS. If not, i open aother PDS, again locate again. I know in unix,there is a command which name is find, which have that complete same function.

regards
Hu Jun
 
thanks all.
i find that command. using tso isrfind and tso isrddn can complete the task.

regards
hu jun
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top