For each journal, set the DLTRCV(*YES) option so that the system automatically deletes the detached receivers of the journal:
CHGJRN JRN(library/journal) DLTRCV(*YES)
With this option enabled, the system periodically attempts to delete any detached receiver for a journal that has been defined with automatic deletion. If you want to change the delay period from the 10 minutes default, use the DLTRCVDLY(<number>) command in the CHGJRN command. (<number>) stands for number of minutes.
You can to delete receivers based on any of the following criteria:
Whether the receiver is saved or not
Whether the receiver has aged some number of days after it has been detached
Note: Connect CDC does not require setting DLTRCV to yes. Instead of relying on the system to delete receivers, delete the receivers manually or have a program (like the Journal Manager) delete the receivers.