<p>174&nbsp; data jjj;<br/>175&nbsp; set hhh;<br/>176&nbsp; where date&gt;'01mar07'd &amp; date&lt;'01mar08'd;<br/>ERROR: Where clause operator requires compatible variables.<br/>177&nbsp; run;</p><p>NOTE: The SAS System stopped processing this step because of errors.<br/>WARNING: The data set WORK.JJJ may be incomplete.&nbsp; When this step was stopped there were 0<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; observations and 3 variables.<br/>WARNING: Data set WORK.JJJ was not replaced because this step was stopped.<br/>NOTE: DATA statement used:<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; real time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.04 seconds<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cpu time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.04 seconds</p><p><br/>178&nbsp; proc transpose data=jjj out=trans;<br/>179&nbsp;&nbsp;&nbsp; var xssl;<br/>180&nbsp;&nbsp;&nbsp; by date;<br/>181&nbsp; where date&gt;'01mar07'd &amp; date&lt;'01mar08'd;<br/>ERROR: Where clause operator requires compatible variables.<br/>182&nbsp; run;</p><p>NOTE: The SAS System stopped processing this step because of errors.<br/>WARNING: The data set WORK.TRANS may be incomplete.&nbsp; When this step was stopped there were 0<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; observations and 0 variables.<br/>WARNING: Data set WORK.TRANS was not replaced because this step was stopped.<br/>NOTE: PROCEDURE TRANSPOSE used:<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; real time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.03 seconds<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cpu time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.03 seconds</p><p>183&nbsp; title"变换数据集";</p><p><br/>184&nbsp; proc print data=trans;<br/>185&nbsp; run;</p><p>NOTE: Writing HTML Body file: sashtm2.htm<br/>NOTE: There were 1 observations read from the data set WORK.TRANS.<br/>NOTE: PROCEDURE PRINT used:<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; real time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.12 seconds<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cpu time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.01 seconds</p><p>附加我选用导入的数据的EXCEL格式<br/><br/></p>
<br/>