Chapter Contents

Previous

Next
FILEREF

FILEREF



Verifies that a SAS fileref has been assigned for the current SAS session and returns a value

Language element: function
Category: external-file
OpenVMS specifics: valid values for fileref


Syntax
Details
See Also

Syntax

FILEREF(fileref)

fileref
specifies the SAS fileref to be validated. Under OpenVMS, fileref can also be an OpenVMS logical name that was assigned using the DCL DEFINE command.


Details

Under OpenVMS, you can assign SAS filerefs using two methods. You can use the DCL DEFINE command to assign a fileref before you invoke SAS. For example:

$ define myfile a.txt
$ sas;
  data;
  file myfile;
  put "HELLO";
  run;
This creates the file A.TXT.

You can use the X command to assign a SAS fileref during your SAS session.

See Also


Chapter Contents

Previous

Next

Top of Page

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