...
The db2 library expands the built-in db table of functions by incorporating the retry functionality from the https://docs.interfaceware.com/docs/IguanaX_Documentation_Home/Development/iNTERFACEWARE_Libraries/Retry_Library_2713911370 into the standard database functions. The db2.connect()
function sets up the database connection object with built-in retries whenever an error occurs. It takes the same arguments as the default db.connect()
function, with two additional optional parameters:
...