RESERVE-FILE

From NDWiki
Jump to navigation Jump to search
@RESERVE-FILE <file name>

Reserve a peripheral file for the exclusive use of the terminal user. This command is used to reserve a file or peripheral device for exclusive use from the current terminal. <file name> is the name of a peripheral device, for example LINE-PRINTER, or the name of a directory file.

<file name>
must be a peripheral file.

Rules:

  1. Permitted for all users.
  2. The reserved file is released on LOGOUT.
  3. Not permitted for batch jobs (see @SCHEDULE).

Example:

@RESERVE-FILE LINE-PRINTER

The (peripheral) file LINE-PRINTER is reserved for the terminal user.

Related commands

@PRSRV (command)

@RELEASE-FILE

@RESERVE-DEVICE-UNIT

RESRV (monitor call)

References

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

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

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