TIRFJDTE

TIRFJDTE is a called module supplied with CA Gen. TIRFJDTE is called every time an CA Gen action diagram uses the DATEJUL function.

DATEJUL converts a numeric value (representing a valid Julian date) into a valid date.

DATEJUL generates the following COBOL statements:

Statement

Quantity

Call

1

Compute

2

Move

2

Initialize

1

IF

1

Heavy use of DATEJUL can drastically increase CPU costs.

Hints

If an action diagram uses DATEJUL more than once for the same numeric value:

  • use DATEJUL once for the desired numeric value

  • save the date returned in a local view

  • use the local view instead of DATEJUL for the remaining instances

  • pass the local view to the import view of any called action diagrams that need it.