Hi,
We have a requirment to move the input file after the job is finished.
I wrote the mv command in after job subroutine and it works fine.
its moving the file if it finished ok or with warning , My query is if the job aborts still it will rename move the file or not.
Thanks
Aftrer Job Subroutine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Probably not. When a server job aborts it halts at that point.
You can make sure that the file is not moved either by checking the "only execute on successful completion" check box where you identify the after-job subroutine in job properties, or by testing for the interim status of the job within the after-job subroutine.
You can make sure that the file is not moved either by checking the "only execute on successful completion" check box where you identify the after-job subroutine in job properties, or by testing for the interim status of the job within the after-job subroutine.
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.