Changing Your Working Directory in UNIX Environments


What is Your Working Directory?

The working directory is the operating system directory to which many SAS commands and actions apply. By default, SAS uses the current directory as the working directory when you begin your SAS session.

Changing Your Working Directory

You can change the working directory during your SAS session. You can use the Change Working Directory dialog box to select a new directory, or you can use the X command, the X statement, the CALL SYSTEM routine, or the %SYSEXEC macro statement to issue the change directory ( cd ) command. For information on the X command and statement, the CALL SYSTEM routine, and the %SYSEXEC macro statement, see "Executing Operating System Commands from Your SAS Session" on page 13.

Change Working Directory Dialog Box

To open the Change Working Directory dialog box, issue the DLGCDIR command or select
Tools Options Change Directory

click to expand
Display 2.7: Change Working Directory Dialog Box

The Change Working Directory dialog box works exactly the same as the Open dialog box, except that you cannot select a file from the list. For an explanation of the options on the Change Working Directory dialog box, see "Description of the Open Dialog Box Options" on page 40.




SAS 9.1 Companion for UNIX Environments
SAS 9.1 Companion For Unix Enivronments
ISBN: 1590472101
EAN: 2147483647
Year: 2004
Pages: 185
Authors: SAS Institute

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net