SET-TEMPORARY-FILE

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

Define the contents of a file as temporary. The contents are deleted when the file is closed after it has been accessed for read. It is retained as an object entry.

<file name>
(default type = DATA) an indexed file.

Rules:

  1. Permitted for all users.
  2. The file must not have been written to before the command is given.
  3. Temporary files are useful as spooling files.
  4. @FILE-STATISTICS shows whether a file is temporary or not.

Example:

@SET-TEMPORARY-FILE F-1;2

Version 2 of the file F-1 is defined as temporary file.

Related commands

@FILE-STATISTICS

References

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

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