Hi there ,
Please let me know the approach of header and trailer validation of unix file through sequence jobs .
we will be receiveing the file with header and trailer ,in the trailer it has a row count of the file .need to trigger the job if row count of the file matches with trailer count
Kiindly provide some logical approches .
Thanks in advance.
File validation
Moderators: chulett, rschirm, roy
Re: File validation
Just the trailer?
There are different ways to do it. You can do it as a routine, script level , Using DS Job etc.
Code: Select all
execute cmd activity (to get total rows) -->execute cmd activity (to get trailer count from file)-->UserVariable (compare)-->
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.