Page 1 of 1

Routine error - Array never dimensioned

Posted: Mon Jan 19, 2009 10:50 am
by bart12872
Hi,

I want to use the PreviousWeekdayFromDate function, but when I compile the routine I have the following error :
"Array 'PreviousWeekdayFromDate' never dimensioned"

Do you have any idea ?
Have i forgot an include in my routine ?

thanks,

Martin.

Posted: Mon Jan 19, 2009 10:55 am
by chulett
Sounds like you are trying to use a Parallel function in a Server BASIC routine... no can do, if that's the case.

Posted: Mon Jan 19, 2009 4:12 pm
by ray.wurlod
Fortunately it's easy to do in DataStage BASIC. Simply subtract 1 from the internal format date then apply a "DWA" conversion using Oconv().