Skip to content

Implement ZWELCOME Routine #102

Open
@nikitaeverywhere

Description

@nikitaeverywhere

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions