ENABLE and DISABLE bind options

The ENABLE and DISABLE options determines which connections can use a plan or package.

  • ENABLE
  • DISABLE
  • ( * )
  • ( BATCH )
  • ( CICS )
  • ( CICS ) CICS ( applid , …)
  • ( DB2CALL )
  • ( DLIBATCH )
  • ( DLIBATCH ) DLIBATCH ( connection-name , …)
  • ( IMS )
  • ( IMSBMP )
  • ( IMSBMP ) IMSBMP ( imsid , …)
  • ( IMSMPP )
  • ( IMSMPP ) IMSMPP ( imsid , …)
  • ( REMOTE ) (BIND and REBIND PACKAGE only)
  • ( RRSAF )
On: BIND and REBIND PLAN and PACKAGE

Start of changeNot valid for REBIND of a native SQL procedure package.End of change

You cannot use both DISABLE and ENABLE. For packages, DISABLE and ENABLE are valid only for local bind operations.
ENABLE
Lists the system connection types that can use the plan or package. Connection types not listed cannot use it.
DISABLE
Lists the system connection types that cannot use the plan or package. Connection types not listed can use it.
With some connection types you can list connection IDs to identify specific connections of the type to disable or enable.
  • If you list connection IDs as disabled, any connections not listed for the same connection type are enabled.
  • If you list connection IDs as enabled, any connections not listed for the same connection type are disabled.

A connection ID is valid only after the keyword that names its corresponding connection type.

Connection types:
( * )
Specifies all valid connection types. Use only with ENABLE.
( BATCH )
Indicates that all TSO connections are either enabled or disabled for the plan or package.
( CICS )
Identifies the CICS Connection. All CICS® VTAM® node names specified in the CICS SIT table are either enabled or disabled for the plan or package.
( CICS ) CICS ( applid , …)
Identifies the CICS VTAM node name specified in the APPLID parameter of the CICS SIT table. The CICS VTAM node identified by applid is either enabled or disabled for the plan or package.
( DB2CALL )
Indicates that the call attachment facility (CAF) connection is either enabled or disabled for the plan or package.
( DLIBATCH )
Identifies the Data Language I (DL/I) Batch Support Facility connection. All connection identifiers from the DDITV02 data set or the job name in the JCL that the DL/I batch support system needs to have are either enabled or disabled for the plan or package.
( DLIBATCH ) DLIBATCH ( connection-name , …)
Specifies the connection identifier as from the DDITV02 data set or the job name in the JCL that the DL/I batch support system needs to have. The DL/I batch connection identified by connection-name is either enabled or disabled for the plan or package.
( IMS )
Specifies that all Information Management System (IMS™) connections, DLIBATCH, IMSBMP, and IMSMPP are either enabled or disabled for the plan or package.
( IMSBMP )
Specifies the IMS connection for the Batch Message Program (BMP) region. All IMS BMP connections identified by the value of IMSID on the CTL parameter EXEC are either enabled or disabled for the plan or package.
( IMSBMP ) IMSBMP ( imsid , …)
Specifies the value of IMSID on the CTL parameter EXEC. The IMS BMP connection identified by imsid is either enabled or disabled for the plan or package.
( IMSMPP )
Specifies the IMS connection for the Message Processing Program (MPP) and IMS Fast Path (IFP) regions. All IMS MPP connections identified by the value of the IMSID on the CTL parameter EXEC. are either enabled or disabled for the plan or package.
( IMSMPP ) IMSMPP ( imsid , …)
Specifies the value of IMSID on the CTL parameter EXEC. The IMS MPP connection identified by imsid is either enabled or disabled for the plan or package.
( REMOTE )
Indicates that all remote connections are either enabled or disabled for the package.
( RRSAF )
Indicates that the RRS attachment facility connection is either enabled or disabled for the plan or package.

Plans that disable a system: If a plan disables a system, then no packages appended to that plan can run from that system, regardless of the ENABLE/DISABLE options. However, if the same packages are appended to other plans that enable the system, those packages can run from that system under those plans.

Start of changeInteractions with the PLANMGMT option: If you plan to change either of these options and the PLANMGMT option in a REBIND command, see PLANMGMT bind option for information about the implications.End of change

Defaults:

Process Default value
BIND PLAN ENABLE(*)
BIND PACKAGE ENABLE(*)
REBIND PLAN Existing value
REBIND PACKAGE Existing value

Catalog record: Table SYSPKSYSTEM for packages and table SYSPLSYSTEM for plans.