I have a REXX program say 'A' which calls the ISPF panel 'PANEL1'. After some processing, I trying to call another rexx program from the panel.
Find below the command which i use to call the REXX program B from PANEL1. Where ZCMD is the variable used to receive the data from the panel.
&SEL = TRANS( TRUNC (&ZCMD,'.')
' ',' '
Now instead of calling the rexx program B, the control returns to the ISPF panel from where the program A was invoked.