Hi All,
I have started working on routine , I was trying to debug few that are already available in my project. I understand what it is doing, but there were few statements that I have not understood and they are
1) Common /SDKStringDecode/ Initialized, ValueArray, LookupArray
2) Difference between Equate Lookup To Arg1 and Pos = 0
3) Why we use $INCLUDE DSINCLUDE JOBCONTROL.H, $INCLUDE UNIVERSE.INCLUDE ODBC.H
I have gone through the basic programming guide but could not understand what it is trying to explain. If anyone has any document which will help me to understand the routine please share with me.
Appreciate any help on this.
Regards
Manoj
Routine Statement not understood
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
COMMON declares that variables will be placed in memory accessible to more than one routine, or even to multiple calls to the same routine.
EQUATE is a compiler directive to load a variable effectively at compile time.
Assignment statements have their effect at run time.
You include any header file when you need its contents. For example, JOBCONTROL.H contains all the DataStage constants as well as DEFFUN declarations for the DataStage Routines and DataStage macros. ODBC.H contains various constants and DEFFUN declarations associated with the BCI (BASIC Call Interface) functions.
And these are all mentioned in the DataStage BASIC manual.
EQUATE is a compiler directive to load a variable effectively at compile time.
Assignment statements have their effect at run time.
You include any header file when you need its contents. For example, JOBCONTROL.H contains all the DataStage constants as well as DEFFUN declarations for the DataStage Routines and DataStage macros. ODBC.H contains various constants and DEFFUN declarations associated with the BCI (BASIC Call Interface) functions.
And these are all mentioned in the DataStage BASIC manual.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: