Automic Workload Automation

 View Only
  • 1.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Oct 12, 2017 12:19 PM
    Hello All,
    For some reason I am unable to get PREP_PROCESS_REPORT function to work in  Post Process tab of a  file transfer object, same script works fine when used in a Win Job.  Is this a known issue?

    Automic version used is 12.0.1.GA01-353

    Regards, Zafar 


  • 2.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Oct 12, 2017 07:43 PM
    Hi @zafar ,

    Can you explain a little bit more detailed what does not work.
    These are the known issues with PREP_PROCESS_REPORT in version 12:

    PREP_PROCESS_REPORT can not find lines because they are truncated. (AE-13570)PRB00134881
    A problem has been fixed where PREP_PROCESS_REPORT could not find lines because they were truncated to 255 characters.
    Components:
    AutomationEngine
    db
    Fixed Versions:
    Automation.Engine 12.1.0
    Automation.Engine 12.0.4
    Automation.Engine 12.0.3 HF1
    Automation.Engine 11.2.6

     
    PREP_PROCESS_REPORT does not work with trailing blanks 
    An error has been fixed where PREP_PROCESS_REPORT did not work with trailing blanks, if used as a filter without wildcard character at the end. Now trailing blanks are handled correct.

    Important Note: Report-lines without trailing blanks are not found any more, if the filter string contains a trailing blank.
    Components:
    AutomationEngine
    Fixed Versions:
    Automation.Engine 12.1.0
    Automation.Engine 12.0.2
    Automation.Engine 11.2.5


  • 3.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Oct 16, 2017 09:32 AM
    Hi Alexander,

    Thanks for the reply. The issue is script in post-process tab of a File Transfer job won't execute, as you can see in 
    attached image post processing(pos) report is missing.

    Exact same script works in Win Job.

    9h0ucb9re99a.pnghttps://us.v-cdn.net/5019921/uploads/editor/4l/9h0ucb9re99a.png" width="1256">

    Regards, Zafar


  • 4.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Oct 16, 2017 12:55 PM
    In this case you have to change the JOBS to JOBF, like shown below:

    :SET &HND# = PREP_PROCESS_REPORT("JOBF",, "REP", "*/opt/automic/files2/bin/ucybdbun.ori.ini*")


  • 5.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Oct 17, 2017 09:25 AM
    Not sure if  I am missing something simple, replacing JOBS with JOBF made no difference.


  • 6.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Oct 18, 2017 04:06 AM
    Thats the evidence that you are falling into the bug Alexander mentioned above.

    I am on 12.0.3 - just for fun I rebuilt you prep_process_report script and everything worked fine.

    => I am afraid you have to install the service pack....


  • 7.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Oct 18, 2017 08:08 AM
    Thanks Wolfgang, 
    I too feel it's a bug as I tested on 2 different instances of same version with same result.

    I will install Service Pack.

    Zafar


  • 8.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Nov 08, 2017 07:26 AM
    FrankMuffke, I am in 12.0.2, facing the same issue. Any workaround without installing the service pack?


  • 9.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Nov 08, 2017 07:46 AM
    @karthikeayan
    Here would be Automic the right address...
    possibly Alexander_Trenker_120 knows one?


  • 10.  PREP_PROCESS_REPORT function not working in file transfer object

    Posted Nov 09, 2017 11:14 PM
    There is no workaround for this problem. The solution is to update the Automation Engine as well as the db. Sorry for that.