MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search copybook in PDS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Rahull
Beginner


Joined: 29 Jan 2004
Posts: 62
Topics: 19

PostPosted: Tue Jan 25, 2005 6:42 am    Post subject: Search copybook in PDS Reply with quote

Hi,

I have got a list of 1000 of copybooks and now I have to search each copybook in each member of PDS(Having 4000 Programs) and make a report which list copybook name and program using that copybook.

Can we have JCL Utility for it ? Or we have to code rexx for it ? What it would be then?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Tue Jan 25, 2005 6:44 am    Post subject: Reply with quote

Rahull,

3.14 or 3.15 can be invoked both in batch as well interactive mode

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rahull
Beginner


Joined: 29 Jan 2004
Posts: 62
Topics: 19

PostPosted: Thu Jan 27, 2005 12:36 am    Post subject: Reply with quote

Hi Kolusu,

If I am running the Job is batch, each time its abending with S322 abend. Even if I have change the TIME parameter, I am still getting the same abend.

I think PGM=ISRSUPC is failing to handle such a big input file. Please suggest me some other solution.

Thanks
Rahul
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Thu Jan 27, 2005 8:49 am    Post subject: Reply with quote

Rahull,


Try this job

Code:

//SEARCH  EXEC PGM=ISRSUPC,                                           *
//            PARM=(SRCHCMP,                                           
//            '')                                                     
//NEWDD  DD DSN=YOUR INPUT DATASET,                                   
//          DISP=SHR                                                   
//OUTDD  DD SYSOUT=(*)                                                 
//SYSIN  DD *                                                         
SRCHFOR  'COPYBOOK1'
SRCHFOR  'COPYBOOK2'
....
SRCHFOR  'COPYBOOK 1000'
/* 


Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group