Page 1 of 1
Date and Time in ISPF.
Posted: Thu Apr 17, 2014 4:58 pm
by Priyank Sharma
Hi ,
Is there any TSO command for displaying the current date,time of a day, on command line?
Re: Date and Time in ISPF.
Posted: Thu Apr 17, 2014 5:37 pm
by zprogrammer
Re: Date and Time in ISPF.
Posted: Mon Apr 21, 2014 3:16 pm
by Priyank Sharma
Thanks Pandora.
What's your real name?
Re: Date and Time in ISPF.
Posted: Mon Apr 21, 2014 3:30 pm
by zprogrammer
Sorry , I would like to have my personal details as a "secret"
You could Address me as Pandora
Re: Date and Time in ISPF.
Posted: Tue Sep 30, 2014 11:34 am
by Priyank Sharma
That's fine Pandora-Box.
Re: Date and Time in ISPF.
Posted: Tue Sep 30, 2014 12:11 pm
by zprogrammer
Hope the secret didn't disappoint you
Re: Date and Time in ISPF.
Posted: Tue Jan 27, 2015 6:00 pm
by thiele3105
Hi,
as i know there is no Command, but easily to realize with REXX.
Code: Select all
/*REXX */
SAY DATE('E') TIME()
RETURN
Name it TSOTIME and then you can execute it by TSO, if the REXX is loacted on a concatinatet Clist Library (SYSPROC or SYSEXEC DD)
best regards
Christoph Thiele
Re: Date and Time in ISPF.
Posted: Tue Jan 27, 2015 9:58 pm
by Robert Sample
thiele3105:
as i know there is no Command,
You need to find out where the manuals are at your site and learn how to read them. From the
TSO/E Commands manual in the TSO bookshelf:
1.95 TIME command Use the TIME command to obtain the following information:
Cumulative CPU time (from LOGON)
Cumulative session time (from LOGON)
Total service units used, which includes:
CPU service units - A measure of task execution time.
I/O service units - A measure of SMF data set activity.
Storage service units - A measure of the page frame usage.
Local time of day Refers to the time of execution for this command. It is displayed as follows:
local time of day in hours(HH),
minutes(MM), and seconds(SS),
(am or pm is also displayed)
Today's date.
Since there is a TIME command under TSO, typing TSO TIME on the command line of ISPF will return the requested information. Your REXX code is completely redundant and unnecessary.