I want to use the internal DS functions "Convertweek" and "Week.tag" in a built-in function. I get the following error messages
Array 'ConvertWeek' never dimensioned.
Array 'WEEK.TAG' never dimensioned.
Do I need to declare these internal commands somewhere.
Thanks
Built-In Functions
Moderators: chulett, rschirm, roy
Raftsman,
you also should add the following code to your BASIC program:
This will include the standard DataStage function and routine calls. The two you are referring to are not included in this. You would need to add
to your program to call these functions.
you also should add the following code to your BASIC program:
Code: Select all
$IFNDEF JOBCONTROL.H
$INCLUDE DSINCLUDE JOBCONTROL.H
$ENDIF
Code: Select all
DEFFUN ConvertWeek(Arg1,Arg2) CALLING 'DSX.'CONVERT.WEEK'
DEFFUN WEEK.TAG(Arg1) CALLING 'DSX.WEEKTAG'
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: