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



Temporal table support is probably exactly what we need. I forgot we have that feature now. Does it utilize the same journals that exist, or does it create another set of journals?

I tried to right click a table in ACS Schema browser and I don't see any option to activate temporal table functionality on a table.

-----Original Message-----
From: Rob Berendt [mailto:rob@xxxxxxxxx]
Sent: Thursday, August 31, 2017 2:20 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Read all about it - 8 IBM RFE's entered. Vote now!

Not to deprive you of yet another chance to deride Db2 but are you already using many of the capabilities of Db2 which may help you with this?
Are you using Temporal Table support?
Are you using the audit colums such as
ALTER TABLE ...
ADD COLUMN audit_user VARCHAR(128) GENERATED ALWAYS AS (SESSION_USER)
ADD COLUMN audit_op CHAR(1) GENERATED ALWAYS AS (DATA CHANGE OPERATION);


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Matt Olson <Matt.Olson@xxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 08/31/2017 03:01 PM
Subject: RE: Read all about it - 8 IBM RFE's entered. Vote now!
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Sounds good, but I'm guessing I am looking for something more built into
the database by default.

Microsoft SQL Server has this. It's called change data capture (CDC), and
exposes the journal data for easy querying.

Say you have a table called IV00101 in SQL Server. Once you activate CDC
on a table a new system view shows up right away that you can query by
doing a "select * from cdc.IV00101" and you will get all the before, after
data in same layout as original table with the extra journal fields at the
beginning. Very powerful, easy to use, and built right into the database
platform. I am hoping DB2 can get there some day.

-----Original Message-----
From: Sam_L [mailto:lennon_s_j@xxxxxxxxxxx]
Sent: Thursday, August 31, 2017 1:14 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Read all about it - 8 IBM RFE's entered. Vote now!


On 8/31/2017 9:52 AM, Dan wrote:

BTW, in case one would like the extract function but don't need it in
ACS, Carsten Flensburg published the excellent EXTJRNDTA utility.

And Thomas Raddatz provides his excellent (and free) EXPJRNE tool:

"The EXPJRNE command exports journal entries of fiels, data areas and data
queues to an output file. The output file has the same layout as the
journalized file plus the journaling information. EXPJRNE makes it really
easy to analyze journal entries by SQL."
http://www.tools400.de/English/Freeware/Utilities/utilities.html

I believe Thomas may be adding something similar to the iSphere RDi
extension.



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.