CREATE-FILE

From NDWiki
Revision as of 19:29, 17 December 2012 by Tingo (talk | contribs) (added rules and example from SINTRAN III Reference Manual, and a reference to it.)
Jump to navigation Jump to search
@CREATE-FILE <file name> <number of pages>

will create a contiguous file with the given number of 1K word pages (1024 decimal words, or 2048 bytes), or an indexed file with no pages allocated if <number of pages> given is zero.

The default file type is :DATA and if a version number is included in the file name, a number of copies will be created.

Rules:

  1. permitted for all users.
  2. If there are not enough pages for all versions, the system will create as many as possible and give an error message. To find the number created, use @LIST-FILE.

Example:

@CREATE-FILE F-1, 0

One version of the indexed file F-1:DATA is created in default directory.

Related Commands

@OPEN-FILE

@ALLOCATE-FILE

@CREATE-NEW-VERSION

References

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

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), page 1-44

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