Hi
we are written sleepfunction in unix like sleep 60..
we are calling that function into datsatge by using Afterjobsubroutinue
Exesh filename....
But it's giving error...sleep10.sh: cannot execute
like this we got errors...
++++++++++++++++++++++++
Our requirement is we need to set pause time is 1 mint between jobs.
+++++++++++++++++++++++++++++++++
please help on this
Regards
srini.
how to execute unix sleep function in datastage
Moderators: chulett, rschirm, roy
srini,
It looks like you have specified the call incorrectly, which routine and parameters have you used?...But it's giving error...sleep10.sh: cannot execute...
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
If all you are looking to do is pause for 60 seconds, the after job sub-routine command simply needs to be:
i.e. there is no need to write your own shell script wrapper to the sleep command. Invoke sleep directly.
David.
Code: Select all
sleep 60
David.
(Previously known as D)
Be alturistic and donate your spare CPU cycles to research. http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1
Be alturistic and donate your spare CPU cycles to research. http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1