Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Searching a string

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
deepak.kec

New User


Joined: 26 Feb 2007
Posts: 71
Location: bangalore

PostPosted: Tue Feb 24, 2009 10:35 am    Post subject: Searching a string
Reply with quote

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
View user's profile Send private message

rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Feb 24, 2009 10:44 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Feb 24, 2009 10:45 am    Post subject:
Reply with quote

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
View user's profile Send private message
deepak.kec

New User


Joined: 26 Feb 2007
Posts: 71
Location: bangalore

PostPosted: Tue Feb 24, 2009 10:47 am    Post subject:
Reply with quote

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
View user's profile Send private message
deepak.kec

New User


Joined: 26 Feb 2007
Posts: 71
Location: bangalore

PostPosted: Tue Feb 24, 2009 10:50 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Feb 24, 2009 11:04 am    Post subject:
Reply with quote

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
View user's profile Send private message
Debabrata Pruseth

New User


Joined: 11 Dec 2008
Posts: 59
Location: Pune , India

PostPosted: Thu Feb 26, 2009 4:19 am    Post subject:
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2086
Location: Silicon Valley

PostPosted: Sat Feb 28, 2009 10:18 am    Post subject: Reply to: Searching a string
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm
No new posts change string before sertan string anatol DFSORT/ICETOOL 8 Tue Aug 15, 2017 5:43 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us