OUTREP= Data Set Option

Specifies the data representation for the output SAS data set.
Valid in: DATA step and PROC steps
Category: Data Set Control
See: OUTREP= data set option in the SAS Companion for z/OS.

Syntax

OUTREP=format

Syntax Description

format
specifies the data representation, which is the form in which data is stored in a particular operating environment. Different operating environments use different standards or conventions for storing floating-point numbers (for example, IEEE or IBM mainframe); for character encoding (ASCII or EBCDIC); for the ordering of bytes in memory (big Endian or little Endian); for word alignment (4-byte boundaries or 8-byte boundaries); for integer data-type length (16-bit, 32-bit, or 64-bit); and for doubles (byte-swapped or not).
By default, SAS creates a new SAS data set by using the data representation of the CPU that is running SAS. Specifying the OUTREP= option enables you to create a SAS data set with a different data representation. For example, in a UNIX environment, you can create a SAS data set that uses a Windows data representation. For more information about compatibility and data representation, see Processing Data Using Cross-Environment Data Access (CEDA) in SAS Language Reference: Concepts.
Values for OUTREP= are listed in the following table:
Data Representation Values for OUTREP= Option
OUTREP= Value
Alias1
Environment
ALPHA_TRU64
ALPHA_OSF
Tru64 UNIX
ALPHA_VMS_32
ALPHA_VMS
OpenVMS Alpha
ALPHA_VMS_64
OpenVMS Alpha
HP_IA64
HP_ITANIUM
HP-UX for the Itanium Processor Family Architecture
HP_UX_32
HP_UX
HP-UX for PA-RISC
HP_UX_64
HP-UX for PA-RISC, 64-bit
INTEL_ABI
ABI for Intel architecture
LINUX_32
LINUX
Linux for Intel architecture
LINUX_IA64
Linux for Itanium-based systems
LINUX_X86_64
Linux for x64
MIPS_ABI
MIPS ABI
MVS_32
MVS
31-bit SAS on z/OS
MVS_64_BFP
64-bit SAS on z/OS
OS2
OS/2 on Intel
RS_6000_AIX_32
RS_6000_AIX
AIX
RS_6000_AIX_64
AIX
SOLARIS_32
SOLARIS
Solaris for SPARC
SOLARIS_64
Solaris for SPARC
SOLARIS_X86_64
Solaris for x64
VAX_VMS
OpenVMS VAX
VMS_IA64
OpenVMS on HP Integrity
WINDOWS_32
WINDOWS
32-bit SAS on Microsoft Windows
WINDOWS_64
64-bit SAS on Microsoft Windows (for both Itanium-based systems and x64)
1It is recommended that you use the current values. The aliases are available for compatibility only.

Details

CAUTION:
Transcoding could result in character data loss when encodings are incompatible.
For information about encoding and transcoding, see SAS National Language Support (NLS): Reference Guide.