View previous topic :: View next topic
|
Author |
Message |
warren
New User
Joined: 30 Aug 2006 Posts: 14 Location: Tampa, Florida
|
|
|
|
I am displaying panels from within a COBOL program. I VDEFINE all the variables before displaying the panel. No problem there.
But when I change the variable values in the program and re-display the screen the new values are not displayed- the old stay there.
My VDEFINES look like: CALL ISPLINK USING VDEF PVar XVar CHAR L5.,
where VDEF is defined in working-storage as "VEDFINE" etc.
My display looks like: CALL ISPLINK USING DISPL
PANEL-NAME
MESSAGE-FIELD
CURSOR-FIELD.,
where DISPL & PANEL-NAME are defined in working-storage.
I have tried VPUT & VREPLACE into the variable names but it doesn't help.
I also tried: CALL ISPLINK USING CONTR
DISPL
REFRESH
PANEL
MESSAGE-FIELD
CURSOR-FIELD.
Finally I went into the Panel definition itself in ISPPLIB and put a REFRESH of all the variables in )REINIT.
Nothing has worked. Does anyone know how to change the value of ISPF panel variables, defined in the working-storage of a COBOL program and displayed by that program?
Thanx! |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I found Dialog Test (option 7 in your main menu) to be a powerfull tool in these cases. You can read more about it in the fine manual.
Also, invoking TSO ISPVCALL before and after the dialog might give you some hints.
O. |
|
Back to top |
|
|
warren
New User
Joined: 30 Aug 2006 Posts: 14 Location: Tampa, Florida
|
|
|
|
Yes, I was in Dialog Test for hours & hours, before posting the board. And I read thru several online manuals. I used 'executil ts' to do tracing, since I executed the COBOL program from within a small REXX EXEC. Your 'TSO ISPVCALL' provides an interesting audit trail.
But in Dialog Test or in using either trace, I still find no clue as to why I cannot change the Working-Storage variables that are displayed on the screen. Perhaps the fact that I execute the program from within REXX has something to do with it, I don't know.
The strange part of it is that the variables will display at their initial value in Working-Storage - the screen will not be blank when displayed. But then when I change the values of those variables, the old beginning values stay on the screen. |
|
Back to top |
|
|
warren
New User
Joined: 30 Aug 2006 Posts: 14 Location: Tampa, Florida
|
|
|
|
I finally figured it out. How do I close this thread? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
The best way is to press the Blue Button and notify the Forum Moderator. I'll take care of that for you.
Would you mind sharing, for everyone's benefit, what your solution was? |
|
Back to top |
|
|
|