Previous Page | Next Page

Tools for the System Administrator

patchname Command



Resets the name of the !SASROOT directory in the specified executable file.
Syntax
Details

Syntax

patchname filepath sasroot-directory-pathname

filepath

specifies the absolute pathname of the file in which to set the !SASROOT directory.

sasroot-directory-pathname

specifies the absolute pathname of the new !SASROOT directory.


Details

The patchname command resets the name of the !SASROOT directory in the specified executable file to the specified directory.

When you install SAS, the installation program uses patchname to write the name of the !SASROOT directory to the file that needs this information: the executable file that contains the sas command.

If you want to relocate SAS to a different directory, follow the steps in Regenerating SAS Invocation Scripts.

Previous Page | Next Page | Top of Page