logic behind the ispf menu option (3.14) search



IBM's Command List programming language & Restructured Extended Executor

logic behind the ispf menu option (3.14) search

Postby bodhi » Thu Aug 02, 2007 2:50 pm

Hi,
Anybody tell me about the logic behind the ispf menu option 3.14 (search),means i want to search a particular string in a PDS. Is there is any utilites used to do this search ?

thanks
bodhi
bodhi
 
Posts: 53
Joined: Mon Jul 30, 2007 5:01 pm
Has thanked: 0 time
Been thanked: 0 time

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

 

search in pds (view )

Postby bodhi » Thu Aug 02, 2007 4:47 pm

Hi,

How to search a string in a pds without openning that pds .

thanks
Bodhi
bodhi
 
Posts: 53
Joined: Mon Jul 30, 2007 5:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: search in pds (view )

Postby CICS Guy » Thu Aug 02, 2007 5:02 pm

Browse and Find?
CICS Guy
 
Posts: 255
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: search in pds (view )

Postby bodhi » Thu Aug 02, 2007 5:28 pm

hi,
no i want to do this thing without opening that pds as like in ispf menu option 3.14 .. i want that logic.
bodhi
 
Posts: 53
Joined: Mon Jul 30, 2007 5:01 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby CICS Guy » Thu Aug 02, 2007 5:36 pm

bodhi wrote:no i want to do this thing without opening that pds as like in ispf menu option 3.14 .. i want that logic.
And you want to execute it with a REXX or CLIST?
CICS Guy
 
Posts: 255
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby bodhi » Thu Aug 02, 2007 5:46 pm

yes i want to excute in rex..
bodhi
 
Posts: 53
Joined: Mon Jul 30, 2007 5:01 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby MrSpock » Thu Aug 02, 2007 6:20 pm

When I select option 3.14, and select Batch execution mode, I get the following JCL:
//SEARCH  EXEC PGM=ISRSUPC,PARM=(SRCHCMP,'ANYC')
//NEWDD  DD DSN=MY.PDS,DISP=SHR
//OUTDD  DD SYSOUT=(A)                                       
//SYSIN  DD *                                                 
SRCHFOR  'STRING'                                             
SELECT #1,#2,#3,#4,#5,#6,#7,#8,#9                               
/*                                                           
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

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

Postby bodhi » Thu Aug 02, 2007 6:34 pm

Thanks for your reply Mrspock.one more question
what do u mean by 'SELECT #1,#2,#3,#4,#5,#6,#7,#8,#9 ' ?
in below code?

thanks
bodhi
 
Posts: 53
Joined: Mon Jul 30, 2007 5:01 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby William Thompson » Thu Aug 02, 2007 8:19 pm

bodhi wrote:what do u mean by 'SELECT #1,#2,#3,#4,#5,#6,#7,#8,#9 ' ?
in below code?
Probably input for ISRSUPC.....
William Thompson
 
Posts: 86
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 bodhi » Thu Aug 02, 2007 8:42 pm

But i think we give input at the place of 'STRING' in the above mention code
bodhi
 
Posts: 53
Joined: Mon Jul 30, 2007 5:01 pm
Has thanked: 0 time
Been thanked: 0 time

Next

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post