Routine error - Array never dimensioned

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
bart12872
Participant
Posts: 82
Joined: Fri Jan 19, 2007 5:38 pm

Routine error - Array never dimensioned

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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().
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply