I have a program that converts a STCK to a WTO. It is reentrant, but you will need writable storage for the displayable string. Samples:
+TODCON2 TOD=FFFFFFFFFFFFFFFF DATE= 9/17/2042, TIME= 23:53:47.370495 +TODCON2 TOD=CFDCC9B74A2892CB DATE= 11/17/2015, TIME= 13:15:43.795849 sas On Tue, Nov 17, 2015 at 12:48 AM, Elardus Engelbrecht < elardus.engelbre...@sita.co.za> wrote: > Paul Gilmartin wrote: > > >> Which should be CICS-friendly. > > >But does it meet the OP's performance requirement? > > Probably not, because you call CEELOCT using 4 parameters (in workspace) > and depending on needs, may need also call CEEDATM after checking your > CEELOCT output for validity. > > And there is probably LE overhead too for Assembler programs. > > After reviewing this discussion, I see that my proposed sample will NOT > work for the OPs requirement. > > > >The OP has alleged that the TOD clock value (STCK) is an input parameter, > so STCK(E) performance is irrelevant. > > Perhaps he should give an example (source snippets) of what he wants? > > Groete / Greetings > Elardus Engelbrecht > -- sas