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
 

 

Find the exact string match in ISPF Search

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

New User


Joined: 12 Feb 2007
Posts: 13
Location: chennai

PostPosted: Fri Apr 13, 2007 2:29 pm    Post subject: Find the exact string match in ISPF Search
Reply with quote

Hi,
I like to find the exact string match.

For example,

list
clist

in the above words, if i search of list( f list) i will get both the occurrence.

But i need the exact matching(only the list)
Can u pls help me out
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Apr 13, 2007 2:50 pm    Post subject:
Reply with quote

F ' LIST' or F 'LIST ' or F ' LIST '

Take your pick.
Back to top
View user's profile Send private message
Rehana

New User


Joined: 12 Feb 2007
Posts: 13
Location: chennai

PostPosted: Fri Apr 13, 2007 3:05 pm    Post subject:
Reply with quote

hi,

It is not working. I will explain the problem with another example.

LIST.TEST.TEST1
LIST.TEST.TEST2
LIST.TEST

If i apply find for 'LIST.TEST', i will get all the above occurences, since that string is present as a substring.

But i need only to find 'LIST.TEST' from the above.
Hope i am clear.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Apr 13, 2007 3:09 pm    Post subject:
Reply with quote

F 'LIST.TEST '
Back to top
View user's profile Send private message
Rehana

New User


Joined: 12 Feb 2007
Posts: 13
Location: chennai

PostPosted: Fri Apr 13, 2007 3:12 pm    Post subject:
Reply with quote

thank you
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Apr 15, 2007 9:53 am    Post subject:
Reply with quote

The FIND command has some opernads to help you refine your search. One of the operand is WORD, which looks for the requested string only when it appears as a word. For more information, please refer to the fine manual.

O.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Sun Apr 15, 2007 8:09 pm    Post subject: Re: Find the exact string match in ISPF Search
Reply with quote

what about reading a little bit of ISPF docs, or just take some time to press pf1 ( which means HELP ) and navigate the ISPF TUTORIALS ?!?
anyway if You had done that You would have found that the find command has some modifiers useful to find exactly what You need
--- WORD
--- PREFIX
--- SUFFIX
and to conclude, the command You should issue is
f list word

regards
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Apr 16, 2007 6:19 pm    Post subject:
Reply with quote

Hi Rehana,

What I usually do is follow the find with "x all test.t"
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 Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Match records - scdinesh DFSORT/ICETOOL 6 Wed Feb 22, 2017 5:02 am
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts JCL sort Match and NoMatch rakeshsekar1987 SYNCSORT 2 Thu Feb 02, 2017 10:26 pm


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