I am trying to get the Input and Output Links from a job using the build-in function DSGetStageLinks(JobHandle, StageName, Key). While compling the routine, below errors have been returned.
Code:
LinkDtl = DSGetStageLinks(JobHandle, StageName, Key)
Errors:
',' unexpected, Was expecting: '!', ')', '=', "AND", "OR", "LT", "LE",
"GT", "GE", "NE", "EQ", "MATCH"
Array 'DSGetStageLinks' never dimensioned.
Please provide me inputs to resolve this issue.
Error while using DSGetStageLinks()
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 11
- Joined: Tue May 10, 2011 2:39 am
- Location: Bangalore
It has no idea what DSGetStageLinks is as it has never been defined in your routine. In order to define it, you need to include the "header" file that has that definition in it and all of its siblings. Add this line to the top of your routine:
$INCLUDE DSINCLUDE JOBCONTROL.H
$INCLUDE DSINCLUDE JOBCONTROL.H
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers