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
 

 

How to display the underlying panel after a Rempop

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to display the underlying panel after a Rempop
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jul 13, 2007 4:42 pm    Post subject:
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    Post subject:
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    Post subject:
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    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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am


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