Author Topic: Identifying Duplicate Reports  (Read 1754 times)

Mark@M

  • Newbie
  • *
  • Posts: 6
    • View Profile
Identifying Duplicate Reports
« on: December 17, 2019, 11:23:59 AM »
I'm new to using CMOD and have a basic question.   Is it possible to identify duplicate reports in CMOD based off of the posting_date thru DB2 queries ?  For example, if you have 2 reports with the same posting_date, is there a value in one of the tables to compare.

I see a compression field and not sure if I can use that as sort of a HASH value ?   (Our company isn't  on the CMOD version that produces HASH values.) 

Our company is in the process of migrating reports over to CMOD and at times have duplicated reports for particular days.  Just trying to see if there is an easy way to go about this.

thanks !
« Last Edit: December 17, 2019, 12:31:33 PM by GoTribe »

Stephen McNulty

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Identifying Duplicate Reports
« Reply #1 on: December 18, 2019, 05:59:01 AM »
in some scenarios 2 reports with the same posting date is valid.

We originally used information from the system Log, then once available started to use the System Load facility.   
There are a number of fields that we use to determine if a load is duplicated (ie  doc Begin date, row count, total pages, input size, output size, input file name)
#ISERIES #ODWEK #XML

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Identifying Duplicate Reports
« Reply #2 on: December 18, 2019, 10:04:06 AM »
If the problem is not an epidemic, it's probably best to migrate the data into a test/staging server with a document hash field defined, then identify the duplicates by comparing hashes.  Then either delete the duplicates with arsdoc delete, or re-extract them without the extra copies.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR