Binding a DBRM that is in an HFS file to a package or collection

If DBRMs are in z/OS® UNIX HFS files, you can use the Db2 command line processor to bind the DBRMs to packages at the target Db2 server. Optionally, you can also copy the DBRM into a partitioned data set member by using the TSO/E oput and oget commands and then bind the DBRM by using conventional JCL.

About this task

Restrictions:

You cannot specify the REBIND command with the Db2 command line processor. Alternatively, specify the BIND command with the ACTION(REPLACE) option.

You cannot specify the FREE PACKAGE command with the Db2 command line processor. Alternatively, specify the DROP PACKAGE statement to drop the existing packages.

Procedure

To bind a DBRM that is in an HFS file to a package or collection:

  1. Invoke the Db2 command line processor and connect to the target Db2 server.
  2. Specify the BIND command with the appropriate options.