SET-PERIPHERAL-FILE: Difference between revisions
Jump to navigation
Jump to search
(created page for the SET-PERIPHERAL-FILE command) |
(expanded the text, added another reference) |
||
Line 1: | Line 1: | ||
@SET-PERIPHERAL-FILE <file name> <device number> | @SET-PERIPHERAL-FILE <file name>, <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. | 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: | |||
#Permitted only for user SYSTEM. | |||
#If a file is created in the command, default file type is void (empty string). | |||
Example: | Example: | ||
@SET-PERIPHERAL-FILE "LINE-PRINTER" 5 | @SET-PERIPHERAL-FILE "LINE-PRINTER", 5 | ||
introduces the line printer (associates the file LINE-PRINTER with device number 5). | introduces the line printer (associates the file LINE-PRINTER with device number 5). | ||
Line 13: | Line 19: | ||
== Related commands == | == Related commands == | ||
[[SET-TERMINAL-FILE]] | @[[SET-FILE-ACCESS]] | ||
@[[SET-TERMINAL-FILE]] | |||
== References == | == References == | ||
{{ND-doc|60.050.06}} section 6.7 | {{ND-doc|60.050.06}} section 6.7 | ||
{{ND-doc|60.128.03}} (printed February 1983), page 1-191 | |||
{{ND-doc|60.174.Q01}} | {{ND-doc|60.174.Q01}} | ||
[[Category:System Commands]] | [[Category:System Commands]] |
Latest revision as of 12:24, 21 August 2017
@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:
- Permitted only for user SYSTEM.
- 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
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