Or download a GREP program that runs in CMS from http://zvm.sru.edu/~download The C/370 runtime libraries are required.
/Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 years mailto:f...@zvm.sru.edu http://zvm.sru.edu/~fjh +1.724.738.2153 "Yes, Virginia, there is a Slippery Rock" -------------------------------------------------------------------------- On Fri, 15 Jan 2010 11:51:16 -0700 Jack Woehr said: >Wilson, Roger wrote: >> >> I am trying to write a rexx exec that counts the number occurrences of >> 2 strings of characters. >> >Copy it over to Linux and > >grep '[C|N]798' myfile.txt >