|
View previous topic :: View next topic
|
| Author |
Message |
Umaibm
New User
Joined: 15 Feb 2006 Posts: 1
|
|
|
|
Its a menu Panel with options to be selected. Following is the portion of the code:
)PROC
&ZSEL = TRANS(&OP,
1, 'PANEL(PANOPT1)'
2, 'PANEL(PANOPT2)'
)
)END
But this is not working out.
1. Please let me know - How to invoke a Panel from a Panel Based on the options.
2. It would be great if any one can provide a sample code.
3. Also, let me know - how to invoke a REXX program from a Panel. |
|
| Back to top |
|
 |
Marso
REXX Moderator

Joined: 13 Mar 2006 Posts: 1356 Location: Israel
|
|
|
|
This kind of panel should be called with SELECT, not DISPLAY:
| Code: |
| Address ISPEXEC "SELECT PANEL(panelname)" |
To run an EXEC or a program from a menu panel, code:
| Code: |
)PROC
&ZSEL = TRANS(&OP,
1, 'CMD(rexxname)'
2, 'PGM(modulename)'
)
)END |
You can add PARM(parameters) to these 2 options |
|
| Back to top |
|
 |
|
|