TIRFUPPR

TIRFUPPR is a called module supplied with CA Gen. TIRFUPPR is called every time a CA Gen action diagram uses the UPPER function.

UPPER converts a text field to uppercase.

UPPER generates the following COBOL statements:

Statement

Quantity

Call

1

Compute

1

Move

6

Initialize

1

IF

2

Heavy use of UPPER can drastically increase CPU costs.

Hints

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

  • use UPPER once for the desired value

  • save the result in a local view

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

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

If UPPER is used in an action diagram that uses several CA Gen functions, or the action diagram has high CPU usage due to UPPER, consider converting the action diagram to an external action block.