Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Technical Reference - <b>pack()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 pack()
 Remove rows (records) marked for deletion from a database
------------------------------------------------------------------------------
 Prototype

     ERRCODE pack(
                   WORKAREAP wa
                 )

 Arguments

     wa is a pointer to self.

 Description

     Physically removes rows marked for deletion from the database.

 Default Behavior

     You must implement the default behavior of this method through a
     subclass.

 Implementation Notes

     .  Since a pack must traverse the entire data store, the buffer
        for the current workarea must goCold() before any pack() operation
        can take place.  Further, in a shared environment, you can only
        implement this method after the proper locks are established.

     .  If your RDD supports relations, resolve any pending relational
        moves (perhaps by simply removing them) before attempting the pack().

 Files:  Header file is Rdd.api.


See Also: WORKAREA delete() deleted() goCold() recall() zap()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson