CREATE-NEW-VERSION: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(created page for the CREATE-NEW-VERSION command)
 
m (change "no." to "number" - less ambiguity)
 
Line 1: Line 1:
  @CREATE-NEW-VERSION <file name>, <no. of pages>
  @CREATE-NEW-VERSION <file name>, <number of pages>
Create one or more new versions of an existing file.
Create one or more new versions of an existing file.
; <file name> : for version (v) see rule 3 below. Default type = DATA.
; <file name> : for version (v) see rule 3 below. Default type = DATA.
; <no. of pages> : see @[[CREATE-FILE]].
; <number of pages> : see @[[CREATE-FILE]].


Rules:
Rules:

Latest revision as of 20:03, 16 July 2013

@CREATE-NEW-VERSION <file name>, <number of pages>

Create one or more new versions of an existing file.

<file name>
for version (v) see rule 3 below. Default type = DATA.
<number of pages>
see @CREATE-FILE.

Rules:

  1. Permitted for all users with directory access (D) to the file.
  2. See rule 2 for @CREATE-FILE.
  3. If version v already exists, one new version is created and inserted in this version. The old version is renumbered as v + 1 and so on. If v is higher than the highest version existing (= w) the versions w + 1, w +2, ..., v are created. Default version is w + 1.
  4. A new version may also be created in other commands (for example @OPEN-FILE). The version is then enclosed in quotes.

Example:

Related commands

@CREATE-FILE

@ALLOCATE-NEW-VERSION

References

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), pages 1-45, 1-46

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