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.
| 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.
Example:
|
|
|---|---|---|---|
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.
Example:
|
||
| Default setting | S |
||
| Dynamic specification | yes | ||
| Specification within session | yes | Applicable statement: | SET GLOBALS |
| Applicable command: | GLOBALS |
||
| Application programming interface | USR1005N |
See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation. | |
Notes:
DFSTACK can be overridden by the session parameter
DFSTACK.
DFSTACK does not
apply to STACK,
RUN or
FETCH statements for
which the session parameter DF is set.