Count of file
Moderators: chulett, rschirm, roy
Count of file
Hi
I need to get the count of the file and then send a mail if a file contains data. i tried using the execute command in the sequencer to find if the file has data. [ -s filename ] how to proceed further to send a mail??
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard.
Draw a link from the Execute Command activity to the Notification activity. On the Triggers tab of the Execute Command activity test the exit status of your command (the test command returns 0 or 1). This is available as an activity variable.
Draw a link from the Execute Command activity to the Notification activity. On the Triggers tab of the Execute Command activity test the exit status of your command (the test command returns 0 or 1). This is available as an activity variable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.