RTOPEN-FILE

From NDWiki
Revision as of 11:42, 17 August 2017 by Tingo (talk | contribs) (created RTOPEN-FILE page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:

  1. Permitted only for users RT and SYSTEM.
  2. Access to files in RT programs is as user RT.
  3. RT opened files cannot be set permanently open.
  4. 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

@CLOSE-FILE

@OPEN-FILE

@RTCLOSE-FILE

@RTCONNECT-FILE

OPEN (monitor call)

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