SET-USER-PARAMETERS

From NDWiki
Revision as of 09:26, 12 September 2017 by Tingo (talk | contribs) (created SET-USER-PARAMETERS page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
@SET-USER-PARAMETERS <P1>, <P2>, <P3>, <P4>, <P5>

Set the five user parameters in SINTRAN used when termination handling is enabled.

Parameters:

<P1>
left byte = directory index, right byte = user index
<P2>
logical device number (terminal number).
<P3>
-1 is escape otherwise error number.
<P4>
user defined.
<P5>
user defined.

Rules:

  1. These parameter can be set and read by two monitor calls PASET (56) and PAGET (57).
  2. P1, P2 and P3 are set by SINTRAN if termination handling is enabled and a program is terminated with escape, MON 0, MON 65 or a fatal error.
  3. P4 and P5 can be set to be used by user defined termination handling routines.

Related commands

PAGET (monitor call)

PASET (monitor call)

References

Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-198

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD