Page 1 of 1

LinkCount In Datastage

Posted: Tue Apr 22, 2014 12:40 am
by A_SUSHMA
Hi All,

How to get link count(source, target, intermediate and reject) in data stage .

If possible please write link count routine or script and help me....

Thanks for your advance help....

Posted: Tue Apr 22, 2014 2:03 am
by prasson_ibm
Hi,

DSGetLinkInfo(hJob1,StageName,LinkName,DSJ.LINKROWCOUNT)

This will give you link count,you need to pass jobname,linkname and stagename.
You can either call this in after job subroutine or write a routine and call it.