Open
Description
There is such thing as ZWELCOME routine in Caché. It allows to print arbitrary text in Caché terminal upon its start.
Example (must be compiled in %SYS
namespace):
ZWELCOME() PUBLIC ;
; Example
Write !
Set ME = ##class(%SYS.ProcessQuery).%OpenId($JOB)
Write "Now: ", $ZDATETIME($HOROLOG, 3, 1), !
Write "Pid/JobNo: ", ME.Pid, "/", ME.JobNumber, !
Write "Priority: ", ME.Priority, !
Quit
It would be nice to have this in WebTerminal.
Does anyone use this thing?