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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

_day_of_week(Current_Date,1) failing 8.4.1

Status
Not open for further replies.

Sidney786

Programmer
Aug 7, 2000
64
GB
Hi

I am current migrating reports from 8.1 to 8.4.1 there is a day of week function in the header. This is failing in 8.4.1 with local processing error. I have check FM is set to LP.

Any help would be appreciated.

UDA-SQL-0460 A general exception has occurred during local processing.UDA-EE-0094 The operation "_day_of_week" is invalid for the following combination of data types: "varchar" and "integer"RSV-SRV-0042 Trace back:RSReportService.cpp(779): QFException: CCL_CAUGHT: RSReportService::process()RSReportServiceMethod.cpp(265): QFException: CCL_RETHROW: RSReportServiceMethod::process(): asynchRun_RequestRSASyncExecutionThread.cpp(788): QFException: RSASyncExecutionThread::checkExceptionRSASyncExecutionThread.cpp(224): QFException: CCL_CAUGHT: RSASyncExecutionThread::run(): asynchRun_RequestRSASyncExecutionThread.cpp(838): QFException: CCL_RETHROW: RSASyncExecutionThread::processCommand(): asynchRun_RequestExecution/RSRenderExecution.cpp(606): QFException: CCL_RETHROW: RSRenderExecution::executeAssembly/RSDocAssemblyDispatch.cpp(277): QFException: CCL_RETHROW:
 
Compared with Cognos 8.1 later versions are less permissive regarding the input of Cognos functions. You may have used input for the Cognos function that is no longer allowed in 8.4.1.
What is the datatype you are using _day_of_week against?

Ties Blom

 
Hi Thanks for your response.

I am using cognos 8.4.1 functions
_day_of_week(current_date,1)

thx

Sid
 
Just tested it on 8.4.1. and there is nothing wrong with your expression. Are you using this definition in another expression?

Ties Blom

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top