DSC Tech Library
FASTPLUS C Library
fpdata_change()
Function fpdata_change is used to change a data node record.
The syntax for fpdata_change is as follows:
fpdata_change(int file_id, char *record, int *recno)
int file_id - File unit of open file from previous
fpfile_open function.
char *record - Record buffer with key values to be changed.
int *recno - Record address from a previous get/lock operation.
The possible values for fperrno and an explanation of each value follow.
Value Explanation
--------------------------------------------------
FEROK - Code 0: Successful FASTPLUS Operation
FERACC - Code 2: Illegal access rights
FEROPN - Code 5: FAST file does not exist
FERUNT - Code 6: Illegal FAST file id
FERLEN - Code 7: Illegal record length
FERDSK - Code 8: Disk is full
FERFHE - Code 9: System file error
FEREXT - Code 12: Record not found
FERNLK - Code 16: Record not locked
FERFCT - Code 19: Illegal function
|