Need help with find

IBM's Command List programming language & Restructured Extended Executor

Need help with find

Postby ANAND.GADRE » Thu May 20, 2010 9:40 pm

Hello, I have rexx utility called 'SE' that basically does a repetitive find, and displays just the matching text. Its like issuing a 'X ALL; F ALL 'TEXT' in TSO command line(its like INCL in Roscoe). But many times we need to search the same string again, and by doing just PF5 , it finds the next string again without having to type the search string. I want my rexx utility also to behave in thE same fashion, so for e.g. when I type 'SE TESTING' , it displays all the matching lines that have TESTING word in it, and hides the rest, and then I do a RESet. Now when I type SE again, it should automatically search the same sting again. Is there a system-variable that holds the last searched value ?
Posts: 3
Joined: Mon Nov 02, 2009 5:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need help with find

Postby expat » Sat May 22, 2010 2:47 pm

Not that I recall off the top of my head, but you could always define and store a variable in your ISPF profile to do this. Simple changes to your REXX and there you go.
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Return to CLIST & REXX


  • Related topics
    Last post