Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

4.15.3 CONNECT processing during automatic reconnect

The automatic reconnect facility executes the CONNECT statement five times internally at 5-second intervals. You can use PDRCCOUNT and PDRCINTERVAL to change the number of times the CONNECT statement is executed, and the execution interval, respectively.

If the reconnect timing is the CONNECT statement, HiRDB uses the PDCONNECTWAITTIME value to monitor the processing time. If it is not the CONNECT statement, HiRDB uses the PDCWAITTIME value. If the processing time for automatic reconnect exceeds the PDCONNECTWAITTIME or PDCWAITTIME value, HiRDB aborts the automatic reconnect process and returns an error to the UAP. If you wish to retry the automatic reconnect facility as many times as specified in PDRCCOUNT, specify at least the value of PDRCCOUNT x PDRCINTERVAL in PDCWAITTIME.