DELETE-FILE: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(created page for the DELETE-FILE command)
 
(expanded text with info from SINTRAN III Reference manual)
 
Line 1: Line 1:
To delete a file and release the page used, the following command is used:
  @DELETE-FILE <file name>
  @DELETE-FILE <file name>
if a version number is specified, only that version is deleted. Otherwise, all versions of a file are deleted. The file type must always be specified.
Delete a file and release the pages used. if a version number is specified, only that version is deleted. Otherwise, all versions of a file are deleted. The file type must always be specified.
; <file name> : a unique file name. The type must always be specified (no default type). If a version is specified only that version is deleted (default version = all versions).
Rules:
#Permitted for all users with directory (D) access to the file.
#If a version v is deleted, the version number of v + 1, v + 2, ... is decremented with 1.
Example:


File FILE-1:DATA exists.
@DELETE-FILE FILE-1:D
The file is deleted.
== Related commands ==
@[[DELETE-USERS-FILES]]
[[MDLFI (monitor call)|MDLFI]] (MON 54)
== References ==
== References ==
{{ND-doc|60.128.01}} (printed June 1980), page 1-53
{{ND-doc|60.050.06}} section 3.4.1
{{ND-doc|60.050.06}} section 3.4.1


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

Latest revision as of 22:29, 16 July 2013

@DELETE-FILE <file name>

Delete a file and release the pages used. if a version number is specified, only that version is deleted. Otherwise, all versions of a file are deleted. The file type must always be specified.

<file name>
a unique file name. The type must always be specified (no default type). If a version is specified only that version is deleted (default version = all versions).

Rules:

  1. Permitted for all users with directory (D) access to the file.
  2. If a version v is deleted, the version number of v + 1, v + 2, ... is decremented with 1.

Example:

File FILE-1:DATA exists.

@DELETE-FILE FILE-1:D

The file is deleted.

Related commands

@DELETE-USERS-FILES

MDLFI (MON 54)

References

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

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

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