I meanwhile tested the REXX invocation via IRXJCL from a BAL EXIT02
here, and it indeed works like a charm !Also the second invocation of the REXX is no problem, and even starting
another ISPF panel in the REXX seems to be working fine ……don’t know about the
ISPF variables part though. What the problem with the original code using IRXEXEC was I still don’t know,
It might be something simple like making sure the dsects for irxexec are
Getmain’ed/Initialized and clean.
But I would expect one needs additional logic to obtain the Rexx
context/environment one is in, and act depending on that.Someone pointed to two sample programs on the CBT183 tape; REXXTRY and FASTPATH,
Although they do not exactly contain what is needed here, they give some
Idea what is involved in using irxexec.