Automic Workload Automation

 View Only
  • 1.  save the SQL query result in a VARA object

    Posted Feb 06, 2023 04:59 AM
    Hi Community,

    Can we save the queried data to a VARA so that I can use it processing options of JDE job?

    Thanks,
    Shravan Shetty


  • 2.  RE: save the SQL query result in a VARA object

    Posted Feb 06, 2023 09:41 AM
    Hi Shravan,

    yes this is possible. You have to process the result set line by line and store it in a VARA object.

    regards,
    Peter

    ------------------------------
    Automic Certified Professional & Expert & Knight

    For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
    ------------------------------



  • 3.  RE: save the SQL query result in a VARA object

    Posted Feb 20, 2023 02:56 PM

    Hi Peter,

    the query gives multiple line of results. what will be stored in the VARA object?

    because I need the first column data to be passed to a JDE job.

    Regards,

    Shravan Shetty




  • 4.  RE: save the SQL query result in a VARA object

    Broadcom Employee
    Posted Feb 21, 2023 02:27 AM

    Hi,

    you actually decide what to store in the VARA. Just run a PUT_VAR command for every line/value you would like to store in a loop.

    Regards, Markus