Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ISRSUPC - search string and display next line as well

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

New User


Joined: 22 Sep 2005
Posts: 15
Location: USA

PostPosted: Thu Apr 05, 2012 8:32 am    Post subject: ISRSUPC - search string and display next line as well
Reply with quote

Hi,

at some point of time we had a utility to search a particular string in a Dataset or PDS Members. Upon successfully finding the string, the output would display the found string as well as 'N' number of lines above or below the search string. 'N' was given as a sysin parameter (or may be Parm) to the utility. Does anyone know if such thing exists now ?

Reason why I am asking - i have a requirement to search a string in a PSDS. If the String is found, i need to display next line as well.

Thanks
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Apr 05, 2012 2:21 pm    Post subject:
Reply with quote

it is either an option or a processing statement,
don't remember which, not gonna look.

PF1 will provide you with the info.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1224
Location: Israel

PostPosted: Thu Apr 05, 2012 7:43 pm    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
it is either an option or a processing statement...

It can be both...
First, you have to use LPSF process option.
Then you can use LPSFV process statement if you want to change the default of 6 lines.

This option shows preceding AND following lines.
And no, you can't show only following lines.
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 Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us