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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.