cancel
Showing results for 
Search instead for 
Did you mean: 

Sqlscript: How can to check for nan?

markus_kohler3
Advisor
Advisor
0 Kudos

Hello community,

I'm executing a PAL forecast procedure (AFL) which gives a result table. Depending on the input data, the PAL forecast algorithm fails leading to -nan in the result table.

How can I check the result table for -nan? It dumps if I do a simple select:

Could not execute 'SELECT * FROM PAL_FORECASTSLR_RESULT_TBL' in 3 ms 300 µs .

[314]: numeric overflow: the value -nan cannot be acceptable

The source code to reproduce the error is attached!

Thanks

Markus

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

I am also facing the Same Error, if any one knows the solution please share here

Regards,

HarikrishnanS

markus_kohler3
Advisor
Advisor
0 Kudos

In my coding example the NaN was created by a bug in the used PAL procedure; the bug was fixed with PAL Rev 102.03 as well as SPS11.

Regards

Markus