MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with MQ Triggering the transaction:
Goto page Previous  1, 2
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Wed Apr 13, 2005 10:52 am    Post subject: Reply with quote

Bob

We have following details as requested after putting the message in the queue, I took the dumps after the transaction got struck:
Code:

I TA TRA(S560)                                                             
STATUS:  RESULTS - OVERTYPE TO MODIFY                                     
 Tas(0083837) Tra(S560)           Sus Tas Pri( 060 )                       
    Sta(SD) Use(AUTWRK06) Uow(BCDB2EE88332D881) Hty(MQSeries)             


Task(0083837)           
Tranid(S560)             
Facility()               
Runstatus(Suspended)     
Ftype(Task)             
Priority( 060 )         
Purgetype(              )
Startcode(SD)           
Userid(AUTWRK06)         
Uow(BCDB2EE88332D881)   
Htype(MQSeries)         
Hvalue(TASKSWCH)         
Htime(002024)           
Indoubt(Backout)         
Indoubtwait(Nowait)     
Bridge()                 
Identifier()             
Indoubtmins(000000)     
Db2plan()                   
Activity()                 
Activityid()               
Process()                   
Processtype()               
Tcb(Qr)                     
Brfacility(0000000000000000)
Currentprog(CSQCTRUE)       

Tas(0000037) Tra(CKTI)           Sus Tas Pri( 255 )         
   Sta(SD) Use(AUTWRK06) Uow(BCDB3626979ADD60) Hty(MQSeries)

Task(0000037)
Tranid(CKTI)             
Facility()               
Runstatus(Suspended)     
Ftype(Task)             
Priority( 255 )         
Purgetype(              )
Startcode(SD)           
Userid(AUTWRK06)         
Uow(BCDB3626979ADD60)   
Htype(MQSeries)         
Hvalue(GETWAIT)         
Htime(000242)           
Indoubt(Backout)         
Indoubtwait(Wait)       
Bridge()                 
Identifier()             
Indoubtmins(000000)     
Db2plan()                   
Activity()                 
Activityid()               
Process()                   
Processtype()               
Tcb(Qr)                     
Brfacility(0000000000000000)
Currentprog(CSQCTRUE)       

Task(0000028)     
Tranid(CKTI)       
Facility()         
Runstatus(Suspended
Ftype(Task)       
Priority( 255 )   
Purgetype(         
Startcode(SD)     
Userid(SEQTRMNL)   
Uow(BCD4F5C0A5985F8
Htype(MQSeries)   
Hvalue(GETWAIT)   
Htime(430092)     
Indoubt(Backout)   
Indoubtwait(Wait) 
Bridge()           
Identifier()       
Indoubtmins(000000)
Db2plan()                   
Activity()                 
Activityid()               
Process()                   
Processtype()               
Tcb(Qr)                     
Brfacility(0000000000000000)
Currentprog(CSQCTRUE)

_________________
Thanks,
Vinod.
Back to top
View user's profile Send private message
bob_buxton
Beginner


Joined: 20 Dec 2002
Posts: 44
Topics: 0
Location: Hampshire, England

PostPosted: Wed Apr 13, 2005 2:28 pm    Post subject: Reply with quote

A CICS task should not be hung in a TASKSWCH wait for a long time so there is definitely appears to be a problem.

If you invoke the CKQC transaction and select task display from the pull down menus you will get a display like:

Code:

 CKQCM3                       Display Task panel                               
                                                                               
 Read task status information. Then press F12 to cancel.                       
                                                                               
 Tasks   1 to   5 of   5                                                       
                                                                               
 Tran   User   Task    Task    Thread     Total    Res  API    Last     Thread
 Id      Id     Num   Status   Status      APIs    Sec  Exit  MQ call     ID   
 ---- -------- ----- -------- --------  ---------- ---  --- ---------- --------
 CKAM SYSTASK  00025  Normal  Between            1 No   No  INQINDOUBT 1A5FF628
 CKTI SYSTASK  00045  Normal  Msg Wait           2 No   No    MQGET    1A5FF2E0
 CKBR SYSTASK  00048  Normal  Msg Wait           7 No   No    MQGET    1A5FF3F8
 CKBR SYSTASK  00050  Normal  Msg Wait           7 No   No    MQGET    1A5FF1C8
 CKBR SYSTASK  00052  Normal  Msg Wait           7 No   No    MQGET    1A5FF510


This should show the MQ API call that is hanging.

You should also look at the CICS and MQ job logs to see if they show any sign of problems. Also check the MVS console log.

If these steps fail to identify the cause of the problem you will probably need to raise a problem with the IBM support centre.
_________________
Bob Buxton
Ex Websphere MQ for zOS development
Back to top
View user's profile Send private message
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Wed Apr 13, 2005 11:52 pm    Post subject: Reply with quote

Bob

Thanks for the information. Is there any possibility of bad data causing the problem ?
_________________
Thanks,
Vinod.
Back to top
View user's profile Send private message
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Wed Apr 13, 2005 11:57 pm    Post subject: Reply with quote

Some additional information:

BMC Software ------------ TASKXPND DISPLAY -------------------- TIME: 00:54:50
COMMAND ===> CICS ===> R2ACCICS
EXPANSION OF TASK # 83837, TRANSACTION: S560, PROGRAM: STCMT560
TASK CURRENT STATUS:
TASK STATUS SUSPEND TASK PRIORITY 60 QUEUE ELEMENT
CURRENT PGM CSQCTRUE KC REQ. TYPE 00 LOADLIST AREA
TERM/DEST ID XM_TXN ADDR 211F11B8 LIFO STACK 20BA3190
BMS MAPNAME USER TCA ADDR 200A6680 CMP AREA 211F9768
TASK CLASS DFHTCL00 HLL RETURN 208B54EA RSA ADDRESS 20BA3488
DURATION 13:55:56 CMN REQ AREA 07000000 CMP STATISTICS
STG ISOLATION NO CMN REQ. DATA TASKSWCH DISPATCHES 6
DTA ADDRESS 1FF89280 CPU USAGE 0.001
JCA ADDRESS 00000000 FILE IO COUNT 0
UIB ADDRESS 00000000 FILE I/O TIME 0.000
EXEC/IF STG. 200A6988 JOURNAL COUNT 0
STORAGE USE BY CLASS WORKING STG. 00000000 JOURNAL TIME 0.000
USER ABOVE 53760 DL/I ISB 00000000 T/S I/O COUNT 0
USER BELOW 0 DTB LOG AREA T/S I/O TIME 0.000
CICS ABOVE 0 ECB ADDRESS 00000000 T/D I/O COUNT 0
CICS BELOW 0 ICE ADDRESS 00000000 T/D I/O TIME 0.000
TERMINAL TIOA 0 ABEND EXIT IRC I/O COUNT 0
PROGRAM STRG. 0 DWE CHAIN 00000000 IRC I/O TIME 0.000
***************************** END OF DATA ********************************
_________________
Thanks,
Vinod.
Back to top
View user's profile Send private message
bob_buxton
Beginner


Joined: 20 Dec 2002
Posts: 44
Topics: 0
Location: Hampshire, England

PostPosted: Thu Apr 14, 2005 1:49 am    Post subject: Reply with quote

Vinodch wrote:
Bob

Thanks for the information. Is there any possibility of bad data causing the problem ?


Bad data is a possibility, especially since your problem is recreatable with a single transaction, but I am afraid I don't have any good ideas on how to find the problem.
_________________
Bob Buxton
Ex Websphere MQ for zOS development
Back to top
View user's profile Send private message
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Thu Apr 14, 2005 10:00 am    Post subject: Reply with quote

Bob

Is there any possibility that GET with WAIT option with some wait intervals will solve the issue ?
_________________
Thanks,
Vinod.
Back to top
View user's profile Send private message
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Wed May 11, 2005 3:39 pm    Post subject: Reply with quote

We solved the problem by enabling the GET with WAIT option and setting the wait intervals to 10 secs.

Thanks for all your help.
_________________
Thanks,
Vinod.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group