<?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: create a template program with an associated prompt in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-a-template-program-with-an-associated-prompt/m-p/507158#M32342</link>
    <description>&lt;P&gt;I'd like to create a macro (or series of macros) that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a new program with the default connection string&lt;/LI&gt;&lt;LI&gt;Create the User_PASSWORD prompt&lt;/LI&gt;&lt;LI&gt;Associate the User_PASSWORD prompt with the new program without having to go into&amp;nbsp;the program &lt;EM&gt;&lt;STRONG&gt;properties &amp;gt; prompts &amp;gt; add...&lt;/STRONG&gt;&lt;/EM&gt; to manually associate.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 24 Oct 2018 14:16:36 GMT</pubDate>
    <dc:creator>Phuels</dc:creator>
    <dc:date>2018-10-24T14:16:36Z</dc:date>
    <item>
      <title>create a template program with an associated prompt</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-a-template-program-with-an-associated-prompt/m-p/506911#M32333</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently use an&amp;nbsp;abbreviation macro to insert&amp;nbsp;my&amp;nbsp;connection string&amp;nbsp;when writing a new program. Recently, my company turned on validation, so I now need to enter a user id and password&amp;nbsp;when creating the data connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I modified the abbreviation macro to include the necessary references:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql outobs=;
connect to db2 (database='ACTDM5' user=&amp;amp;_CLIENTUSERID password=&amp;amp;User_Password);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The User_Password variable comes from a prompt I created using the Prompt Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to automatically associate the prompt when creating a new program? If so, how would I do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Frank&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 16:30:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-a-template-program-with-an-associated-prompt/m-p/506911#M32333</guid>
      <dc:creator>Phuels</dc:creator>
      <dc:date>2018-10-23T16:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: create a template program with an associated prompt</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-a-template-program-with-an-associated-prompt/m-p/507156#M32340</link>
      <description>Can you explain what you mean by 'automatically associate'?  Does that mean a new program would have access to it?  Or something else?</description>
      <pubDate>Wed, 24 Oct 2018 14:11:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-a-template-program-with-an-associated-prompt/m-p/507156#M32340</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2018-10-24T14:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: create a template program with an associated prompt</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-a-template-program-with-an-associated-prompt/m-p/507158#M32342</link>
      <description>&lt;P&gt;I'd like to create a macro (or series of macros) that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a new program with the default connection string&lt;/LI&gt;&lt;LI&gt;Create the User_PASSWORD prompt&lt;/LI&gt;&lt;LI&gt;Associate the User_PASSWORD prompt with the new program without having to go into&amp;nbsp;the program &lt;EM&gt;&lt;STRONG&gt;properties &amp;gt; prompts &amp;gt; add...&lt;/STRONG&gt;&lt;/EM&gt; to manually associate.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 24 Oct 2018 14:16:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-a-template-program-with-an-associated-prompt/m-p/507158#M32342</guid>
      <dc:creator>Phuels</dc:creator>
      <dc:date>2018-10-24T14:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: create a template program with an associated prompt</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-a-template-program-with-an-associated-prompt/m-p/507192#M32345</link>
      <description>What I do is have a egp template that has an autoexec program with the password prompt defined.  That'll solve your problem.</description>
      <pubDate>Wed, 24 Oct 2018 15:17:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-a-template-program-with-an-associated-prompt/m-p/507192#M32345</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2018-10-24T15:17:49Z</dc:date>
    </item>
  </channel>
</rss>

