Author Topic: Identify documents using large object support  (Read 5001 times)

app4pzb

  • Newbie
  • *
  • Posts: 5
    • View Profile
Identify documents using large object support
« on: January 05, 2009, 11:14:36 AM »
We have an application which implements large object support breaking at 100 pages and would like to know which individual documents are being broken into multiple pieces.  I can see "Large Object:  No" or "Large Object:  Yes" in the thick client under properties but do not see a way to get this information from the DB2 application group table (i.e. AAA#).  Also, is there any way to derive the length of the entire document.  The DOC_LEN field for an object that is split up holds a very small value (probably corresponding to the size of the first 100 pages).

thanks,

Paul
pbacinsky@ups.com

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Identify documents using large object support
« Reply #1 on: January 06, 2009, 08:37:22 AM »
Large Object Support is facilitated by removing some of the index information from DB2, and putting it into a header that's stored with the object itself.  I've run into this before while trying to estimate the volume of storage required to do a data extraction.  I'm not aware of any published specification for that header, so there's no quick and easy solution.

There ARE ways of getting this data if it's absolutely critical -- but your best bet going forward is to enable page counting in one of the more recent versions of CMOD, so that the number of pages is a value in a DB2 field.

-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

app4pzb

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Identify documents using large object support
« Reply #2 on: January 07, 2009, 07:23:48 AM »
Justin,

Thanks for your response.  I figured you'd have some insight into this.  "There ARE ways of getting this data if it's absolutely critical". 

I'll bite.  What's the pain I'll have to endure to find this out?  We have a unique situation where analysis of this historical data is critical for a recently implemented production application.

thanks,

Paul

app4pzb

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Identify documents using large object support
« Reply #3 on: January 09, 2009, 01:21:55 PM »
Justin,

not the most elegant work around but i found that unload to a generic index file will identify documents stored as large objects.

p

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Identify documents using large object support
« Reply #4 on: January 10, 2009, 09:38:57 AM »
You read my mind....

I have a high-speed extractor that would assist in getting you the data you need in as short a time as possible.  Let's talk about that offline.

-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

app4pzb

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Identify documents using large object support
« Reply #5 on: January 21, 2009, 08:38:08 AM »
for the benefit of the forum we received a response from IBM after they contacted development.  the DOC_NAME field on the application group has a '$' to the end for large objects.  The doc_len value for  large object is the length of the header for that particular large object.  this header contains the offsets and lengths for all the segments in the large object.  i've confirmed in our db2 tables.

paul