The DOCUMENT Procedure |
Restriction: | The root file location cannot be moved or deleted. |
Requirement: | Separate multiple paths with commas. |
Caution: | The MOVE TO statement affects all levels of a file location below the specified starting level. |
MOVE path<(where-expression)> <,
path-2<(where-expression-2)>>
<, ...path-n<(where-expression-n)>> TO path </ option(s)>; |
Required Arguments |
specifies the location of links, output objects, or files that you want to move.
Tip: | You can use the symbol '^' to represent the current path and the symbol '^^' to represent the parent path. |
Options |
moves the entry after the specified entry in the path.
Tip: | You can use the symbol '^' to represent the current path and the symbol '^^' to represent the parent path. |
moves the entry before the specified entry in the path.
Tip: | You can use the symbol '^' to represent the current path and the symbol '^^' to represent the parent path. |
moves the entry to the beginning of the specified file location.
specifies the level of the path that you want to move.
specifies the numeric value of the path level. For example, the following MOVE TO statement moves two levels of the directory Weekly to the Monthly directory of WORK.MyDoc:
move weekly to \work.mydoc\monthly /levels = 2; run;
Default: | ALL |
Restriction: | The LEVELS= option is valid only when you specify a directory. |
selects, for moving, entries in an ODS document that meet a particular condition.
See: | Using WHERE Expressions with the DOCUMENT Procedure |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.