Automic Workload Automation

  • 1.  Can you edit the command line of a job in ProcMon

    Posted Nov 27, 2018 12:02 PM

    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?

     

    Thank you,

    Russell



  • 2.  Re: Can you edit the command line of a job in ProcMon

    Posted Nov 27, 2018 01:49 PM

    hi

     

    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.

     

    cheers, Wolfgang



  • 3.  Re: Can you edit the command line of a job in ProcMon

    Posted Nov 29, 2018 09:20 AM

    Also good opportunity to get the script into the Job definition and uses the :RESTART function.

     

    But this is more political than technical ....