Feedback
Did this article resolve your question/issue?

   

Article

How to Bind DB2 Packages Using List Files?

Information

 
TitleHow to Bind DB2 Packages Using List Files?
URL Name000024258
Article Number000120851
EnvironmentProduct: Connect for JDBC DB2 driver
Product: Connect for ODBC DB2 Wire Protocol driver
Version: All supported versions
OS: All supported platforms
Database: DB2
Application: All supported applications
Question/Problem Description

How to Bind DB2 Packages Using List Files?

Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution

Creating DB2 Packages Using List Files

You can bind the following list files on your database server to create DB2 packages:

DDODBC_LUW.lst (DB2 for Linux/UNIX/Windows)
DDODBC_400.lst (DB2 for iSeries)
DDODBC_MVS.lst (DB2 for z/OS)

The list files are located in the DB2/bind directory in your DataDirect Connect Series for ODBC installation directory. When you bind the list files, if any DataDirect DB2 packages exist, they will be replaced by the new packages. The list files create DB2 packages that, by default, contain 200 dynamic sections and are created in the NULLID collection.

To create DB2 packages by binding list files:

1.       Copy the appropriate list (*.lst) file and bind (*.bnd) files located in the /bind directory to a directory on the database server.

2.       From the database server directory where you placed the list and bind files, start the DB2 command-line utility. Use the utility to connect to the database where you want to bind the packages. Connect using the following command:

connect to database_name user authorization_name using password
 
where:

database_name is the name of the database to which you are connecting.

authorization_name is the name of the user you are authenticating to the server.

password is the user's password.

1.       Execute the DB2 bind command:

bind @list_file grant public

where list_file is the name of the list file you want to bind.

Workaround
Notes
References to other documentation:
The Progress DataDirect Connect Series for JDBC User's Guide: DataDirect Connect Drivers : DB2 Driver : DB2 Packages : Creating DB2 Packages Using Package Creation List Files
https://media.datadirect.com/download/docs/jdbc/alljdbc/jdbcconnect/creating-db2-packages-using-package-creation-lis.html

Progress DataDirect Connect Series for ODBC User's Guide: Drivers for 32-Bit and 64-Bit Platforms : Drivers for 32-Bit and 64-Bit Platforms : The DB2 Wire Protocol Driver : Binding : Creating DB2 Packages Using List Files
https://media.datadirect.com/download/docs/odbc/allodbc/odbc/creating-db2-packages-using-list-files.html
Last Modified Date7/26/2019 10:04 PM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.