02.05.2013 Views

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

See Also<br />

FILEREF Function<br />

3 “FILENAME Statement” on page 369<br />

Functions and CALL Routines under z/<strong>OS</strong> FINFO Function 261<br />

Verifies that a fileref has been assigned <strong>for</strong> the current <strong>SAS</strong> session<br />

Category: External Files<br />

z/<strong>OS</strong> specifics: fileref<br />

See: FILEREF Function in <strong>SAS</strong> Language Reference: Dictionary<br />

Syntax<br />

FILEREF(‘fileref’)<br />

fileref<br />

specifies the fileref to be validated. Under z/<strong>OS</strong>, fileref can be a DDname that was<br />

assigned using the TSO ALLOCATE command or JCL DD statement.<br />

Details<br />

FINFO Function<br />

A negative return code indicates that the fileref exists, but the physical files associated<br />

with the fileref does not exist. A positive value indicates that the fileref is not assigned.<br />

A value of zero indicates that the fileref and the external file both exist.<br />

Returns the value of a file in<strong>for</strong>mation item <strong>for</strong> an external file<br />

Category: External Files<br />

z/<strong>OS</strong> specifics: info-item<br />

See: FINFO Function in <strong>SAS</strong> Language Reference: Dictionary<br />

Syntax<br />

FINFO(file-id,info-item)<br />

file-id<br />

specifies the identifier that was assigned when the file was opened, generally by the<br />

FOPEN function.<br />

info-item<br />

specifies the number of the in<strong>for</strong>mation item that is to be retrieved. This is a<br />

character value.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!