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 

JCL to scan a 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
rm_72756
Beginner


Joined: 10 Mar 2005
Posts: 1
Topics: 1

PostPosted: Thu Mar 10, 2005 2:26 pm    Post subject: JCL to scan a PDS ? Reply with quote

Hello:
Anybody remember the utility to scan a pds using JCL ?
I mean I need find a perticular variable used in all the programs in a library. I have used a JCL couple of years back and I forgot the utility.

can someone shed some info ???

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


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

PostPosted: Thu Mar 10, 2005 2:35 pm    Post subject: Reply with quote

rm_72756,

Option 3.14 or 3.15 can be used scan a PDS for a string and it can be run in batch.

Hope this helps...

Cheers

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


Joined: 29 Nov 2003
Posts: 68
Topics: 14

PostPosted: Thu Mar 10, 2005 3:41 pm    Post subject: JCL to scan a PDS ?- FILEAID Reply with quote

rm_72756,

You could use FILEAID in batch to search. A search in the forum will get you exact code.
_________________
Regards,
Shivprakash
Back to top
View user's profile Send private message Yahoo Messenger
Mouli
Beginner


Joined: 07 Jun 2003
Posts: 18
Topics: 7

PostPosted: Tue Mar 15, 2005 4:07 pm    Post subject: Reply with quote

Hi,

Try this. I used to scan anything using the following job.

Code:

//STEP05  EXEC PGM=ISRSUPC,             
//            PARM=(SRCHCMP,             
//            '')                       
//NEWDD  DD DSN=SEARCH.PDS.NAME1,DISP=SHR
//             DD DSN=SEARCH.PDS.NAME2,DISP=SHR
//             DD DSN=SEARCH.PDS.NAME3,DISP=SHR
//OUTDD  DD SYSOUT=(*)                   
//SYSIN  DD *                           
  SRCHFOR  'VARIABLE-USED'               
/*                                       

_________________
Regards,
Mouli
Back to top
View user's profile Send private message
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