| Formats for NLS |
| Category: | Numeric |
| Alignment: | left |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples |
Syntax |
| NLSTRMONw.d |
specifies the width of the output field
| Default: | 20 |
| Range: | 200-1 |
specifies the following:
|
00000001: write abbreviated form. | |
|
00000010: write capitalized form. |
| Default: | 0 |
| Range: | 0-3 |
| Details |
The NLSTRMONw.d format writes a SAS value, 1-12 as the name-of-the-month in the specified locale. The following examples use the English_UnitedStates locale.
|
1 = the first month (January) | |
|
2 = the second month (February) | |
|
3 = the third month (March) | |
|
4 = the fourth month (April) | |
|
5 = the fifth month (May) | |
|
6 = the sixth month (June) | |
|
7 = the seventh month (July) | |
|
8 = the eight month (August) | |
|
9 = the ninth month (September) | |
|
10 = the tenth month (October) | |
|
11 = the eleventh month (November) | |
|
12 = the twelfth month (December) |
| Examples |
This example uses the English_UnitedStates session encoding.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.