i need to restart a job by from same job itself only if it abends...
After someone has performed some diagnosis to determine how to correct the abend. And possibly after restore/recovery actions are taken. And possibly after any restart situations are resolved.
i would trigger a program which could submit the job again without
any human intervention by reading the log of the job what kind of abend it is..
What would cause this program to be triggered?
I believe the entire requirement needs to be completely thought through before technical implementation would begin.
At this point i am not clear on exactly how your process would operate. If you explain in some more detail, we may be able to offere suggestions.