Thank you prakal,
it works (of course) but what I really want is the format you see in SMF-records or in a DB2-timestamp. That is '2004-08-31-10.00.00.000000'. I'm now reading a DB2-timestamp but that uses 5-7 times more resources (CPU) than methods like you suggested.
I'm looking for a way to read the systemtime from the MVS control blocks in order to get a more precise systemtime.
With trial and error I managed this
LINKAGE section.
01 CTLBLK-001.
05 PTR001 pointer occurs 256.
01 CTLBLK-002.
05 PTR002 pointer occurs 256...
I would like to have the systemtime more accurate than hh.mm.ss.nn. E.g. like the DB2-timestamp format CCYY-MM-DD-HH.MM.SS.nnnnnn. There must be a way to get this out of MVS Data Areas or something like that. But I don't know how.
Who can help??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.