<?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: Interactive Line Mode -nodms in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Interactive-Line-Mode-nodms/m-p/191557#M304689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I didn't realise the proc import would generate a message and require a window.&amp;nbsp; I have been using a .sas script generally, rather than working interactively, but ran into this issue while testing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2014 22:18:22 GMT</pubDate>
    <dc:creator>chrissycc</dc:creator>
    <dc:date>2014-03-03T22:18:22Z</dc:date>
    <item>
      <title>Interactive Line Mode -nodms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Interactive-Line-Mode-nodms/m-p/191555#M304687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running SAS 9.3 on Linux and working remotely and I'd rather not use X (poor connection etc) so I'm using -nodms (and tried -nodmsexp....whats the difference?) for interactive line mode.&amp;nbsp; This works most of the time, however I've now tried importing a 4million line CSV file, and I'm getting a message back about X being unavailable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ERROR: The connection to the X display server could not be made &amp;lt;blah&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ERROR: Device does not support full-screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point things seem to hang.&amp;nbsp; Trying this with an X connection, and the import completes and returns a prompt however a SAS Session Management window is opened, despite the nodms flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not particularly experienced with SAS and am mainly involved as a Linux system admin level.&amp;nbsp; Is there anyway to get true GUI-less SAS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 15:21:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Interactive-Line-Mode-nodms/m-p/191555#M304687</guid>
      <dc:creator>chrissycc</dc:creator>
      <dc:date>2014-03-02T15:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Line Mode -nodms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Interactive-Line-Mode-nodms/m-p/191556#M304688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most likely the message is from PROC IMPORT. For a CSV file there is very little value in using PROC IMPORT.&amp;nbsp; Just write the data step yourself.&amp;nbsp; You can copy and paste the variable names from the first line of the CSV file if you do not already know what variables there are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want ;&lt;/P&gt;&lt;P&gt; length var1 8 var2 $30 ...... varn 8 ;&lt;/P&gt;&lt;P&gt; infile 'myfile.csv' dsd dlm=',' truncover firstobs=2 lrecl=32000;&lt;/P&gt;&lt;P&gt; input var1--varn ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also create a simple .sas program and run it from the command line non-interactively.&amp;nbsp; Then you can use the -noterminal option to prevent that type of error message.&lt;/P&gt;&lt;P&gt;&amp;gt; sas -noterminal myprogram.sas &lt;/P&gt;&lt;P&gt;&amp;gt; more myprogram.log&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 16:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Interactive-Line-Mode-nodms/m-p/191556#M304688</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-03-02T16:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Line Mode -nodms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Interactive-Line-Mode-nodms/m-p/191557#M304689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I didn't realise the proc import would generate a message and require a window.&amp;nbsp; I have been using a .sas script generally, rather than working interactively, but ran into this issue while testing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 22:18:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Interactive-Line-Mode-nodms/m-p/191557#M304689</guid>
      <dc:creator>chrissycc</dc:creator>
      <dc:date>2014-03-03T22:18:22Z</dc:date>
    </item>
  </channel>
</rss>

