hi,
there as so many links/samples about DSLogWarn. but i could not find any how/where to enter the code?
it seems like it can only be done on a server job? what of with parallel?
i have a lookup that is set to "Reject", but i want to write a custom warning message in the log as well.
TIA
How to use DSLogWarn
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You can also interrogate the link row count(s) in an after-job subroutine.
You might also consider directing rows on the reject link into an Exceptions Stage and use the exceptions mechanism, eventually using a dsjob command to write the entry into the job log. This is not simple, but is do-able.
You might also consider directing rows on the reject link into an Exceptions Stage and use the exceptions mechanism, eventually using a dsjob command to write the entry into the job log. This is not simple, but is do-able.
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.