ProgramID IBM data server driver configuration keyword

Sets the program ID to a user-defined ID that associates a connection to a database.

Equivalent CLI keyword
Equivalent IBM® data server provider for .NET connection string keyword
IBM data server driver configuration file (db2dsdriver.cfg) syntax
<parameter name="ProgramID" value="program ID"/>
Default setting:
Null string.
Usage notes:
The program name is fixed for the duration of a physical connection for a client. You must set the ProgramID keyword before the start of a transaction. A change to the ProgramID keyword after the start of a transaction will not take effect until the start of the next transaction.

The data type of this keyword is string.

CLI applications can set the ProgramID keyword on Db2® for IBM i V6R1 and later servers.

Db2 for IBM i servers support a length of up to 255 characters. You can set the program name on Db2 for z/OS®, Db2, and IBM Informix® servers.