Apply SRCHFOR on specific PDSs only.

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
criagk
New Member
Posts: 2
Joined: Wed Feb 04, 2015 2:56 pm

Apply SRCHFOR on specific PDSs only.

Post by criagk »

Hi,

I've used the SRCHFOR command in past. In that I'd go to ISPF 3.4 and list the PDSs with a given qualifier. Once the PDSs are listed, I'll issue SRCHFOR and get desired results. But if I want to restrict the SRCHFOR command to be applied only on something like that 1. PDS starts with 'DB2*' , RECFM/LRECL = FB/80, can that be done?

In other words, I want to search the string in a subset of datasets listed in ISPF 3.4, while ignoring other datasets; can that be done?
William Collins
Global Moderator
Global Moderator
Posts: 490
Joined: Sun Aug 25, 2013 7:24 pm

Re: Apply SRCHFOR on specific PDSs only.

Post by William Collins »

Select the dataset you want and issue SRCHFOR on the member selection list. There's lots of places you can use SRCHFOR, it doesn't have to be from 3.4.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”