Automic Workload Automation

 View Only
  • 1.  Read contents of a file on Unix server

    Posted Apr 09, 2021 01:34 PM
    Is there any inbuilt method of reading the contents of a file located on a unix server? Or can this be achieved using Automic scripting?

    ------------------------------
    Thanks,
    Kumar
    ------------------------------


  • 2.  RE: Read contents of a file on Unix server
    Best Answer

    Posted Apr 10, 2021 01:40 AM
    Hi Kumar,

    use the script function PREP_PROCESS_FILE for text files.

    regards,
    Peter

    ------------------------------
    Capture Europe
    ------------------------------



  • 3.  RE: Read contents of a file on Unix server

    Posted Apr 12, 2021 08:49 AM
    Hi Kumar

    What Peter says. Using that command you can read the whole text file or you can filter for specific contents.

    Here's a link: https://docs.automic.com/documentation/webhelp/english/AWA/11.2/AE/11.2/All%20Guides/Content/ucaafq.htm


  • 4.  RE: Read contents of a file on Unix server

    Posted Apr 13, 2021 04:22 AM
    But you should be aware that the whole content of the file will be loaded into the uc4 database (to find in the internal report of the generated prep_process-subjob). No problem on small files, but maybe not funny with a big file ;-)

    ------------------------------
    Administrator and Developer Jobautomation
    BNP Paribas S.A. Niederlassung Deutschland
    ------------------------------