Re: Opinions on approach, please...
- From: "William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx>
- Date: Mon, 26 May 2008 15:00:37 GMT
<all previous parts of the thread are snipped>
Pete,
I the reason that I mentioned "locks" is that I am familiar with applications
that INTENTIONALLY used "locks" (of one sort or another) to serialize specific
steps. They didn't use them to "protect" from data corruption. Rather they
would use a "control" record to be "locked" when one
user/part-of-the-application/whatever was doing something to insure that other
parts/users didn't "start" a new process.
Micro Focus and the '02 Standard have "wait" syntax (within READ processing -
and as a separate statement). I couldn't find this in my Fujitsu dox, so this
may not be a problem there. (They do have file status codes for accessing
locked records).
As I say, this is not a question of 'accidentally" having two processing
attempting to update the same record; rather it is the use of specific records
(or files) to serialize processing.
***
I also wanted to explain (a bit) about the "multiple positioning" point that I
tried to make earlier. I don't know if this is used with non-IBM mainframe
COBOLs - or even if it is still used (much) on IBM mainframes.
The techniques was where you had two (or more) File-Control entries - pointing
to the same physical (VSAM) file - one via its "primary" key and one via an
alternate key (or possibly both via separate alternate keys). Using START and
READ NEXT processing, you could then process "simultaneously" through the same
physical file in two different sequences. I could be mistaken, but I don't
think that SQL can (easily) do this via two "simultaneous" cursors for the same
database. However, if this isn't something that you have run into, then it may
well be a non-issue with the types of applications that you would want to
convert.
--
Bill Klein
wmklein <at> ix.netcom.com
.
- Follow-Ups:
- Re: Opinions on approach, please...
- From: Pete Dashwood
- Re: Opinions on approach, please...
- From: Frederico Fonseca
- Re: Opinions on approach, please...
- References:
- Opinions on approach, please...
- From: Pete Dashwood
- Re: Opinions on approach, please...
- From: Robert
- Re: Opinions on approach, please...
- From: Pete Dashwood
- Re: Opinions on approach, please...
- From: Robert
- Re: Opinions on approach, please...
- From: Pete Dashwood
- Opinions on approach, please...
- Prev by Date: Re: Opinions on approach, please...
- Next by Date: Re: Opinions on approach, please...
- Previous by thread: Re: Opinions on approach, please...
- Next by thread: Re: Opinions on approach, please...
- Index(es):
Relevant Pages
|
|