Previous Topic: PROGRAM Statement UsageNext Topic: QUEUE Statement—Defines DC/UCF System Queues


Example: PROGRAM Statement

Accepting Default Values

The following statement defines program XYZ. All PROGRAM statement defaults are accepted.

ADD PROGRAM XYZ.

Overriding Default Values

The following statement adds program ABC:

ADD PROGRAM ABC
    LANGUAGE IS ASSEMBLER
    REENTRANT
    NOSAVEAREA

Modifying a Program

The following statement modifies program ABC by disallowing the new copy facility:

MODIFY PROGRAM ABC
   NEW COPY IS DISABLED.

Deleting a Program

The following statement deletes program ABC:

DELETE PROGRAM ABC.