![]() Chapter Contents |
![]() Previous |
![]() Next |
| w.d |
| Numeric | |
| Width range: | 1-32 bytes |
| Default width: | 12 |
| Decimal range: | d<w |
| Alignment: | right |
| OS/390 specifics: | writes output as EBCDIC, minimum and maximum values |
| Details | |
| See Also |
| Details |
The following examples illustrate the use of the w.d format:
| Value | Format | Results | |
|---|---|---|---|
| 1234 | 4. |
1234 |
|
| 1234 | 5. |
b1234 |
|
| 12345 | 4. |
12E3 |
|
| 123.4 | 6.2 |
123.40 |
|
| -1234 | 6. |
b-1234 |
|
Note:
In these examples, the Value column
represents the value of the data, and 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.
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.