View previous topic :: View next topic |
Author |
Message |
arunkumar_e Beginner

Joined: 06 May 2004 Posts: 27 Topics: 16 Location: Bangalore
|
Posted: Sat May 17, 2008 5:29 am Post subject: Invoking a pulldown option |
|
|
Hi friends,
I need your valuable inputs for the problem i am facing. I have Created a panel to perform some function. This panel has a HELP Pulldown at a cornor. Now when i select an option from this pull down, i want to invoke another panel which is nothing but some text for help typed in it. Now this is the code which i am using to Invoke the second panel.
Code: | )ABC DESC('HELP') MNEM(1)
PDC DESC('TIPS')
ACTION RUN(ISRROUTE) PARM('SELECT PANEL(TSTR3)') <<= This is
the second panel
)ABCINIT
.ZVARS = PDCHOICE
)ABCPROC
VER (&PDCHOICE,LIST,1) |
Is this the right way ? if i want to go back to the first panel after pressing some key is there something which i can code ??
Let me know ur inputs _________________ Arun
"Genius is one percent inspiration and ninety-nine percent perspiration." -- Thomas A. Edison |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Sun May 18, 2008 6:42 pm Post subject: |
|
|
SELECT has a special usage for selection panels it isn't really appropriate here. The help processor is program ISPTUTOR with a parm of the help panel name. Help panels have a few differences from other panels such as the use of ZSEL. See the doc for that. Generally for any kind of help, you want to do what your user expects and they will most likely expect the ISPF help system.
ISR@PRIM, the main ISPF panel, has this example:
Code: | )ABC DESC('Help') MNEM(1)
PDC DESC('General') MNEM(1) ACTION RUN(TUTOR) PARM('ISR01000') |
_________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
 |
|
|