ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

RCVRNE is failing because 11 receivers in the chain is too many

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RCVRNE is failing because 11 receivers in the chain is too many

    I have a RCVJRNE command, which has been running successfully for months, now failing with a CPF7054 "From and To invalid on RCVRNG".
    It is telling me that I have too many receivers in the chain, and I should have no more than 2045 receivers in the chain.

    The exit program tracks the last journal receiver and sequence number it processed.
    Prior to RCVJRNE, I get that receiver and sequence number, to pass along to RCVJRNE.

    The RCVRNG keyword is coded:
    Code:
    rcvrng(&rcv *current)
    When I got this error, I looked at what &rcv had, and what the current receiver was (WRKJRNA-F3-F6).
    There were only 11 receivers between the receiver in &rcv, and the currently attached receiver.
    The sequence number is in these receivers.

    Are the laws of the universe changing?
    Is 11 > 2045 now?

    Why am I getting this error, and how do I correct it?

Working...
X