Deleting journal receivers

pts.
Tags:
Backup and Recovery
Database Management Systems
DB2 administration
Hardware
i5
IBM DB2
IBM iSeries
OS/400
Performance/Tuning
Servers
tips and tricks
Tools
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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)

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    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
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following