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

TSO Find is not working on partial string search


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthik_sripal

New User


Joined: 28 Mar 2008
Posts: 69
Location: 125.16.180.5

PostPosted: Tue May 14, 2013 1:51 am
Reply with quote

Hi,

I think I have changed something in my mainframe profile or ISPF settings. Now my tso find commands are not finding the partial strings and works only on the whole word find that too only some times it works.I know for sure that this particular text which am searching exist in my file but the 'f search-string' is not giving expected results..

Could any of you please help to get this resolved, I understand I havenot given much details, But am not sure what details I must provide to troubleshoot this.. Thank you for your help and time

Regards,
Karthik Sripal J
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue May 14, 2013 2:06 am
Reply with quote

By "tso find" do you mean the FIND command of ISPF Edit?
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Tue May 14, 2013 3:58 am
Reply with quote

It could be that it is only searching certain columns. Check your boundary settings. Type BNDS in the line command area. Blank out the line it produces.

If that does not work, can you give us an example of:
Quote:
not finding the partial strings

Also, can you provide some sample data?
Back to top
View user's profile Send private message
Dale Robertson

New User


Joined: 21 Jun 2013
Posts: 44
Location: U.S.A.

PostPosted: Tue Jul 16, 2013 1:48 am
Reply with quote

Edited to remove clutter.

Anyways for something like this I usually type in what I think I want and then even if it doesn't work the way I want I'll hit pf1 a couple of times. The first time it'll usually give me a thumbnail explanation and then the second time in depth.

Sometimes that's an easy way to learn - kind of step by step through the marshes.

So whoever is reading this if they're a bit on the light side I hope that comes in handy.

r
Back to top
View user's profile Send private message
Gary McDowell

Active User


Joined: 15 Oct 2012
Posts: 139
Location: USA

PostPosted: Tue Jul 16, 2013 2:08 am
Reply with quote

Can you show us an example? My concern is you say
Quote:
some times it works.
Maybe you are doing your "find" incorrectly.

find 'Al' {finds a three for me}

Code:
ALABAMA
Alabama
alabama
Back to top
View user's profile Send private message
karthik_sripal

New User


Joined: 28 Mar 2008
Posts: 69
Location: 125.16.180.5

PostPosted: Mon Aug 05, 2013 8:48 am
Reply with quote

I atlast figured out why - I have accidentally switched bounds to a part of the screen :$ which lead to this.

then I gave the command BNDS 1 80 and then the issue resolved. Am so embarrased :$
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 05, 2013 1:25 pm
Reply with quote

Thanks for letting us know. I hope you got there from Pedro's advice on May 13...
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Tue Aug 06, 2013 5:06 am
Reply with quote

Quote:
Am so embarrased :$


karthik, You must be doubly embarrassed because you had the answer within two hours of posting your question.

I was familiar with the problem because I had done something similar in the past.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Aug 06, 2013 11:25 pm
Reply with quote

Lots of us have . . . icon_wink.gif

d
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 To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top