Specifies the current output file for PUT statements
||in a DATA step
- can be any of the file specification forms
discussed in Accessing an External File or Device
- can be any of the portable options for the
FILE statement. See
SAS Language Reference: Dictionary for a description of these options.
- are specific to UNIX environments. These
options can be any of the following:
- specifies the number of bytes that are physically
written in one I/O operation. The default is 8K. The maximum is 1G-1.
- specifies the logical record length. Its
meaning depends on the record format in effect (RECFM). The default is 256.
The maximum length is 1G.
- If RECFM=F, the value for the LRECL= option determines
the length of each output record. The output record is truncated or padded
with blanks to fit the specified size.
- If RECFM=N, the value for the LRECL= option must
be at least 256.
- If RECFM=V, the value for the LRECL= option determines
the maximum record length. Records that are longer than the specified length
are divided into multiple records.
- indicates that data written to the file
should be appended to the file.
- indicates that a new file is to be opened
for output. If the file already exists, it is deleted and re-created. This
is the default action.
- specifies the record format. Values for
the RECFM= option are
||default format (same as variable).|
||fixed format. That is, each record
has the same length. Do not use RECFM=F for external files that contain carriage-control
||binary format. The file consists
of a stream of bytes with no record boundaries.|
||print format. The SAS System writes
||variable format. Each record ends
in a newline character.|
||variable S370 record format (V).|
||variable block S370 record format
||variable block with spanned records
S370 record format (VBS).|
- tells the SAS System not to perform buffered
writes to the file on any subsequent FILE statement. This option applies
especially when writing to a data collection
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.