Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Multiple access of VSAM in batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Amit Goswami

New User


Joined: 06 Jul 2005
Posts: 11
Location: India

PostPosted: Wed Oct 08, 2008 9:19 am    Post subject: Multiple access of VSAM in batch
Reply with quote

Hi,

I have one program that opens a VSAM file in input mode and read it randomly. The record key for file is the records of another file that may vary from 1 to 1m.

There are many job that execute this program simultaneously and hence may perform read on VSAM file using keys from their individual file.

Does this affect the processing of job? I mean contention on file opening.

My another question is, since my program is a middle program so I am opening file only once but after reading the records or at the end of processing I am not closing it. Would it affect anything?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Oct 08, 2008 9:25 am    Post subject:
Reply with quote

Hello,

Quote:
Does this affect the processing of job? I mean contention on file opening.
It could. . . All of the reads will cause contention also.

Quote:
after reading the records or at the end of processing I am not closing it. Would it affect anything?
Probably not. I suspect that when the process is finished reading the control file, it ends which wo8uld automatically close the vsam file.

You might want to consider limiting how many of this process might run concurrently if performance is an issue.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us