0 pts.
 Deleting journal receivers
HI, When I try to delete a journal receiver that hasn't been saved, I get the "never fully saved" message even though I'm using DLTOPT(*IGNINQMSG) Does anyone have a piece of code that will get rid of receivers no matter what? E.G. not saved, remote, attached...... Thanks

Software/Hardware used:
ASKED: January 18, 2005  11:04 AM
UPDATED: October 11, 2010  5:05 AM

Answer Wiki:
Try this. I use it in a SBMJOB CL *PGM that clears a library with *JRNRCV CHGJOB INQMSGRPY(*SYSRPYL) ADDRPYLE SEQNBR(999) MSGID(CPA7025) CMPDTA(&LIB 11) + RPY(I) Delete receivers.... RMVRPYLE SEQNBR(999)
Last Wiki Answer Submitted:  January 18, 2005  11:21 am  by  Kholder   0 pts.
All Answer Wiki Contributors:  Kholder   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

You can’t delete an attached receiver. You must delete the journal first. And you can’t delete a journal if it’s active. E.g., if you are using a journal to track changes to database objects, those objects must either be deleted or journaling must be ended for them. Or if it’s a system journal such as QACGJRN or QAUDJRN, the event auditing must be stopped.

Tom

 108,135 pts.