I am new to IMS appns. In one of our batch program, we are initiating a Blind IMS transaction through a CHNG and ISRT ( for putting the message). Now together with checkpoint I need to call these transacton 3 times with diffrent messages. But only last message is invoking the transaction, first two calls giving an IMS status code of A2. From the QW one of the valid reasons are
o It was being used to process a message and had not completed
Can any body help me on what should be done on similar situations ?
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
From Quick Reference(QW):
Explanation: The program issued a CHNG call against an invalid PCB. The PCB was invalid for one of these reasons:
- It was not an alternate PCB.
- It was an alternate PCB, but it was not modifiable.
- It was being used to process a message and had not completed processing it.
Programmer Response: Check the PCB that was used by the CHNGcall and determine which PCB should have been used for the call.
The CHNG call is working properly when I trigger one message and then checkpoint. The problem comes when I tried to accumulate 3 messages and then tried to trigger the transaction 3 times in a loop. In this case reason 3 from QW seems to be the situation.