![]() Previous |
![]() Next |
The format of a DATE -only value of a dimension of type DAY, WEEK, MONTH, QUARTER, or YEAR is determined by the value name format (VNF) associated with the object. A VNF is a template that controls the input and display format for DATE -only values. The template can include format specifications for any of the components that identify a time period (day, month, calendar year, fiscal year, and period within a fiscal year). You associate a VNF with an object by adding a VNF statement to its definition. When you do not add a VNF to the definition of an object, the object uses the default VNF shown in Table: Default VNFs for DWMQY Dimensions.
Table 2-5 Default VNFs for DWMQY Dimensions
| Type of Dimension | Default VNF | Example |
|---|---|---|
|
DAY |
<DD><MTXT><YY> |
01JAN95 |
|
WEEK |
W<P>.<FF> |
W1.95 |
|
Multiple WEEK |
<NAME><P>.<FF> |
MYWEEK1.95 |
|
MONTH |
<MTXT><YY> |
JAN95 |
|
Multiple MONTH |
<NAME><P>.<FF> |
MYMONTH1.95 |
|
QUARTER |
Q<P>.<FF> |
Q1.95 |
|
YEAR |
YR<YY> |
YR95 |
DATE-only values have independent input and output formats. You can enter DATE-only values in one style and report them in a different style.