Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mod() gives an error sqlPrepareWithOptions

Status
Not open for further replies.

niloco

Programmer
Jul 5, 2010
1
NL
Hi all !

I'm trying to use the alternating rows with running-count(). Therefore i need to use the mod function in an expression.
But while validating/running the report, i get an error:
sqlPrepareWithOptions' status-69'.
After some testing, we narrowed the errorscript to:

mod(2, 2)

We use Cognos 8.4
And i'm a beginner user.

Does the mod function somehow depend on database functions? Do we have to configure Cognos with special options ?
Do we have to (over)cast integers?

Regards,
Niloco
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top