Automic Workload Automation

  • 1.  How to set tabs or space in Script

    Posted May 09, 2016 10:37 AM
    Hi,
    I'm using a Script to put a table together of all Jobs in a certain State.
    I'm using PREP_PROCESS_VARA to return the list of Jobs into my script.

    I know that I can use the following to generate a new line in my output
    :SET &nl# = UC_CRLF()

    I can't find a corresponding function to insert a Space or preferably a Tab.

    Anyone out there know?

    Thanks,
    John.



  • 2.  How to set tabs or space in Script

    Posted May 09, 2016 12:43 PM
    There is a similar discussion here;

    https://community.automic.com/discussion/6337/using-special-characters-like-tab-in-uc4-scripts

    I have not been able to use a tab character inside of UC4.    I have a script that reads and parses a tab delimited CSV file though.  The prep_process_file() function supports a DELIMITER=<TAB> option.


  • 3.  How to set tabs or space in Script

    Posted May 09, 2016 01:05 PM
    Based upon the similar discussion I linked to above, I was able to get a tab special character into a static variable by creating one in a notepad file and writing a script to read it from the notepad file and do a put_var into the variable.  Then the tab character is fairly easy to re-use. 

    However when you export the static variable it loses the tab character.  So it will have to be re-built for each client.





  • 4.  How to set tabs or space in Script

    Posted May 13, 2016 04:35 AM
    Great, thanks all...