Attempting to delete a collection that contains journal receivers might cause an inquiry message to be sent to the QSYSOPR message queue for the application server (AS) job. The AS and application requester (AR) job wait until this inquiry is answered.
The message that appears on the message queue is:
When the AR job is waiting, it might appear as if the application is hung. Consider the following items when your AR job has been waiting for a time longer than anticipated:
Having the AS reply to the message using its server reply list can be accomplished by changing the job that appears to be currently hung, or by changing the job description for all AS jobs running on the server. However, you must first add an entry to the AS reply list for message CPA7025 using the Add Reply List Entry (ADDRPYLE) command:
ADDRPYLE SEQNBR(...) MSGID(CPA7025) RPY(I)
To change the job description for the job that is currently running on the AS, use the Submit Remote Command (SBMRMTCMD) command. The following example shows how the database administrator on one server in the Kansas City region changes the job description on the KC105 system (the server addressed by the TEST/KC105TST DDM file):
SBMRMTCMD CMD('CHGJOB JOB(KC105ASJOB) INQMSGRPY(*SYSRPYL)') DDMFILE(TEST/KC105TST)
You can prevent this situation from happening on the AS more permanently by using the Change Job Description (CHGJOBD) command so that any job that uses that job description uses the server reply list. The following example shows how this command is entered on the same AS:
CHGJOBD JOBD(KC105ASJOB) INQMSGRPY(*SYSRPYL)
This method should be used with caution. Adding CPA7025 to the server reply list affects all jobs which use the server reply list. Also changing the job description affects all jobs that use a particular job description. You might want to create a separate job description for AS jobs.