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

SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/SIM/simplist.htm






----------------------------------------
> Date: Fri, 21 Aug 2009 13:11:51 +0530
> From: [email protected]
> Subject: ISPF Counter
> To: [email protected]
>
> 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.
>
>
>
> TIA
>
>
>
>
>
> Thanks & Best Regards.
>
> Umamaheshwar Iyer | Project Manager | Tech Mahindra
> Hinjwadi, Pune - 411 004, INDIA
> Ph. Office: +91 20 4225 0801 | Cell: +91 97666 44472
> Email: [email protected]
> 
> www.techmahindra.com 
>
>
>
>
>
> ============================================================================================================================
>
>
> Disclaimer:
>
> This message and the information contained herein is proprietary and 
> confidential and subject to the Tech Mahindra policy statement, you may 
> review the policy at http://www.techmahindra.com/Disclaimer.html externally 
> and http://tim.techmahindra.com/Disclaimer.html internally within Tech 
> Mahindra.
>
> ============================================================================================================================
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
_________________________________________________________________
More storage. Better anti-spam and antivirus protection. Hotmail makes it 
simple.
http://go.microsoft.com/?linkid=9671357

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to