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
 
Easytrieve routine to update a VSAM file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
tjk3030

New User


Joined: 18 Mar 2006
Posts: 22

PostPosted: Tue Nov 06, 2007 6:02 pm    Post subject: Easytrieve routine to update a VSAM file
Reply with quote

Hello All
I wrote an easytrieve routine to update a VSAM file. Its just one step in a multi step job & only updates one record, the record is small approx 100 characters. The problem is that it appears easytrieve is 'hanging' on to the file during the entire run of the job, not releasing it for other jobs that use the exact same routine to update the same vsam file. It wasn't a problem when only a couple of quick running jobs updated the file but now I have hundreds, some of the jobs run for hours, and having contention problems all the time.
I stumped as to what to do. Is this an easytrieve thing? Should I rewrite the routine in COBOL?
Thanks
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Nov 06, 2007 6:47 pm    Post subject:
Reply with quote

tjk3030,

Quote:
The problem is that it appears easytrieve is 'hanging' on to the file during the entire run of the job, not releasing it for other jobs that use the exact same routine to update the same vsam file


What is DISP used for VSAM?
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Wed Nov 07, 2007 12:58 am    Post subject: Reply to: Easytrieve routine to update a VSAM file
Reply with quote

Yes. Rewrite in COBOL.

Easytrieve CAN update VSAM files, it is extremely inefficient to use it thus (as you have seen).
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am

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