Informats under z/OS |
EBCDIC and Character Data |
The following character informats produce different results on different computing platforms, depending on which character encoding the platform uses. Because z/OS uses the EBCDIC character encoding, all of the following informats convert data to EBCDIC.
These informats are not discussed in detail in this chapter because the EBCDIC character encoding is their only host-specific aspect.
reads character data and converts any byte that contains a binary zero to a blank.
converts character data to EBCDIC. Under z/OS, $EBCDIC and $CHAR are equivalent.
All the information that you need in order to use these informats under z/OS is in SAS Language Reference: Dictionary.
Floating-Point Number Format and Portability |
The manner in which z/OS stores floating-point numbers can affect your data. See SAS Language Reference: Concepts for details.
Reading Binary Data |
If a SAS program that reads and writes binary data is run on only one type of machine, you can use the following native-mode(footnote 1) informats:
IBw.d |
reads integer binary (fixed-point) values, including negative values, that are represented in two's complement notation. |
PDw.d | |
PIBw.d | |
RBw.d |
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:
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 Language Reference: Dictionary.
Date and Time Informats |
Several informats are designed to read time and date stamps that have been written by the System Management Facility (SMF) or by the Resource Measurement Facility (RMF). SMF and RMF are standard features of the z/OS operating environment. They record information about each job that is processed. The following informats are used to read time and date stamps that are generated by SMF and RMF:
reads timer unit values that are produced by IBM mainframe operating environments and converts the timer unit values to SAS time values.
In order to facilitate the portability of SAS programs, these informats can be used with any operating environment that is supported by SAS software; therefore, they are documented in SAS Language Reference: Dictionary.
FOOTNOTE 1: Native-mode means that these informats use the byte-ordering system that is standard for the machine.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.