Hi,
What is the functionality of DSLinkRowcount...?
plz provide the equivalent of DSLinkRowcount macro in parallel..??
DSLinkRowcount
Moderators: chulett, rschirm, roy
DSLinkRowcount
Prem R.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
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.
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.