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: IBM Storage Protect is the new product name for Tivoli Storage Manager (TSM).
- The product now known as IBM Storage Protect was named IBM Spectrum Protect in levels earlier than 8.1.19. To learn more about the brand change, see IBM Spectrum Protect brand change to IBM Storage Protect.
- The product previously known as IBM Spectrum Protect™ was named IBM Tivoli® Storage Manager in releases earlier than Version 7.1.3. To learn more about the rebranding transition, see Tivoli Storage Manager branding transition to IBM Spectrum Protect™.
- IBM Spectrum Protect and IBM Tivoli Storage Manager 7.1 reached end of support (EOS) at 31 December 2021, see: IBM Spectrum Protect and Tivoli Storage Manager 7.1 products End of Support 31 December 2021.