Command reference / db
DLTJRNRCV
Delete Journal Receiver
The Delete Journal Receiver (DLTJRNRCV) command deletes the specified journal receivers from the system, freeing the storage space allocated to them. Exit point QIBM_QJO_DLT_JRNRCV is provided for this command. The command is conditionally threadsafe depending on whether exit programs are registered for that exit point.
Allowed environments: *ALL.
Positional parameters: 1.
Restrictions
- The journal receiver must not be attached to a journal at the time the command is issued.
- If an attempt is made to delete a journal receiver attached to a remote journal that is not actively receiving entries, and DLTOPT(*IGNINQMSG) is not specified, an inquiry message (CPA705E) is sent.
- The journal receiver must not be in the middle of a chain of online receivers unless it is damaged. Receivers must be deleted in the same order in which they were detached.
- If an attempt is made to delete a journal receiver that has not been saved and DLTOPT(*IGNINQMSG) is not specified, an inquiry message (CPA7025) is sent.
- The user must have *ALLOBJ and *SECADM authority to specify *IGNEXITPGM.
Parameters
JRNRCV
Journal receiver
Specifies the name and library of the journal receiver or receivers being deleted. A specific or generic name can be specified. This is a required parameter.
*LIBL- All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB- The current library for the thread is searched. If no library is specified as the current library, QGPL is searched.
*USRLIBL- The current library and the libraries in the user portion of the library list are searched.
*ALLUSR- All user libraries are searched.
*ALL- All libraries in the system, including QSYS, are searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Journal receiver
Journal receiver
Library
Library
Suggested / special values:
*LIBL, *CURLIB
DLTOPT
Delete option
Specifies whether additional checking should not be done before a journal receiver is deleted.
Allowed values:
*NONE, *IGNINQMSG, *IGNEXITPGM, *IGNTGTRCV
*NONE- The journal receiver delete is attempted without ignoring any of the protective checks.
*IGNINQMSG- Inquiry messages CPA7025 and CPA705E are not presented to the user; the delete operation continues.
*IGNEXITPGM- Any user exit programs registered for QIBM_QJO_DLT_JRNRCV are not called and not included in the deletion decision.
*IGNTGTRCV- The system does not verify that all downstream remote journals have full copies of this journal receiver before deleting.
Examples
DLTJRNRCV JRNRCV(MYLIB/JRNRCLA)
This command deletes the journal receiver JRNRCLA in library MYLIB from the system.
Generated from os/cl/catalog/DLTJRNRCV.json and os/cl/help/DLTJRNRCV.json.