We are working on a REXX to extract the information displayed in SDSF. We have managed to retrieve the RC using RETCODE.
We use prefix with jobname and filter with jobid.
The REXX appears to work for a small number of jobs (around 20) but fails at this point without explanation - it doesn't crash but it does not return the expected RC, although we can see the job in SDSF.
We logged out of the system (TSO) and we rerun it to read the output of 150 jobs, this fails around 70. We need this REXX to capture the RC for 1200 jobs.
Could anyone help us identifying why this is failing since the REXX appears to be correct from logical perspective.