× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Sounds like good advice, I'm working on my test pgm, starting with 5 sec to do a 'Data Area In'.
The Data Area is a 'token' that must be acquired before updating file members, so I hope to
avoid the mess you describe by forcing two separate jobs to first 'acquire the token' by being
able to lock/read/update/release said Data Area. The other requirement is the value in the
data area must be a pre-determined value, else the program must release the data area and
try later.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John R. Smith, Jr.
Sent: Thursday, October 23, 2014 9:24 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: adjust wait time to acquire an object

Just be careful shortening times. I previously worked in an Island Pacific environment which HEAVILY uses PF and LF members. Our system admin decided
60 seconds was too long of a wait time so he changed everything to a couple seconds. With the amount of activity on some files, the system could not get the lock it needed to add or remove a member in that short period of time and jobs blew up all over the place. That was quite a while ago and systems are much faster and probably handle adding and removing members more efficiently but thought it was worth pointing out.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary Thompson
Sent: Thursday, October 23, 2014 9:22 AM
To: Midrange Systems Technical Discussion
Subject: adjust wait time to acquire an object

Is there a way to specify the amount of time a program waits for a resource ?
For example, is there a way to tell the OS that I only want to wait 15 seconds to read and lock a data area ?
--
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.


--
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.