Valid in: | anywhere |
UNIX specifics: | device-type, external-file, host-options, and encoding-value |
See: | FILENAME Statement in SAS Statements: Reference |
CR | Carriage return. Use TERMSTR=CR to read files formatted by an Apple Macintosh. |
CRLF | Carriage return line feed. Use TERMSTR=CRLF to read files formatted by a PC. |
LF | Line feed. This parameter is used to read files formatted by UNIX. LF is the default. |
D | default format (same as variable). |
F | fixed format. That is, each record has the same length. Do not use RECFM=F for external files that contain carriage-control characters. |
N | binary format. The file consists of a stream of bytes with no record boundaries. N is not valid for the PIPE device type. If you do not specify the LRECL option, then by default SAS reads 256 bytes at a time from the file. |
P | print format. On output, SAS writes carriage-control characters. |
V | variable format. Each record ends with a newline character. |
S370V | variable S370 record format (V). |
S370VB | variable block S370 record format (VB). |
S370VBS | variable block with spanned records S370 record format (VBS). If you specify RECFM=S3270VBS, then you should specify BLKSIZE=32760 and LRECL=32760 in order to avoid errors with records longer than 255 characters. |
<File Descriptor number>
is either the pathname
for a single file or, if you are concatenating filenames, a list of
pathnames separated by spaces or commas and enclosed in parentheses.
The level of specification depends on your location in the file system.
Character Substitutions in Pathnames shows character substitutions that you can use when specifying
a UNIX pathname.
|
||
is an address and e-mail
options. For
more information, see Sending Electronic Mail Using the FILENAME Statement (EMAIL).
|
||
is the pathname of the
external file on the remote computer followed by FTP options. See SAS Language Reference: Concepts, and Assigning Filerefs to Files on Other Systems (FTP, SFTP, and SOCKET Access Types) for more
information.
If you are transferring
a file to UNIX from the
|
||
is a UNIX command. For more information,
see Printing and Routing Output.
|
||
is a device name and
plotter options. For more information, see Printing the Contents of a Window, and Using the PRINTTO Procedure in UNIX Environments.
|
||
is a device name and
printer option. For
more information, see Printing the Contents of a Window, and Using the PRINTTO Procedure in UNIX Environments.
|
||
is the pathname of the
external file on the remote computer, followed by SFTP options. For more information,
see FILENAME Statement, SFTP Access Method in SAS Statements: Reference, and Assigning Filerefs to Files on Other Systems (FTP, SFTP, and SOCKET Access Types).
|
||
depends on whether the
SAS application is a server application or a client application. In
a client application, external-file is
the name or IP address of the host and the TCP/IP port number to connect
to, followed by any TCP/IP options. In a server application, external-file is
the port number to create for listening, followed by the SERVER keyword,
and then any TCP/IP options. See SAS Statements: Reference for
more information.
|
||