Delete Objects

#### Search Results

Search

# Delete Objects

This function is used to delete one or more objects from the buffer pool (BP) and/or the BP cache. You can also apply the function to the message pool to select messages to be deleted.

- Delete Objects from Buffer Pool and/or BP Cache

- Delete Objects from Message Pool

## Delete Objects from Buffer Pool and/or BP Cache

An object that has a Current Use Count (see Directory Information) of `0` (zero) is deleted immediately. `0` denotes that such an object is no longer used. An object with a Current Use Count greater than `0` is marked for deletion and deleted as soon as its Current Use Count changes to `0`.

To delete Natural objects

- In the SYSBPM Main Menu, enter function code `D`, the code for the type of object pool (`B`, `C` or `*`), and specify the object(s) to be deleted, see valid field input values in Invoking and Operating SYSBPMfor valid values.

  Oder:
  Enter the following SYSBPM direct command:

      DELETE library-name object-name dbid fnr

## Delete Objects from Message Pool

To delete messages

- In the SYSBPM Main Menu, enter function code `D`, the code for the message pool (`M`), and specify the message object(s) to be deleted, see the valid field input values in Invoking and Operating SYSBPM.

  Oder:
  Enter the following SYSBPM direct command:

      DELETE MP start-number end-number library-name language dbid fnr codepage

### On this page

- Delete Objects from Buffer Pool and/or BP Cache
- Delete Objects from Message Pool