Progress package installation on Db2ZOS database server

Data Integrity Suite

Product
Spatial_Analytics
Data_Integration
Data_Enrichment
Data_Governance
Precisely_Data_Integrity_Suite
geo_addressing_1
Data_Observability
Data_Quality
dis_core_foundation
Services
Spatial Analytics
Data Integration
Data Enrichment
Data Governance
Geo Addressing
Data Observability
Data Quality
Core Foundation
ft:title
Data Integrity Suite
ft:locale
en-US
PublicationType
pt_product_guide
copyrightfirst
2000
copyrightlast
2025

Learn how the Db2 driver manages package creation automatically and how to explicitly create or copy Db2 packages when needed.

Automatic Db2 Package Creation

The Db2 driver automatically creates all required Db2 packages the first time it connects to a database. By default, these packages contain 200 dynamic sections and are created in the NULLID collection (or library).

Note: The initial connection may take a few minutes due to the number and size of packages being created. This delay only occurs during the first connection. Once the packages are created, the driver writes the following message to the standard output: DB2 packages created.

When to Explicitly Create Db2 Packages

In most cases, you do not need to manually create Db2 packages, as the driver handles this automatically. However, if you need to explicitly create packages (for example, for advanced configuration or deployment scenarios), you can do so using one of the following methods:

  • Running the appropriate Db2 package creation list file for your operating system on the database server.
  • Copying existing Db2 packages to your environment.
Note: The user ID used to create Db2 packages must have BINDADD privileges on the database. Consult your database administrator to ensure you have the necessary permissions.

Explicitly Creating Db2 Packages

To explicitly create Db2 packages, bind the appropriate package creation list files for your operating system on your database server. Binding these files will replace any existing packages with new ones containing 200 dynamic sections in the NULLID collection.

  1. Install the list (.lst) and bind (.bnd) files to a directory on the database server.
  2. Open the Db2 command-line utility from the directory where you placed the list and bind files.
  3. Connect to the target database using the following command:
    connect to database_name user authorization_name using password
    Replace database_name with the name of your database, authorization_name with your user name, and password with your password.
  4. Bind the list file using the following command:
    bind @ list_file grant public                    
    Replace list_file with the name of the list file you want to bind.

Copying Db2 Packages

If you need to copy existing Db2 packages (for example, to a mainframe environment), follow these steps:

  1. Install CNTLFILE.XMIT and DBRMFILE.XMIT files.
  2. Log on to the mainframe system where you will bind the packages. Pre-allocate two sequential datasets using the following parameters:
    • DSORG=PS
    • RECFM=FB
    • LRECL=80
    • BLKSIZE=3120

    Example dataset names:

    • userid.CNTLFILE.XMIT
    • userid.DBRMFILE.XMIT
  3. FTP to the mainframe system using the same user ID and password as above.
  4. Set the transfer mode to binary by typing BIN.
  5. Upload the cntlfile.xmit and dbrmfile.xmit files using the PUT command. Ensure these files replace the datasets you created in step 2.
  6. From ISPF option 6 or TSO Ready mode, issue the following commands to create the partitioned datasets containing the JCL and distribution packages:
    RECEIVE INDS('userid.CNTLFILE.XMIT')
    RECEIVE INDS('userid.DBRMFILE.XMIT')                    
  7. By default, the datasets userid.DDJDBC.CNTL and userid.DDJDBC.DBRMLIB are created. Edit the job userid.DDJDBC.CNTL(BIND) and follow the instructions in that job to bind the packages for the Connect for JDBC Db2 driver and grant execute privileges to users as needed.

Additional Notes

  • Always ensure you have the necessary privileges before attempting to create or bind Db2 packages.
  • Consult your database administrator if you are unsure about any of the steps or required permissions.
  • For more information, refer to the official Db2 documentation for your platform.