>I am using it to set a value for ECVTXTSW where I want to 
>suspend execution for 90 seconds  

Given that, you do not need to do what you are asking for. 

The parameter for the cross-memory TCB or SRB  wait routine is an 8-byte 
area that contains the "wait time". By "wait time" it means "how long you 
want to wait", not "the time of day at which you want to be woken up". If 
"wait time" is overly confusing this could be changed to say "time to 
wait".

The question that needs answering for ECVTXTSW is, instead, "how do I set 
up an 8-byte area that is the value representing 90 seconds in TOD clock 
format".

The answer is to use something that will create a value that is 90 
multiplied by 1 million (the number of microseconds in 90 seconds) 
multiplied by 4096 (2**12), the fact that in TOD clock format, one 
microsecond is represented by bit 51 in the 0-origin 64-bit format).

Ed Jaffe's FDS12'90E6' seems like a great way to do that -- "FD" for 
8-byte fixed, "S12" for 2**12, 90E6 for 90*10**6.

Peter Relson
z/OS Core Technology Design


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to