IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to display the underlying panel after a Rempop


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
LavanyaK

New User


Joined: 13 Jul 2007
Posts: 2
Location: Bangalore

PostPosted: Fri Jul 13, 2007 4:08 pm
Reply with quote

Hi

Is there some way to re-display the original panel with the data content that was keyed in by the user after an ADDPOP and REMPOP commands?

ex:

ADDRESS ISPEXEC
DISPLAY PANEL(PANEL1)

IF RC = 0 THEN DO
ADDPOP ROW(10) COLUMN(10)
DISPLAY PANEL(PANEL2)
IF RC = 0 THEN DO
REMPOP ALL
END
ELSE
........

I would like to redisplay Panel1 with all the contents that were keyed into the input fields originally(just before the addpop) after i do a REMPOP


Thank you
Lavanya
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jul 13, 2007 4:42 pm
Reply with quote

It's a long time since I have played with panels, but if your panel initialises the variables before display .............................

Maybe a second panel modelled on the first but without variable initialisation.
Back to top
View user's profile Send private message
LavanyaK

New User


Joined: 13 Jul 2007
Posts: 2
Location: Bangalore

PostPosted: Fri Jul 13, 2007 7:30 pm
Reply with quote

I was trying to do it just like how it is done in ISPF panels. Is it possible that the underlying panel may be stored some where when the pop up panel comes up?
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Jul 13, 2007 7:53 pm
Reply with quote

First of all do not check the RETURN (RC) after the ADDPOP
as you need to do the REMPOP always after doing the ADDPOP
and remove the ALL from the REMPOP.


"CONTROL DISPLAY SAVE"

ADDPOP ROW(10) COLUMN(10)
DISPLAY PANEL(PANEL2)
REMPOP

"CONTROL DISPLAY RESTORE"
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Call program, directly from panel CLIST & REXX 9
No new posts How to display the leading zeros of a... DB2 7
No new posts panel creation question TSO/ISPF 12
No new posts Panel variable model line TSO/ISPF 3
Search our Forums:

Back to Top