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 

Panel link
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue May 29, 2007 8:36 am    Post subject: Panel link Reply with quote

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
View user's profile Send private message Yahoo Messenger
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue May 29, 2007 8:51 am    Post subject: Reply with quote

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:
Code:
3,'PANEL(ISRUTIL)'

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
View user's profile Send private message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue May 29, 2007 8:57 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue May 29, 2007 9:02 am    Post subject: Reply with quote

I tried it but its not working



Regds,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue May 29, 2007 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


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

PostPosted: Tue May 29, 2007 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue May 29, 2007 1:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue May 29, 2007 11:25 pm    Post subject: Reply with quote

also make sure you are displaying it with SELECT PANEL() and not DISPLAY PANEL(). The behave very differently
Back to top
View user's profile Send private message Visit poster's website
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Wed May 30, 2007 12:53 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed May 30, 2007 1:18 am    Post subject: Reply with quote

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
View user's profile Send private message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Wed May 30, 2007 4:35 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed May 30, 2007 5:20 am    Post subject: Reply with quote

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:
Code:
3,'cmd(%opt3exec)'

instead of:
Code:
3,'PANEL(panel3)'

_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Wed May 30, 2007 7:47 am    Post subject: Reply with quote

3,'cmd(%opt3exec)'

I tried this but its not working Sad Sad Sad


Regds,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed May 30, 2007 7:53 am    Post subject: Reply with quote

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
View user's profile Send private message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Wed May 30, 2007 7:56 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
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
Goto page 1, 2  Next
Page 1 of 2

 
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