View previous topic :: View next topic
|
Author |
Message |
KARTHIGADEVI
New User
Joined: 07 Sep 2017 Posts: 4 Location: Singapore
|
|
|
|
Hi Folks,
I want to search for a specific string in more than one PDS libraries. Is there any way in Mainframes for this purpose, like 3.14 option? |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
KARTHIGADEVI wrote: |
Is there any way in Mainframes for this purpose, like 3.14 option? |
There are ways but unless you explain what is your problem statement , Chances of getting best or better replies are slim |
|
Back to top |
|
|
KARTHIGADEVI
New User
Joined: 07 Sep 2017 Posts: 4 Location: Singapore
|
|
|
|
Yes Pandora. I have some 50 PDS libraries. I want to check if a string, for example "record" is present in any of the members in those PDS libraries. |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
You can use Option 3.15
Choose Execution Mode of batch:
Code: |
Extended Search-For Utility
Command ===>
Search DS Name . . MY.FIRST.PDS
PDS Member List . . * (blank/pattern - member list, * - search all)
(Leave Search DSN "blank" for concatenated-uncataloged-password panel)
Enter Search Strings and Optional operands (WORD/PREFIX/SUFFIX,C)
Caps . .
Caps . .
Caps . .
Asis . . STRINGTOFIND
Asis . .
Listing DSN . . . . ACP.SRCHFOR.LIST
Process Options . . ANYC,IDPFX,LONGLN
Statements Dsn . .
Enter "/" to select option Execution Mode Output Mode
/ Bypass selection list 2 1. Foreground 1 1. View
2. Batch 2. Browse |
On next screen select to edit JCL
Code: |
Search-For Utility - Submit Batch jobs
Command ===>
Press ENTER to continue submit
Enter "/" to select option Generate Output Type:
/ Edit JCL before user submit 1 1. SYSOUT Class
2. Data Set Name
3. //OUTDD DD
SYSOUT Class . . . . Z |
Now add your additional datasets to NEWDD DD
Submit Job. Save your JCL to your own pds for future use.
Your results in SYSOUT will have the dataset concatenation position in parens.
Give it a try before asking more questions. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
Back to top |
|
|
KARTHIGADEVI
New User
Joined: 07 Sep 2017 Posts: 4 Location: Singapore
|
|
Back to top |
|
|
|