Valid in: | In a DATA step |
z/OS specifics: | file-specification, type, host-options |
See: | FILE Statement in SAS Statements: Reference |
REREAD | positions the tape at the logical beginning of the data set. |
LEAVE | positions the tape at the logical end of the data set. |
REWIND | rewinds the tape to the physical beginning of the volume. |
FREE | dynamically deallocates the tape volume. |
DISP | is implied by the control language. |
data _null_; file myfile csrc; put ... ; run;
F | specifies fixed-length records, unblocked. |
V | specifies variable-length records, unblocked. |
FB | specifies fixed-length records, blocked. |
VB | specifies variable-length records, blocked. |
U | specifies undefined-length records, unblocked. |
A | specifies that the first byte of each record is an ANSI printer-control character. |
S | if appended to V, specifies that the file contains spanned records; if appended to F, specifies that the file contains standard blocks. |
N | indicates that the file is in binary format. The file is processed as a stream of bytes with no record boundaries, which includes the default value of LRECL. This record format is specific to SAS. |
KS | specifies a VSAM key-sequenced data set. |
ES | specifies a VSAM entry-sequenced data set. |
RR | specifies a VSAM relative-record data set. |
LS | specifies a VSAM linear-space data set. |
BINARY | data without record separator character sequences. |
TEXT | data with records terminated by the EBCDIC newline
character. The EBCDIC newline character is defined at code point x'15' and
is typically represented as NL or \n .
|
F | specifies that all lines in the file have the length specified in the LRECL= option. In output files, lines that are shorter than the LRECL= value are padded on the right with blanks. |
V | D | specifies that the lines in the file are of variable length, ranging from one character to the number of characters specified by LRECL=. This option is the default. |
P | specifies that the file has variable-length records and is in print format. |
N | specifies that the file is in binary format. The file is treated as a byte stream. That is, line boundaries are not recognized. |
NONE | Record terminators are not used. This parameter provides the same function as FILEDATA=BINARY. |
NL | The newline character (x'15' )
is used as the record terminator. This parameter provides the same
function as FILEDATA=TEXT.
|
CR | The carriage return character (x'0C' )
is used as the record terminator.
|
LF | The line feed character (x'25' )
is used as the record terminator.
|
CRLF | The sequence CR followed by LF is used as the record terminator. |
LFCR | The sequence LF followed by CR is used as the record terminator. |
CRNL | The sequence CR followed by NL is used as the record terminator. |
open_ed
-nnnn and
whose long (32 byte) name contains (OpenEdition)
(for
example, open_ed-1047
or Western(OpenEdition))
.
These characters are automatically transcoded to or from the file's
encoding if they are required by the ENCODING= or LOCALE= options.
RECFM=V|D | TERMSTR=NL is implied. (This option is the default.) |
RECFM=F | TERMSTR=NONE is implied. |
RECFM=P | TERMSTR=NL implied, along with other formatting control characters. |
RECFM=N | TERMSTR=NONE is implied. |