IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Find the exact string match in ISPF Search


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Apr 13, 2007 2:50 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Apr 13, 2007 3:09 pm
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
Reply with quote

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Apr 15, 2007 9:53 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sun Apr 15, 2007 8:09 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
Search our Forums:

Back to Top