User exit program calling format

When the Db2® database manager calls a user exit program, it passes a set of parameters (of data type CHAR) to the program.

Command syntax

   db2uext2 -OS<os> -RL<db2rel> -RQ<request> -DB<dbname>
   -NN<nodenum> -LP<logpath> -LN<logname> -AP<tsmpasswd>
os
Specifies the platform on which the instance is running. Valid values are: AIX, SCO, Linux, and NT.
db2rel
Specifies the Db2 release level. For example, SQL07020.
request
Specifies a request type. Valid values are: ARCHIVE and RETRIEVE.
dbname
Specifies a database name.
nodenum
Specifies the local node number, such as 5, for example.
logpath
Specifies the fully qualified path to the log files. The path must contain the trailing path separator. For example, /u/database/log/path/, or d:\logpath\.
logname
Specifies the name of the log file that is to be archived or retrieved, such as S0000123.LOG, for example.
tsmpasswd
Specifies the TSM password. (If a value for the database configuration parameter tsm_password has previously been specified, that value is passed to the user exit program.)