Page 1 of 1

File Notification

Posted: Mon Nov 03, 2008 1:47 am
by senthilmp
Hi,
I am capturing the reject records in a file by using OUTPUTLINK.REJECTED, now what am trying to do is when the file (which holds rejected record) is not empty then a notification mail should be sent. and if the file in empty then the notification mail should nt be sent.

Pls help me out in doing this.

Thanks for you time,
Regards,
Senthil MP

Posted: Mon Nov 03, 2008 4:24 am
by hamzaqk
this is more or less the same

viewtopic.php?p=305786#305786

Posted: Mon Nov 03, 2008 7:56 am
by chulett
Right, an O/S command or a custom routine to check to see if a file is empty or not can be used, or a DSGetLinkInfo check for zero records could be done.