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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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