PRSRV (command): Difference between revisions

From NDWiki
Jump to navigation Jump to search
(created PRSRV (command) page)
 
(correct the description text - oops.)
 
Line 1: Line 1:
  @PRSRV <logical device no.>, <read/write>
  @PRSRV <logical device no.>, <read/write>
Release a device from the program having reserved it.
Reserve a device for an RT program.
; <logical device no.> : (decimal) logical device number.
; <logical device no.> : (decimal) logical device number.
; <read/write> : (default = 0) 0 = input part of device, 1 = output part of device.
; <read/write> : (default = 0) 0 = input part of device, 1 = output part of device.

Latest revision as of 17:13, 30 May 2017

@PRSRV <logical device no.>, <read/write>

Reserve a device for an RT program.

<logical device no.>
(decimal) logical device number.
<read/write>
(default = 0) 0 = input part of device, 1 = output part of device.

Rules:

  1. Permitted only for users RT and SYSTEM.
  2. Valid only if the unit is not reserved.

Example:

@PRSRV 18,1, KLOKK

The output part of device 18 (octal) is reserved for the RT program KLOKK.

Related commands

@PRLS (command)

PRSRV (monitor call)

References

Norsk Data Document ND–60.050.03 SINTRAN III USERS GUIDE section 3.2.2

Norsk Data Document ND–60.050.06 SINTRAN III USERS GUIDE section 5.5

Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed June 1980), page 1-150

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