MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search a string

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Hariharan78
Beginner


Joined: 01 Dec 2002
Posts: 28
Topics: 8
Location: India

PostPosted: Thu Aug 11, 2005 12:07 am    Post subject: Search a string Reply with quote

Hi,

I am having a Flat file of record length 230. I need to select the records which has the characters of 'ABCQID' in 1 to 50 positions.

I am tried os using Simple Find command But i am failing in to search only in 1 to 50 characters... It is searching the full length....

Please let me know if there any option....

Have a nice day
_________________
S.Hariharan
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Hariharan78
Beginner


Joined: 01 Dec 2002
Posts: 28
Topics: 8
Location: India

PostPosted: Thu Aug 11, 2005 12:31 am    Post subject: Reply with quote

Hi All,

I got the Sol by using the option "SS" in the include cond.

Thanks
_________________
S.Hariharan
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
bonnie_mathew
Beginner


Joined: 05 Aug 2005
Posts: 8
Topics: 0

PostPosted: Thu Aug 11, 2005 7:55 am    Post subject: Reply with quote

U can specify columns also in find command.
F '<SEARCH-KEY>' 1 50
Back to top
View user's profile Send private message
Hariharan78
Beginner


Joined: 01 Dec 2002
Posts: 28
Topics: 8
Location: India

PostPosted: Fri Aug 12, 2005 3:35 am    Post subject: Reply with quote

Yes.. I set the option as

BNDS 1 50

and search for the String as F '<SEARCH STRING>'.

It searches only in the position 1 to 50....

Thanks for your reply

Have a nice day
_________________
S.Hariharan
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group