Page 1 of 1

RC16 upon subsequent calls "Address LINKMVS ICEMAN"

PostPosted: Thu May 27, 2021 6:07 pm
by golemis
Hi team,

I have built a REXX Exec that uses ISPF panels, having several "Address ISPEXEC" and "Address TSO" commands,
PLUS a Address LINKMVS ICEMAN using sort to find a match string in a large PS Dataset.

At first invocation, everything works fine, but since it is driven by an ISPF panel, returns to the panel and expect new input (for the search string).
And at this point the problem starts: Any subsequent call fails at the "Address LINKMVS ICEMAN" with RC16 ! No more messages accompanying the RC16.

I have tried other options like:
- Address TSO "Call *(ICEMAN)" - Same behaviour
- Address LINK (or ATTACH) ICEMAN, Abend 0C4 !

Any ideas would be greatly appreciated.

Thanks, George

Re: RC16 upon subsequent calls "Address LINKMVS ICEMAN"

PostPosted: Thu May 27, 2021 7:48 pm
by willy jensen
Start by listing the ICEMAN output dataset, ddname SYSOUT typically. Perhaps you got a dataset FREEd by accident - check alloctions using the TSO ISRDDN - as SORT will end RC16 for i.e. missing SYSOUT

Re: RC16 upon subsequent calls "Address LINKMVS ICEMAN"

PostPosted: Thu May 27, 2021 8:30 pm
by golemis
Thanks Willy, I was FREEing SORTIN but not reallocating it back on repetition!
Thanks agian