Keyed list option
The scope of the -configure
option can
change based on your configuration, such as multi-threaded translations. You should set the
-configure
options at the top of each procedure that uses
convert_date
and which expects certain options to be set.
The-configure
keyed list option permits a
keyed list of date conversion options to be passed in and permanently set. These keys and
options are the same ones used in the DATECOPYOPT
xlate
operation.
This table lists the options that control the behavior of the date conversion operation:
Key | Value | Description |
---|---|---|
FABRICATE |
boolean |
This is used in tandem with the
For example:
|
RANGE |
Three integer list |
The first value in the
For example:
|
DELIMIT |
List of two delimiter characters |
The value of the For example:
|
ADDPREC |
boolean |
The
For example:
|
USECURTM |
boolean |
Setting this value means the command references the system time when filling in missing values in the incoming date/time value.
For example:
|
TMDEFS |
Tcl list |
When This splits the list of defaults for the various date and time related fields. All fields are optional and can be an empty list.
For example: Midnight January 1 would be:
|