Remove the Db2 for i exit program¶
A Db2 for i Capture Agent registers the exit program CADLTRCV, which stops IBM i from deleting journal receivers the
agent still needs (see Keep the source's journals and logs in check). To manage
journal receivers yourself, remove it.
Warning
Without the exit program, nothing stops a receiver the Capture Agent still needs from being deleted. If that happens, every subscription that reads the journal needs a new baseline.
Steps¶
- Stop the agent from registering the exit program again. On the agent's
Configuration tab, set
managedLogs=falseandautoJournal=false, and click Save. The agent restarts and no longer registers the exit program. (WithautoJournal=false, Stelo Capture also stops journaling tables for you; see Autojournaling.) -
Remove the registration Stelo Capture knows about. As a user with
*ALLOBJand*SECADMspecial authorities, run (replace bothSQDRvalues with the agent's schema if it's different):CALL PGM(SQDR/CALOGMGMT) PARM('U' 'SQDR') -
Remove any registrations left from earlier installations.
- Run
WRKREGINF. - Page down to the exit point
QIBM_QJO_DLT_JRNRCV, formatDRCV0100. - Type
8in Opt next to it and press Enter. - On Work with Exit Programs, type
4(Remove) next to each entry for programCADLTRCVin librarySQDR(or the agent's schema) and press Enter to confirm.
- Run