![Question :?:](./images/smilies/icon_question.gif)
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
Please advise.
Moderators: chulett, rschirm, roy
I am not a premium member, so I don't know if you already provided the solution or not...sometimes I wish I was a premium member. :-(ray.wurlod wrote:Yes, that seems like a reasonable requirement.
What do you get out of DataStage when there ARE records in the file? How are you calculating this?
Think about how any calculation could be performed ...
Are you doing your counting in an Aggregator stage or outside of DataStage? Can you use an operating system command (you should have MKS installed) like 'wc -l' ?datastagenewbie wrote:I have a situation where i count the records in a file and when the file is empty I need the count to be zero. But In DataStage it is not outputting anything.
![]()
Please advise.