View previous topic :: View next topic
|
Author |
Message |
ssaurabhola
New User
Joined: 13 Jun 2007 Posts: 3 Location: Delhi
|
|
|
|
I have a PDS with 300 members and i need to search a string 'TSIA' in all those members.how can i go about it?? |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
You can use ISPF search option 3.14 or 3.15 |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
If you have the newer ISPF level, you can use the SRCHFOR command.
O. |
|
Back to top |
|
|
pcoreddy
New User
Joined: 14 Mar 2007 Posts: 24 Location: Mysore
|
|
|
|
open the PDS In 3.4
give SRCH FOR IN COMMAND LINE AND ENTER
then give ur sring and enter
it will show the string found if the string is there |
|
Back to top |
|
|
eHorizon.Andrew
New User
Joined: 18 Jan 2007 Posts: 28 Location: Bank of communications
|
|
|
|
hi ssaurabhola,
you can use following code.
Code: |
//FINDSRA JOB '000000000000000000CMP',
// CLASS=3,NOTIFY=you id,
// MSGCLASS=R
//ONLINE EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,
// 'ANYC')
//NEWDD DD DSN=THE PDS YOU WANT TO SEARCH,
// DISP=SHR
//OUTDD DD SYSOUT=*
//SYSIN DD *
SRCHFOR 'TSIA' |
Then you can go to output queue to check the info you want.
thanks and regards, if you have any question, please let me know. |
|
Back to top |
|
|
kgumraj2
New User
Joined: 01 Aug 2007 Posts: 42 Location: Hyderabad
|
|
|
|
If you have few member( In your case) use TSO command
if more members use 3.14 option |
|
Back to top |
|
|
mastrahoyar
New User
Joined: 03 Mar 2007 Posts: 17 Location: hyd
|
|
|
|
Go to 3.14
give Search String . . 'string name'
And in the Dataset name give 'dataset(*)'
* is used to search in all the members of the PDS.
Mastraho |
|
Back to top |
|
|
|