<?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: Having problem while creating dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Having-problem-while-creating-dataset/m-p/460299#M116982</link>
    <description>&lt;P&gt;Assuming that you are trying to reference the dataset by its physical name then I see two possible issues with that name.&lt;/P&gt;
&lt;P&gt;1) You have used an invalid extension for the filename. Either use .sas7bdat or do not add any extension.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data "E:\Essentials\Information";
data "E:\Essentials\Information.sas7bdat";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;2) The path is wrong. Either E:\Essentials does not exist. Or E:\Essentials\Information is a directory and cannot also be used for a filename.&lt;/P&gt;</description>
    <pubDate>Sun, 06 May 2018 15:50:52 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2018-05-06T15:50:52Z</dc:date>
    <item>
      <title>Having problem while creating dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-problem-while-creating-dataset/m-p/460276#M116974</link>
      <description>&lt;P&gt;DATA "E:\Essentials\Information.";&lt;BR /&gt;INPUT ID $ 1-3 SBP 4-6 DBP 7-9 GENDER $ 10 AGE 11-12 WT 13-15;&lt;BR /&gt;DATALINES;&lt;BR /&gt;001120 80M15115&lt;BR /&gt;002130 70F25180&lt;BR /&gt;003140100M89170&lt;BR /&gt;004120 80F30150&lt;BR /&gt;005125 80F20110&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;BR /&gt;PROC MEANS;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After running this..The log window says..........&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasError"&gt;ERROR: The value E:\ESSENTIALS\INFORMATION. is not a valid SAS name.&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;81 ;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;82 RUN;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;83 PROC MEANS;&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;ERROR: There is not a default input data set (_LAST_ is _NULL_).&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;84 RUN;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;I cannot figure out why this is happening.....Please help me out&lt;/DIV&gt;</description>
      <pubDate>Sun, 06 May 2018 05:28:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-problem-while-creating-dataset/m-p/460276#M116974</guid>
      <dc:creator>Nikhil_1393</dc:creator>
      <dc:date>2018-05-06T05:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while creating dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-problem-while-creating-dataset/m-p/460280#M116975</link>
      <description>&lt;P&gt;Your problem is not in creating a library, but in creating a dataset, so I corrected the subject line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to supply a valid dataset name in a data statement. The dataset name cane either be a single-level name (max. 32 characters, letters, digits, underlines, must start with a letter or underline), or a two-level name with a library and dataset name.&lt;/P&gt;
&lt;P&gt;The library name is assigned with a libname statement and has a maximum length of 8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mylib "E:\Essentials\Information";

data mylib.mydataset;
input ......&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 06 May 2018 05:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-problem-while-creating-dataset/m-p/460280#M116975</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-05-06T05:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while creating dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-problem-while-creating-dataset/m-p/460289#M116978</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DATA&lt;/STRONG&gt; statement is used for creating SAS Datasets. Syntax for DATA statement is&lt;STRONG&gt;&amp;nbsp;DATA&amp;nbsp;&lt;SPAN class="xis-userSuppliedValue"&gt;&amp;lt;&lt;EM&gt;libref.&lt;/EM&gt;&amp;gt;SAS-data-set; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;libref is SAS library reference which is defined by &lt;STRONG&gt;LIBNAME&lt;/STRONG&gt; statement syntax&amp;nbsp;&lt;STRONG&gt;LIBNAME&amp;nbsp;libref&amp;nbsp;'your-SAS-data-library'; &lt;/STRONG&gt;You can give your physical path in quotes and define a library and later reference the library.(Note:&amp;nbsp;Rules for creating SAS library depends on operating system, but advised to have 8 characters). If you miss the libref then SAS will create a temporary table in WORK library.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 May 2018 12:50:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-problem-while-creating-dataset/m-p/460289#M116978</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-05-06T12:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while creating dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-problem-while-creating-dataset/m-p/460299#M116982</link>
      <description>&lt;P&gt;Assuming that you are trying to reference the dataset by its physical name then I see two possible issues with that name.&lt;/P&gt;
&lt;P&gt;1) You have used an invalid extension for the filename. Either use .sas7bdat or do not add any extension.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data "E:\Essentials\Information";
data "E:\Essentials\Information.sas7bdat";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;2) The path is wrong. Either E:\Essentials does not exist. Or E:\Essentials\Information is a directory and cannot also be used for a filename.&lt;/P&gt;</description>
      <pubDate>Sun, 06 May 2018 15:50:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-problem-while-creating-dataset/m-p/460299#M116982</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-05-06T15:50:52Z</dc:date>
    </item>
  </channel>
</rss>

