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

Finding Occurance of a String in a Program


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prakasam

New User


Joined: 28 Oct 2004
Posts: 8

PostPosted: Wed Nov 03, 2004 9:09 am
Reply with quote

How can i find the number of occurance of a particular string in my program by TOS Command. I used F 'string'. It highligted all the string in my program. But I want to know the number of occurance of the string only...

Plase Help.


Regrds... Prakasam
Back to top
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 150
Location: Tokyo, Japan

PostPosted: Wed Nov 03, 2004 1:06 pm
Reply with quote

Hi Prakasam,

Use F 'string' ALL. You will get a message like
29 CHARS 'string'
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top