Hello,
I am using DSGetLinkInfo routine to get link info of my job, but somehow i am getting -1 in the read count. Does anyone know y is that ?
I have a job in which I m calling this routine to find link info for another job. in this routine i m passing the job name plus the other info.
Thanks
DSGetLinkInfo
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-1 is the error code DSJE.BADHANDLE
It means that the first argument you've given to DSGetLinkInfo is not a valid job handle.
The only means for generating a valid job handle are:
It means that the first argument you've given to DSGetLinkInfo is not a valid job handle.
The only means for generating a valid job handle are:
- using the DSJ.ME constant
using the DSAttachJob function
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.