Journal Receiver Sequencing

Application development
Backup and Recovery
Hi All, We have a test and production data library, we have a separate journal for each that fill journal receivers in their respective libraries. In TEST our system managed receivers always start at sequence 1 when a new receiver is attached, in production the sequence number continues from the previous receivers sequence. I have prompted the CHGJRN command in both libraries and the parameters all default the same including the Sequence Option SEQOPT which is *CONT by default. When I issue the CHGJRN in Test manually, the sequence number in the new receiver continues from the last receiver exactly how I would expect it to. When the SYSTEM switches receivers it resets it to 1 again. Is there a system setting associated with the Journal in Test that overries the default *CONT on the SEQOPT? Any help would be appreciated. Thanks, Rayden.

Answer Wiki

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

On the CRTJRN comand there is a parameter named MNGRCV which is set to either *USER or *SYSTEM to say whether you or the system does management of journal receivers. You can still do a manual CHGJRN and it will do a *CONT on the sequence numbers if your command default is set to this. However, if you look at the help text on this parameter in the CRTJRN command it states that at IPL time a *SYSTEM controlled journal will have a CHGJRN done to it and the sequence numbers will be reset as long as commitment control is not in place.

If you don’t want this to happen then both of your journals should be set to *USER for journal management. The CHGJRN command will let you change this parameter on the journal.

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.
  • RaydenR
    Thanks Waltz. This makes sense, as our journal receiver in Test never gets big enough to trigger a system switch, and we IPL once a week (resetting the sequences), so it appears that the sequencing is not in effect. In production of course the system is switching the receiver 3/4 times a day. Thanks again for your help, I thought I was going crazy, but thankfully not just yet. :) Rayden.
    0 pointsBadges:

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.

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


Share this item with your network: