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.

364 FILE Statement Chapter 17<br />

3 a fully qualified data set name with a member in parentheses. For example:<br />

’sas.raw.data(mem1)’<br />

3 a partially qualified data set name with a period preceding it. For example:<br />

’.raw.data’<br />

3 a partially qualified data set name with a period preceding it and a member<br />

name in parentheses. For example:<br />

’.raw.data(mem1)’<br />

3 a temporary data set name. For example:<br />

’&mytemp’<br />

The value of the FILEEXT= system option can affect the way <strong>SAS</strong> interprets file<br />

specifications <strong>for</strong> PDS and PDSE files. See “FILEEXT= System Option” on page<br />

432 <strong>for</strong> details.<br />

See “Specifying Physical Files” on page 14 <strong>for</strong> more in<strong>for</strong>mation about partially<br />

qualified data set names.<br />

ENCODING=encoding-value<br />

specifies the encoding to use when writing to the output file. The value <strong>for</strong><br />

ENCODING= indicates that the output file has a different encoding from the<br />

current session encoding. However, you can also specify the same encoding <strong>for</strong> the<br />

output file as <strong>for</strong> that of the current session encoding. You must enclose the value<br />

in quotation marks if it contains a dash.<br />

If you specify an encoding value different from the session encoding, <strong>SAS</strong><br />

transcodes the data from the session encoding to the specified encoding when you<br />

write data to the output file. The default encoding is the session encoding, which<br />

is the value of the ENCODING= <strong>SAS</strong> system option.<br />

For valid encoding values and more in<strong>for</strong>mation about encoding, see “Encoding<br />

Values in <strong>SAS</strong> Language Elements” in the <strong>SAS</strong> National Language Support (NLS):<br />

User’s Guide.<br />

LOG<br />

directs output to the <strong>SAS</strong> log file.<br />

PRINT<br />

directs output to the <strong>SAS</strong> procedure output file.<br />

type<br />

specifies the type of file. When you omit type, the default is a standard external file.<br />

Nonstandard (host-specific) file types that you can specify <strong>for</strong> z/<strong>OS</strong> are<br />

DLI<br />

<strong>for</strong> IMS-DL/I databases. For in<strong>for</strong>mation about IMS-DL/I options <strong>for</strong> the FILE<br />

statement, see <strong>SAS</strong>/ACCESS Interface to IMS-DL/I Software.<br />

HFS<br />

<strong>for</strong> UNIX System Services files. See “Accessing UNIX System Services Files” on<br />

page 100.<br />

MVS<br />

<strong>for</strong> z/<strong>OS</strong> data sets.<br />

PIPE<br />

<strong>for</strong> pipelines in UNIX System Services. See “Piping Data from <strong>SAS</strong> to a UNIX<br />

System Services Command” on page 104.

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

Saved successfully!

Ooh no, something went wrong!