I guess you missed the whole point of not calling a supplied callable service 
...

Regarding STCKF - this is indeed a great tip and I'd probably consider using it 
except we have to use STCK anyway [along with the LPAR id extracted once from 
the STCKE output] to guarantee VSAM key uniqueness within the SYSPLEX

Thanks anyway!
-Victor-     
-----------------------------------------------------------------------------------------------
Rather than re-inventing a wheel why not use the Language Environment
callable service CEELOCT (get current local date or time)
https://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ceea300/clcloct.htm%23clcloct?lang=en

Which should be CICS-friendly.

If you have to do it in assembler stop using STCK or STCKE and consider
using STCKF which gets a "fuzzy" store clock value because doesn't stop all
the other processors with a timer interrupt. Both IMS and DB2 have
re-written their code that needs a STCK value but doesn't need it to be
guaranteed as unique to use STCKF and have seen some incredible performance
improvements.

Regards, Dougie

Reply via email to