View previous topic :: View next topic |
Author |
Message |
rm_72756 Beginner
Joined: 10 Mar 2005 Posts: 1 Topics: 1
|
Posted: Thu Mar 10, 2005 2:26 pm Post subject: JCL to scan a PDS ? |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Mar 10, 2005 2:35 pm Post subject: |
|
|
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 |
|
 |
shiv_swami Beginner

Joined: 29 Nov 2003 Posts: 68 Topics: 14
|
Posted: Thu Mar 10, 2005 3:41 pm Post subject: JCL to scan a PDS ?- FILEAID |
|
|
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 |
|
 |
Mouli Beginner
Joined: 07 Jun 2003 Posts: 18 Topics: 7
|
Posted: Tue Mar 15, 2005 4:07 pm Post subject: |
|
|
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 |
|
 |
|
|