SET-PERIPHERAL-FILE

From NDWiki
Revision as of 12:24, 21 August 2017 by Tingo (talk | contribs) (expanded the text, added another reference)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
@SET-PERIPHERAL-FILE <file name>, <device number>

Associate a file with a logical device number. Peripheral files are supported by the file management system. User SYSTEM is responsible for introducing them to the file system. This is done with the command above.

<file name>
if this is a new file name the name must be given in quotes.
<device number>
(octal) logical device number.

Rules:

  1. Permitted only for user SYSTEM.
  2. If a file is created in the command, default file type is void (empty string).

Example:

@SET-PERIPHERAL-FILE "LINE-PRINTER", 5

introduces the line printer (associates the file LINE-PRINTER with device number 5).

Legal access (permissions) is specified with the command

@SET-FILE-ACCESS L-P, WA, WA, WAD

Related commands

@SET-FILE-ACCESS

@SET-TERMINAL-FILE

References

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

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

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