Skip to content

437B GetND500Param

Stub   MON 437B (287 decimal) · Mnemonic 5PAGET · Group: Monitor Calls for Error Handling (manual section 2.8)

Available from: Background programs (manual compatibility box)

Emulation source: src/handlers/mon_437B_GetND500Param.c

Description

Gets information about why the last ND-500 program terminated. There are five parameters for each background user. These can be set by SINTRAN III or your background program.

  • Use SetND500Param to set the parameter values.
  • SINTRAN III sets some of the parameter values if you give the command @ENABLE-TERMINATION-HANDLING first.

Parameters

Name Type Direction Description
Buffer ARRAY Out 5-word buffer receiving: [0]=user/dir index, [1]=terminal device, [2]=error code, [3-4]=user defined.

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

See also

TerminationHandling, SetND500Param, GetUserParam, and SetUserParam

Compatibility

Machines Users Programs
ND-500 All users Background 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 : Buffer(0:9)
...
Monitor_Call('GetND500Param', Buffer(0))
INTEGER Buffer(5)
...
Monitor_Call('GetND500Param', Buffer(1))
Buffer : RECORD...END;
...
GetND500Param(Buffer);
01 Buffer.
   02 array COMP OCCURS 5 TIMES.
   ...
   MONITOR-CALL "GetND500Param" USING Buffer.
Buffer : W BLOCK 5
GetND500Param : EQU 37B9 + 437B
...
CALLG GetND500Param, 1, Buffer

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_437B_GetND500Param
Code lines 5 (non-blank, non-comment lines in the file)

Source

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