Validates the references to files for the DATALINK data of a table. The rows for which the references to files cannot be established are copied to the exception table (if specified), and modified in the input table.
Authorization
One of the following:
Required Connection
Database
Version
sqlutil.h
C API Syntax
/* File: sqlutil.h */ /* API: Reconcile */ /* ... */ SQL_API_RC SQL_API_FN sqlurcon ( char * pTableName, char * pExTableName, char * pReportFileName, void * pReserved, struct sqlca * pSqlca); /* ... */ |
Generic API Syntax
/* File: sqlutil.h */ /* API: Reconcile */ /* ... */ SQL_API_RC SQL_API_FN sqlgrcon ( unsigned short TableNameLen, char * pTableName, unsigned short ExTableNameLen, char * pExTableName, unsigned short ReportFleNameLen, char * pReportFileName, void * pReserved, struct sqlca * pSqlca); /* ... */ |
API Parameters
Usage Notes
During reconciliation, attempts are made to link files which exist according to table data, but which do not exist according to Data Links File Manager metadata, if no other conflict exists.
Reconciliation is performed with respect to all DATALINK data in the table. If file references cannot be re-established, the violating rows are inserted into the exception table (if specified). These rows are not deleted from the input table. To ensure file reference integrity, the offending DATALINK values are nulled. If the column is defined as not nullable, the DATALINK values are replaced by a zero length URL.
If an exception table is not specified, the DATALINK column values for which file references cannot be re-established are copied to an exception report file (<pReportFileName>.exp), along with the column ID and a comment.
At the end of the reconciliation process, the table is taken out of datalink reconcile pending (DRP) state.