USE CC


The USE CC statement takes the child constraints placed on the current process by the parent process, and applies them to the specified file.

    ••••• USE CC   ••• ••••••••
    (1)            (2) (3)

(1) T/F execution conditions

(2) Application ID

(3) File name

Using the Statement

A USE CC statement applies the child constraints in force on the current process to the file specified.

Restrictions

USE CC is only allowed…

Statement Ignored

USE CC is ignored if there are no child constraints in force for the current process.

Example

In the following example, …

          IF       TAR WORK END OF MONTH          =      Y
    T     USE CC   TAR CUSTOMER