Chapter Contents

Previous

Next
PATH=

PATH=



Indicates the name and path of the PC file to be created and loaded.

Required statement


Syntax
Details

Syntax

PATH='path-and-filename<.PC-file-extension>'|
<'>filename<'>|fileref;


Details

The PATH= statement indicates the path and name of the PC file you want to create and load. The length of the filename can vary with the operating environment. See the SAS documentation for your operating environment for any restrictions.

The PATH= statement can take one of the following arguments:

'path-and-filename <.PC-file-extension>'
specifies the fully qualified path and filename. You must enclose the entire path and filename in quotes, including the appropriate PC file extension, such as .DBF, .DIF, .WKn, or .XLS. If you omit the file extension, SAS/ACCESS software supplies it for you.

<'>filename <'>
specifies the name of a file. The file must be located in your current (default) directory. If no extension is specified, the SAS/ACCESS interface supplies it for you. If the filename includes characters that are invalid in SAS names, such as the dollar sign ($) or if the filename begins with a number, you must enclose the entire filename in quotes.

fileref
specifies a fileref that references the path and name of the file. (Assigning filerefs with the FILENAME statement is described in SAS Language and Procedures: Usage.)

A file with the same name must not already exist; if one does exist, it is not overwritten. An error message is written to the SAS log, and the PC file specified in this statement is not loaded.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.