COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: pooja on 19 Nov 2009 03:05:23 PM

Title: how to use S Proc in report studio......
Post by: pooja on 19 Nov 2009 03:05:23 PM
URGENT-----how to use SP in cognos RS

please need some assistance with all the steps, would be great

thank you so much in advance

pooja
Title: Re: how to use S Proc in report studio......
Post by: pooja on 20 Nov 2009 09:40:40 AM
...????????....

:o :o :o :o :o :o :o :o
Title: Re: how to use S Proc in report studio......
Post by: EArumugam on 23 Nov 2009 04:07:47 AM
Hi Pooja ,

1.Import the Stored Procedure to FM.

2.goto Edit Definition>Pass arguments, Datatype to the IN parameters for the SP(always use the same parameter values for the stored procedures.)

     2a.   Click the "Test" button. You will be prompted to enter values to use for the test:

3.Publish the package to Report Studio.

4.It will be display as query subject in RS.

5.Map the parameter name to Prompts.

6. Create report with query item from stored procedure query subject.

I thnk it will clear for you..

I am haivng screen shot of all steps mentioned above but not able to attach the same here.

Reply back if you have doubts.


Regds,
Eas
Title: Re: how to use S Proc in report studio......
Post by: admin_cog on 30 Nov 2009 05:50:26 AM
let me know which DB you are using.
Title: Re: how to use S Proc in report studio......
Post by: lindero on 30 Nov 2009 08:39:22 AM
you can also call a S Proc with a native SQL statement if you don't want to import it in FM.

kind regards