Automic Workload Automation

 View Only
  • 1.  How to read the Report from an Agent in SCRI

    Posted May 29, 2018 10:27 AM

    Hi,

     

    with PREP_PROCESS_REPORT i can read the Report from an Object. Great !

    I want to do this with Agents.

    How can I ?

    I searched in the Help and here in the forum but there is nothing compare to PREP_PROCESS_REPORT

     

    Thank you



  • 2.  Re: How to read the Report from an Agent in SCRI

    Broadcom Employee
    Posted Jun 13, 2018 09:49 AM

    Hi Hartmann,

     

    Could you tell the exact product name of the job scheduling manager?  Then the right group of people will help you on your questions.

     

    Thank you,

     

    Lucy



  • 3.  Re: How to read the Report from an Agent in SCRI

    Posted Jun 18, 2018 04:04 AM

    Hallo Lucy,

     

    well, i am not sure if i understand your question correctly.

    I use Automic Workload Engine 11.2.1 (ONE Automation 2015)

     

    Thank you,

     

    Thomas



  • 4.  Re: How to read the Report from an Agent in SCRI

    Broadcom Employee
    Posted Jun 18, 2018 08:33 AM

    Hi Thomas,

     

    The community link for Automic is as below:

    CA Automic Community 

     

    Please post your question there in the future. I will ask our admin to move your question this time.

     

    Thank you,

     

    Lucy



  • 5.  Re: How to read the Report from an Agent in SCRI

    Posted Jun 18, 2018 08:38 AM

    Hello Lucy,

     

    oh ok - now i get why you asked that. Sorry - my mistake

     

    Thank you,

     

    Thomas



  • 6.  Re: How to read the Report from an Agent in SCRI
    Best Answer

    Posted Jun 19, 2018 04:19 AM

    Hi Thomas

     

    in theory its simple, you could use PREP_PROCESS_REPORT as well to obtain Agent info via the Run ID of the agent object.

     

    BUT - trying this you will end up with message:

    U00020937 Runtime error in object 'SCRI.PREP_PROCESS_REPORT', line '00003'. It is not valid to access a report within a different client with PREP_PROCESS_REPORT.

     

    Plan B fails (starting the script in CLT0) because you can't start any object in client0.

     

    So plan C would be parsing the agent logfile with prep_process_file....

     

    BTW. what info do you want to fnd in the agent logfile?

     

    cheers, Wolfgang



  • 7.  Re: How to read the Report from an Agent in SCRI

    Posted Jun 19, 2018 05:13 AM

    Hi Wolfgang,

     

    thank you for the answer

     

    Well, my goal is to read Infos like ie. 'ft_temp_file_ifs='

    i could read the INI File with PREP_PROCESS_FILE but maybe i need some other infos from the Report.

    The Report is a great summary of many Infos - not just the INI File.

     

    I haven´t found a RunID like you did within your 'SCRI.PREP_PROCESS_REPORT'

    i am reading the Agent Report not in the CLT0.

     

    i thought there should be a way when i can do this with the GUI (AWI) / my mouse in a SCRI Object.

     

    But maybe not



  • 8.  Re: How to read the Report from an Agent in SCRI

    Posted Jun 19, 2018 05:20 AM

    Hi

     

    you're welcome :-)

     

    The Agent's runid is a bit hidden either you grab in the DB via SQL or you look in the report Windows - at the Window header (Report: [Agent Name] : (RUNID)

     

    One Breadcrumb that could help you are Agent Variables - some of them should be helpful for you

    Automic 

     

    cheers, Wolfgang



  • 9.  Re: How to read the Report from an Agent in SCRI

    Posted Jun 19, 2018 07:20 AM

    Hallo Wolfgang,

     

    ok - thank you for your help

    I cannot find the RunID in my Report Windows - either AIX nor Windows Server Reports does tell their RunID.

    But even if i would have found it - i would receive your Error Message.

     

    Thank you

     

    Greets - Thomas



  • 10.  Re: How to read the Report from an Agent in SCRI

    Posted Jun 20, 2018 02:52 AM

    Buenos Morgos,

     

    Java UI - System Overview - Automation Engine (or Agents)  - right-click on any Server Process (or Agent) - Report -

    The Blue Headline says: B007 - Report [SYSTEMname#WP00X(HEREISYOURRUNID)]

     

    If you want an older Runid Report - open Statistics - right-click on any Server Process (or Agent) - Report -

    The Blue Headline says: B007 - Report [SYSTEMname#WP00X(HEREISYOURRUNID)]

     

     

    cheers, Wolfgang