COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Framework Manager => Topic started by: MANI-1986cognos on 22 Nov 2018 04:37:14 AM

Title: Added stored Procedure is not getting displayed in published package
Post by: MANI-1986cognos on 22 Nov 2018 04:37:14 AM
Hi ,

I have a stored procedure which will update the table. I have added it as right click on Name space --> create --> Query Subject -->Stored Procedure --> Selecte it from DB --> Validate it and then add it.

i didn't maintain presentation layer so this is the final layer i have.

After selecting it in the Package definition and Publishing the same the added query subject is not available in the path in the published package. What could be wrong here.
Title: Re: Added stored Procedure is not getting displayed in published package
Post by: CognosPaul on 25 Nov 2018 01:02:25 PM
Does the stored procedure have a return value? If not, try adding a

  select
    @@ rowcount as rowCount
at the end.
Title: Re: Added stored Procedure is not getting displayed in published package
Post by: the6campbells on 04 Dec 2018 12:38:15 AM
Note that in FM you can denote if a procedure modifies data or is expected to return data (result set).

The former is intended for Event Studio and the latter reporting.

If a stored procedure does not a resultset then it would be used in a reporting package.

More details should be in the documentation