Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ISPF Panel related questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Wed Mar 26, 2014 4:43 pm    Post subject: ISPF Panel related questions
Reply with quote

All - I am trying to create ISPF panels and calling it through REXX module. I am facing some issues in the process. Please help me in resolving the issues -

1. the description of VGET/VPUT mentions function pool, application pool & shared pool. Where can I find information regarding these. Also, is it possible to see whats stored in these pools. Secondly, is the value stored across mainframe session. IE, if I have coded as mentioned below -
Code:
VGET (SLIB,LLIB) PROFILE


I entered a value, and then logged off. Then logged into my mainframe session again. The value of SLIB was populated from pervious session.

2. as per manual, I should use TEST to test panel and messages. I coded ISPSTART TEST & ISPF TEST as mentioned in manual. Then executed the routine from ISPF. I got the following error -
Quote:
ISPI007 ISPF command not allowed. You are already under ISPF


Which is correct, since I am already in ISPF. Then I logged into my TSO session. Allocated my REXX lib to SYSEXEC and executed the rexx module. Now I got the error as NO VALID ISPF ENVIRONMENT. How do I use the TEST facility so that everytime a panel is displayed, the panel is picked from the library.

3. Error Message member name - ERMSG00.
The messages are -

Code:

ERMSG001 'INVALID SOURCE LIBRARY' .W = R .N = W                         
'the source library doesnt exist'                                       
                                                                       
ERMSG002 'INVALID Load  LIBRARY' .W = R .N = W                         
'the source library doesnt exist'                                       


Following is the way message is being called -
Code:

"ISPEXEC LIBDEF ISPMLIB DATASET ID('USERID.REXX.MESSAGES')"
ADDRESS ISPEXEC "SETMSG MSG(ERMSG001)" 


This throws
Quote:
ERMSG001 - contains invalid format syntax in first record.


I checked my member after 72 bytes, there are no numbers printed. Also, I compared my messages with ISPF messages in ISPF library, I couldnt find any difference. How do I resolve it.

Please let me know, if additional information is required.
Back to top
View user's profile Send private message

Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1218
Location: Israel

PostPosted: Wed Mar 26, 2014 6:30 pm    Post subject: Reply to: ISPF Panel related questions
Reply with quote

1. Option 7.3 (7=Dialog Test 3=Variables)
You will get the Variable, the Pool, the Attribute and the Value.
Use PF1 (Help) to get additional help.

2. I've never used TEST so I can't help.
I DISPLAY the panel, if there is an error I correct until it works.

3. What is the .N parameter ?
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Wed Mar 26, 2014 6:54 pm    Post subject:
Reply with quote

Marso, you are wro... ALL GLORY TO THE HYPNOTOAD!
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Wed Mar 26, 2014 7:48 pm    Post subject: Reply to: ISPF Panel related questions
Reply with quote

1. You need to use VPUT to save a variable to the profile pool. Use VGET to retrieve the variable from the profile pool.

2. You should use only ISPF TEST to start ISPF in test mode. Or you can go to ISPF option 7 to also get into test mode.

Quote:
Then I logged into my TSO session.
It is not clear what order you tried, but logging on should be first.

a. logon
b. add to SYSEXEC. (perhaps add to ISPPLIB also)
c. ISPF TEST
d. execute your rexx program.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1712
Location: UK

PostPosted: Wed Mar 26, 2014 7:52 pm    Post subject: Reply to: ISPF Panel related questions
Reply with quote

I use 7.2 to display the panel whilst developing. (actually 6.2 in this place!)
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Thu Mar 27, 2014 2:05 am    Post subject: Reply to: ISPF Panel related questions
Reply with quote

Quote:
, since I am already in ISPF. Then I logged into my TSO session. Allocated my REXX lib to SYSEXEC and executed the rexx module. Now I got the error as NO VALID ISPF ENVIRONMENT.


You imply that you expect the setup will persist across logons. It does not. You have to do your setup each time you logon.

Typically, there is a COMMAND field in the logon panel, or a predetermined name is called automatically when you first logon. You need to add your setup there so that it is executed every time you log on.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm
No new posts Rexx Panel Validation ajithajt CLIST & REXX 6 Sun Jul 17, 2016 10:50 pm
No new posts ISPF Tables Creation newsysprg TSO/ISPF 6 Wed Jul 13, 2016 2:21 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us