The DOCUMENT Procedure
DIR Statement
Sets or displays the current directory.
Syntax
Without Arguments
If no options are specified,
then the DIR statement displays the current path.
Optional Argument
- path
-
sets the current directory.
For example, the following DIR statement sets the current directory
to '\report\glm' within the current document:
dir \report\glm;
run;
Tip:You can use the symbol '^' to represent the current directory
and the symbol '^^' to represent the parent directory.
Copyright © SAS Institute Inc. All rights reserved.