Hi,
I have below seq Job design
JobActivity -> User variable activity -> cond Check -> notification
I need to send mail if there is any reject
In user variable i am using below function
Result = DSGetLinkInfo (JobHandle, StageName, LinkName, InfoType)
DSGetLinkInfo (Job_StdRrcWklySplit.$JobName, 'Tfm_RecType', 'Lnk_WrongData', DSJ.LINKROWCOUNT)
and getting value in a variable 'rejcnt', but its giving me compilation error.
Please help how to use this function.
Need Link Count
Moderators: chulett, rschirm, roy
Need Link Count
Thanks,
Akarsh Kapoor
Akarsh Kapoor
Posting your actual compilation error would be quite helpful.
In addition, you need to allocate your "JobHandle" variable with a call to DSAttachJob(), and the first parameter to cour DSGetLinkInfo() call needs to be the JobHandle.
In addition, you need to allocate your "JobHandle" variable with a call to DSAttachJob(), and the first parameter to cour DSGetLinkInfo() call needs to be the JobHandle.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
DSGetLinkInfo() takes a job handle, not a job name, as its first argument.
Therefore you probably need a routine activity rather than a user variables activity.
Therefore you probably need a routine activity rather than a user variables activity.
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.