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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

370 FILENAME Statement Chapter 17<br />

FILENAME fileref (’physical–filename–1’... ’physical-filename-n’)<br />

;<br />

FILENAME fileref EMAIL ’address’ ;<br />

FILENAME fileref | _ALL_ CLEAR;<br />

FILENAME fileref | _ALL_ LIST;<br />

fileref<br />

is a symbolic name <strong>for</strong> an external file. The fileref can consist of up to eight letters,<br />

numbers, national characters ($, @, #), and underscores (_). The first character must<br />

be either a letter, a national character, or an underscore.<br />

device-type<br />

specifies a device type <strong>for</strong> the output. It can be one of the following:<br />

CATALOG<br />

references a <strong>SAS</strong> catalog as a flat file. The external file is a valid two-, three-, or<br />

four- part <strong>SAS</strong> catalog name followed by any catalog options needed. Refer to <strong>SAS</strong><br />

Language Reference: Dictionary <strong>for</strong> a description of catalog options.<br />

DISK<br />

sends the output to a disk drive.<br />

DUMMY<br />

specifies a null output device. This value is especially useful in testing situations.<br />

Any output that would normally be sent to the external file is discarded.<br />

EMAIL<br />

sends electronic mail to an address. The external file is an address followed by<br />

e-mail options. See “Sending E-Mail from within <strong>SAS</strong> Software” on page 131 <strong>for</strong><br />

more in<strong>for</strong>mation.<br />

FTP<br />

reads or writes to a file from any machine on a network that is running an FTP<br />

server. The external file is the pathname of the external file on the remote<br />

machine followed by FTP options. Only one member of a z/<strong>OS</strong> PDS can be written<br />

to at a time. If you need to write to multiple members at the same time, a z/<strong>OS</strong><br />

PDSE or a UNIX System Services directory should be used. See <strong>SAS</strong> Language<br />

Reference: Dictionary <strong>for</strong> more in<strong>for</strong>mation.<br />

HFS<br />

specifies a UNIX System Services file.<br />

MVS<br />

specifies an MVS data set.<br />

NOMVSTRANS<br />

suppresses the EBCDIC to ASCII translation that is internal to the Socket access<br />

method.<br />

PIPE<br />

specifies that <strong>SAS</strong> open a UNIX System Services pipeline <strong>for</strong> execution of UNIX<br />

System Services commands that are issued within the statement.<br />

PLOTTER<br />

sends the output to the default system plotter.<br />

PRINTER<br />

sends the output to the default system printer.

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

Saved successfully!

Ooh no, something went wrong!