Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Making a Stored Procedure parameter truly optional

    Posted Tue June 16, 2020 03:30 PM
    I have a stored procedure in FM that is being used in a report. The SP parameters are being passed to the report via prompts. I would like to make one of those prompts optional, however Cognos does not allow me!

    I implemented the steps in this document,  however when I do not provide a value at the prompt, then cognos uses the one in FM manager, so still it is not optional.

    Any ideas or workarounds on how to make a SP parameter truly optional in a Cognos report.

    Thanks!
    #CognosAnalyticswithWatson


  • 2.  RE: Making a Stored Procedure parameter truly optional

    Posted Wed June 17, 2020 09:12 AM
    Disclaimer - I have no experience with stored procedures in FM. But that won't stop me for giving my 2 cents :-) . Can you set the "one in FM manager" equal to NULL as the default value?

    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------



  • 3.  RE: Making a Stored Procedure parameter truly optional

    Posted Thu June 18, 2020 01:54 PM
    Already had tired different ways to pass NULL, it does not work.


  • 4.  RE: Making a Stored Procedure parameter truly optional

    Posted Thu June 18, 2020 03:45 PM
    What type of value is the prompt (text,number,date, etc)?

    ------------------------------
    Mark Allen
    ------------------------------