<?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 Re: run a job in sas studio from another program in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/run-a-job-in-sas-studio-from-another-program/m-p/782021#M249276</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need a&lt;/P&gt;
&lt;P&gt;FILENAME Statement with the FILESRVC Access Method to make a fileref (file reference) pointing to that program.&lt;/P&gt;
&lt;P&gt;Suppose your fileref is : abc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then do:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options source2;
%INCLUDE abc;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 17:38:41 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2021-11-23T17:38:41Z</dc:date>
    <item>
      <title>run a job in sas studio from another program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/run-a-job-in-sas-studio-from-another-program/m-p/781951#M249246</link>
      <description>&lt;P&gt;I'd like to "run" this job from another program. I'm looking for an include funcionality but for jobs in sas viya 3.5 or higher.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's job and its related prompt but I want to prevent the user from accessing the code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Therefore a caller from another program is highly appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ok.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66037i7586996B9B6C9D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ok.png" alt="ok.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 14:02:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/run-a-job-in-sas-studio-from-another-program/m-p/781951#M249246</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2021-11-23T14:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: run a job in sas studio from another program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/run-a-job-in-sas-studio-from-another-program/m-p/782021#M249276</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need a&lt;/P&gt;
&lt;P&gt;FILENAME Statement with the FILESRVC Access Method to make a fileref (file reference) pointing to that program.&lt;/P&gt;
&lt;P&gt;Suppose your fileref is : abc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then do:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options source2;
%INCLUDE abc;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 17:38:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/run-a-job-in-sas-studio-from-another-program/m-p/782021#M249276</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-11-23T17:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: run a job in sas studio from another program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/run-a-job-in-sas-studio-from-another-program/m-p/782025#M249278</link>
      <description>&lt;P&gt;the "create file reference" option is not available for this kind of file (job). meanwhile this option shows up for .sas files it does not behave like this for jobs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 17:46:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/run-a-job-in-sas-studio-from-another-program/m-p/782025#M249278</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2021-11-23T17:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: run a job in sas studio from another program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/run-a-job-in-sas-studio-from-another-program/m-p/782030#M249282</link>
      <description>&lt;P&gt;Sorry.&lt;/P&gt;
&lt;P&gt;I thought it was a .sas program, but it is a job indeed.&lt;/P&gt;
&lt;P&gt;Should be possible to!&lt;/P&gt;
&lt;P&gt;I guess someone else will chime in. If not, I will give it a 2nd look tomorrow.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 17:48:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/run-a-job-in-sas-studio-from-another-program/m-p/782030#M249282</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-11-23T17:48:31Z</dc:date>
    </item>
  </channel>
</rss>

