Skip to content

427B GetOwnProcessInfo

Stub   MON 427B (279 decimal) · Mnemonic GPRNME · Group: Not grouped in manual

Available from: All programs (manual compatibility box)

Emulation source: src/handlers/mon_427B_GetOwnProcessInfo.c

Description

Gets the name and number of your own process in the ND-500. You get a process each time you enter the ND-500 Monitor.

  • The default process names are TERMINAL-xx where xx is a number.

Parameters

Name Type Direction Description
ProcessName STRING Out Process name, maximum 34 bytes.
ProcessNumber INTEGER Out Process number in bit 31:16 and magic number in bit 15:0.

Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.

See also

GetProcessNo, SetProcessName

Compatibility

Machines Users Programs
ND-500 All users All programs

The manual's compatibility box for this call, word for word.

Yes/no fields from the YAML extraction (not in the manual's words):

ND-100 ND-500 User programs RT programs System programs
No Yes No No No

Examples

From the manual (OCR text, not corrected).

BYTES : ProcessName(0:33)
INTEGER : ProcessNumber
...
Monitor_Call('GetOwnProcessInfo', ProcessName, ProcessNumber)
CHARACTER ProcessName*34
INTEGER ProcessNumber
...
Monitor_Call('GetOwnProcessInfo', ProcessName(1:34), ProcessNumber)
ProcessName : PACKED ARRAY [0..33] OF CHAR;
ProcessNumber : LONGINT;
...
GetOwnProcessInfo(ProcessName, ProcessNumber);
01 ProcessName PIC X(34).
01 ProcessNumber COMP.
...
MONITOR-CALL "GetOwnProcessInfo" USING ProcessName, ProcessNumber.
ProcessName : STRING 44B
ProcessNumber : W BLOCK 1
GetOwnProcessInfo : EQU 37B9 + 427B
...
CALLG GetOwnProcessInfo, 2, ProcessName, ProcessNumber

ndmonlib implementation

Stub Registered MON_STATUS_NOT_IMPLEMENTED: the handler is a stub. mon_dispatch() in src/core/mon_dispatch.c reports the call as unimplemented without calling it.

Handler mon_427B_GetOwnProcessInfo
Code lines 5 (non-blank, non-comment lines in the file)

Source

SINTRAN III Monitor Calls (ND-860228.2 EN), page 263.