benji@intercomputer.hu wrote:

>How can I measure the time it takes to complete a CL command? I'm intrested
>in both elapsed and CPU time. On VM/CMS I can see the time when I get back
>the prompt; on UNIX there is a command called time. What abot OS/400?

Benji,

You can use RTVSYSVAL SYSVAL(QTIME) RTNVAR(&TIME) where &TIME is a character
variable of 6 to 9 characters. The value returned in &TIME will be the system
time in HHMMSS.SSS format.


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---





Return to Archive home page | Return to MIDRANGE.COM home page