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.

Statements under z/<strong>OS</strong> FILENAME Statement 373<br />

host-options<br />

are host-specific options that may be specified in the FILENAME statement. These<br />

options can be categorized into several groups. For details, see the following sections:<br />

3 “Standard File Options <strong>for</strong> the FILENAME Statement” on page 373<br />

3 “DCB Attribute Options” on page 379<br />

3 “SYSOUT Data Set Options <strong>for</strong> the FILENAME Statement” on page 383<br />

3 “Subsystem Options <strong>for</strong> the FILENAME Statement” on page 385<br />

3 “Options That Specify SMS Keywords” on page 382<br />

3 “Host-Specific Options <strong>for</strong> UNIX System Services Files” on page 104.<br />

You can specify these options in any order following ’physical-filename’. When<br />

specifying more than one option, use a blank space to separate each option. Values<br />

<strong>for</strong> options may be specified with or without quotation marks. However, if a value<br />

contains one of the supported national characters ($, #, or @), the quotation marks<br />

are required.<br />

EMAIL<br />

specifies the EMAIL device type, which indicates that the specified file is to be sent<br />

as electronic mail, using the specified e-mail-options.<br />

’address’<br />

specifies the e-mail address of the recipient. Alternatively, you may specify recipient<br />

address arguments in the TO= option or by way of a !EM_TO! directive. The use of<br />

!EM_TO! directives is described in “PUT Statement Syntax <strong>for</strong> E-Mail” on page 135.<br />

e-mail-options<br />

when the EMAIL device type is specified, the FILENAME statement accepts the<br />

following e-mail-options:<br />

ATTACH=<br />

CC=<br />

FROM=<br />

SUBJECT=<br />

TO=<br />

TYPE=<br />

See “E-Mail Option Values” on page 377 <strong>for</strong> the values that can be assigned to the<br />

preceding options.<br />

_ALL_<br />

specifies to clear or list all currently allocated filerefs.<br />

CLEAR<br />

specifies to deallocate the specified fileref, or to deallocate all currently allocated<br />

filerefs.<br />

LIST<br />

specifies to list the fileref name and physical name, or to list in<strong>for</strong>mation about all<br />

currently allocated filerefs.<br />

Standard File Options <strong>for</strong> the FILENAME Statement<br />

Standard file options provide in<strong>for</strong>mation about a data set’s disposition and physical<br />

attributes. The following standard options can be used with all external files under<br />

z/<strong>OS</strong> except <strong>for</strong> files that are in the Hierarchical File System of UNIX System Services.<br />

(See “Host-Specific Options <strong>for</strong> UNIX System Services Files” on page 104.)<br />

DISP=status |(status,,)

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

Saved successfully!

Ooh no, something went wrong!