Page 1 of 1

Issues with Displaying the Panel

PostPosted: Fri Oct 21, 2016 8:27 pm
by gschhatwal1176
Hi,

I have a panel defined as follows in DSRP039.ABCD.EXEC(TEST1) pds

)BODY                
+ PANEL1                            
+ THIS IS THE TEST PANEL            
+ ENTER YOUR NAME PLEASE => _URNAME  
+ GOOD BYE ...                      
)END  


and the REXX program to display the above panel

TEST2

/* REXX */                                                      
"ISPEXEC LIBDEF ISPPLIB DATASET ID('DSRP039.ABCD.EXEC')"        
"ISPEXEC ADDPOP"                                                
"ISPEXEC DISPLAY PANEL(TEST1)"                                  
"ISPEXEC REMPOP"                                                
 EXIT
 

My question is .....,

for the first time execution i could see my PANEL , but if i make any changes to the PANEL coding and save , the new PANEL is not displayed but the old one keeps displaying. When i logoff properly and again logon, then only i am able to see the new changes.

i execute the REXX program with typing EX at the member name.

Kindly help me, how to solve this isse.

Regards...
Gurpreet

Re: Issues with Displaying the Panel

PostPosted: Fri Oct 21, 2016 8:50 pm
by enrico-sorichetti
it does not matter the way You invoked the script ...
for performance reasons ISPF caches the last ( I do not remember the exact number - 10/15/20 ) panels displayed
so in a light utilisation the panel displayed will be the cached one

to make ISPF reload the panel from disk - every time it is used - You will have to test using IIRC option 7 -Dialog test

Re: Issues with Displaying the Panel

PostPosted: Fri Oct 21, 2016 9:48 pm
by Pedro
I think you need a closing:
Address ISPEXEC "LIBDEF ISPPLIB"

Otherwise, I think the previous LIBDEF lingers. I think that is why the cached copy remains. If you establish the libdef then end it, the cache should be discarded. (that is, that is what I recall)

Re: Issues with Displaying the Panel

PostPosted: Tue Oct 25, 2016 7:09 pm
by gschhatwal1176
Thanks for the reply. I will test this and update ....