206B TerminationHandling¶
Stub MON 206B (134 decimal) · Mnemonic EDTRM · Group: Monitor Calls for Error Handling (manual section 2.8)
Available from: not known - no compatibility box captured from the manual
Emulation source: src/handlers/mon_206B_TerminationHandling.c
Description¶
Switches termination handling on and off.
Notes¶
- Termination handling for RT programs is either on or off. Background programs may have termination handling on or off for either user break or fatal errors.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
EnDisFlag |
INTEGER | In | On or off flag. Use 1 for on and 0 for off. |
Flag |
INTEGER | In | Circumstances for termination handling. Use 1 for termination handling on user break. Use 2 for fatal errors. Specify 0 for both. Always use 0 for RT programs. |
Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.
See also¶
@ENABLE-TERMINATION-HANDLING, @DISABLE-TERMINATION-HANDLING
Compatibility¶
| ND-100 | ND-500 | User programs | RT programs | System programs |
|---|---|---|---|---|
| Yes | No | Yes | Yes | No |
From the YAML extraction; this call's page in the manual had no compatibility box that was captured.
Examples¶
From the manual (OCR text, not corrected).
INTEGER : EnDisFlag, Flag
...
Monitor_Call('TerminationHandling', EnDisFlag, Flag)
INTEGER EnDisFlag, Flag
...
Monitor_Call('TerminationHandling', EnDisFlag, Flag)
IF (ErrCode .NE. 0) THEN ...
EnDisFlag, Flag : INTEGER2;
...
TerminationHandling (EnDisFlag, Flag);
IF ErrCode <> 0 THEN ...
01 EnDisFlag COMP.
01 Flag COMP.
01 ErrCode COMP.
...
MONITOR-CALL "TerminationHandling" USING EnDisFlag, Flag.
CALL "CbError" USING ErrCode.
IF ErrCode NOT = 0 GO ...
EDFLAG : W BLOCK 1
FLAG : W BLOCK 1
...
LDA PAR, EDFLAG %Load register A with address of parameter list.
MON 206 %Monitor call TerminationHandling.
PAR, EDFLAG, %Enable / Disable flag.
FLAG, %Flag indicating user break or fatal error.
...
IF K GO ERROR
...
ERROR : W1 =: ErrCode %Error code in W1 register.
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_206B_TerminationHandling |
| Code lines | 7 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN).