Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Will ""PROCOPT = A"" make deadlock??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
VarunJ1991

New User


Joined: 01 Oct 2012
Posts: 2
Location: INDIA

PostPosted: Mon Mar 11, 2013 9:56 pm    Post subject: Will ""PROCOPT = A"" make deadlock??
Reply with quote

HI ALL.

Just a quick clarification i can see in detail tat PROCOPT = A wil lock the region till update or read. Since if someone uses PROCOPT=A in PSB for a PCB which is used only for read it will lock obviously. Suddenly to clear this doubt i took one PSB and i referred which it got deadlock recently i can see tat PCB is used with PROCOPT = A.. Almost all the PCB is used in tat PSB used with PROCOPT = A. Can someone please explain this if modification the PSB with correct PROCOPT option will correct the issue? Means read procopt for the read calls write for write and delete for the same(Just for clear explanation).....we are facing deadlock issues often. (DON't teast me if me clarification is childish icon_smile.gificon_smile.gif
Back to top
View user's profile Send private message

Gary McDowell

Active User


Joined: 15 Oct 2012
Posts: 139
Location: USA

PostPosted: Tue Mar 12, 2013 12:38 am    Post subject:
Reply with quote

IMS locking is tricky. It can be a database or application design problem, or the amount of syncpoints. There is a Deadlock report which your IMS DBA should be able to review with you.

But to answer your question I do not think Proc Option 'A' is "thee" answer but it could be a factor. You need to look at the whole picture which your DBA can help you with.

Good luck.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Mar 12, 2013 8:18 pm    Post subject:
Reply with quote

Procopt 'A' may lock IMS database blocks - this means that you may well lock out other applications that are trying to read segments in the same physical block if you are just issuing GN or GU calls with procopt 'A'. But yes, there can be more to the situation and working with your IMS DBA is a good choice, as Gary has said.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us