There are four modifiers for the standard date and time transforms. These must also be enabled in the same way as you enable
the date and time transforms, by using the
Date Format tab:
- 9s Complement
- Subtracts the value of the COBOL data item from all 9's, before computing the date or time value using the modified transform.
The transforms incorporating this modifier are not listed unless the
9s Complement option is selected on the
Date Format tab in the
Options pane.
- 10s Complement
- Computes the 9s Complement and adds 1 to that value before computing the date or time value using the modified transform.
Note: The 10s Complement of a zero value is defined to be zero.
The transforms incorporating this modifier are not listed unless the
10s Complement option is selected on the
Date Format tab in the
Options pane.
- 3M Complement
- Complements the value of the COBOL data item with respect to 3,000,000 based on a date format of CYYMMDD.
The transforms incorporating this modifier are not listed unless the
3M Complement option is selected on the
Date Format tab in the
Options pane.
- + Subscript
- Adds the value of the associated subscript less one for a date data item that is associated with an OCCURS table (but not
subordinate to the OCCURS clause). This transform modifier is useful when the COBOL data record contains a starting date item
and an OCCURS table, where each entry in the OCCURS table is information about a date based on the starting date and the number
of days equivalent to its occurrence number less one. By using this transform modifier with the appropriate date format transform
on the date item and including both the date item and one or more items that are subordinate to the OCCURS clause in a table,
the multiple rows generated for the OCCURS clause will each contain the correct date.
The transforms incorporating this modifier are not listed unless the
+ Subscript option is selected on the
Date Format tab in the
Options pane.