DSGetLinkInfo

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
amsh76
Charter Member
Charter Member
Posts: 118
Joined: Wed Mar 10, 2004 10:58 pm

DSGetLinkInfo

Post by amsh76 »

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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

-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:
  • 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.
Post Reply