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.

366 FILE Statement Chapter 17<br />

carriage returns) or to the <strong>SAS</strong> log. For nonprint files (without carriage returns),<br />

the value of LRECL= is used in place of the default value <strong>for</strong> LINESIZE=.<br />

LRECL=value<br />

specifies the logical record length of the file. The specified value depends on the<br />

access method and the device type. For more in<strong>for</strong>mation, see the discussion of<br />

LRECL= in “DCB Option Descriptions” on page 379 and MVS JCL Reference.<br />

MOD<br />

writes the output lines following any existing lines in the file. This option<br />

overrides a disposition that was specified in JCL or under TSO. It is not valid if<br />

the specified file is a member of a partitioned data set (PDS).<br />

NOPROMPT<br />

specifies that if the file that you reference in the FILE statement is unavailable, a<br />

requestor window is not displayed and an error is written to the <strong>SAS</strong> log.<br />

OLD<br />

writes the output lines at the beginning of the file, overwriting any existing data<br />

in the file. This option overrides a disposition that was specified in JCL or under<br />

TSO, and it is the default if no disposition is specified. Using OLD is necessary<br />

only if you used MOD <strong>for</strong> the file in an earlier FILE statement and you want to<br />

overwrite the file.<br />

PRINT|NOPRINT<br />

specifies whether carriage-control characters are placed in output files. Under<br />

z/<strong>OS</strong>, PRINT adds carriage-control characters to the beginning of all lines of<br />

output that are directed to print files and to the <strong>SAS</strong> log.<br />

RECFM=record-<strong>for</strong>mat<br />

specifies the record <strong>for</strong>mat of the file. Valid values are<br />

F specifies fixed-length records, unblocked.<br />

V specifies variable-length records, unblocked.<br />

FB specifies fixed-length records, blocked.<br />

VB specifies variable-length records, blocked.<br />

U specifies undefined-length records, unblocked.<br />

The following values can be appended to the RECFM values:<br />

A specifies that the first byte of each record is an ANSI<br />

printer-control character.<br />

S if appended to V, specifies that the file contains spanned<br />

records; if appended to F, specifies that the file contains<br />

standard blocks.<br />

The following value stands alone; no other values can be appended:<br />

N indicates that the file is in binary <strong>for</strong>mat. The file is processed<br />

as a stream of bytes with no record boundaries. This record<br />

<strong>for</strong>mat is specific to <strong>SAS</strong>.<br />

Host Options <strong>for</strong> Retrieving In<strong>for</strong>mation about Data Sets<br />

The following options are used in the FILE, FILENAME, and INFILE statements to<br />

retrieve in<strong>for</strong>mation about a data set from the operating environment control blocks.

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

Saved successfully!

Ooh no, something went wrong!