View previous topic :: View next topic
|
Author |
Message |
deepak.kec
New User
Joined: 26 Feb 2007 Posts: 71 Location: bangalore
|
|
|
|
Hi,
I have a PDS which consist of 800 members and i want to know which all the members doesnt have a string present in them.
For Example:
Say the string is OUTDUMP and i want to know which all member doesnot have this string.
Can anyone tell me the command.
I have tried SRCHFOR OUTDUMP but it is not working in my system. |
|
Back to top |
|
|
rajulan
New User
Joined: 11 Jan 2008 Posts: 66 Location: India
|
|
|
|
hi,
ispf 3.14 will work. you may have done any mistake ...search the member which has the string you want....then rest of the members in that pds wont have the string you want....
Thanks,
Rajulan. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I have tried SRCHFOR OUTDUMP but it is not working in my system. |
Do not post "it doesn't work" - that just wastes everyone's time. When something does not work, you need to post what you tried (more completely than "searchfor outdump") - which menu(s) did you use? Which commands, if any? What was the outcome? An error? An abend?
I use searchfor rather often with no problems. . . |
|
Back to top |
|
|
deepak.kec
New User
Joined: 26 Feb 2007 Posts: 71 Location: bangalore
|
|
|
|
The solution which u gave wont work. The string is present in so many members as i have checked it. So it will be again a manual search according to your solution as i need to check first which member is not present. I dont want to do that. |
|
Back to top |
|
|
deepak.kec
New User
Joined: 26 Feb 2007 Posts: 71 Location: bangalore
|
|
|
|
Hi,
i got the message as "Invalid command". i wanted to make a point that this command doesnt work in the Mainframe system i am using. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
i wanted to make a point that this command doesnt work in the Mainframe system i am using. |
In tso/ispf go to utilities (usually option 3). What is option 13 or so. There should be a SEARCH FOR and a SEARCH FOR Extended. Are these on your system? Try them and post back the outcome.
If you create a list of members that have the OUTDUMP you can compare that list against the full member list and the ones that do not match, do not have OUTDUMP. |
|
Back to top |
|
|
Debabrata Pruseth
New User
Joined: 11 Dec 2008 Posts: 59 Location: Pune , India
|
|
|
|
Hi deepak
If you have fileaid installed then you can use fileaid option 3.6 ( SEARCH/UPDATE) to create a list of members that have the OUTDUMP. The advantage over ISPF option is that here you can directly get the member names only leaving aside the individual lines containing the OUTDUMP variable. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
So it will be again a manual search according to your solution as i need to check first which member is not present. |
Your automation requires multiple steps:
1. get list of all members
2. get list of members that contain search text using SRCHFOR
3. from list 1, remove the members that are in list 2. |
|
Back to top |
|
|
|