RTOPEN-FILE
Jump to navigation
Jump to search
@RTOPEN-FILE <file name>, <access type>
Open a file for RT programs.
- <file name>
- (default type = SYMB) file name.
- <access type>
- specifies the intended access-mode, only the following combinations are legal:
R - sequential read W - sequential write RW - sequential read and write RX - random read WX - random read and write WA - sequential write append RC - random read with read and write access from other users allowed (only contiguous files) WC - random read and write with read and write access from other users allowed (only contiguous files)
Rules:
- Permitted only for users RT and SYSTEM.
- Access to files in RT programs is as user RT.
- RT opened files cannot be set permanently open.
- See rules 2 - 6 of @OPEN-FILE.
Example:
@RTOPEN-FILE F-1, RW FILE NUMBER IS: 100
The file F-1:SYMB is opened for read and write access for all RT programs. The file number is 100 (octal)
Related commands
References
Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-177
Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD