The following table
provides information about how the ENCODING option is used with the
corresponding statement:
|
reads SAS statements
and data lines from the specified source file (not supported under
z/OS).
|
|
writes to an external
file.
|
|
reads from or writes
to an external file.
|
FILENAME statement,
EMAIL (SMTP) Access Method:
|
sends electronic mail
programmatically.
|
|
reads from an external
file.
|
|
controls features of
the Output Delivery System that are used to generate, store, or reproduce
SAS procedure and DATA step output.
|
|
saves the contents of
a window to an external file.
|
|
Copies an external file
into the current window.
|
Some encodings use a
Byte Order Mark (BOM). The BOM is generated when the encoding is specified.
For the UTF-8 encoding, you must specify
encoding=utf-8 on the filename and file DATA step statements in order for the BOM
to be generated.