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.

%end;<br />

%mend;<br />

%dsexist(my.data.set)<br />

See Also<br />

FILE Statement<br />

3 <strong>SAS</strong> Macro Language: Reference<br />

Specifies the current output file <strong>for</strong> PUT statements<br />

Valid: in a DATA step<br />

z/<strong>OS</strong> specifics: file-specification, type, host-options<br />

See: FILE Statement in <strong>SAS</strong> Language Reference: Dictionary<br />

Syntax<br />

Statements under z/<strong>OS</strong> FILE Statement 363<br />

FILE file-specification ;<br />

FILE LOG | PRINT ;<br />

file-specification<br />

identifies a file in one of the following <strong>for</strong>ms:<br />

fileref<br />

specifies a fileref or the allocated DDname of the file. A fileref can consist of up to<br />

eight letters, numbers, national characters ($, @, and #), and underscores (_). The<br />

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

fileref(member)<br />

specifies a member of a partitioned data set, where the PDS or PDSE is specified<br />

by the assigned fileref or allocated DDname.<br />

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

PDS and PDSE member names. See “FILEEXT= System Option” on page 432 <strong>for</strong><br />

details.<br />

’physical-filename’<br />

specifies a physical file, which can be a sequential file, a member of partitioned<br />

data set (PDS), a member of an extended partitioned data set (PDSE), or a UNIX<br />

System Services file, using the following syntax:<br />

3 a UNIX System Services file. For example:<br />

or<br />

’/u/userid/raw’<br />

’HFS:raw’<br />

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

’myid.raw.datax’

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

Saved successfully!

Ooh no, something went wrong!