![]() Chapter Contents |
![]() Previous |
![]() Next |
| $OCTALw. |
| Category: | Character |
| Alignment: | left |
| Syntax | |
| Syntax Description | |
| Comparisons | |
| Examples |
Syntax |
| $OCTALw. |
| Default: | The default width is calculated based on the length of the variable to be printed. |
| Range: | 1-32767 |
| Tip: | Because each character value generates three octal characters, increase the value of w three times the length of the character value. |
| Comparisons |
| Examples |
put @2 name $octal9.;The character # represents a blank space.
| Values | Results | |
|---|---|---|
| EBCDIC | ASCII | |
----+----1 |
----+----1 |
|
A## |
301100100 |
101040040 |
B## |
302100100 |
102040040 |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.