Current Directory and Path

The current list directory is the current working directory, and is first in the search order when working with REXX List System (RLS). The current list directory can be set using the CLD command, see section CLD. The syntax is CLD followed by the fully or partially qualified directory name. To change from a subdirectory back to the parent directory, type CLD ... To change to another subdirectory, CLD can be followed by the subdirectory name.

In the following example, the first command sets the current directory to \USERS\USER1 and the second command sets the current directory to \USERS\USER1\DOCS. The third command changes the current directory back to \USERS\USER1.

Example:

CLD \USERS\USER1
CLD DOCS
CLD ..
Note:
If CLD is never specified the default directory is \SYSTEM\nnnnnnnn\. where nnnnnnnn is an internal REXX task number.