Version 6.3.8 for OpenVMS
 —  Parameter Reference  —

DFOUT - Date Format for Output

This Natural profile and session parameter determines the format in which the settings of date variables are displayed by INPUT, DISPLAY, PRINT and WRITE statements.

Within a Natural session, the profile parameter DFOUT can be overridden by the session parameter DFOUT.

Possible settings S Date variables are displayed with a 2-digit year component, and delimiters as determined by the profile parameter DTFORM. For example: yy-mm-dd.
I Date variables are displayed 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.

Notes:

  1. The profile parameter DFOUT is evaluated at runtime. It applies to date fields in INPUT, DISPLAY, PRINT and WRITE statements for which no explicit edit mask is specified and for which the session parameter DF is not set.
  2. The sequence of the day, month and year components in the date settings is determined by the DTFORM profile parameter.

See also Processing of Date Information in the Programming Guide.

Top of page