Page 1 of 1
DSLinkRowcount
Posted: Thu Dec 20, 2007 5:07 am
by prematram
Hi,
What is the functionality of DSLinkRowcount...?
plz provide the equivalent of DSLinkRowcount macro in parallel..??
Posted: Thu Dec 20, 2007 3:06 pm
by ray.wurlod
What is the functionality of DSLinkRowcount...?
It reports the number of rows processed on a link. The macro is defined as DSGetLinkInfo(DSJ.ME,DSJ.ME,DSJ.ME,DSJ.LINKROWCOUNT)
plz provide the equivalent of DSLinkRowcount macro in parallel..??
There isn't one. You would normally use this macro/function in before/after subroutine, which is always a server routine even in a parallel job. If you need to get the link row count while a job is running (which is highly inefficient), use @INROWNUM or @OUTROWNUM system variables.
The correct spelling is "Please". Please use correct spelling on DSXchange. It aids those whose first language is not English.