Hi,
I am relatively new to REXX. I am trying to write an exec that is triggered by an AFOper trap. This exec will read a file and respond to a prompt on the OS390 console.
Currently, I am just trying to read the file, but I keep getting an error code 16.
DATASET = 'TEST.FILE'
ADDRESS ISPEXEC
"ALLOC DD(DATASET) F(ATHIN) SHR REUSE"
"EXECIO * DISKR ATHIN (STEM IN. FINIS)"
DO CNT = 1 TO IN.0
NUMBER = IN.CNT
END
Can someone please help?
Thank you,
I am relatively new to REXX. I am trying to write an exec that is triggered by an AFOper trap. This exec will read a file and respond to a prompt on the OS390 console.
Currently, I am just trying to read the file, but I keep getting an error code 16.
DATASET = 'TEST.FILE'
ADDRESS ISPEXEC
"ALLOC DD(DATASET) F(ATHIN) SHR REUSE"
"EXECIO * DISKR ATHIN (STEM IN. FINIS)"
DO CNT = 1 TO IN.0
NUMBER = IN.CNT
END
Can someone please help?
Thank you,