Writer Directives

The suffixes shown are prefixed by the current WriterKeyword in a mapping file. By default, the WriterKeyword for the SAS reader is SAS.

DATASET

Required/Optional: Required

This is the name of a folder that will contain the output SAS files. The default extension for output SAS files is .sas7bdat.

Mapping File Syntax

SAS_DATASET /usr/data/sas/output

DST_ENCODING

This specifies the file encoding to use when writing.

Required/Optional

Optional

Values

<encoding>

Workbench Parameter

Character Encoding

Encodings

big5

cp936
cp950
ibm866
cp932
shift_jis
iso-8859-1
iso-8859-2
iso-8859-3
iso-8859-4
iso-8859-15
iso-8859-6
iso-8859-5
iso-8859-7
iso-8859-8
iso-8859-9
utf-8
utf-16
utf-16be
utf-16le
utf-32
utf-32be
utf-32le
windows-1256
windows-1257
windows-1251
windows-1253
windows-1255
windows-1252
windows-1250
windows-1254
windows-1258
iso-8859-13

PLATFORM

This specifies the platform for which to write the dataset.

Required/Optional

Required

Values

Native (current platform) (default) | Win32 | Win64 | Sun (or HP or AIX) | Sun64 (or 64-bit HP/AIX) | Alpha/Linux | OS/2 (Intel) | AOSF64 (Compaq True 64 Unix) | AVMS (Open VMS Alpha 32-bit) | AVMS64 (Open VMS Alpha 64-bit)

VERSION

Required/Optional: Required

This specifies the SAS version in which to write the dataset.

Values

Version 6 (*.sd) | Version 6 (*.sd2) | Version 6 (*.ssd) | Version 7/8 (*.sas7) | Version 7/8 (*.sas7bdat) | Version 9 (*.sas7bdat) | Program + ASCII data file (*.SAS) | Transport (*.xpt) | Transport (*.tpt) | Transport (*.stx)

Default

Version 7/8 (*.sas7bdat)