We are working on Ds 7.5.1.
we have one job.Let me explain that.
The source is xl sheet.so we are using unix script (that includes java script) which will convert xl to csv format.
we are calling the script in before subroutine.
This is followed by one job which will populate the data to a table.
We have one minor issue.sometimes while converting xl to csv we have 0 bytes in the source file.so no data is populated to the table.
![Shocked :shock:](./images/smilies/icon_eek.gif)
We are interested to do the following...
If there is no data in the file then the job has to be stopped at the stage itself or it should get aborted so that we can send an email notification.
The unix script will send a mail if there is no data but it wont stop our job.
Is there anyway that our script can abort the job itself.
Or can we do that in routines?
Any suggestions will be helpful to us.
Many thanks in advance.