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.3 . 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(
                       AREAP wa
                    )

 Arguments

     wa is a pointer to self.

 Description

     pack() 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 operation must traverse the entire data store,
        the buffer for the current work area must call 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() operation.

 Files  Header file is Rdd.api.


See Also: AREA delete() deleted() goCold() packRec() zap()

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