Automic Workload Automation

 View Only
  • 1.  Difference in job report format

    Posted 16 days ago
    Dear All,

    Below are end reports from two command jobs. Both are from same agent on Windows. Why do they have  slightly different formats?

    JOB 1:

    Program 'UC4 Job Messenger' version '21.0.1+build.42' started
    UCMDJP: *********************************************************************
    UCMDJP: ** JOB 0001078291 (ProcID:0000004992) ENDED AT 11.01.2022/12:45:28 **
    UCMDJP: ** --------------------------------------------------------------- **
    UCMDJP: ** USED: 0.000 CPU **
    UCMDJP: *********************************************************************
    Program 'UC4 Job Messenger' version '21.0.1+build.42' terminated normally
    Disconnected from '127.0.0.1:2300' (socket handle = '220').

    JOB 2:

    The command completed successfully.


    c:\>D:\Automic\Agents\Windows\bin\UCXJWX6M.EXE JNR=0001078289 MNR=0300 PNR=2300 IPA=192.168.50.40 TYP=E RET=00000000 TXT=" Job ended" LOCAL=1
    Program 'UC4 Job Messenger' version '21.0.1+build.42' started
    UCMDJP: *********************************************************************
    UCMDJP: ** JOB 0001078289 (ProcID:0000003520) ENDED AT 11.01.2022/12:45:27 **
    UCMDJP: ** --------------------------------------------------------------- **
    UCMDJP: ** USED: 0.000 CPU **
    UCMDJP: *********************************************************************
    Program 'UC4 Job Messenger' version '21.0.1+build.42' terminated normally
    Disconnected from '127.0.0.1:2300' (socket handle = '220').

    c:\>GOTO JOBENDE


  • 2.  RE: Difference in job report format

    Posted 15 days ago
    Just guessing here, but I suspect this is as windows agent, and one of the jobs is issuing an 'echo off' DOS command and the other one isn't.

    ------------------------------
    Pete Wirfs
    SAIF Corporation
    Salem Oregon USA
    ------------------------------



  • 3.  RE: Difference in job report format

    Posted 15 days ago
    Spot-on Pete!

    JOB1 had 'echo off' at the start. We add 'echo on' at the end and got the desired output.

    Thanks
    Pothen


  • 4.  RE: Difference in job report format

    Broadcom Employee
    Posted 15 days ago

    Looks for me more like if the one job uses "@echo on" and another one not.

    You can try to place there "@echo off" ... 




  • 5.  RE: Difference in job report format

    Posted 15 days ago
    If you wanted to force "@echo on" for all of your WINDOWS operations, you could add a new include under client-0 called TRAILER.WINDOWS.USER.END to do so.   It is executed from TRAILER.WINDOWS, which is responsible for executing the "ENDED" report utility.

    ------------------------------
    Pete Wirfs
    SAIF Corporation
    Salem Oregon USA
    ------------------------------