Previous Topic Next topic Print topic


To create a bind transaction file

Restriction: This topic applies to Windows environments only.

To run the Bind Utility in batch mode from the command line, you must create a .BND file that contains at least one transaction. A transaction is a statement that specifies the name of a DBRM file and the location to which it will be bound. A .BND file is an ASCII text file. It can contain multiple bind transactions.

Use any ASCII text editor and type each transaction using the following format. Be sure to include a semicolon at the end of each transaction.

/d dbr-file /l location [/s sqlID];

where:

dbr-file is the name of the DBRM you want to bind. If you do not specify a path, the file must be in the current directory or in the XDB application path (as specified by Options).
location is the name of the location to which the DBRM will be bound. (This is the name of the DB2 subsystem as it is registered on the XDB Link.)
sqlID is the ID to which the current SQL ID will be set when the package is bound. If SqlID is not specified, the current SqlID assignment is used (the assignment specified on the XDBBIND command line or assigned to an earlier transaction in the .BND file, whichever is more recent). Otherwise, AuthID is used.
Previous Topic Next topic Print topic