Skip to content

426B GetProcessNo

Stub   MON 426B (278 decimal) · Mnemonic GPRNAM · Group: RT Program Execution (manual section 2.10)

Available from: All programs (manual compatibility box)

Emulation source: src/handlers/mon_426B_GetProcessNo.c

Description

Gets the number of a process in the ND-500. You specify the process name. The process number is assigned when you start the ND-500 Monitor.

  • The process name may not be abbreviated.

Parameters

Name Type Direction Description
ProcessName STRING In Process name. May include a user name, e.g. (P-HANSEN)WP-PROCESS.
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

GetOwnProcessInfo, 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('GetProcessNo', ProcessName, ProcessNumber)
CHARACTER ProcessName*34
INTEGER ProcessNumber
...
Monitor_Call('GetProcessNo', ProcessName(1:34), ProcessNumber)
ProcessName : PACKED ARRAY [0..33] OF CHAR;
ProcessNumber : LONGINT;
...
GetProcessNo(ProcessName, ProcessNumber);
01 ProcessName PIC X(34).
01 ProcessNumber COMP.
...
MONITOR-CALL "GetProcessNo" USING ProcessName, ProcessNumber.
ProcessName : STRING 44B
ProcessNumber : W BLOCK 1
GetProcessNo : EQU 37B9 + 426B
...
CALLG GetProcessNo, 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_426B_GetProcessNo
Code lines 6 (non-blank, non-comment lines in the file)

Source

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