IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IMS status code A2


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Tue Feb 05, 2008 11:07 am
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Feb 05, 2008 1:02 pm
Reply with quote

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
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Tue Feb 05, 2008 1:20 pm
Reply with quote

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
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Feb 06, 2008 2:52 am
Reply with quote

You talk about a batch program using a program switch including messages and checkpoint icon_rolleyes.gif

Are you sure you've giving us the right information icon_question.gif My guess is NOT
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Job completes in JES, but the status ... IBM Tools 1
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top