Chapter Contents

Previous

Next
FILEATTR

FILEATTR



Returns the attribute information for a specified file

Language element: function
Category: general-purpose OpenVMS
OpenVMS specifics: All aspects are host-specific


Syntax
Details

Syntax

FILEATTR(file-specification,item)

file-specification
is the file for which you are requesting information. It can be a character variable, a character literal enclosed in double quotation marks, or another character expression. You must have access to the file that you are referencing.

item
specifies which attribute of the file you are requesting. It can be a character variable, a character literal enclosed in double quotation marks, or another character expression. If the item is more than 16 characters long, it is truncated. The items that can be requested are the same as the items that can be requested using the DCL lexical function F$FILE_ATTRIBUTE.


Details

The FILEATTR function returns information about a file based on the type of information that is requested with the item parameter. Numeric values are returned as character values.

The FILEATTR function closely resembles the F$FILE_ATTRIBUTE lexical function of DCL. For more information about DCL lexical functions, refer to OpenVMS DCL Dictionary or to the SAS online Help.

You cannot request the following attribute information:


Chapter Contents

Previous

Next

Top of Page

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