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
under OpenVMS
|
-
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).
Native data representation refers to an environment in which the data
representation is comparable to the CPU that is accessing the file. For example,
a file that is in Windows data representation is native to the Windows operating
environment.
By default, SAS creates a new SAS data set by using
the native data representation of the CPU that is running SAS. Specifying
the OUTREP= option enables you to create a SAS data set within the native
environment that uses a foreign environment data representation. For example,
in a UNIX environment, you can create a SAS data set that uses Windows data
representation.
Values for OUTREP= are listed in the following table:
Data Representation Values for OUTREP= Option
OUTREP= Value |
Alias* |
Environment |
ALPHA_TRU64 |
ALPHA_OSF |
Tru64 UNIX |
ALPHA_VMS_32 |
ALPHA_VMS |
OpenVMS on Alpha |
ALPHA_VMS_64 |
|
OpenVMS on Alpha |
HP_IA64 |
HP_ITANIUM |
HP-UX on Itanium 64-bit platform |
HP_UX_32 |
HP_UX |
HP-UX on 32-bit platform |
HP_UX_64 |
|
HP-UX on 64-bit platform |
INTEL_ABI |
|
ABI UNIX on Intel 32-bit platform |
LINUX_32 |
LINUX |
Linux for Intel Architecture on 32-bit platform |
LINUX_IA64 |
|
Linux for Itanium-based system on 64-bit platform |
LINUX_X86_64 |
|
LINUX on x64 64-bit platform |
MIPS_ABI |
|
ABI UNIX on 32-bit platform |
MVS_32 |
MVS |
z/OS on 32-bit platform |
OS2 |
|
OS/2 on Intel 32-bit platform |
RS_6000_AIX_32 |
RS_6000_AIX |
AIX UNIX on 32-bit RS/6000 |
RS_6000_AIX_64 |
|
AIX UNIX on 64-bit RS/6000 |
SOLARIS_32 |
SOLARIS |
Solaris on SPARC 32-bit platform |
SOLARIS_64 |
|
Solaris on SPARC 64-bit platform |
SOLARIS_X86_64 |
|
Solaris on x64 64-bit platform |
VAX_VMS |
|
OpenVMS VAX |
VMS_IA64 |
|
OpenVMS for HP Integrity servers 64-bit platform |
WINDOWS_32 |
WINDOWS |
Microsoft Windows on 32-bit platform |
WINDOWS_64 |
|
Microsoft Windows 64-bit Edition (for both Itanium-based
systems and x64) |
*
It is recommended that you use
the current values. The
aliases are available for compatibility only. |
- 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.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.