<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Beginner: How do I execute a VIYA job from VA and return the results in a reusable way? in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Beginner-How-do-I-execute-a-VIYA-job-from-VA-and-return-the/m-p/973520#M18858</link>
    <description>&lt;P&gt;I'm just starting my VA/VIYA journey, and trying to find a way to have the kind of functionality you get natively in VA, with selection boxes and dropdowns and so on, but being able to generate traditional SAS graphics.&lt;/P&gt;
&lt;P&gt;I realise there are ways to use javascript and other external graphics engines, but for now i want to stick with SAS!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have followed the example given here: &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/jobexecug/n0t91q5lsc2b8qn14fd0cgbmylr8.htm#n1tdmavia5iogkn1eiu2hvmcqmni" target="_self"&gt;ODS Output with Embedded Graphics&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And have an output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if I want to run it again (in this example it would be to change the colours, but ultimately i would be passing new parameters to an SGPLOT or a macro) I have to go to the "Set job parameters" menu item&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nevla_0-1756393989467.png" style="width: 185px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/109364iE88D3D8A88D5BAF2/image-dimensions/185x153?v=v2" width="185" height="153" role="button" title="nevla_0-1756393989467.png" alt="nevla_0-1756393989467.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question:&lt;STRONG&gt; Is there a way to have the parameters HTML visible at all times, possibly even in another window, and have a "submit" button that would then update the ODS output?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Sort of like a budget version of the VA sliders/radio/dropdowns, but that can control an ODS output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have seen an example from using a Kaplan Meier curve that could be manipulated with parameters, but I just want to get a really simple example working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Everything I've read so far talks about Javascript and XML, but I have the data already in CASLIBS and want to just use subsets of data with some ODS SG procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Aug 2025 15:17:53 GMT</pubDate>
    <dc:creator>nevla</dc:creator>
    <dc:date>2025-08-28T15:17:53Z</dc:date>
    <item>
      <title>Beginner: How do I execute a VIYA job from VA and return the results in a reusable way?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Beginner-How-do-I-execute-a-VIYA-job-from-VA-and-return-the/m-p/973520#M18858</link>
      <description>&lt;P&gt;I'm just starting my VA/VIYA journey, and trying to find a way to have the kind of functionality you get natively in VA, with selection boxes and dropdowns and so on, but being able to generate traditional SAS graphics.&lt;/P&gt;
&lt;P&gt;I realise there are ways to use javascript and other external graphics engines, but for now i want to stick with SAS!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have followed the example given here: &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/jobexecug/n0t91q5lsc2b8qn14fd0cgbmylr8.htm#n1tdmavia5iogkn1eiu2hvmcqmni" target="_self"&gt;ODS Output with Embedded Graphics&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And have an output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if I want to run it again (in this example it would be to change the colours, but ultimately i would be passing new parameters to an SGPLOT or a macro) I have to go to the "Set job parameters" menu item&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nevla_0-1756393989467.png" style="width: 185px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/109364iE88D3D8A88D5BAF2/image-dimensions/185x153?v=v2" width="185" height="153" role="button" title="nevla_0-1756393989467.png" alt="nevla_0-1756393989467.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question:&lt;STRONG&gt; Is there a way to have the parameters HTML visible at all times, possibly even in another window, and have a "submit" button that would then update the ODS output?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Sort of like a budget version of the VA sliders/radio/dropdowns, but that can control an ODS output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have seen an example from using a Kaplan Meier curve that could be manipulated with parameters, but I just want to get a really simple example working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Everything I've read so far talks about Javascript and XML, but I have the data already in CASLIBS and want to just use subsets of data with some ODS SG procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 15:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Beginner-How-do-I-execute-a-VIYA-job-from-VA-and-return-the/m-p/973520#M18858</guid>
      <dc:creator>nevla</dc:creator>
      <dc:date>2025-08-28T15:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner: How do I execute a VIYA job from VA and return the results in a reusable way?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Beginner-How-do-I-execute-a-VIYA-job-from-VA-and-return-the/m-p/974228#M18870</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11549"&gt;@nevla&lt;/a&gt;&amp;nbsp;, how are you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look, I’m not sure if I got it right, but you want to have the parameter screen already visible in VA and only generate the charts after that, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The service you’re using is SAS Job Execution. It allows for this kind of intermediate screen and yes, you can plug it directly into VA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To do this, you just need to get the Job submit link, go to SAS Visual Analytics, open the report you want, create a new page and add a Web Content object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Web Content link, put the job link. If you want, you can also keep it on a hidden page and open it in a pop-up style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That way, it’ll show this screen before actually running the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps! And if I misunderstood, just reply here (images would help!) so I can understand better what you mean.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 11:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Beginner-How-do-I-execute-a-VIYA-job-from-VA-and-return-the/m-p/974228#M18870</guid>
      <dc:creator>arthurdpereira</dc:creator>
      <dc:date>2025-09-05T11:13:48Z</dc:date>
    </item>
  </channel>
</rss>

