Deletes all information catalog changes made since the last commit point or rollback.
Authorization
Administrator and user
Syntax
APIRET APIENTRY FLGRollback (PFLGEXTCODE pExtCode)
Parameters
See Appendix D, Information Catalog Manager reason codes for an explanation of the returned reason codes.
Usage
Issue FLGRollback when your program encounters an error that might make your information catalog inconsistent.
Figure 137 shows the code that issues the FLGRollback API call.
Figure 137. Sample C code to invoke the FLGRollback API call
APIRET rc; // Declare reason code from FLGRollback
FLGEXTCODE ExtCode = 0; // Declare extended code
.
.
rc = FLGRollback(&ExtCode); // pass the address of
// extended code