Page 2 of 2

Re: logic behind the ispf menu option (3.14) search

PostPosted: Fri Aug 03, 2007 12:19 am
by William Thompson
I was thinking more input for ISRSUPC to search rather than input to ISRSUPC to search for.......PDS member names/numbers.....Have you looked at the manual to determine how you will tell ISRSUPC to search all the menbers you want?

Re: logic behind the ispf menu option (3.14) search

PostPosted: Fri Aug 03, 2007 3:53 am
by dick scherrer
Hello,

Your post is confusing at best. . .

no i want to do this thing without opening that pds as like in ispf menu option 3.14 .. i want that logic


If you are going to search within a file, "something" will open it before the search can happen. In the superc example provided previously, the file will be opened the same as if the same thing was done using 3.14.

If you better explain your entire requirement, someone may have suggestions. Keep in mind that while your question is very clear to you, it is not clear to all of the people who read it.

Re: logic behind the ispf menu option (3.14) search

PostPosted: Tue Mar 24, 2009 7:22 pm
by bens
i dont think that select step is required ...u can do as follows

//search EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,ANYC,IDPFX,NOPRTCC)
//NEWDD DD DSN=PDS NAME,DISP=SHR
//OUTDD DD SYSOUT=*
//SYSIN DD *
SRCHFOR 'string'
/*


if the string is present it ll be displayed in spool and if u want it to direct it to a file ...do the necessary step....

Re: logic behind the ispf menu option (3.14) search

PostPosted: Tue Dec 01, 2009 5:35 pm
by sureshkumar454
Hi Bens,

Using above logic I am able to find the required string in PDS. I have a requirement to do a "change all" for the string which I have found using the above logic for all the members in my PDS. Could you please let me know the steps to add to perform search and replace procedure for my requirement?

Thanks in advance. :)