is your program sending or receiving messages from/to other programs using
message apis or rcvmsg command?
what release?
any use of Robot in this (had an old google hit)
If CPF2410 in joblog - "Message key..." - what program sending that
message? (may need to get max amount of logging with *seclvl)

1st guess - don't think it's a real named queue but perhaps ref to the
*pgmq message queue.
Need to know more of what your program is executing.

Message ID . . . . . . . . . : CPF2410

Message file . . . . . . . . : QCPFMSG

Library . . . . . . . . . : QSYS



Message . . . . : Message key not found in message queue &1.

Cause . . . . . : Message key &2 may have been deleted from message queue

&1, or message key &2 may not be valid.

Recovery . . . : Verify the correct message key (MSGKEY) parameter is
used
or omit the request. The message key is valid only if obtained in one of

the following ways:

-- Returned in the message reference key (KEYVAR) parameter on the
Receive
Message (RCVMSG) command or Send Program Message (SNDPGMMSG) command.

-- The message key parameter returned on the QMHSNDPM or QMHSNDM
program.
-- Returned in the message information on the QMHRCVPM, QMHRCVM, or

QMHRTVRQ programs.


Jim Franz



On Thu, May 8, 2025 at 2:37 PM Dan Bale <dan.bale@xxxxxxxxxxxxxxxxxxxxx>
wrote:

We have a job that is throwing CPF2410 "Message key not found in message
queue QJOBMSGQ." in a loop.

When I, with my *ALLOBJ authority profile, do WRKMSGQ *ALL/ QJOBMSGQ, I
get nothing returned.

How does one view the contents of a job's QJOBMSGQ? Where does it exist?

Searching for QJOBMSGQ on IBM.com/docs/en/i/7.4.0 sent me down a rabbit
hole that never described QJOBMSGQ.

Found some references to QJOBMSGQ searching midrange.com, but saw nothing
that described the nature of this message queue.

- Dan Bale
*** CONFIDENTIALITY NOTICE: The information contained in this
communication may be confidential, and is intended only for the use of the
recipients named above. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution, or
copying of this communication, or any of its contents, is strictly
prohibited. If you have received this communication in error, please return
it to the sender immediately and delete the original message and any copy
of it from your computer system. If you have any questions concerning this
message, please contact the sender. ***
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.