<?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: how to create &amp;amp; store a SAS prompt programmatically in Developers</title>
    <link>https://communities.sas.com/t5/Developers/how-to-create-amp-store-a-SAS-prompt-programmatically/m-p/762612#M6059</link>
    <description>&lt;P&gt;Stored Processes are definitely the way to go - your code will be safer (harder for end users to modify) and you have complete flexibility through HTML / JavaScript / CSS how your prompts should look and behave.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;To create Stored Processes using SAS code, you can leverage this macro:&amp;nbsp;&amp;nbsp;&lt;A href="https://core.sasjs.io/mm__createstp_8sas.html" target="_blank"&gt;https://core.sasjs.io/mm__createstp_8sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The equivalent for Viya is here:&amp;nbsp;&amp;nbsp;&lt;A href="https://core.sasjs.io/mv__createjob_8sas.html" target="_blank"&gt;https://core.sasjs.io/mv__createjob_8sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A much tidier, and more git-centric way to build services in this way would be to use the SASjs CLI.&amp;nbsp; This will also help you to seperate the frontend from the backend.&amp;nbsp; Some useful links:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://sasjs.io/resources/" target="_blank"&gt;https://sasjs.io/resources/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://cli.sasjs.io" target="_blank"&gt;https://cli.sasjs.io&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 17:31:20 GMT</pubDate>
    <dc:creator>AllanBowe</dc:creator>
    <dc:date>2021-08-19T17:31:20Z</dc:date>
    <item>
      <title>how to create &amp; store a SAS prompt programmatically</title>
      <link>https://communities.sas.com/t5/Developers/how-to-create-amp-store-a-SAS-prompt-programmatically/m-p/761778#M6057</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to embed a SAS prompt in a program that will be executed using SAS EG.&lt;/P&gt;&lt;P&gt;if the prompt is embedded in the program, anyone who will try to run the program can be able to give the prompt and use them(which is not defined in a project).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Raju G&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 12:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/how-to-create-amp-store-a-SAS-prompt-programmatically/m-p/761778#M6057</guid>
      <dc:creator>rajuganesh30</dc:creator>
      <dc:date>2021-08-16T12:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to create &amp; store a SAS prompt programmatically</title>
      <link>https://communities.sas.com/t5/Developers/how-to-create-amp-store-a-SAS-prompt-programmatically/m-p/761944#M6058</link>
      <description>&lt;P&gt;As far as I know, this is not possible with just a regular .sas program.&amp;nbsp; Prompts are defined at the project level, not at the program level.&amp;nbsp; You may be able to set this up as a stored process if your shop uses stored processes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 23:26:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/how-to-create-amp-store-a-SAS-prompt-programmatically/m-p/761944#M6058</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-08-16T23:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to create &amp; store a SAS prompt programmatically</title>
      <link>https://communities.sas.com/t5/Developers/how-to-create-amp-store-a-SAS-prompt-programmatically/m-p/762612#M6059</link>
      <description>&lt;P&gt;Stored Processes are definitely the way to go - your code will be safer (harder for end users to modify) and you have complete flexibility through HTML / JavaScript / CSS how your prompts should look and behave.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;To create Stored Processes using SAS code, you can leverage this macro:&amp;nbsp;&amp;nbsp;&lt;A href="https://core.sasjs.io/mm__createstp_8sas.html" target="_blank"&gt;https://core.sasjs.io/mm__createstp_8sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The equivalent for Viya is here:&amp;nbsp;&amp;nbsp;&lt;A href="https://core.sasjs.io/mv__createjob_8sas.html" target="_blank"&gt;https://core.sasjs.io/mv__createjob_8sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A much tidier, and more git-centric way to build services in this way would be to use the SASjs CLI.&amp;nbsp; This will also help you to seperate the frontend from the backend.&amp;nbsp; Some useful links:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://sasjs.io/resources/" target="_blank"&gt;https://sasjs.io/resources/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://cli.sasjs.io" target="_blank"&gt;https://cli.sasjs.io&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 17:31:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/how-to-create-amp-store-a-SAS-prompt-programmatically/m-p/762612#M6059</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-08-19T17:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to create &amp; store a SAS prompt programmatically</title>
      <link>https://communities.sas.com/t5/Developers/how-to-create-amp-store-a-SAS-prompt-programmatically/m-p/771262#M6060</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/170333"&gt;@rajuganesh30&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;If you save the program as an EGP project yes. The code and prompt will be apart of the EGP&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 22:27:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/how-to-create-amp-store-a-SAS-prompt-programmatically/m-p/771262#M6060</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-09-29T22:27:16Z</dc:date>
    </item>
  </channel>
</rss>

