logic behind the ispf menu option (3.14) search



IBM's Command List programming language & Restructured Extended Executor

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

Postby William Thompson » Fri Aug 03, 2007 12:19 am

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?
William Thompson
 
Posts: 81
Joined: Sat Jun 09, 2007 4:24 am
Location: Tucson AZ
Has thanked: 0 time
Been thanked: 1 time

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

Postby dick scherrer » Fri Aug 03, 2007 3:53 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

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

Postby bens » Tue Mar 24, 2009 7:22 pm

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....
bens
 
Posts: 4
Joined: Tue Mar 24, 2009 3:53 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby sureshkumar454 » Tue Dec 01, 2009 5:35 pm

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. :)
sureshkumar454
 
Posts: 5
Joined: Wed Nov 04, 2009 4:17 pm
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post