Automic Workload Automation

 View Only

Can't get output scan to work

  • 1.  Can't get output scan to work

    Posted Dec 23, 2020 10:49 AM

    This question refers to Automic Workload Automation Suite Application Manager v9.3.2

    I'm not 100% sure this is the correct community to post this question.

    I have created a bash shell program call aatest , defined it in appl mngr, and defined it to use output scan   ORACLE_TEST 

    The bash shell program  generates an output file called   /home/cmills/tmp/rpt.txt

    The last line of rpt.txt  contains    ORA-   for testing purposes, and one of the last commands in the bash shell program is :

    $AW_HOME/exec/FILESIZE     /home/cmills/tmp/rpt.txt   10

    The output scan ORACLE_TEST searches for text  :  ORA    uses  "Other Output" and has an action of Fail. 

    When I run the bash program via appl mngr, and view the output files the rpt.txt is listed, and the full file path is displayed

    I cannot get the scan to find ORA and abort the program. I have tried as many different options as possible. Different values for  the err value passed to FILESIZE.

    and different "Files" to search defined in the SCAN. 

    Ideas ?  Thanks.