Previous Page | Next Page

Formats under z/OS

Ew. Format: z/OS



Writes numeric values in scientific notation.
Numeric
Width range: 7- 32 bytes
Default width: 12
Alignment: right
z/OS specifics: writes output as EBCDIC, minimum and maximum values
See: Ew. Format in SAS Language Reference: Dictionary

Details
See Also

Details

Numbers are represented using the EBCDIC code, with one digit per byte. Because the values are stored in EBCDIC, they can be printed without further formatting.

The range of the magnitude of numbers is from 5.4 x 10-79 to 7.2 x 1075. Any number that is outside of this range causes an overflow error. All numeric variables that are represented by SAS software are within this range.

The following examples illustrate the use of Ew. under z/OS:

Value Format Results Notes
123 e10.
b1.230E+02

-123 e10.
-1.230E+02

12.3 e10.
b1.230E+01

12345678 e10.
b1.235E+07
truncated and rounded

Note:   In these examples, the Value column represents the value of the SAS numeric variable. The Results column shows what the numeric value looks like when viewed from a text editor. The b characters in the Results column indicate blank spaces. See EBCDIC Code: Commonly Used Characters for a table of commonly used EBCDIC characters.  [cautionend]


See Also

Previous Page | Next Page | Top of Page