COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Sarayucog on 10 Jan 2011 02:39:44 AM

Title: An error occurred while performing operation 'sqlPrepareWithOptions'status='-120
Post by: Sarayucog on 10 Jan 2011 02:39:44 AM
Hi Gurus,

I am using Cognos 8.4 Version. I have a report with 5 prompts. In that first 3 prompts are Cascading pormpts. Report is running fine, but when I am selecting the value in 2nd prompt I am getting the below error.

An error occurred while performing operation 'sqlPrepareWithOptions' status='-120'.

Could you please tell me the solution for this.


Thanks in advance
Sarayu
Title: Re: An error occurred while performing operation 'sqlPrepareWithOptions'status='-120
Post by: PRIT AMRIT on 10 Jan 2011 02:46:45 AM
Looks like this error due unsupported SQL... are using any SQL function like Distinct or something else not supported by COGNOS?

Can you try enabling Query Procession to 'limited Local' for the Prompt Query?

Thanks
P