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



If you already have DBU it does journals just like a regular file.
DBU FILE(JRNLIB/YOURJRN) DBUTYP(*JRN)

Thanks & Regards,
Danny Hayes
IT-Developer
Genuine Parts Company, APG IT


3100 Windy Hill Road
Atlanta, Georgia 30339
mailto:Danny_Hayes@xxxxxxxxx
(904) 502-2969

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Matt Olson
Sent: Thursday, August 31, 2017 4:14 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: [EXT] RE: Read all about it - 8 IBM RFE's entered. Vote now!

Yeah, I suppose they are different use cases. I currently use CDC in SQL Server to do realtime replication to a MySQL database and it's worked flawlessly for over a year now. Whenever there are connection breaks due to network or server reboots it resumes from the last log sequence number and they are always in sync (1-way replication only). Took minimal programming effort to achieve as CDC did the heavy lifting, and SSIS ETL tool does the data syncing. Less than 50 lines of C# code in the whole package, the rest are GUI workflow driven steps where you can actually see the data flows in real-time as it is executing.

I need a way to query a journal in DB2 as if it was just another table in the database. That open source solution sounds as if it does a point in time export of data. It's not has userfriendly as having a system view always ready to do a select * from cdc.tablename where type=1 (insert) and changedate between '2017-08-31 12:01:00' and '2017-08-31 13:00:00' and get all inserts from that time period.

With temporal tables I suppose the best you could do is look at the records that existed at 12:01, then look them from 13:00 in above example and manually deduce the updates, inserts that occurred within that time period. But that sure sounds like a lot of work.

-----Original Message-----
From: Charles Wilt [mailto:charles.wilt@xxxxxxxxx]
Sent: Thursday, August 31, 2017 2:59 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Read all about it - 8 IBM RFE's entered. Vote now!

temporal tables don't use the journal at all AFAIK...

It creates a separate table and stores the info...

Temporal tables solve a different problem than CDC...

Charles


On Thu, Aug 31, 2017 at 1:51 PM, Matt Olson <Matt.Olson@xxxxxxxx> wrote:

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


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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD

"This e-mail and any attachments, contain Genuine Parts Company confidential information that is proprietary, privileged, and protected by applicable laws. If you have received this message in error and are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy this e-mail, any attachments or copies therein forthwith. Please notify the sender immediately by e-mail if you have received this e-mail in error."

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.