Hi All,
In a server job, I am loading a sequential file into oracle table. In that job i am also using after job subroutine which is calling a unix script but i want that subroutine to run only if that job is successfully finished.
Please let me know how to achieve that.
Calling After job subroutine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 74
- Joined: Thu Jan 05, 2006 2:07 am
Calling After job subroutine
Thanks,
Sourabh Verma
Sourabh Verma
-
- Premium Member
- Posts: 1255
- Joined: Wed Feb 02, 2005 11:54 am
- Location: United States of America
You can build a job sequence as below:
Run your routine activity with appropriate trigger to the Job_Activity.
Whale.
Code: Select all
Job_Activity(Your current job) -------> Routine_Activity
Whale.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
What is the version of Datastage you are using? Enable the check box, that available in JobProperties.
Code: Select all
Only run after-job subroutine on successful job completion.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
-
- Premium Member
- Posts: 1255
- Joined: Wed Feb 02, 2005 11:54 am
- Location: United States of America
Hmmm.....Good one. I missed that. Thanks !kumar_s wrote:What is the version of Datastage you are using? Enable the check box,that available in JobProperties.Code: Select all
Only run after-job subroutine on successful job completion.
Whale.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
-
- Participant
- Posts: 74
- Joined: Thu Jan 05, 2006 2:07 am