I'm trying to find the position of a string in a PS file. But it shows not found. Here is what I have tried. Please let me know if I'm doing something wrong.
"EXECIO * DISKR OUTTR(STEM RET. FINIS"
DO IX=1 TO RET.0
VAR1 = POS('ERROR','RET.IX')
END
SAY VAR1
DO IX=1 TO RET.0
VAR1 = POS('ERROR','RET.IX')
END
SAY VAR1
Regards,
Viswa