Retrieve in bufptr the A_STFIELDS fields definition structure.
VRLEN WhichAutoSysTimeFields(COUNT datno, pVOID bufptr, VRLEN bufsiz)
Parameters:
Return:
Example:
IFIL vcustomer = {
"vcusti",
-1,
8,
4096,
ctSHARED | ctVLENGTH | ctTRNLOG,
1,
4096,
ctSHARED | ctTRNLOG,
ndxs,
"CustomerNumber",
"City"
};
#define CUSTDAT vcustomer.tfilno /* customer data file */
VRLEN reclen;
reclen = WhichAutoSysTimeFields(CUSTDAT, buf2, sizeof(buf2));
if (uerr_cod != 0)
{
ctrt_printf("Error: WhichAutoSysTimeFields Failed (open ctSHARED): %d\n",
uerr_cod);
goto err_ret;
}