Previous Page | Next Page

Functions and CALL Routines under OpenVMS

FOPTNAME Function: OpenVMS



Returns the name of an information item for an external file.
Category: External Files
OpenVMS specifics: Available information items
See: FOPTNAME Function in SAS Language Reference: Dictionary

Syntax
Details
See Also

Syntax

FOPTNAME(file-id,nval)

file-id

specifies the identifier that was assigned when the file was opened, generally by the FOPEN function.

nval

specifies the number of the information item. The following table shows the values that nval can have in OpenVMS operating environments for single and concatenated files.

Information Items
nval
Single File Concatenated Files
1 Filename Filename
2 Owner Name File List
3 Group Name Owner Name
4 Access Permission Group Name
5 File Size (bytes) Access Permission
6
File Size (bytes)


Details

FOPTNAME returns a blank if an error occurred.


See Also

Previous Page | Next Page | Top of Page