WBR (Cognos) Issue w/ Updated Queries
Let's see if I can succinctly state the problem I'm experiencing...
I begin with Report Manager/Query Builder, and create a report that contains, say, 10 Attributes from a particular Document softtype.
After a modelUpdate, I go to WBR/Cognos, open Report Studio and start a New Report (blank). I find my newly-created Report Template. I drag the whole thing in to the window, and format the heck out of it. Its beautiful.
A week later, someone asks to add a new column to the report. No problem, its an existing Attribute in the Document softtype. I go to Report Manager/Query Builder, open that existin Report, and add the Attribute under the Select tab. Save.
I do another modelUpdate.
Upon opening my previosly-save and beautifully-formattedreport in Report Studio, I'm informed that the package has been updated and my report will be updated also. Great, just what I expected.
But when I go to the Data Items tab in Insertable Objects, the recently-added Attribute isn't there under the Query. So I go back to the Source tab in Insertable Objects, find my Report Template, and sure enough, the recently-added Attribute is there.
So, I just drag it out in to the report, and place it where I want it amongst the columns. And that's when things *really* go bad!
For a test, I created a single-column report. Worked fine. Added a 2nd column of info, and following the above procedure, and Validate Report will give several errors, such as "The column "Group" was not found in the table or view...", and *every* Attribute in the report shows an error of "Unable to find query information for the item *****".
And if you're obstinate enough to run it anyway, it says "An error occurred while performing operation 'sqlPrepareWithOptions' status='-56'."
So, I've tried this numerous times with different reports. I've tried bouncing Cognos after a modelUpdate, I've tried bouncing it before, and on both sides of a modelUpdate. No dice. It doesn't appear to be a system- or performance-related issue, as other unmodified reports will run as expected.
Anyone else seeing this behaviour? It occurs to me that I'm clearly doing something wrong...my process must be off. What process do others follow when making a change to the Report at the Report Manager/Query Builder level? I have a hard time believing that in order to add an Attribute/Column, you basically have to start over...but in the last few days, that's really the only way I've been able to add an Attribute to an existing report.
I'm currently running 9.1 M060, with the matching Cognos 8.4.1
TIA!
