User Answers

At me in SMP the following query returns 23:

select datepart('hh', {ts '2019-09-10 23:01:45'})

Try this:

w $zu(114,0)

or

w $$$DEFETHADDR ; from %syConfig.inc

Source code of ZZDUMP is available in ISCzzdump.INC

I've redone it a bit for your needs:

  w $$MyFunc(1),!,
    $$MyFunc(1,.V)," V=",V,!

MyFunc(p...)