Using product registration to enable or disable Enterprise COBOL

The default behavior for Enterprise COBOL V6 is to run on every z/OS® system, but you can use the IFAPRDxx member of SYSx.PARMLIB to disable COBOL V6 from running on selected z/OS systems.

If you want to disable COBOL V6, add the following code to the active IFAPRDxx member:
PRODUCT OWNER('IBM CORP')
        NAME('ENTERPRISE COBOL')
        ID(5655-EC6)
        VERSION(06) RELEASE(*) MOD(*)
        FEATURENAME(*)
        STATE(DISABLED)

In this case, the compiler stops with RC=16 and a write-to-operator message.

If you want to explicitly enable COBOL V6, add the following code to the active IFAPRDxx member:
PRODUCT OWNER('IBM CORP')
        NAME('ENTERPRISE COBOL')
        ID(5655-EC6)
        VERSION(06) RELEASE(*) MOD(*)
        FEATURENAME(*)
        STATE(ENABLED)

However, because COBOL V6 is enabled by default, you don't have to explicitly enable COBOL V6 by adding the previous statements to the active IFAPRDxx member.