View previous topic :: View next topic
|
Author |
Message |
Prajesh_v_p
Active User
Joined: 24 May 2006 Posts: 133 Location: India
|
|
|
|
Hi,
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
processing it.
Can any body help me on what should be done on similar situations ?
Thanks,
Prajesh |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
From Quick Reference(QW):
Quote: |
A2:
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. |
|
|
Back to top |
|
|
Prajesh_v_p
Active User
Joined: 24 May 2006 Posts: 133 Location: India
|
|
|
|
Hi Anuj,
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.
Thanks,
Prajesh |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
You talk about a batch program using a program switch including messages and checkpoint
Are you sure you've giving us the right information My guess is NOT |
|
Back to top |
|
|
|