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
 

 

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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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