<?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: help with LOG error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60062#M12986</link>
    <description>Honestly, you really need to desk-check your program and your code with your SAS log output thoroughly before posting.  &lt;BR /&gt;
&lt;BR /&gt;
Also, there was another post/reply with the exact answer to the problem revealed in this post.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=8721" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=8721&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Fri, 19 Feb 2010 14:26:46 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-02-19T14:26:46Z</dc:date>
    <item>
      <title>help with LOG error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60061#M12985</link>
      <description>hello ,&lt;BR /&gt;
&lt;BR /&gt;
i have two data sets which i need to concatenate and i'm getting errors when i run the Merge for both.The variables for the two datas ( period 2A and period 2B ) are :&lt;BR /&gt;
&lt;BR /&gt;
Period 2A&lt;BR /&gt;
TransactionID $1-8&lt;BR /&gt;
TimeofSale     $9-16;&lt;BR /&gt;
&lt;BR /&gt;
Period 2B&lt;BR /&gt;
TransactionID $1-8&lt;BR /&gt;
DateofSale	     $9-18&lt;BR /&gt;
LaptopModel   $19-24&lt;BR /&gt;
UnitsSold          25-27&lt;BR /&gt;
Warranty           28;&lt;BR /&gt;
&lt;BR /&gt;
I have sorted the two datas by the Transaction ID and then run the following merge :&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data new;&lt;BR /&gt;
	merge period2A period 2B;&lt;BR /&gt;
	by TransactionID;&lt;BR /&gt;
proc print data = new;&lt;BR /&gt;
	TITLE "Period2 Sales";&lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
I get the LOG error as :&lt;BR /&gt;
&lt;BR /&gt;
3   data new;&lt;BR /&gt;
24       merge period2A period 2B;&lt;BR /&gt;
                               -&lt;BR /&gt;
                               22&lt;BR /&gt;
                               200&lt;BR /&gt;
ERROR: File WORK.PERIOD.DATA does not exist.&lt;BR /&gt;
ERROR: File WORK.B.DATA does not exist.&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, END,&lt;BR /&gt;
              _DATA_, _LAST_, _NULL_.&lt;BR /&gt;
&lt;BR /&gt;
ERROR 200-322: The symbol is not recognized and will be ignored.&lt;BR /&gt;
&lt;BR /&gt;
25       by TransactionID;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
WARNING: The data set WORK.NEW may be incomplete.  When this step was stopped there were 0&lt;BR /&gt;
         observations and 5 variables.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.01 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
26   proc print data = new;&lt;BR /&gt;
27       TITLE "Period2 Sales";&lt;BR /&gt;
28   Run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: No observations in data set WORK.NEW.&lt;BR /&gt;
NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;
      real time           0.00 seconds&lt;BR /&gt;
      cpu time            0.00 seconds</description>
      <pubDate>Fri, 19 Feb 2010 14:20:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60061#M12985</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-19T14:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: help with LOG error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60062#M12986</link>
      <description>Honestly, you really need to desk-check your program and your code with your SAS log output thoroughly before posting.  &lt;BR /&gt;
&lt;BR /&gt;
Also, there was another post/reply with the exact answer to the problem revealed in this post.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=8721" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=8721&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 19 Feb 2010 14:26:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60062#M12986</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-02-19T14:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: help with LOG error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60063#M12987</link>
      <description>I get the feeling we are being used as tutors in a basic SAS class.</description>
      <pubDate>Fri, 19 Feb 2010 15:09:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60063#M12987</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2010-02-19T15:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: help with LOG error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60064#M12988</link>
      <description>Same here, which is kind of boring to me.&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;</description>
      <pubDate>Fri, 19 Feb 2010 15:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60064#M12988</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2010-02-19T15:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: help with LOG error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60065#M12989</link>
      <description>Mark,&lt;BR /&gt;
&lt;BR /&gt;
You have been found out.  I should have jumped in when I saw "SAScourse" as a part of a directory name.  I teach the SAS part of an Intro Biostat course.&lt;BR /&gt;
&lt;BR /&gt;
Your questions are consistent with a person who is "scanning for an answer" rather than "reading for understanding."  The reference manual is a hard place to get "understanding" unless you already have a couple of computer languages under your belt (They are necessary for the specific syntax, but are harder for the big picture.).  The SAS "concepts" manuals are better, but still assume a certain level of sophistication with computer languages and "structured programming" ideas.  You need to be carefully reading your course materials and perhaps supplementing it with one of the good introductory SAS books in the "Books by Users" series.  If your course has an instructor, you should also be using him or her.&lt;BR /&gt;
&lt;BR /&gt;
The forum is helpful to new users, but we appreciate ones who do some of their own thinking too.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Fri, 19 Feb 2010 17:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-LOG-error/m-p/60065#M12989</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-02-19T17:59:10Z</dc:date>
    </item>
  </channel>
</rss>

