errpt in AIX

The below is my code

in general according to AIX books

To display a detailed report of all errors logged in the past 24 hours, enter:

 errpt  -a  -s mmddhhmmyy 

where the mmddhhmmyy string equals the current month, day, hour, minute, and year, minus 24 hours.

I have tried the same way by modifiying the code as

errpt -s `date +"%m%d0000%y"` |grep -i error

<Gives the output as per the errors occured in the day>

errpt -s `date +"%m%d%H00%y"` |grep -i error

What wil this out put give me? will it give me the errors happened in the hour?????

Please reply me.. because I dont have any output here on my screen....

You are not sitting in a test center, are you? :wink:

It shows the summary of error report entries from the actual day and the actual hour starting by 00 minutes where every line contains the case-insensitive string "error".

Ie. if you start it at 15:32 today you get all entries from 15:00.

'm sorry for the delay in reply,
As i dont get any output on my server 'm unable to consider it as output and asked you guys who know well about these outputs and way of wrtiting the scripts.

Will the

errpt -s `date +"%m%d%H00%y"` |grep -i error

gives the output of errors happened an hour back from the current hour? Kindly suggest me asm, looking for a script to be written.