Joined: 13 Nov 2006 Posts: 24 Location: Bengalooru
I have a flat file of LRECL 8000. I have to search for the string 'ABC='. If present, then I have to extract into a new variable starting from 'ABC=' till the first occurence of '/'. I am not worried about the rest of the data.
Please note that the position of 'ABC=' is not fixed and will vary from one record to another. I can use INSPECT to check for the existence of 'ABC=' but how can I put it into a new variable.