Lade...
 

CX_DB_UTILITY::RepairCollection

Achtung!
Diese Funktion ist veraltet, bitte CX_DB_UTILITY::RebuildCollection benutzen .

CX_DB_UTILITY::RepairCollection

Beschreibung:

Diese Funktion entfernt alle Pointer auf korrupte Objekte aus einer Collection.

Code-Beispiel:

Define(SoftRepair)
Widget(, objects) iterate 
{ -> object 
    object Type case CX_PRODUCTION_DATA_CAPTURE: object "predecessors" dbUtil Call(RepairCollection)
                                                 object Select(, objects) Refresh 
                     CX_LOG_CUBE: object "transactions" dbUtil Call(RepairCollection)
                                  object Select(, objects) Refresh 
                     CX_UNIT_RATE: object "rateTables" dbUtil Call(RepairCollection)
                                   object Select(, objects) Refresh 
                     CX_TRANSACTION: object "predecessors" dbUtil Call(RepairCollection)
                                     object Select(, objects) Refresh 
                     CX_SINGLE_ALLOCATION: NoOperation
    endCase
};

 

Stack
Stack Position Objekttyp Kurzbeschreibung
Stack(In) Top CX_DB_UTILITY Tool-Objekt 
  Top-1 COLLECTION Die zu reparierende Collection
Stack(Out) Top INTEGER  Anzahl der entfernten Objekte

Funktionsaufruf: Call(RepairCollection)