READY CMD IS CAUSING ABEND TIME OUT

Post your problems & doubts related with IDMS

Moderator: Moderator Group

Post Reply
w1s2015
Member
Posts: 4
Joined: Wed Sep 30, 2015 8:25 pm

READY CMD IS CAUSING ABEND TIME OUT

Post by w1s2015 » Wed Sep 30, 2015 9:25 pm

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

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Wed Sep 30, 2015 10:07 pm

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.

w1s2015
Member
Posts: 4
Joined: Wed Sep 30, 2015 8:25 pm

Post by w1s2015 » Wed Sep 30, 2015 10:33 pm

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

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Thu Oct 01, 2015 1:40 am

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.

w1s2015
Member
Posts: 4
Joined: Wed Sep 30, 2015 8:25 pm

IDMS ADS DEADLOCK

Post by w1s2015 » Thu Oct 01, 2015 4:21 am

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

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Thu Oct 01, 2015 2:20 pm

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).

w1s2015
Member
Posts: 4
Joined: Wed Sep 30, 2015 8:25 pm

IDM ADS - READY CMD LOCK

Post by w1s2015 » Thu Oct 01, 2015 5:32 pm

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

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others