Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cognos 8.4, file location for package's framework

Status
Not open for further replies.

woodrg

Programmer
Jul 25, 2003
48
US
Does anyone know if there is a way to find the file location of the framework for a published package?

i've found that we have a couple of copies of the same framework with the same package names and apparently this specific package that is published is not coming from what should be the "good" copy of the framework file :-(

I need to find the source of the package that is actually published so i can determine if those differences in the framework need to be incorporated into the good copy.

I've not been able to determine this in ReportNet in the past, i was hoping that Cognos 8.4 had a way to do it.

Thanks in advance for any help (and yes, i know we have to prevent this happening again ;-) )

Becky,
Ft. Rucker
 
Hi Becky,

the published packages / models aren't stored within the file system but stored in the Content Store.

If you have the SDK available there is a sample how you can extract a model of a published package so you could compare the model files afterward.

The sample is here:
Hope that helps
preachie
 
thanks so much for the reply!

it's not the package itself i'm trying to locate but the framework that the package was created in.

Unfortunately we have 3 copies of a framework (different folders/locations, possibly more) that all have a package named "aircraft". i have found some differences in each, but i'm assuming that i haven't found all the differences (big framework). so it's possible that if i were to publish one of these packages that i could also publish changes that will break my reports if i pick the wrong one. another concern would be if these reports are not all using the same version of the package.

I was hoping that there would be something that can be seen from the report's perspective - be it from the report itself or the content store - to be able to tell the location or folder/path of the framework that the report's package was built from.

thanks again for any help on this.



Becky,
Ft. Rucker
 
No, FM is a client tool and C8 models are file based. Normally these would be stored on the file system or in a source control system. The report points to a package, not the model the package is based on.

There are several options to trace the origin (bit detective-style)

1. Create a copy of the package and publish this. Point an existing report to this new package and test. This can be done quite savely especially if you do not save in the proces.

2. Use a good text editor like notepad++ / ultraedit to perform a compare between the model.xml files. The compare should give areas where changes occur and you can analyze these. Notice the Cognos add's modification dates to most objects, so you will know what is the most recent adaption

3. FM allows for tracing the logs to scan all activity on the model (provided the logs have not been lost) from within Framework Manager. This can also give valuable information on changes applied to the model and when they were performed.

Ties Blom

 
thanks for the pointers, looks like i have some detective work to do!

i especially like the idea of using a compare tool that will accurately find the difference between the models. with all the differences identified we can determine which ones need to applied to the "good" copy and redirect all the reports to the one model - and of course get rid of the "extra" copies.

thanks again!

Becky,
Ft. Rucker
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top