Given the value of DBLWD1, the only thing that does not make sense is your expectation.
Have you checked the value in R15 to determine if TIMEUSED executed successfully? > -----Original Message----- > From: IBM Mainframe Assembler List <[email protected]> > On Behalf Of Brian Westerman > Sent: Saturday, September 21, 2019 6:17 PM > To: [email protected] > Subject: Re: Converting TIMEUSED macro output to printable time used > > On this run, the job ran for ~23 seconds and used the following: > IEF373I STEP/SOAKER /START 2019264.1453 > IEF032I STEP/SOAKER /STOP 2019264.1453 > CPU: 0 HR 00 MIN 17.17 SEC SRB: 0 HR 00 MIN 01.86 SEC > VIRT: 8K SYS: 240K EXT: 0K SYS: 10788K > ATB- REAL: 20K SLOTS: 0K > VIRT- ALLOC: 10M SHRD: 0M > > the code and the values are as follows: > > TIMEUSED STORADR=DBLWD1 > > >>>>> dblwd1 at this point is 00000000B57E2F00 > > LM R0,R1,DBLWD1 R0 = 00000000 R1 = =X'B57E2F00' = 3,044,945,664 (unsigned) > SRDL R0,12 R0 is unchanged R1 = X'000B57E2' = 743,394 > D R0,K10000 R0 = 74 = X'0000004A' R1 = 3,394 = X'00000D42' > CVD R1,DBLWD2 > > >>>>> R1 at this point is 0000004A As it should be. > > STRING (DBLWD2+4,P,L),INTO=CPUTIME > > >>>>> CPUTIME at this point is 74 Which doesn't really make any sense to me > >>>>> as I > would expect it to be somewhere around 17. Until you figure out what the value in DBLWD1 represents, your expectation is unfounded > K10000 DC F'10000'
