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

Easytrieve routine to update a VSAM file


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 1436
Location: Bangalore,India

PostPosted: Tue Nov 06, 2007 6:47 pm
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: 177
Location: Seattle, WA

PostPosted: Wed Nov 07, 2007 12:58 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


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