Hi,
i am trying to build a REXX, which does the following:
Find for 'XYZ' in the input file. lets say it was found in Nth line.
Then I've to copy (N-1)th and (N+3)th line to my output file.
I've to perform the copy operation for each occurence of 'XYZ' in the input file.
'XYZ' will always occur at 70th cloumn, if it occurs.
I am trying to read the input file line by line.
but not sure how to go about (N-1) and (N+3) lines.