At 11:03 -0400 on 08/04/2011, van der Grijn, Bart (B) wrote about Re: assembler help!:

I believe Anne mentioned something about PARMJOBC containing the address
to a field with x0..08, rather than the actual value.

Looking at the TWS supplied code on our system, that seems to match. It
has:

L     DRKR2,PARMJOBC      LOAD ADDR OF JOB CPU TIME
ICM   DRKR1,K7,K0(DRKR2)  LOAD JOB CPU TIME

I think that K0 should be K1 (ie: 1) not K0 or you will be loading 000000 not 000008 into the register. With an offset of 0, you are truncating the last byte of the time and thus making it only 1/256th (rounded down) of the actual value in the field.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to