Robuta

https://www.ibm.com/docs/en/db2/12.1.x?topic=apis-sqlegins-get-current-instance sqlegins API - Get current instance Returns the value of the DB2INSTANCE environment variable. get currentapiinstance