|
Hi If you use exclusive lock on the file then it no other job would be able to allocate the file object until the lock is released by DLCOBJ. Other jobs may end abnormally after the WAIT time. If you think that the work file holds data specific to a job, create a duplicate object in QTEMP at runtime which can be used exclusively by the job, wherein there is no need to allocate the object. Rgds, Sachin -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Muralidhar Narayana Sent: Wednesday, May 04, 2005 10:52 AM To: midrange-l@xxxxxxxxxxxx Subject: ALCOBJ Hi Two jobs which run at same time use same work file , ine one job I plan to use in the beginning ALCOBJ(workfile) ......... ..... at the end DLCOBJ..... By doing this, does this cause any problem to second job ? If multiple jobs which needs this file run at same time, how they would be affected after implementing above in one job? Thanks, -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.