From: Rick Crider To: All
I am searching for a way to access subsecond time on the AS/400, but am coming up empty. The application is trying to use sub or millisecond time slicing. Can anybody offer a suggestion?
From: Ernie Malaga To: Rick Crider
CL and PL/I let you retrieve the system time with accuracy up to milliseconds. In CL you do it by retrieving system value QTIME into a 9-character variable, as follows:
RTVSYSVAL SYSVAL(QTIME) + RTNVAL(&SYSTIME)
Variable &SYSTIME will be in the HHMMSSTTT format.
From: Rick Crider To: Ernie Malaga
Thanks Ernie, I knew there must be a way to do it; I just never had a need to figure it out. Thanks for saving me an enormous amount of time and (shudder) having to go dig in the manuals.