<?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 How to status of job submitted using SAS Viya Rest API in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/How-to-status-of-job-submitted-using-SAS-Viya-Rest-API/m-p/785409#M1263</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are calling a SAS job using a Rest API.&amp;nbsp; This SAS job is saved as Job definition so we get such URL to use for executing a job using REST API&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="https://gp.sas-dev.kochcloud.com/sasjobexecution/?_program=/public/simfoni_auth_test" href="https://gp.sas-dev.kochcloud.com/SASJobExecution/?_program=/Public/simfoni_auth_test" target="_blank" rel="noopener noreferrer"&gt;https://hostname/SASJobExecution/?_program=/Public/jobname&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So when we execute this job we would like to get the status of this in front end. So wondering how to get status of job that was submitted using REST API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any link to white paper or blog is also helpful.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Dec 2021 14:35:21 GMT</pubDate>
    <dc:creator>Ankur_151987</dc:creator>
    <dc:date>2021-12-10T14:35:21Z</dc:date>
    <item>
      <title>How to status of job submitted using SAS Viya Rest API</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-status-of-job-submitted-using-SAS-Viya-Rest-API/m-p/785409#M1263</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are calling a SAS job using a Rest API.&amp;nbsp; This SAS job is saved as Job definition so we get such URL to use for executing a job using REST API&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="https://gp.sas-dev.kochcloud.com/sasjobexecution/?_program=/public/simfoni_auth_test" href="https://gp.sas-dev.kochcloud.com/SASJobExecution/?_program=/Public/simfoni_auth_test" target="_blank" rel="noopener noreferrer"&gt;https://hostname/SASJobExecution/?_program=/Public/jobname&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So when we execute this job we would like to get the status of this in front end. So wondering how to get status of job that was submitted using REST API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any link to white paper or blog is also helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 14:35:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-status-of-job-submitted-using-SAS-Viya-Rest-API/m-p/785409#M1263</guid>
      <dc:creator>Ankur_151987</dc:creator>
      <dc:date>2021-12-10T14:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to status of job submitted using SAS Viya Rest API</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-status-of-job-submitted-using-SAS-Viya-Rest-API/m-p/785634#M1267</link>
      <description>&lt;P&gt;To poll the status you would need to use the REST APIs (/compute), not the Web interface (/SASJobExecution).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're looking to run jobs from a web frontend, you could look at &lt;A href="https://github.com/sasjs/adapter" target="_self"&gt;SASjs&lt;/A&gt; - this will automatically handle the polling for you with a very simple javascript method ( sasjs.request(/job/name,dataPayload) ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are looking to do this from commandline, you can also use the CLI (`sasjs job execute /some/job`) -&amp;nbsp;&lt;A href="https://cli.sasjs.io/job/" target="_blank"&gt;https://cli.sasjs.io/job/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These are open source tools built and maintained by my team (not SAS).&amp;nbsp; They are free for commercial use.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-status-of-job-submitted-using-SAS-Viya-Rest-API/m-p/785634#M1267</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-12-12T16:37:40Z</dc:date>
    </item>
  </channel>
</rss>

