<?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: sas data step in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sas-data-step/m-p/798299#M313835</link>
    <description>&lt;P&gt;That isn't valid code and the 1 shouldn't be there. If you can add more context perhaps we can offer other details but as posted it's invalid code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 68         
 69         data class 1;
                       _
                       22
                       200
 ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, /, ;, _DATA_, _LAST_, _NULL_.  
 
 ERROR 200-322: The symbol is not recognized and will be ignored.
 
 70         
 71           set sashelp.class 1;
                                _
                                22
                                200
 ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, CUROBS, END, INDSNAME, KEY, 
               KEYRESET, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_.  
 
 ERROR 200-322: The symbol is not recognized and will be ignored.
 
 72         run;
 
 NOTE: The SAS System stopped processing this step because of errors.
 WARNING: The data set WORK.CLASS may be incomplete.  When this step was stopped there were 0 observations and 5 variables.
 WARNING: Data set WORK.CLASS was not replaced because this step was stopped.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              639.46k
       OS Memory           26020.00k
       Timestamp           02/24/2022 02:12:03 AM
       Step Count                        30  Switch Count  0
       Page Faults                       0
       Page Reclaims                     75
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           16
       &lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/416388"&gt;@HeatherNewton&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;what does it mean when 1 is added after data statement? e.g.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data apple 1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; set template 1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 02:13:37 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2022-02-24T02:13:37Z</dc:date>
    <item>
      <title>sas data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-data-step/m-p/798294#M313832</link>
      <description>&lt;P&gt;what does it mean when 1 is added after data statement? e.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;data apple 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set template 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 02:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-data-step/m-p/798294#M313832</guid>
      <dc:creator>HeatherNewton</dc:creator>
      <dc:date>2022-02-24T02:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: sas data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-data-step/m-p/798298#M313834</link>
      <description>&lt;P&gt;Likely that the file was not actually code to execute and the 1 (or other numbers) are just a reference point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run an example of that code with an existing data:&lt;/P&gt;
&lt;PRE&gt;250  data apple 1;
                -
                22
                200
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, /, ;,
              _DATA_, _LAST_, _NULL_.

ERROR 200-322: The symbol is not recognized and will be ignored.

251
252    set sashelp.class;
253  run;

&lt;/PRE&gt;
&lt;P&gt;The first error means that the first 1 is not in an allowable code position.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 02:13:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-data-step/m-p/798298#M313834</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-02-24T02:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: sas data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-data-step/m-p/798299#M313835</link>
      <description>&lt;P&gt;That isn't valid code and the 1 shouldn't be there. If you can add more context perhaps we can offer other details but as posted it's invalid code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 68         
 69         data class 1;
                       _
                       22
                       200
 ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, /, ;, _DATA_, _LAST_, _NULL_.  
 
 ERROR 200-322: The symbol is not recognized and will be ignored.
 
 70         
 71           set sashelp.class 1;
                                _
                                22
                                200
 ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, CUROBS, END, INDSNAME, KEY, 
               KEYRESET, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_.  
 
 ERROR 200-322: The symbol is not recognized and will be ignored.
 
 72         run;
 
 NOTE: The SAS System stopped processing this step because of errors.
 WARNING: The data set WORK.CLASS may be incomplete.  When this step was stopped there were 0 observations and 5 variables.
 WARNING: Data set WORK.CLASS was not replaced because this step was stopped.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              639.46k
       OS Memory           26020.00k
       Timestamp           02/24/2022 02:12:03 AM
       Step Count                        30  Switch Count  0
       Page Faults                       0
       Page Reclaims                     75
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           16
       &lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/416388"&gt;@HeatherNewton&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;what does it mean when 1 is added after data statement? e.g.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data apple 1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; set template 1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 02:13:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-data-step/m-p/798299#M313835</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-02-24T02:13:37Z</dc:date>
    </item>
  </channel>
</rss>

