MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Invoking Panel from a Panel

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
JyotsnaM
Beginner


Joined: 22 Jul 2004
Posts: 5
Topics: 3
Location: India

PostPosted: Thu Jul 22, 2004 8:10 am    Post subject: Invoking Panel from a Panel Reply with quote

Hi All,

I am trying to invoke a Panel from a Panel. Here is the syntax how I am calling it.

ZSEL = TRANS (TRUNC(&ZCMD,'_')
1,'PANEL(COMPILE)'
X,EXIT)

I have a Main menu which is the first panel. From the first panel if, I give option 1 panel by name COMPILe should be invoked. But its never coming.

I know we can display the second panel using Rexx. But want to know why the above option is not working.

Awaiting for all your replies.

Thanks,
Jyotsna
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Jul 22, 2004 8:14 am    Post subject: Reply with quote

Jyotsna,

Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=607&highlight=invoke+panel+panel

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JyotsnaM
Beginner


Joined: 22 Jul 2004
Posts: 5
Topics: 3
Location: India

PostPosted: Thu Jul 22, 2004 8:39 am    Post subject: Panel from a Panel Reply with quote

Hi Kolusu,

May be I have not put my question properly. Got to know from ISPF ONLINE LIBRARY book that there is way to invoke a Panel from Panel. And the syntax of that command is given in the first posting. For that particular syntax, do we need to do any changes in the Rexx program also.

Hope I conveyed the question properly.

Thanks,
Jyotsna
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Fri Jul 23, 2004 3:25 pm    Post subject: Reply with quote

I can find no evidence that a panel display can be launched by another panel. The logic for "ZSEL = TRANS (TRUNC..." will create a variable zsel that contains the value "1,'PANEL(COMPILE)'". I could not find eveidence that this is actually supposed to launch the indicated panel.
Back to top
View user's profile Send private message
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Thu Jul 29, 2004 1:27 am    Post subject: Reply with quote

It should be &ZSEL not just ZSEL.

Try changing your code to the following:

&ZSEL = TRANS (TRUNC(&ZCMD,'.')
1,'PANEL(COMPILE)'
X,'EXIT')
_________________
My opinions are exactly that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group