<?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: [ERROR: the _prompt_ value for userid or password option is only valid if a terminal is attached in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385184#M92107</link>
    <description>&lt;P&gt;Using _prompt_ in an RSUBMIT block isn't going to work as the remote session is trying to pop up a prompt window for you to enter the user name and password but can't because there is no terminal session to display it on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to code the actual user name and password in the remote session SIGNON statement for this to work.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2017 05:23:12 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2017-08-03T05:23:12Z</dc:date>
    <item>
      <title>[ERROR: the _prompt_ value for userid or password option is only valid if a terminal is attached]</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385181#M92106</link>
      <description>&lt;P&gt;Hello, everyone. I am connecting to a server and use this unix server to connect to another unix server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let sshhost=localhost 7551;
options set=TCPTN3270 0;
filename rlink 'C:\SAS_TUNNEL\tcpunix.scr';
signon sshhost;

libname rwork slibref=work server=sshhost;

/* remote signon SAS DI Studio in a from BASE SAS in b*/

rsubmit sshhost;
  %let dis=(server name of a) (portNo of a);
  options comamid=tcp remote=dis; 
  signon user=_prompt_ password=_prompt_;
endrsubmit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, error message is occured.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-08-03_122930.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14296i6E3ADB217E4E338D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-08-03_122930.jpg" alt="2017-08-03_122930.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 04:30:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385181#M92106</guid>
      <dc:creator>R_Chung</dc:creator>
      <dc:date>2017-08-03T04:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: [ERROR: the _prompt_ value for userid or password option is only valid if a terminal is attached</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385184#M92107</link>
      <description>&lt;P&gt;Using _prompt_ in an RSUBMIT block isn't going to work as the remote session is trying to pop up a prompt window for you to enter the user name and password but can't because there is no terminal session to display it on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to code the actual user name and password in the remote session SIGNON statement for this to work.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 05:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385184#M92107</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-08-03T05:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: [ERROR: the _prompt_ value for userid or password option is only valid if a terminal is attached</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385189#M92108</link>
      <description>Is there any other methods to do it without hard code?&lt;BR /&gt;&lt;BR /&gt;Also, how to make it in trusted connection, so that no need enter username or password.</description>
      <pubDate>Thu, 03 Aug 2017 06:58:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385189#M92108</guid>
      <dc:creator>R_Chung</dc:creator>
      <dc:date>2017-08-03T06:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: [ERROR: the _prompt_ value for userid or password option is only valid if a terminal is attached</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385190#M92109</link>
      <description>or how to prompt for user to input&lt;BR /&gt;as I have tried in enterprise guide: properties --&amp;gt; prompt&lt;BR /&gt;however, when i export to run in unix, nothing prompt</description>
      <pubDate>Thu, 03 Aug 2017 07:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385190#M92109</guid>
      <dc:creator>R_Chung</dc:creator>
      <dc:date>2017-08-03T07:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: [ERROR: the _prompt_ value for userid or password option is only valid if a terminal is attached</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385200#M92114</link>
      <description>&lt;P&gt;Trusted connections on Unix can be provided by using IWA on Unix which would involve using Kerberos. If you are not an expert in this technology then it would pay to get expert help on this as it is tricky and time consuming to set up. Check this link for more details:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf" target="_blank"&gt;http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe a more low-tech solution might be possible, perhaps by prompting for the user name and password on your PC via your SIGNON script and then passing these through to your first Unix server as macro variables so they can be added to your second SIGNON. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 08:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385200#M92114</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-08-03T08:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: [ERROR: the _prompt_ value for userid or password option is only valid if a terminal is attached</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385211#M92117</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt; I cannot find any sas code related keyword "sas code prompt for user input" in google</description>
      <pubDate>Thu, 03 Aug 2017 08:52:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385211#M92117</guid>
      <dc:creator>R_Chung</dc:creator>
      <dc:date>2017-08-03T08:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: [ERROR: the _prompt_ value for userid or password option is only valid if a terminal is attached</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385476#M92216</link>
      <description>&lt;P&gt;Check out the WINDOW or %WINDOW statements for user input (I'm assuming you have Base SAS on your PC):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/69726/HTML/default/viewer.htm#n0ojc9rtfrzvbdn16kqd2c5mzobq.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/69726/HTML/default/viewer.htm#n0ojc9rtfrzvbdn16kqd2c5mzobq.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 20:07:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-the-prompt-value-for-userid-or-password-option-is-only/m-p/385476#M92216</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-08-03T20:07:32Z</dc:date>
    </item>
  </channel>
</rss>

