Hi Saranya,
this is impossible to describe in detail here.
In essence you write an ISTK program (in C that is) that retrieves the COLD pages, decompresses them (so far so documented) and THEN you need to interpret the returned P-Code to lay out your text on the page. P-Code is proprietary to IBM (but I happen to have a manual from ANCIENT FileNet times).
You can imagine P-Code as marked up text (if you 'cat' such a page you can recognize it). The good news is, that if you have only used the native FileNet COLD software only a limited subset of p-code commands are used. Some more work is ahead if background images are used.
It is doable and we did it for (I think) 140 Million documents over the course of a few months during a running production. We did NOT use ISTK though, we used Java and interpreted the p code, We also replaced the FileNet COLD with a custom written COLD (host output to PDF), works fine since years.
Do not forget added complexity because of the TOCs generated by FileNet COLD and (if applicable to your situation) the maximum of 1000 pages per document (imposed by IS). We had many such documents and had to add special logic to combine them.
So you see it is quite a massive undertaking requiring knowledge of IS, P-Code, FileNet Content manager, especially if you do it the first time...
Good luck,
/Gerold
------------------------------
Gerold Krommer
------------------------------
Original Message:
Sent: Mon February 26, 2024 04:58 AM
From: Saranya V
Subject: COLD document compression
Hi Gerold,
We need to migrate 300M COLD documents from IS to P8. Can you explain how to do it using ISTK?
------------------------------
Saranya V
Original Message:
Sent: Wed May 11, 2022 05:06 PM
From: Gerold Krommer
Subject: COLD document compression
Kevin,
it would probably help if you would tell us your requirements :-)... makes advising much more accurate....
When you install the ISTK there will be a bunch of C samples in a subdirectory, but who wants to do the ** pointer to pointer C magic nowadays... brrr!
I have written some programs that actually PRODUCED p-code documents for IS (using ISTK by the way) so could well be I'm the only living veteran who speaks p-code (hurry up, I'm 59). We converted our last customer from IS to P8 in 01/21... (the one with the > 100 mill COLD documents)
Feel free to ask more,
/Gerold
------------------------------
Gerold Krommer
Original Message:
Sent: Wed May 11, 2022 04:41 PM
From: Kevin Sheng
Subject: COLD document compression
Thank you Gerold. You made a very good point. As a matter of fact, i do not know i need to decode even after successful decompression. This makes things even harder, doesn't it?
I did try de-compiling Daeja Viewer code to search for a clue but without success. There is a zip package using GZip but i tried Gzip on the compressed bytes and i got an error message: not a GZip. I know I am asking too much for help, so my guess is as you said, it is proprietary compression no one can get to.
I am thinking of using ISTK to write some C code but I cannot find a