SaArrayFlush flushes the array operation buffer (that is, it sends the data to the server) after a series of calls to SaArrayInsert fills that buffer.
By default, all SA operations, even SaArrayFlush operations, are done in autocommit mode. In autocommit mode, theSaArrayFlush function does not automatically insert all of the array records in a single transaction; instead, when SaArrayFlush is called, the insertion of each record is treated as a separate transaction. To maximize performance, you might want to do an explicit SaTransBegin before you call SaArrayFlush, and do an explicit SaTransCommit after you call SaArrayFlush
SaArray* functions are not supported in linked library access; they work only with the network client library. They return SA_ERR_CALLNOSUP with linked library access.
If this parameter is non-NULL, the return code of each array operation is returned in rctab[i], wherei is the order number of the array operation since the last SaArrayFlush.
Return value
SA_RC_SUCC or error code of first failed array operation.