We have multi-step Unix scripts that run in our environment. Our jobs call the scripts from the command line with an option of "1".
Ex: /fully/qualified/path/script.sh 1
The "1" tells the script what step to start in. If a job fails in step 3, when we are ready for to restart, we open the job object from within Process Monitor and update the option from "1" to "3" and then RESTART the job.
This action not only updates the job object in Process Monitor but also the job object in the DB. Consequently, if we forget to change the command line back to "1" in the DB, the next time our job runs it will start in step "3" instead of "1".
Is there a way to edit/update the command line of the job in Process Monitor only?
this would be a good purpose for a PRPT object for your job.
if the job fails your OPS guys can restart it and change the value via promptset.
Also good opportunity to get the script into the Job definition and uses the :RESTART function.
But this is more political than technical ....