|
|
| Author |
Message |
gnanasekar80
New User
Joined: 11 Jan 2007 Posts: 6 Location: chennai
|
|
|
|
Hi,
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,'.')
1 ,'CMD(%B)'
X ,'EXIT'
' ',' '
*,'?' )
Now instead of calling the rexx program B, the control returns to the ISPF panel from where the program A was invoked.
Any help would be appreciated.
Thanks |
|
| Back to top |
|
 |
References
|
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3731 Location: Brussels once more ...
|
|
|
|
| Don't do it that way - get the info from the panel and invoke the sub routine or external call from within the main REXX program. |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3381 Location: Charlotte,NC USA
|
|
| Back to top |
|
 |
Moved: Tue Nov 18, 2008 8:43 pm by superk From CLIST & REXX to TSO/ISPF |
|
|