bengalliboy
MIS
Hi,
I got a report dir and under that I got different sub folder. The sub folders have diferent reports and all the report files have a return code value (0--10, 0 stands for no error). What I want to do is to scan all reports and count the error code by sub dir and finally display or email me the stat.
What would be the best way to go about this? Any sample code is appreciated. Thanks a lot!
Plz note I am using AIX and Kshell.
I got a report dir and under that I got different sub folder. The sub folders have diferent reports and all the report files have a return code value (0--10, 0 stands for no error). What I want to do is to scan all reports and count the error code by sub dir and finally display or email me the stat.
What would be the best way to go about this? Any sample code is appreciated. Thanks a lot!
Plz note I am using AIX and Kshell.