Joined: 12 Jan 2004 Posts: 240 Topics: 48 Location: Maryland
Posted: Fri Oct 21, 2011 12:34 pm Post subject: Count Number of Occurances of a String in a JCL
Hi,
I need to get the count of the number of occurances of the string 'COVER-PAGE-START' into an ouput file.
This string only occurs in column 14 of the FB, LRECL=112 input dataset.
Pls. let me know how this can be done in a JCL using any common utility.
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
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