CREATE-FILE: Difference between revisions
Jump to navigation
Jump to search
(created page for the CREATE-FILE command) |
(added rules and example from SINTRAN III Reference Manual, and a reference to it.) |
||
Line 4: | Line 4: | ||
The default file type is :DATA and if a version number is included in the file name, a number of copies will be created. | 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: | |||
#permitted for all users. | |||
#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 == | == References == | ||
{{ND-doc|60.050.06}} section 3.4.1 | {{ND-doc|60.050.06}} section 3.4.1 | ||
{{ND-doc|60.128.01}} (printed June 1980), page 1-44 | |||
{{ND-doc|60.174.Q01}} | {{ND-doc|60.174.Q01}} | ||
[[Category:Background Commands]] | [[Category:Background Commands]] |
Revision as of 19:29, 17 December 2012
@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:
- permitted for all users.
- 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
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