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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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