Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IMS status code A2

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: IMS status code A2
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

Senior Member


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

PostPosted: Tue Feb 05, 2008 1:02 pm    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Feb 06, 2008 2:52 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us