Skip to content

212B ReentrantSegment

Stub   MON 212B (138 decimal) · Mnemonic SREEN · Group: Segment Administration (manual section 2.12)

Available from: All programs (manual compatibility box)

Emulation source: src/handlers/mon_212B_ReentrantSegment.c

Description

Connects a reentrant segment to your two current segments. All modified pages of your current segments are written to the segment file before the reentrant segment is fetched. This is almost equivalent to SaveSegment followed by AttachSegment. However, ReentrantSegment is more efficient. Only the modified pages overlapping the reentrant segment are written back.

Parameters

Name Type Direction Description
SegmentNumber INTEGER In Segment number to attach.

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

See also

AttachSegment

Compatibility

Machines Users Programs
ND-100 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
Yes Yes Yes Yes No

Disagreement

The manual box says ND-100, but the yes/no fields say ND-100 = Yes, ND-500 = Yes. The manual box is the source.

Examples

From the manual (OCR text, not corrected).

INTEGER : SegmentNumber
...
Monitor_Call('ReentrantSegment', SegmentNumber)
INTEGER SegmentNumber
...
Monitor_Call('ReentrantSegment', SegmentNumber)
SegmentNumber : INTEGER2;
...
ReentrantSegment(SegmentNumber);
01 SegmentNumber COMP.
...
MONITOR-CALL "ReentrantSegment" USING SegmentNumber.
| Instruction | Parameter | Description                             |
|-------------|-----------|-----------------------------------------|
| LDA         | (PAR      | %Load register A with address of parameter list. |
| MON         | 212       | %Monitor call ReentrantSegment.         |
| PAR,        | SEGNO     | %Segment number.                        |
| ...         | SEGNO,    | ...                                     |

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

Source

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