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 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

Only DBRMs for C and C++ programs can be generated to HFS files.

Restrictions:

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

You cannot specify the FREE PACKAGE command with the 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 command line processor and connect to the target DB2 server.
  2. Specify the BIND command with the appropriate options.