Hello,
I am building a routine in which I want to use the YearFromDate function.
When compiling this routine I get the following message:
Array 'YearFromDate' never dimensioned.
I have the impression that I have to include ($INCLUDE) something to make this function available in this routine. If so, I don't know what to include and is there an overview of 'libraries' to include with its contens?
Kind regards,
Jan
Calling Date functions in a routune
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It's DEFFUN that's really needed.
If the appropriate DEFFUN declaration exists in a header file then you can $INCLUDE that header file.
Read about DEFFUN and $INCLUDE In the DataStage BASIC manual or in on-line help.
If the appropriate DEFFUN declaration exists in a header file then you can $INCLUDE that header file.
Read about DEFFUN and $INCLUDE In the DataStage BASIC manual or in on-line help.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.