I have after-job routine that works fine when I hard code the link name in the DSgetLinkInfo function. But when I am using the InputArg to pass the link name, I am getting -9 error.
Can anyone please help how I can fix this?
Thanks.
DSGetLinkInfo
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
From DSINCLUDE/JOBCONTROL.H
Are you certain that the value passed from the Input Values field (to the InputArg argument) is correctly spelled and correctly cased?
Even in your post you've been careless with case (DSgetLinkInfo, with a small "g", would not work). So this may also have been what happened in your job design.
Code: Select all
Equ DSJE.BADLINK To -9 ;* LinkName does not refer to a known link of the stage
Even in your post you've been careless with case (DSgetLinkInfo, with a small "g", would not work). So this may also have been what happened in your job design.
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.
Thankyou, Ray.
Thank you so much for your comment. I sure will put extra care to avoid the obvious errors. In fact, as you said it was bad link name I was passing.ray.wurlod wrote:From DSINCLUDE/JOBCONTROL.HAre you certain that the value passed from the Input Values field (to the InputArg argument) is correctly spelled and correctly cased?Code: Select all
Equ DSJE.BADLINK To -9 ;* LinkName does not refer to a known link of the stage
Even in your post you've been careless with case (DSgetLinkInfo, with a small "g", would not work). So this may also have been what happened in your job design.