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 

Finding the taskid of a started transaction

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
deepa12
Beginner


Joined: 05 Apr 2005
Posts: 131
Topics: 64
Location: chennai

PostPosted: Thu Aug 07, 2014 11:07 am    Post subject: Finding the taskid of a started transaction Reply with quote

I would like to know how to find the taskid for a started transaction using the EIBREQID that is returned after the start command is executed
2. A transaction is asynchronously started & is defined as follows:
Code:

RECOVERY
DTimout : 0030 No | 1-6800 (MMSS)
RESTart : Yes No | Yes
SPurge : Yes No | Yes
TPUrge : Yes No | Yes
DUmp : Yes Yes | No
TRACe : Yes Yes | No
COnfdata : No No | Yes
Otstimeout : No No | 0-240000 (HHMMSS)

When an online transaction with similar recovery definition as above is suspended & waits for another transaction enqueuing a resource, i get the following message
Code:

TRANSACTION GIPS, TASK NO 0002977, IS BEING RESTARTED AUTOMATICALLY, C-ABEND AFCY

But in case of STARTED transaction it does not seem to display this message
Will it try to restart a STARTED Transaction. It ends up with AFCI abend showing up some files. I require some help on where to look for & identify what it has contended with
_________________
deepa
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Thu Aug 07, 2014 11:35 am    Post subject: Reply with quote

deepa12,

I am not sure as to why you are hung up on the recovery parameters when it is clearly the file deadlock that is causing the issue.

As you mentioned in your other topic you are updating a file. I am assuming that you issue a STARBR on the file and you read until you get the key you want to update/delete.

Now remember that CI's that are accessed by a task or enqueued (locked) in an LSR buffer pool and dequeued (released) either when the task is finished or an explicit release request is issued. . So ideally you should issue an ENDBR right after the update/delete and the lock will be released.

Also check the LSD Buffer pool parameters defined for the file and make the necessary changes as shown here.

http://www.ibm.com/support/docview.wss?uid=swg21082636

I would also suggest that you read this presentation (page 62 on wards about solving loops)

CICS Problem Determination LOOPS -- SOLUTION
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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
Page 1 of 1

 
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