IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem in calling a rexx Program from a ISPF panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gnanasekar80

New User


Joined: 11 Jan 2007
Posts: 6
Location: chennai

PostPosted: Tue Nov 18, 2008 8:16 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Nov 18, 2008 8:22 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Nov 18, 2008 8:42 pm
Reply with quote

Have you already reviewed this previous topic for the same issue?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top