|
I agree, but I am arguing with other pgmrs here who swear that chgs toLF's don't roll back, but chgs to the based-on PF will roll back.
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
I would like someone on this BBS to explain how that is possible??
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [
Sent: Wednesday, May 30, 2012 5:25 PMwrote:
To: Midrange Systems Technical Discussion
Subject: Re: committment control and file changes
If a logical is just a SQL View and an SQL Index in one object and the
physical file it is based on is rolled back, why wouldn't the view and
index over the physical have the same values? It is just a projection
of the physical file.
On Wed, May 30, 2012 at 4:14 PM, Stone, Joel <Joel.Stone@xxxxxxxxxx>
roll back under CM in the same manner that an update to the PF would?Yes, but...
If a PF is journaled, will a record update to a LF (based on that PF)
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vern Hamberg
Thanks for response!
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [
orSent: Wednesday, May 30, 2012 5:00 PM
To: Midrange Systems Technical Discussion
Subject: Re: committment control and file changes
Joel
Have you looked at the help text of STRCMTCTL? It mentions some
requirements - among them, the file which will be processed under
commitment control must be journaled. There is NO journaling of LFs -
orof OPNQRYF or anything other than PFs, as far as files go.
OPNQRYF is not a real file - it is a virtual access path, one could say
- no data contained therein, only a PATH to the data, known as an ODP
muchopen data path.
Likewise, LFs are only an access path.
You should also look at the STRJRNPF command - more information there.
You should also look at the COBOL reference to see how to specify using
commitment control on a file - in RPG it is on an F-spec - I don't know
the equivalent.
It's all in the manuals at Infocenter - this is a pretty big topic,
errors.going on around what might seem a simple question!!
HTH
Vern
On 5/30/2012 3:16 PM, Stone, Joel wrote:
Physical file changes under commitment control can be rolled back for
back the same way that direct PF updates would? Or are there some
Do Logical files behave the same way ie the underlying PF would roll
PF roll back on an error while under commitment control?
Do OPNQRYF's behave the same way as PF's also? Ie will the based-on
vs UPDATE would both of these behave the same ? ie rollback on error
Does the file output method matter? Ie if a file is opened as OUTPUT
updates do NOT roll back. Is this possible? (assuming all files are
Some pgmrs here claim that PF updates roll back nicely, whereas LF
MessageLabs Skyscan service.
Thanks!
______________________________________________________________________
This outbound email has been scanned for all viruses by the
listFor more information please visit http://www.symanteccloud.com--
______________________________________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
________________________________________________________________________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.
SkyScanThis inbound email has been scanned for all viruses by the MessageLabs
________________________________________________________________________service.
Skyscan service.
______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs
listFor more information please visit http://www.symanteccloud.com
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
listTo 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
To post a message email: MIDRANGE-L@xxxxxxxxxxxxSkyScan
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 inbound email has been scanned for all viruses by the MessageLabs
service.Skyscan service.
________________________________________________________________________
______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs
For more information please visit http://www.symanteccloud.comlist
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
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.