PREP_PROCESS_REPORT function not working in file transfer object

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 

Comments

  • Alexander TrenkerAlexander Trenker Team Automic Posts: 270 Specialist ✭✭✭✭
    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
  • zafarzafar Posts: 31 Explorer ✭✭
    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.



    Regards, Zafar
  • Alexander TrenkerAlexander Trenker Team Automic Posts: 270 Specialist ✭✭✭✭
    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*")
  • zafarzafar Posts: 31 Explorer ✭✭
    Not sure if  I am missing something simple, replacing JOBS with JOBF made no difference.
  • Wolfgang BruecklerWolfgang Brueckler Developer LV3 EXAutomicPosts: 1,359 Innovator ✭✭✭✭✭✭
    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....
    Wolfgang Brückler
    Developer Lv. 3
    AE 11.2/ORA11G/Linux
  • zafarzafar Posts: 31 Explorer ✭✭
    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
  • karthikeayankarthikeayan Posts: 64 Explorer ✭✭
    @Wolfgang Brueckler, I am in 12.0.2, facing the same issue. Any workaround without installing the service pack?
  • Wolfgang BruecklerWolfgang Brueckler Developer LV3 EXAutomicPosts: 1,359 Innovator ✭✭✭✭✭✭
    @karthikeayan
    Here would be Automic the right address...
    possibly @Alexander Trenker knows one?
    Wolfgang Brückler
    Developer Lv. 3
    AE 11.2/ORA11G/Linux
  • Alexander TrenkerAlexander Trenker Team Automic Posts: 270 Specialist ✭✭✭✭
    There is no workaround for this problem. The solution is to update the Automation Engine as well as the db. Sorry for that.
Sign In or Register to comment.