Information Catalog Manager Programming Guide and Reference

FLGRollback

Deletes all information catalog changes made since the last commit point or rollback.

Authorization

Administrator and user

Syntax



APIRET APIENTRY FLGRollback (PFLGEXTCODE   pExtCode)

Parameters

pExtCode (PFLGEXTCODE) -- output
Points to an extended code associated with the reason code. See Appendix D, Information Catalog Manager reason codes to see if a meaningful extended code is associated with the returned reason code.

Reason code (APIRET)
Represents the execution result of this API call.

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.

Examples

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
 


[ Top of Page | Previous Page | Next Page ]