View previous topic :: View next topic
|
Author |
Message |
srinivasbathimmi
New User
Joined: 10 May 2006 Posts: 13
|
|
|
|
Hi,
First time I have created an ISPF panel and it is working fine but I need clarification on below situations.
1. If I do any modifications on panel definition, it is not reflecting when I use display panel statement in rexx program, however it is reflecting only when I copy the whole panel definition to new member and modify the display panel statement to new member in rexx program.
2. My panel has 5 input variables and for example if I enter data for 3 variables and pressed F9 and again come back to ispf panel, I am expecting data entered for 3 variables should be retained but this is not happening. However data is retained for other variables except for the first variable why?
Var1: 123
Var2: 234
Var3: 345
PRESSED F9
Var1:
Var2: 234
Var3: 345 |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
1. ISPF uses a buffer to display panels. This is done for performance reasons. If you want to display a modified version, you'll have to use the TEST option, which replaces the copy of the panel within this buffer. I do that using Dialog Test screen (in my menu it's 7.2).
2. I assume you don't have a primary command field. Search the Dialog Developer book for the word ZCMD.
O. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
I have faced this problem too and it was weird so I used to logoff and log back in, Thanks for the explaining the reason and workaround Ofer.
Regards, |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
It's not a workaround - that's the way ISPF works (I got this method from the fine manual)...
O. |
|
Back to top |
|
|
srinivasbathimmi
New User
Joined: 10 May 2006 Posts: 13
|
|
|
|
Thank you for the response.
1. ISPF uses a buffer to display panels. This is done for performance reasons. If you want to display a modified version, you'll have to use the TEST option, which replaces the copy of the panel within this buffer. I do that using Dialog Test screen (in my menu it's 7.2).
I have my panel definition in my own PDS and when I use 7.2 option it is giving 'PANEL NOT FOUND'. Could you please let me know should I need to include my PDS some where?
2. I assume you don't have a primary command field. Search the Dialog Developer book for the word ZCMD.
Could you please let me know where can I find Dialog Developer book/Do you have any link? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
this is the ISPF for z/OS Library
Based on your ISPF version, you can find all the manuals that you need. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Regarding your first question, before invoking 7.2, try 7.6 and use LIBDEF ISPPLIB.
O. |
|
Back to top |
|
|
srinivasbathimmi
New User
Joined: 10 May 2006 Posts: 13
|
|
|
|
Thank you.
First question resolved with 7.6/7.2 option.
Second question
I made a Search on ZCMD in Dialog Developer book and ZCMD is used as a varaible in panel definitions.
Can you please think of any other reasons could cause the below issue? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Sorry, look for CMD (uppercase) in the BODY section
O. |
|
Back to top |
|
|
srinivasbathimmi
New User
Joined: 10 May 2006 Posts: 13
|
|
|
|
Ofer71,
You are right.
When I change my BODY section to BODY CMD(), it's working fine.
Thanks a lot.
Regards,
Srini. |
|
Back to top |
|
|
|