EXPAND-FILE: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(created page for the EXPAND-FILE command)
 
(added parameters, rules, example, related commands and a reference)
 
Line 1: Line 1:
  @EXPAND-FILE <file name> <number of pages>
  @EXPAND-FILE <file name>, <number of pages>
Contiguous files are not allowed to grow dynamically larger than the allocated number of pages, but they can be expanded with the command above.
Expand the length of a contiguous file. Contiguous files are not allowed to grow dynamically larger than the allocated number of pages, but they can be expanded with the command above.


Indexed files may expand dynamically up to the reserved free space for the owner as the user writes onto the file.
Indexed files may expand dynamically up to the reserved free space for the owner as the user writes onto the file.
; <file name> : the contiguous file to be expanded.
; <number of pages> : the additional number of pages (decimal).
Rules:
#Permitted for all users.
#File must be contiguous.
Example:
@EXPAND-FILE F-1, 9
The file F-1 is expanded by 9 pages.
== Related commands ==
@[[CREATE-FILE]]
@[[ALLOCATE-FILE]]


== 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), pages 1-73, 1-74


{{ND-doc|60.174.Q01}}
{{ND-doc|60.174.Q01}}
[[Category:Background Commands]]
[[Category:Background Commands]]

Latest revision as of 21:38, 3 January 2014

@EXPAND-FILE <file name>, <number of pages>

Expand the length of a contiguous file. Contiguous files are not allowed to grow dynamically larger than the allocated number of pages, but they can be expanded with the command above.

Indexed files may expand dynamically up to the reserved free space for the owner as the user writes onto the file.

<file name>
the contiguous file to be expanded.
<number of pages>
the additional number of pages (decimal).

Rules:

  1. Permitted for all users.
  2. File must be contiguous.

Example:

@EXPAND-FILE F-1, 9

The file F-1 is expanded by 9 pages.

Related commands

@CREATE-FILE

@ALLOCATE-FILE

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), pages 1-73, 1-74

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