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, andNT. - db2rel
- Specifies the Db2 release level. For
example,
SQL07020. - request
- Specifies a request type. Valid values are:
ARCHIVEandRETRIEVE. - 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/, ord:\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
IBM Storage Protect, formerly Tivoli Storage Manager (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.Note: As of version 8.1.19, IBM Storage Protect is the new product name for Tivoli Storage Manager (TSM). For more information, see IBM Storage Protect Downloads - Latest Fix Packs and interim fixes