This Natural profile and session parameter determines the format in which
the settings of date variables are placed on the stack via a
STACK
,
RUN
or
FETCH
statement.
Within a Natural session, the profile parameter
DFSTACK
can be overridden by the session parameter
DFSTACK
.
Possible settings | S |
Date variables are placed on the
stack with a 2-digit year component, and delimiters as determined by the
profile parameter DTFORM . For example:
yy-mm-dd .
|
|
---|---|---|---|
C |
Same as DFSTACK=S . In
addition, if the century used when the setting is read from the stack is not
the same as that of the original date setting, Natural will issue a runtime
error.
|
||
I |
Date variables are placed on the
stack with a full 4-digit year component and no delimiters. For example:
yyyymmdd .
|
||
Default setting | S |
||
Dynamic specification | yes | ||
Specification within session | yes | Applicable Statements: | SET
GLOBALS |
Applicable Command: | GLOBALS |
||
Application Programming Interface | USR1005N |
See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation. |
The profile parameter DFSTACK
does not apply to
STACK
,
RUN
or
FETCH
statements for
which the session parameter DF
is set.
See also Processing of Date Information in the Programming Guide.