If
a SAS program that reads and writes binary data is run on only one
type of machine, you can use the native-mode informats in the list
below.
Note: Native-mode means that these
informats use the byte-ordering system that is standard for the machine.
reads integer binary
(fixed-point) values, including negative values, that are represented
in two's complement notation.
reads data that is
stored in IBM packed decimal format.
reads positive integer
binary (fixed-point) values.
reads real binary
(floating-point) data.
If you want to write
SAS programs that can be run on multiple machines that use different
byte-storage systems, use the following IBM 370 informats:
is used on other computer
systems to read EBCDIC data.
reads integer binary
data.
reads unsigned integer
binary data.
reads packed decimal
data.
reads unsigned packed
decimal data.
reads positive integer
binary data.
reads zoned decimal
data.
reads zoned decimal
leading sign data.
reads zoned decimal
separate leading sign data.
reads zoned decimal
separate trailing sign data.
reads unsigned zoned
decimal data.
These IBM 370 informats
enable you to write SAS programs that can be run in any SAS environment,
regardless of the standard for storing numeric data. They also enhance
your ability to port raw data between host operating environments.
For more information
about the IBM 370 informats, see
SAS Formats and Informats: Reference.