The DOCUMENT Procedure |
Default: | If you do not specify a location to insert the entry into the path, then the entry is inserted at the end of the path. |
COPY path<(where-expression)> <,
path-2<(where-expression-2)>>
<, ...path-n<(where-expression-n)>> TO path </option(s)>; |
Required Arguments |
is the location where a link, output object, or file is copied.
Requirement: | Separate multiple paths with commas. |
Tip: | The '^' symbol represents the current path and the '^^' symbol represents the parent path. |
Options |
inserts a copy of an entry after the specified path.
Tip: | You can use the symbol '^' to represent the current path and the symbol '^^' to represent the parent path. |
inserts a copy of an entry before the specified path.
Tip: | You can use the symbol '^' to represent the current path and the symbol '^^' to represent the parent path. |
inserts a copy of an entry at the beginning of the specified path. For example, the following COPY TO statement inserts a copy of the entry Monday_Report at the beginning of the root directory:
copy weekly\monday_report to \ /first; run;
inserts a copy of an entry at the end of the specified path.
specifies the number of levels below the specified path that you want to copy.
specifies the numeric value of the path level. For example, the following COPY TO statement copies two levels of the entry Weekly to the entry Monthly:
copy weekly to \work.mydoc\monthly /levels = 2; run;
Default: | ALL |
Restriction: | The LEVELS= option is valid only when you specify a directory. |
selects, for copying, 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.