FYI, TIMEUSED is the TCB time for the active TCB unless you are running in an
SRB. It won't include TCB time from other TCB's.
Because what you are saying doesn't make much sense, I'll make some educated
guesses. The CPU line must be garbage because 1 minute CPU time it far longer
than the 3 seconds you said the job took to run. I assume the 324 is the result
from SRDL 12 divided by 10000. If so, then reversing the calculation gives you
0000 0003 1704 0000. The position of the 3 in the TOD represents a little
more than 3 seconds (Look at the POPS to find out exactly). I'm guessing that
the 324 is probably a correct conversion of the TOD where it represents 3.24
seconds. I have no clue where you are getting the 65 or 71 nor what those
values represent.
Jon.
On Saturday, September 21, 2019, 03:26:18 AM PDT, Brian Westerman
<[email protected]> wrote:
I know I'm doing something wrong, but I can't get the output from TIMEUSED to
give me a valid time used
In the program I have
TIMEUSED STORADR=DBLWD1
LM R0,R1,DBLWD1
SRDL R0,12
D R0,K10000
CVD R1,DBLWD2
STRING (DBLWD2+4,P,L),INTO=CPUTIME
K10000 DC F'10000'
What I end up with in CPUTIME is (in this case) 324 for a job that ran all of 3
seconds (wall clock time) when my job stats show:
CPU: 0 HR 01 MIN 05.27 SEC SRB: 0 HR 00 MIN 06.53 SEC
I should be getting something like 65 (unless SRB is included when I would
expect 71)
I am obviously doing something wrong. I tried it using load grande and got the
same results, so I went back to LM.
any help at all would be appreciated.
Brian