| The DOCUMENT Procedure |
| Restriction: | The root file location cannot be deleted or moved. |
| Caution: | The DELETE statement affects all levels of a file location below the specified path. |
|
DELETE path<(where-expression)> <,
path-2<(where-expression-2)>>
<, ...path-n<(where-expression-n)>> </ LEVELS= ALL | value>; |
| Required Arguments |
specifies the location of one or more links, output objects, or file locations. For example, the following DELETE statement removes the ClassLevels and Nobs entries from the current directory:
delete classlevels, nobs; run;
| Requirement: | Separate multiple paths with commas. |
| Tip: | You can use the symbol '^' to represent the current path and the symbol '^^' to represent the parent path. |
| Options |
specifies the level of the path that you want to delete.
specifies all levels of the path.
specifies the numeric value of the path level.
| Default: | ALL |
| Restriction: | The LEVELS= option is valid only when you specify a directory. |
selects, for deletion, entries in an ODS document that meet a particular condition.
| See also: | Using WHERE Expressions with the DOCUMENT Procedure |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.