Specifies an external file to be read with an INPUT statement
||in a DATA step
- can be any of the file specification forms
discussed in Accessing an External File or Device
- are options specific to UNIX. They can
be any of the following:
- specifies the number of bytes that are physically
read 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 number of bytes to be read as one record.
- 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 truncated on input.
- 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.|
||binary format. The file consists
of a stream of bytes with no record boundaries.|
||variable format. Each record ends
in a newline
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.