<?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 188-322 Statement is not valid or it is not used in proper order. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627264#M185117</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/313820"&gt;@harveysarah0&lt;/a&gt;&amp;nbsp; Welcome to SAS communities. Where is your code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data have;
input City :$15. State :$2. Price;
cards;
Baltimore MD 10.95
Brooklyn NY 12.99
Buffalo NY 11.50
Harlem NY 12.50
Newark NJ 11.50
Rochester NY 10.95
Stamford CT 11.50
Syracuse NY 10.95
Troy NY 11.50
;
proc print noobs;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 25 Feb 2020 18:24:26 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2020-02-25T18:24:26Z</dc:date>
    <item>
      <title>Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627260#M185113</link>
      <description>&lt;P&gt;I am trying to import this data set into SAS and keep getting this message. I copy and pasted the data into the editor and highlighted it and clicked the little running man up top.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;City State Price&lt;/P&gt;&lt;P&gt;Baltimore MD 10.95&lt;BR /&gt;Brooklyn NY 12.99&lt;BR /&gt;Buffalo NY 11.50&lt;BR /&gt;Harlem NY 12.50&lt;BR /&gt;Newark NJ 11.50&lt;BR /&gt;Rochester NY 10.95&lt;BR /&gt;Stamford CT 11.50&lt;BR /&gt;Syracuse NY 10.95&lt;BR /&gt;Troy NY 11.50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627260#M185113</guid>
      <dc:creator>harveysarah0</dc:creator>
      <dc:date>2020-02-25T18:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627264#M185117</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/313820"&gt;@harveysarah0&lt;/a&gt;&amp;nbsp; Welcome to SAS communities. Where is your code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data have;
input City :$15. State :$2. Price;
cards;
Baltimore MD 10.95
Brooklyn NY 12.99
Buffalo NY 11.50
Harlem NY 12.50
Newark NJ 11.50
Rochester NY 10.95
Stamford CT 11.50
Syracuse NY 10.95
Troy NY 11.50
;
proc print noobs;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:24:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627264#M185117</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-02-25T18:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627265#M185118</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again I am very new to using SAS and don't know a whole lot about the program. To make it a data set do I have to use the code you just provided?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:26:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627265#M185118</guid>
      <dc:creator>harveysarah0</dc:creator>
      <dc:date>2020-02-25T18:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627266#M185119</link>
      <description>&lt;P&gt;Ah Okay, I was scratching my head to understand your Error. Oh well, how embarrassing for me. Yes, you can use the code I provided to read in your raw data values instream to create a dataset named HAVE with those values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To print i.e to view the dataset, you can use the proc print code that follows the creation code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:29:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627266#M185119</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-02-25T18:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627268#M185121</link>
      <description>&lt;P&gt;What code did you use that produced the error message "Error 188-322 Statement is not valid or it is not used in proper order."?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:30:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627268#M185121</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-25T18:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627269#M185122</link>
      <description>&lt;P&gt;Thanks so much again. Why do the city and state have those $ values next to them?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627269#M185122</guid>
      <dc:creator>harveysarah0</dc:creator>
      <dc:date>2020-02-25T18:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627271#M185124</link>
      <description>&lt;P&gt;I did not use any code but instead just copy and pasted the data given by my professor. How do I make this a data set? Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627271#M185124</guid>
      <dc:creator>harveysarah0</dc:creator>
      <dc:date>2020-02-25T18:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627274#M185125</link>
      <description>&lt;P&gt;You need some training/learning help. Calling/Requesting&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp; to help new learners to provide some guidance/directions just like what I received a few years ago.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/33307"&gt;@AnnaBrown&lt;/a&gt;&amp;nbsp; has a list of youtube videos tutorials. Let's see if they chime in.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nonetheless, If you have O'Reily media Safari library membership, you can learn from the very basic to any imagination.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the Best!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:38:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627274#M185125</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-02-25T18:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627277#M185127</link>
      <description>&lt;UL&gt;
&lt;LI&gt;You can't run data, you can only run code. You can insert the data as "inline" data into code by using the datalines statement.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627277#M185127</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-02-25T18:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error 188-322 Statement is not valid or it is not used in proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627313#M185153</link>
      <description>&lt;P&gt;Thanks for looping me in here,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/313820"&gt;@harveysarah0&lt;/a&gt;, I don't believe there's a specific YouTube video that will solve your problem (though it's possible&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=yIuGPcYNGO4&amp;amp;list=PLVV6eZFA22QwrXd6nSDU18E6XgXSMOs87" target="_blank" rel="noopener"&gt;How to import CSV files into SAS&lt;/A&gt;&amp;nbsp;could help), but do subscribe to the &lt;A href="http://youtube.com/sasusers" target="_blank" rel="noopener"&gt;SAS Users YouTube channel&lt;/A&gt; where SAS tips and tricks are posted each Monday.&amp;nbsp;In particular, the &lt;A href="https://www.youtube.com/playlist?list=PLVV6eZFA22QwrXd6nSDU18E6XgXSMOs87" target="_blank" rel="noopener"&gt;SAS How to Tutorial playlist&lt;/A&gt; may interest you for task-oriented instruction that you can learn from.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Anna&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 20:10:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-188-322-Statement-is-not-valid-or-it-is-not-used-in-proper/m-p/627313#M185153</guid>
      <dc:creator>AnnaBrown</dc:creator>
      <dc:date>2020-02-25T20:10:40Z</dc:date>
    </item>
  </channel>
</rss>

