Search the web
Sign In
New User? Sign Up
documentum-users · This list is intended to provide peer support and resources for users of the Documentum Enterprise Document Management System.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
from content storage area to object id - reverse lookup   Message List  
Reply | Forward Message #35141 of 43567 |
Re: from content storage area to object id - reverse lookup

Kevin
Just to make life confusing Documentum turns the hex number
(80004653) into a signed integer. All numbers over 80000000 actually
turn into negative numbers, which is why all data_tickets are
actually negative. If you have the Windows calculator (or any other
hex to decimal converter) available the quickest way to get to the
data_ticket is to do the following:

1) Subtract 0x80000000 from your hex data ticket.
2) Now subtract this from 0x80000000
3) Convert to decimal and put a minus sign in front.

Alternatively in C:


signed int si = 0x80004653;
printf("%d\n",si);

regards
Robin

____________________________________________________________
Robin East
Xense - Documentum Performance Tuning
http://www.xense.co.uk


--- In documentum-users@yahoogroups.com, "syeandel" <kevin@y...>
wrote:
>
> Hi guys
>
> I've tried to reverse lookup from content to an object id under:
>
>
> /u70/system/1/docbase/content_storage_01/000162b2/80/00/46
> ls
> 02.txt 0b.txt 14.txt 1d.jpg 26.jpg 2f.jpg 38.jpg 41.jpg
4a.jpg
> 53.jpg ...
>
>
> by taking (for example) 80004653 to an integer to produce a data
ticket
> then
>
> select * from dm_sysobject where i_contents_id in
> (select r_object_id from dmr_content where
data_ticket='<dataticket>')
>
> But get no rows back so I am making an assumption the algorithm is
> wrong. I've checked the forums and server admin guide for 5.2.5 and
I
> seem to be doing this right.
>
> I need to trace back to the original r_object_id because content is
> ending up in a storage area which is out of bounds and coming from
> nobody knows where (is just tifs or jpg's up to 30 megs in size).
>
> Any help will be most appreciated.
>
> Thanks
> Kevin
>







Tue Oct 18, 2005 6:05 pm

robineast2004
Offline Offline
Send Email Send Email

Forward
Message #35141 of 43567 |
Expand Messages Author Sort by Date

Hi guys I've tried to reverse lookup from content to an object id under: /u70/system/1/docbase/content_storage_01/000162b2/80/00/46 ls 02.txt 0b.txt 14.txt...
syeandel
Offline Send Email
Oct 18, 2005
5:10 pm

Kevin Just to make life confusing Documentum turns the hex number (80004653) into a signed integer. All numbers over 80000000 actually turn into negative...
robineast2004
Offline Send Email
Oct 18, 2005
6:05 pm

Hi Robin Thanks for this information, I'll pass it on to Documentum as what was quoted to me doesn't return any content - yours did. The C example to derive...
syeandel
Offline Send Email
Oct 20, 2005
10:19 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help