简体   繁体   中英

get admin config in db2 iseries

I am working on db2 AS400 v7.1. Could you please tell me database configuration concept in db2 as400 similar to db2 LUW? I achieved using below command:

db2 UPDATE DB CFG USING CONNECT_PROC **schema.stored_Procedure**

usage: helps to run stored_Procedure each time when user logs in.

If you are using JDBC/ODBC for connecting to database (DB2 for i), you can use user exit QIBM_QZDA_INIT which is equivalent of connect_proc in DB2 LUW.

Link to IBM documentation for more details.

https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/rzaii/rzaiimstsmpinitcl.htm

https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/rzaii/rzaiimstexdb.htm

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM