Page 1 of 1

Compilation issue while using MONTH.LAST transform function

Posted: Fri Jan 30, 2009 6:26 am
by sumesh.abraham
Hi,

I've to implement a leap year check for a data field. I use the MONTH.LAST transform function in a routine. When I compile the routine, I get the compilation error as
Array 'MONTH.LAST' never dimensioned.

1 Errors detected, No Object Code Produced.
What is the cause? I did a search in the forum, but couldn't find any solution. Appreciate your help.

Thanks.

Posted: Fri Jan 30, 2009 2:37 pm
by ray.wurlod
You can not call Transforms from Routines. You must mimic their definition expression instead.