The DOCUMENT Procedure

DIR Statement

Sets or displays the current directory.
Navigating the Directory and Listing the Entries

Opening and Listing ODS Documents

Managing Entries

Syntax

DIR <path>;

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.