Deleting spool files with the help of the ISPF online application is not supported by Adabas Audit Data Retrieval. Use the program BST05CMD instead (see "Notes on model spool file definitions" in BSA Installation and System Guide).
Deleting a spool file includes two steps:
Important: Make sure that the physical deletion of a file will not lead to the loss of data that is still needed. If you have removed a wrong entry from the database definition file by mistake, you can reinsert this entry with the help of the program BST05CMD, provided that the original ID of this file has not been reassigned.
Status must be EMP, MOD, or ERR: The program BST05CMD checks the status of the spool file before removing its entry. It is only possible to delete a spool file if its status is EMP (empty), MOD (model) or ERR (error).
If you want to remove a spool file that is not empty, begin by changing the status of the spool file to Read-Only. This prevents new data from being added to this spool file, but ensures that data currently on this spool file remains available to the system.
To change the status of a spool file to Read-Only:
As to the data remaining in this spool file, you have two options:
Note: Read-only spool files are always checked at startup to ensure the deletion of unused reader blocks, irrespective of the value of the LST parameter BQL_SPOOLCHECK.