Automic Workload Automation

  • 1.  How to do error handle while executing commands through "PREP_PROCESS"?

    Posted May 04, 2017 08:16 AM
    Hello,

    I have created a script object and executing few commands through "PREP_PROCESS".
    Since many of my commands returns other than 0, am getting below error. How to handle this and prevent from exiting?

    5/4/2017 12:12:28 PM
    U00010038 Runtime error: Could not create data sequence 'FILETRANSFER'. Status: '0000001820', return code: '0000000000'.
    5/4/2017 12:12:28 PM
    U00029003 Cannot open file '/home/karthik/EAACHQMT.TXT(ReadFileAuthority())', error code '2', error description: 'No such file or directory'.
    5/4/2017 12:12:28 PM
    U00011000 'REPORT' (RunID: '0001048132') could not be started on 'MYAGENT'. See next message.
    5/4/2017 12:12:28 PM
    U00011003 Job 'EVENT.UNIXCMD' (RunID '0001047255') on Host 'MYAGENT' aborted (return code='0000000255'). Remote ID=20120




  • 2.  How to do error handle while executing commands through "PREP_PROCESS"?



  • 3.  How to do error handle while executing commands through "PREP_PROCESS"?

    Posted May 05, 2017 03:17 AM
    As far as I know Automic is unwilling changing it.......


    :( Unfortunately I don't have Automic Support Account.
    I have to find some other way.


  • 4.  How to do error handle while executing commands through "PREP_PROCESS"?

    Posted May 05, 2017 03:38 AM
    @karthikeayan

    as mentioned in my post you can change
    the line
    ##UC4[bash]    rm &home#&uc_eventfile

    to
    ##UC4[bash]    cat /dev/null > &home#&uc_eventfile

    in EVENT.UNIXCMD in your client or in clt 0 for the whole system

    and prep_process will work