Automic Workload Automation

 View Only
  • 1.  Could you please share Unix command for checking version of FTP Agent, Unix Agent, OEBS Agent ...

    Posted Jan 17, 2017 08:41 AM
    The easiest way to find out which version an object has is to query the database:

    select oh.oh_name, host.*
    from host left join oh on oh_idnr = host_oh_idnr
    where host_oh_idnr > 100000;

    http://docs.automic.com/documentation/AE/10.0/english/AE_DB_TABLES/tables/HOST.html
    http://docs.automic.com/documentation/AE/10.0/english/AE_DB_TABLES/tables/OH.html

    If you need more details or specific format or something like that please go in contact with the professional service department.
    They are able to develop a script (e.g. Java, Unix, Automic Engine Script).


  • 2.  Could you please share Unix command for checking version of FTP Agent, Unix Agent, OEBS Agent ...

    Posted Jan 17, 2017 09:37 AM
    Hi,

    The AE agent does not have any command to output the version. However, you can obtain the version from the agent log by using some UNIX/Linux commands.  I strongly suggest to use the latest log file of your agent. For example:

    grep "Started program" ucxjxxx_l00.txt|cut -d',' -f2

    Result:
    version '11.2.2+build.622'



    Thanks
    Bobby



  • 3.  Could you please share Unix command for checking version of FTP Agent, Unix Agent, OEBS Agent ...

    Posted Jan 17, 2017 10:05 AM
    If you want just a quick AE script and no access to the OS the agent is running on you can use following AE Script:

    :SET &AGENT# = "V112_WIN02"
    !
    :SET &HOST_VERSION# = GET_VAR('UC_EX_VERSION',&AGENT#)
    :SET &HOST_IP# = GET_VAR('UC_EX_IP_ADDR',&AGENT#)
    :SET &HOST_BIN# = GET_VAR('UC_EX_PATH_BIN ',&AGENT#)
    :SET &HOST_JCLVAR# = GET_VAR('UC_HOST_JCL_VAR',&AGENT#)
    :SET &HOST_SW# = GET_VAR('UC_HOST_SW ',&AGENT#)
    :SET &HOST_SW_VERS# = GET_VAR('UC_HOST_SW_VERS',&AGENT#)
    !
    :P "----------------------------------------------"
    :P "- HOSTINFO &AGENT#"
    :P "- OS TYPE: &HOST_JCLVAR#"
    :P "- HOST Version: &HOST_VERSION#"
    :P "- IP Address: &HOST_IP#"
    :P "- HOST SW: &HOST_SW#"
    :P "- SW Version: &HOST_SW_VERS#"
    :P "----------------------------------------------"

    For all possible values see here:

    DOCU:
    https://docs.automic.com/documentation/webhelp/english/ALL/components/AE/11/All%20Guides/help.htm#ucabkq.htm?Highlight=agent%20variables




  • 4.  Could you please share Unix command for checking version of FTP Agent, Unix Agent, OEBS Agent ...

    Posted Jan 19, 2017 09:52 AM
    One more idea, after creating a script that I suggested above, you can create ab Alias(on Unix) which points to the script. Then, you can use the alias as a command ;)



  • 5.  Could you please share Unix command for checking version of FTP Agent, Unix Agent, OEBS Agent ...