IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ZTIME


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cvnlynn

New User


Joined: 14 Jun 2017
Posts: 31
Location: US

PostPosted: Thu Jun 29, 2017 6:26 am
Reply with quote

Hi,
ZTIME had HH:MM; I would like to get 'seconds' also like SYSTIME;
how do I get SYSTIME in REXX ? or do we use another ZTIME...
Thanks.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Thu Jun 29, 2017 7:38 am
Reply with quote

Properly speaking, ztime is an ISPF symbol; there is no ztime in Rexx.

READ about ztime in ISPF manuals yourself. This is a HELP forum, not a read the manual for you forum. It took me less than a minute to check this. Why I should waste my valuable time for this I don't know.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Jun 29, 2017 10:43 am
Reply with quote

cvnlynn wrote:
Hi,
ZTIME had HH:MM; I would like to get 'seconds' also like SYSTIME;
how do I get SYSTIME in REXX ? or do we use another ZTIME...
Thanks.

Read about the time function.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Thu Jun 29, 2017 8:51 pm
Reply with quote

Try ISPF Shared pool variable ZTIMEL


Code:
     Variable P A Value         
                  ----+----1----+
     ZTIME    S N 11:18         
     ZTIMEL   S N 11:18:30.89   
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Search our Forums:

Back to Top