View previous topic :: View next topic |
Author |
Message |
JyotsnaM Beginner
Joined: 22 Jul 2004 Posts: 5 Topics: 3 Location: India
|
Posted: Thu Jul 22, 2004 8:10 am Post subject: Invoking Panel from a Panel |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
JyotsnaM Beginner
Joined: 22 Jul 2004 Posts: 5 Topics: 3 Location: India
|
Posted: Thu Jul 22, 2004 8:39 am Post subject: Panel from a Panel |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Fri Jul 23, 2004 3:25 pm Post subject: |
|
|
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 |
|
 |
Maton_Man Beginner

Joined: 30 Jan 2004 Posts: 123 Topics: 0
|
Posted: Thu Jul 29, 2004 1:27 am Post subject: |
|
|
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 |
|
 |
|
|