The copy of sysout on a Control-M job fails due to a permission denied error and the job log shows the following:   FAILED Cannot copy output of order ### run # to /path/location/file. Unable to resolve output destination

Version 7
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M/Agent for UNIX and Microsoft Windows


    COMPONENT:

    Control-M/Agent for UNIX and Microsoft Windows


    APPLIES TO:

    Control-M/Agent ; all versions



    PROBLEM:

    Example message from the AM log in the proclog directory of the Control-M/Agent

    13:34:01 3/14/2016    JOB LOG COPY TO /path/location/filename.txt FAILED Cannot copy output of order #### run # to /path/location/filename.txt.  Unable to resolve output destination from /path/location/filename.txt and CMD.LOG_######


    CAUSE:

    Sysout copy is done by the user that runs the Agent processes, not the job owner. The user running the Agent processes does not have permissions in the operating system to write to the chosen location in the job definition.


    SOLUTION:

    Consult the System Administrator and make sure that the copy location has write permissions for the user running the Agent processes.


    Article Number:

    000323157


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles