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

why CICS COMMAND "RECEIVE" no Normal return?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
harish5002

New User


Joined: 21 Jul 2010
Posts: 23
Location: chennai

PostPosted: Thu Feb 23, 2012 12:24 pm
Reply with quote

Hi all,

I have searched in this for AZI9 abend but i did not get any information.

I have very poor in CICS. But i got the work why daily the transaction is abending with AZI9 abend.

In our program i saw the following statements next to next in the same para:

Code:
EXEC CICS SEND                               
          FROM (RDSE004C-E3-O-PICK-TKT-FORMAT)
          INVITE                             
          ERASE                               
END-EXEC                                     
                                             
EXEC CICS RECEIVE                             
          INTO (WS-RECEIVE-TXT)               
          RESP (WS-RESP)                     
END-EXEC                                     

but I am not able to find out the reason why daily the transactions are abending with AZI9.

In the spool the following information is being populated:
Code:
Last Call or EXEC CICS Request                 
                                                           
EXEC CICS RECEIVE                             
          INTO (WS-RECEIVE-TXT)               
          RESP (WS-RESP)                     
END-EXEC 


So I understood that the problem is while send or receive. So i verified the RESP code after send and it is normal(00). Can any one please provide me the reason why it is abending or how to find out the reason for this abend. or after send i need handle any check. Our manager is asking me to provide the solution for this.

Thanks in advance to all.......
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Feb 23, 2012 2:06 pm
Reply with quote

Several choices -

1. Use IBM transaction CMAC.

2. Refer to the CICS Messages and Codes manual for your given CICS Version/Release.

3. Google it.

Thanks in advance.... icon_rolleyes.gif

Mr. Bill
Back to top
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 121
Location: Puerto Rico

PostPosted: Fri Feb 24, 2012 12:15 am
Reply with quote

Good afternoon to all!

I think you should specify a WAIT on your send. AZI9 is also caused by a transaction timeout with a automatic purge after the occurring timeout. Increase your transaction timeout parameter, ask your system programmer to do this change.
Back to top
View user's profile Send private message
harish5002

New User


Joined: 21 Jul 2010
Posts: 23
Location: chennai

PostPosted: Fri Feb 24, 2012 10:49 am
Reply with quote

Hi good morning,

Thanks for your suggestion JOSE. Is there any possibility way to find out why the transaction time out or how to find whether it is time out or some other reason.

Anyway thank you very much for your response.
Back to top
View user's profile Send private message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Fri Feb 24, 2012 3:14 pm
Reply with quote

AZI9
Explanation :
----------------
The transaction was processing an MRO request which involved waiting for a response from a connected subsystem. During the wait, the failing transaction was purged. The purge can only have been the result of operator action, such as a CEMT SET TASK PURGE.

System action :
------------------
The task is abnormally terminated with a dump.

User response:
-----------------
Investigate the reason the transaction was purged.

Module:
---------
DFHZIS2
Back to top
View user's profile Send private message
harish5002

New User


Joined: 21 Jul 2010
Posts: 23
Location: chennai

PostPosted: Fri Feb 24, 2012 4:08 pm
Reply with quote

Hi JOSE,

Code:
EXEC CICS                     
     SYNCPOINT                 
END-EXEC.                     
                               
EXEC CICS SEND                 
          FROM(CONTINUE-LABEL)
          LENGTH(160)         
          ERASE               
           WAIT       <==
END-EXEC.                     
                               
EXEC CICS RECEIVE             
          INTO (WS-RECEIVE-TXT)
          RESP (WS-RESPONSE)   
END-EXEC.                     

As you said we have mentioned WAIT in send command. Even though it is abending with AZI6 Abend.

Wait means it will increase some response time other than is there any information.

Thanks in advance
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 24, 2012 5:30 pm
Reply with quote

Harish, don't you think the error message tells you everything you need to know to resolve the problem?
Quote:
The purge can only have been the result of operator action, such as a CEMT SET TASK PURGE.

Until you talk to your site support group and find out who purged the task in the other region, and why, you are not going to find the answer to why the AZI9 occurred. And I truly doubt that you will find that answer by talking to anyone on this forum, since we do not work at your site and are not part of your site support group.
Back to top
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 121
Location: Puerto Rico

PostPosted: Fri Feb 24, 2012 7:41 pm
Reply with quote

Hi, Harish!

Are you saying that the abend code has changed from a AZI9 to a AZI6 after adding the wait to the SEND, if this is the case then you have an abend in connected subsystem or on the other region. If your environment is a TOR connected to a AOR thru MRO then you should get a VTAM sense code in your TOR. Take the sense code and google it, you should get a few hits on the web. And like Robert said, your support people should be the your best help.
Back to top
View user's profile Send private message
harish5002

New User


Joined: 21 Jul 2010
Posts: 23
Location: chennai

PostPosted: Mon Feb 27, 2012 1:16 pm
Reply with quote

Thanks to all for giving me the immediate response.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Mon Feb 27, 2012 5:57 pm
Reply with quote

@ harish5002


To code Exec-CICS-Send-Map and Exec-CICS-Receive-Map in one Section is no good practice. Better use an Exec-Cics-Return between send an receive. Use a transaction oriented programming style.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top