|
View previous topic :: View next topic
|
| Author |
Message |
Mickeydusaor
Active User

Joined: 24 May 2006 Posts: 258 Location: Salem, Oregon
|
|
|
|
Is there a problem in ISPF when using a popup panel for the display of an ISPF table.?? I created a 17 line by 32 column panels using the MODEL
statement for my TBDISPL command to populate the popup. I have in the
panel the )BODY window(32,17). In my REXX I issue a ADDPOP command
ADDPOP ROW(2) COLUMN(20). I then issue the following TBDISPL command
TBDISPL" DB2TABS "PANEL(ISPFDTAB) CURSOR(ACTION) AUTOSEL(NO)
ROWID(ACTROW)"
all is fine at this point in time, then I make several selections and press
the ENTER KEY, the first line of data from the selection is build into a
parameter that is passed to another REXX that issue a BROWSE command
on the PDS with the MEMBER that was selected. The first thing I do before
invoking the other REXX is issue a REMPOP and then the call to the second
REXX, again all is fine and the member is displayed, upon returning from the
second REXX and trying to process the second selection the TBDISPL command fails with a return code of 20. If I remove the REMPOP all of the
selection are displayed but in the POPUP window(32,17) and you can not
see all of the member data. Is it that you can not use a TBDISPL with a
popup that is calling another REXX that uses the BROWSE or EDIT services. |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Use dialog trace option to display some meaningfull error messages (ZERRSM, ZERRLM).
My recommendation: put the ADDPOP/REMPOP surrounding the TBDISPL loop. Don't play with ADDPOP/REMPOP across routines.
O. |
|
| Back to top |
|
 |
Mickeydusaor
Active User

Joined: 24 May 2006 Posts: 258 Location: Salem, Oregon
|
|
|
|
That is what I have done, but the TBDISPL has lost it table pointers
when returning from the full screen BROWSE back to the POPUP
window display of the table. |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Did you manage to see a "real" error message using trace options?
O. |
|
| Back to top |
|
 |
Mickeydusaor
Active User

Joined: 24 May 2006 Posts: 258 Location: Salem, Oregon
|
|
|
|
Yes, the problem boils down to that you can not have a POPUP TBDISPL then issue a REMPOP, call a full screen panel display like Browse and then
issue a ADDPOP command before issueing the TBDISPL without the panel name to process the next selection from the original TBDISPL panel display. You get the following error message.
ISPT050
Unable to process reinvocation.
Current Dialog Statement:
TBDISPL DB2TABS ROWID(ACTROW) |
|
| Back to top |
|
 |
Mickeydusaor
Active User

Joined: 24 May 2006 Posts: 258 Location: Salem, Oregon
|
|
|
|
The answer to the problem, was to use the select command with the SUSPEND option to use the popup selection panel and the full screen display panel.
Thanks to all that responded. |
|
| Back to top |
|
 |
|
|