Lizette, We are both saying more-or-less the same thing, so I'm not sure why you asked me to correct you if you're wrong? The only thing I can think of is that I told the OP he has to press an "interrupt" key to refresh the screen, while you just said the "enter" key has to be pressed. Is that what you're referring to? If so, then yes, you're wrong. :-) An interrupt key is anything that sends an "interrupt" to the host and gets it to respond. For example, I could press the F3 (END) key and the host will refresh the screen (e.g. by displaying the previous screen). So it's not just ENTER that will refresh the screen. But we both agree that *something* has to be pressed in order for the screen to refresh as it's not just going to refresh by itself. In other words, the desire of the OP to see the seconds ticking upwards just isn't going to happen by itself (unless the panel is displayed in LOCK mode, as I previously mentioned). Dave Salt
SimpList(tm) - try it; you'll get it! http://www.mackinney.com/products/SIM/simplist.htm ---------------------------------------- > Date: Fri, 21 Aug 2009 07:28:02 -0400 > From: stars...@mindspring.com > Subject: Re: ISPF Counter > To: IBM-MAIN@bama.ua.edu > > Dave, > > Correct me if I am wrong, but ISPF is considered a 3270 screen session and > not a GUI like you would find in WEB type applications. Being that it is > 3270 it is more static display (you have to hit enter to get a refresh) than > a GUI. > > Lizette > >> >> ISPF panels display a static image as of the moment in time they were > captured. >> Nothing on the panel is 'refreshed' until the next time you press an > interrupt key (such >> as ENTER). This means if you display the time you will see the HH:MM:SS at > the >> moment the image was captured. If the panel is not refreshed, then one > minute later >> the time displayed will be incorrect by 1 minute (and so on). >> >> The only way you could get the time to keep refreshing is if you keep > pressing an >> interrupt key to manually keep refreshing the panel, or display the panel > in LOCK mode >> (so it automatically keeps refreshing itself). But if the panel is > displayed in LOCK mode >> this means a user can't enter any data; i.e. the entire mainframe session > is locked. I >> doubt this is what you want, so in short, you're stuck with it working the > way you >> already have it. >> >> Dave Salt >>> Hi dinosaurs >>> >>> I have written a REXX program with a panel. >>> >>> This panel has been decorated with fields HH:MM:SS among many others. >>> >>> I want the seconds field to display the current 'Seconds'. It does this, >>> but I have to keep pressing the 'Enter' key. >>> >>> This field should be increased similar to that of a counter. >>> >>> Any member who has written a similar rexx program and can be shared will >>> be appreciated. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html _________________________________________________________________ Stay on top of things, check email from other accounts! http://go.microsoft.com/?linkid=9671355 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html