View previous topic :: View next topic |
Author |
Message |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue May 29, 2007 8:36 am Post subject: Panel link |
|
|
Hi,
This is quite stupid question but please help me.I have created some five different panels.I am trying to link them to one singl panel.How to do that?
Thanks,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue May 29, 2007 8:51 am Post subject: |
|
|
If you mean something like you enter an option and it immediately sends you to another panel with no intervening logic then the best place to look is the code for your primary option menu (POM). For example the code to display the utilities menu (option 3) is:
You need to look at menu panels in the docco but looking at your POM source should be adequate - just refer to the manual for explanations of keywords and usage if you do not understand some particular point. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue May 29, 2007 8:57 am Post subject: |
|
|
Nic,
I need some manuals which are from the scratch?
Can you please help me on this?
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue May 29, 2007 9:02 am Post subject: |
|
|
I tried it but its not working
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue May 29, 2007 9:04 am Post subject: |
|
|
I have created some five panels.
Now I have created one more panel as a menu application.Now if i press one number it should call that appropriate panel.
But its not doing that.
Hope you got my requirement.
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue May 29, 2007 9:04 am Post subject: |
|
|
Quote: |
I need some manuals which are from the scratch?
Can you please help me on this?
|
kingo,
1. Click on www.mvsforums.com
2. Click on ISPF under TSO section
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue May 29, 2007 1:58 pm Post subject: |
|
|
Here is a sample primary option panel
[code:1:f51ef75304]
)Panel
/*-------------------------------------------------------------------*/
/* */
/* Application : Sample Menuing for Kingo */
/* */
/* Function : Primary Menu */
/* */
/* Panel Name : POM */
/* */
/* Panel Function: Provide entry point to sub-panels */
/* */
/* Created : May 2007 by Nic Clouston */
/*-------------------------------------------------------------------*/
/* Modified: Mmmmmmmmm 20yy by Nnnnnnnnnnnn */
/* Reason: _______________________________________________________ */
/* */
/*-------------------------------------------------------------------*/
)ATTR
{ TYPE(TEXT) HILITE(REVERSE)
# TYPE(TEXT) COLOR(TURQ)
@ TYPE(TEXT) COLOR(green) HILITE(REVERSE)
_________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue May 29, 2007 11:25 pm Post subject: |
|
|
also make sure you are displaying it with SELECT PANEL() and not DISPLAY PANEL(). The behave very differently |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Wed May 30, 2007 12:53 am Post subject: |
|
|
So Nic should panlel1,panel2,panel3,panel4 and panel5 should be there in the same library??
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed May 30, 2007 1:18 am Post subject: |
|
|
no - but they should be as they seem to be related but yhey could be in any panels library that is allocated to your ISPF session - you know - the old LIBDEF you had to do when you were creating you first panel a couple of weeks ago. Basically, apart from application datasets that you browse, edit, create, delete etc via ISPF, EVERY datasets has to be allocated to your ISPF session. That is a sweeping generalisation but consider - if it is not allocated - how is ISPF to know where to look? You may need to do some background reading on ISPF datasets (ISPPLIB, ISPSLIB etc) _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Wed May 30, 2007 4:35 am Post subject: |
|
|
Actually I am calling that menu panel using REXX so is there any way to link the other five panels into my main panel in this issue?
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed May 30, 2007 5:20 am Post subject: |
|
|
just put all your panels into one library. Get your rexx exec to pull up your menu panel and ISPF will do the rest, linking to the other panels. Rexx does not need to know about them. They will call a rexx exec to do the processing behind them.
But, if you need to call rexx before you call the next panel:
Code: | option no,'cmd(%execname)' |
will call an exec from you main menu when you select 'option no'.
Say in the example panel above that instead of selecting option 3 and displaying a panel, you want option 3 to execute and exec then this is what you code:
instead of:
_________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Wed May 30, 2007 7:47 am Post subject: |
|
|
3,'cmd(%opt3exec)'
I tried this but its not working
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed May 30, 2007 7:53 am Post subject: |
|
|
you did change it to your exec name did you? and your exec is available? If 'yes' then what error message did it throw up? _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Wed May 30, 2007 7:56 am Post subject: |
|
|
Yes I did.The thing is I am not getting either any error message or any panel.
If I try to give that subpanel alone in rexx its working.I am not able to call that from the menu selection.
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
|
|