Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Problem in calling a rexx Program from a ISPF panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Problem in calling a rexx Program from a ISPF panel
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: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 18, 2008 8:22 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Nov 18, 2008 8:42 pm    Post subject: Reply to: Problem in calling a rexx Program from a ISPF pane
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us