SAS Filename Statement
SAS filename statements make it easier to refer to files stored on the computer system. The fileref takes the place of the longer system file specification which would otherwise be needed. This is mostly helpful if the same file will be referred to in many places in your program.
公卫考场
The form of the statement is
filename fileref 'system-filename';
Here fileref is any valid SAS name, and the system-filename is the full path and filename specification of the file in system specific form, e.g., in DOS this would typically be of the form c:\datadir\mydata.dat; in UNIX /datadirectory/mydata.dat.
Filename statements can be placed in the autoexec.sas file.
The form of the statement is
filename fileref 'system-filename';
Here fileref is any valid SAS name, and the system-filename is the full path and filename specification of the file in system specific form, e.g., in DOS this would typically be of the form c:\datadir\mydata.dat; in UNIX /datadirectory/mydata.dat.
公卫百科
Filename statements can be placed in the autoexec.sas file.
附件列表
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。
如果您认为本词条还有待完善,请 编辑
上一篇 SAS IF, IF-THEN and IF-THEN-ELSE Statements 下一篇 SAS Drop Statement