Sample JCL - DRDA bind

You can use AVZCLBND member to bind or grant access to DRDA packages.

The Table 1 table describes the parameters in the sample JCL file.

Table 1. DRDA bind
Required? Parameter Description
Required SSID = AVZS The target subsystem to use this map.
Required DB2!= Db2 for z/OS or Db2 LUW subsystem ID.
Required FUNCTION=
  • BIND - bind package is created.
  • GRANT - package permission is given to the ID given in the GRANTID field.
  • BIND - GRANT or BOTH - performs both bind and grant operations.
By default, BOTH is chosen.
OPTIONAL REPLACE= Specifies if the existing packages need to be replaced. Valid values are N and Y. By default, N (no replacement) is chosen.
OPTIONAL SECTIONS= Specifies the number of cursors to use while processing results. The default value is 200.
OPTIONAL COLLECTION Specifies the collection ID to be assigned to the DB2 packages. The default value is NULLID.
OPTIONAL GRANTID Specifies the ID for which the package permissions must be granted.The default value is PUBLIC.