Midrange News for the IBM i Community


Posted by: John Dowling
detaching Journal receivers
has no ratings.
Published: 04 Feb 2014
Revised: 05 Feb 2014 - 1207 days ago
Last viewed on: 27 May 2017 (3054 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

detaching Journal receivers Published by: John Dowling on 04 Feb 2014 view comments(3)

I have a reciever on my system that was attached back in 2010. it is taking up 14% of the system. I can't delete it because it's attached.  I ended Journaling but still can't detach it.

Any ideas

Thanks

 

 

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: DaleB
Premium member *
Reading, PA
Comment on: detaching Journal receivers
Posted: 3 years 3 months 22 days 7 hours 17 minutes ago

You can't delete an attached receiver. You need to create a new receiver to be able to delete the current one. Depends on your journal and receiver definitions, but it could be as simple as

CHGJRN JRNRCV(*GEN)

Then DLTRCV if you have the receiver name handy, or WRKJRNA, go to the receiver directory, and delete it from there.

If you no longer need the journaling at all, delete the *JRN first, then it will let you delete the *JRNRCV.

Another way to go is to setup a threshold size, and allow the journal to manage the receivers by itself. CRTJRNRCV manually with a THRESHOLD(<size in KB>). Then specify that name on CHGJRN, and take a look at the MSGQ(), MNGRCV(), and maybe DLTRCV() keywords. At the very least, even with MNGRCV(*USER), you'll get a message in the MSGQ() when the THRESHOLD() size is reached.

Posted by: john-d1
Premium member *
Comment on: detaching Journal receivers
Posted: 3 years 3 months 22 days 6 hours 38 minutes ago

I found out that if I install the license program for 5761SS1 option 42  HA Journal Performamace.  Then I can delete the receiver by using the command  DLTJRNRCV OPTION (*IGNINQMSG).  WHen I did that it deleted the receiver that was taking up 14% of the disk and created an new receiver.

Thanks

 

 

Posted by: DaleB
Premium member *
Reading, PA
Comment on: detaching Journal receivers
Posted: 3 years 3 months 21 days 11 hours 34 minutes ago

Ah - that's another scenario. When you delete and you get an (I C) message, it's confirming you really want to delete it even though you haven't saved it since it was detached. If you have saved it at least once since it was detached, you don't get that message.