IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to capture contention in accessing VSAM file ?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Souparno

New User


Joined: 09 Sep 2008
Posts: 7
Location: India

PostPosted: Wed Oct 01, 2008 4:05 pm
Reply with quote

Hi,

In my system I have few VSAM files which are updated by online users and also batch processes at the same time. This is resulting in contention / deadlock with multiple processes (between concurrent online users and / or batch processes). The net effect is either delay processing or, online users not able to do processing.

I am not very comfortable with VSAM. Would like to know whether there is any way to capture the VSAM contention exception which will help in handling the scenario by application programming (something which I could have done in case of DB2).
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Oct 01, 2008 5:07 pm
Reply with quote

Quote:
In my system I have few VSAM files which are updated by online users and also batch processes at the same time.
Bad application design -- it can easily result in contention and deadlocks.

As far as I know, there is no "VSAM contention exception" that you can capture. There is system data about contention but it's not a trappable exception -- more a notification about the contention.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top