Issues with Displaying the Panel



IBM's Command List programming language & Restructured Extended Executor

Issues with Displaying the Panel

Postby gschhatwal1176 » Fri Oct 21, 2016 8:27 pm

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
gschhatwal1176
 
Posts: 4
Joined: Fri Feb 20, 2015 12:36 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Issues with Displaying the Panel

Postby enrico-sorichetti » Fri Oct 21, 2016 8:50 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Issues with Displaying the Panel

Postby Pedro » Fri Oct 21, 2016 9:48 pm

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)
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: Issues with Displaying the Panel

Postby gschhatwal1176 » Tue Oct 25, 2016 7:09 pm

Thanks for the reply. I will test this and update ....
gschhatwal1176
 
Posts: 4
Joined: Fri Feb 20, 2015 12:36 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post