Product Documentation

Using Automatic TimestampsFairCom DB ISAM Support for Automatic System TimeRemoveAutoSysTimeFields()

Automatic Data Aggregation

Previous Topic

Next Topic

RemoveAutoSysTimeFields()

Removes the automatic System time definition from datno.

NINT RemoveAutoSysTimeFields(COUNT datno)

Parameters:

  • datno: the data file number

Returns:

NO_ERROR on Success. Otherwise error code.

Example:

IFIL vcustomer = {

"vcusti",

-1,

8,

4096,

ctSHARED | ctVLENGTH | ctTRNLOG,

1,

4096,

ctSHARED | ctTRNLOG,

ndxs,

"CustomerNumber",

"City"

};

NINT rc;

#define CUSTDAT vcustomer.tfilno /* customer data file */

if ((rc = RemoveAutoSysTimeFields(CUSTDAT))) {

ctrt_printf("Error: Failed to remove Auto System Time fields: %d\n",

rc);

goto err_ret;

}

TOCIndex