Combining a lot of answers in one email…
In a message dated 00-01-21 14:14:08 EST, you write:
This again is only for those documents which are sent to the repository to be shared by other users.
What about those which are stored via DAS ?
Ashish
That’s what I meant by “assuming you don’t need the data in the repository”. DAS is - of course - designed to run a document and distribute the data. For those the “purge” suggestion makes no sense.
Someone else suggested:
Don’t mess about - this is a joint bo/dba task. Export all reports from
the repos to disk, then make a note of all the DAS/BCA job settings. Then, in the db, truncate the various tables, i.e. ds_pending_job, obj_x_documents. Then coalsesce the tablespace. This should free up all that extra space in there
NO NO NO! You should never truncate database tables that have referential integrity rules, not in a production environment. If you need to reclaim space, talk to the DBA about doing an export, compress the extents, and reimport. But do the ENTIRE repository at once, not just a few selected tables. Your DBA should know how to do this.
Can any one tell me where the LOV definition is stored ?
As I mentioned earlier, the LOV definitions are stored in the document domain tables. They are also connected to the universe tables.
In the UNV_OBJCONTENT table there is a column OBJ_LOVID. If this column is zero, then there is no List of Values that has been exported. If this column is non-null, then there is a custom LOV.
In the OBJ_M_DOCUMENTS table there will be a reference to a document with a M_DOC_N_ID that links to the OBJ_LOVID from the UNV_OBJCONTENT table. The value of M_DOC_C_NAME will be the name and some other information for the custom LOV. The table OBJ_X_DOCUMENTS contains the binary image of the LOV file that has been exported with the universe. The binary data has no meaning in its raw form, much like a standard document that has been exported. I don’t see any way of looking just at the OBJ_X_DOCUMENTS table and deciding what sort of value you are looking at.
A document that is a document rather than a custom LOV will have a document ID that is not found in the UNV_OBJCONTENT table. Under Oracle, you can determine this with the following:
select x_doc_n_id
from obj_x_documents
MINUS
select obj_lovid
from unv_objcontent
The values that show up are document IDs, rather than LOV IDs.
I have a document in DAS which runs with a custom script. It doesn’t go to
any user nor is it posted on web. It is rather faxed to the customer fax numbers which the script references from the CONTACTS of the NT Box
Outlook.
It has to appear as a report file somewhere. There is a file that is being printed to your fax driver. DAS does not have the capability to directly fax. You need to find out how the process is working and back in to the report file.
Now I know, I can change the status of report from Expired to waiting and make the existing copy run. But, I want to make the changes in this
document
now. So I want the copy of existing document and script. I didn’t send the copy last time to Repository.
How can we retrieve it from Repository database (Both document and script)
?
The server that runs DAS has a temporary directory. Files that are being processed under DAS are temporarily stored (thus the name) there. This includes the script. If you are quick enough, you can capture the script from the temporary directory. However, DAS deletes files from the directory when the job is done.
Perhaps you can get the server administrator to revoke Delete permissions on that directory? That way DAS might report the job as failed, but you would be able to get in and get a copy of the script.
I asked this before… are there no backups being done at this site? Surely you can go back - even a year if you have to - and find the source document.
As I wrote this, I got to thinking… where are the scripts stored in the repository? And if I can find them, are the stored as text (SPT) or tokenized (SPX) form? I believe that scripts are also stored in the OBJ_X_DOCUMENTS table, but have not been able to retrieve anything from the LONG RAW datatype used in my Oracle repository. Since I have not been able to retrieve anything, I can’t tell if they are in SPX or SPT form.
Regards,
Dave Rathbun
Integra Solutions
www.islink.com
Listserv Archives (BOB member since 2002-06-25)