About the specification of the DB2Connect function in delphixDB2Functions.lib
There is a function called DB2Connect in delphixDB2Functions.lib provided as Delphix's Db2 Toolkit.
In this function, the following BASH code is written.
while [[$ connectcnts -le 200 || ($ hadrLogGap! = "" && $ hadrLogGap -gt 0 && $ hadrLogGap -le $ hadrPrevLogGap)]];
I confirmed the support that this while loop loops on the following conditions.
$ connectcnt is less than 200
or
(If $ hadrLogGap is not ""
and
$ hadrLogGap is 0 or more
and
$ hadrLogGap is less than $ hadrPrevLogGap
)
But support said you are wrong.
From the support it was answered that the conditions under which While is true are the following.
A log gap is not zero
AND
A log gap is less than the last detected log gap
AND
connection attempts have not exceeded 200
Which do you think is either correct answer from support or my recognition?
#Virtualization