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
 

 

How search a word in a file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
perez_a

New User


Joined: 02 Feb 2006
Posts: 25
Location: Italy

PostPosted: Thu Mar 23, 2006 8:10 pm    Post subject: How search a word in a file
Reply with quote

Hello friends, there is any method to search a word in a file?
Thx .. icon_lol.gif
Back to top
View user's profile Send private message

rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Fri Mar 24, 2006 10:00 am    Post subject:
Reply with quote

Hi perez_a,

open the pds and try this...

Code:
command ===> SRCHFOR <WORD>



corrections welcomed...............


Thanks,
Rajesh
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Fri Mar 24, 2006 10:18 am    Post subject:
Reply with quote

hi,

just open ur pds & give

F <string u want to search>

or either u can search using 3.14

Hope it will be helpful
Back to top
View user's profile Send private message
perez_a

New User


Joined: 02 Feb 2006
Posts: 25
Location: Italy

PostPosted: Fri Mar 24, 2006 2:31 pm    Post subject:
Reply with quote

guptae wrote:
hi,

just open ur pds & give

F <string u want to search>

or either u can search using 3.14

Hope it will be helpful


Hi guptae,
thx for your reply.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Fri Mar 24, 2006 3:05 pm    Post subject: Re: How search a word in a file
Reply with quote

HI,

Quote:
Hello friends, there is any method to search a word in a file?


Adding to Guptae reply, If you want to Number of time the string occured then you can use following command,

Code:
F all <String name>


Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Mar 24, 2006 3:36 pm    Post subject: Re: How search a word in a file
Reply with quote

Hi Ekta,

Quote:
hi,

just open ur pds & give

F <string u want to search>

Was that really meant for PDS or you did a typo... This should be for a PS.

Regards,
Priyesh.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts splitting of file using XMITIP abdulrafi TSO/ISPF 3 Mon Mar 27, 2017 3:01 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


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