Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : When you specified V for RECFM parameter, LRECL value is largest record in the file plus 4 bytes. These four bytes contain the actual length of each variable length record in the file

Google
 
Web mainframegurukul.com

READY CMD IS CAUSING ABEND TIME OUT

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> IDMS
  View previous topic :: View next topic  
Author Message
w1s2015
Member


Joined: 30 Sep 2015
Posts: 4

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Wed Sep 30, 2015 9:25 pm    Post subject: READY CMD IS CAUSING ABEND TIME OUT Reply with quote

I'm trying to ready an area for update but it continues to time out. if anyone has any input it would be greatly appreciated, please see MSG below:
-
00FF08 STATUS=0000 BIND SUBSCHEMA-->IDMSSECU
00FF08 STATUS=0000 READY AREA PROT UPDATE . AREA->DDLSEC
TASK:CIT00A01 PROG:HBG02DPW WAITING FOR LTXNLOCK 00008008 00
TXNID:344134 PROG:HBG02DPW SUBSCHEMA:IDMSSECU MODE:UIX
TSKID:5 TASK:DRIVER PROG:RHDCRUSD HOLDS LTXNLOCK 00008008 00
TXNID:248741 PROG:RHDCRUAL SUBSCHEMA:IDMSSECU MODE:IX
TASK:ADS2 PROG:ADSOMAIN(HBG02DPW) STALLED WAITING FOR LTXNLOCK
TASK:ADS2 PROG:ADSOMAIN ABENDED WITH CODE D002
S SIGNED OFF UCFLQ001 AT 10:42:44.15 15.273
_________________
WK Stewart
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.

William Collins
Active Member


Joined: 24 May 2012
Posts: 732

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Wed Sep 30, 2015 10:07 pm    Post subject: Reply with quote

You're waiting for a lock and "RHDCRUSD HOLDS LTXNLOCK". If that doesn't release the lock before the timeout, you'll get nowhere. Slowly.
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
w1s2015
Member


Joined: 30 Sep 2015
Posts: 4

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Wed Sep 30, 2015 10:33 pm    Post subject: Reply with quote

Thanks for the reply, but I'm aware that there's a deadlock, my question is how does one resolve this locking issue? Does one have to contact CA?
_________________
WK Stewart
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
William Collins
Active Member


Joined: 24 May 2012
Posts: 732

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Thu Oct 01, 2015 1:40 am    Post subject: Reply with quote

w1s2015 wrote:
Thanks for the reply, but I'm aware that there's a deadlock, my question is how does one resolve this locking issue? Does one have to contact CA?


If the modules in question are user-written, then there is a logic problem.

If the modules are CA-written, then contacting CA would be a good move.

See if CA have a support community on their website. Other users of the products may have some insights.
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
w1s2015
Member


Joined: 30 Sep 2015
Posts: 4

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Thu Oct 01, 2015 4:21 am    Post subject: IDMS ADS DEADLOCK Reply with quote

The code is user-written, and I appreciate the advice about the CA-community, I'll try that avenue. I wonder if you can use the ready cmd when your using select statements to alter records via OCF. Thanks again!
_________________
WK Stewart
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
William Collins
Active Member


Joined: 24 May 2012
Posts: 732

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Thu Oct 01, 2015 2:20 pm    Post subject: Reply with quote

If it is a CA-written module, contact CA. If it is user-written, then there is a logical impasse, review the design (most likely there) and then the implementation (could be a code bug).
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
w1s2015
Member


Joined: 30 Sep 2015
Posts: 4

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Thu Oct 01, 2015 5:32 pm    Post subject: IDM ADS - READY CMD LOCK Reply with quote

Well I omitted the Ready cmd for update, and used the COMMIT cmd, seems to be working. I'll still contact CA to ascertain whether you can use the READY cmd & SQL/ALTER in the same DIALOG/SUBROUTINE. Thanks for you assistance and insight...
_________________
WK Stewart
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> IDMS 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


Cobol Tutorial
This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial
This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial
This Tutorial covers all important aspects of DFSORT. Has more SORT examples
INTERVIEW Questions
This page covers important interview questions
Mainframe Jobs
Mainframe Jobs posted by members of mainframegurukul forum
FaceBook Page
MainframeGurukul FaceBook Page
LinkedIn Page
MainframeGurkul Linkedin Page

This widget requires Flash Player 9 or better







Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials || Mainframe CICS tutorial|| Mainframe COBOL Tutorial

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB

mainframetopic-7943.html