<?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: BY variables are not properly sorted in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328116#M62460</link>
    <description>&lt;P&gt;Your first ERROR is related to the DATA step with the BY statement in it. &amp;nbsp;You data must first be sorted by the key variables in that BY statement. &amp;nbsp;That means you need a PROC SORT step ahead of that.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this is a program that you inherited and don't know how to maintain, you'll probably need to work with the author or someone else versed with the program. &amp;nbsp;This forum can help you to solve specific questions, but you might need a little more guidance and orientation to SAS programming, &amp;nbsp;There are lots of free resources if you're willing to learn.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2017 20:27:09 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2017-01-27T20:27:09Z</dc:date>
    <item>
      <title>Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328113#M62459</link>
      <description>&lt;P&gt;Hi I am running a procedure and results in to some errors (refer to following log). I dont have much knowledge about this program. Will one of the community member be able to help me. Let me know if you need furhter details. Thank you in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3321 PROC IMPORT OUT= WORK.TEST1&lt;BR /&gt;3322 DATAFILE= "C:\Users\devendrashah\Desktop\for SAS.xlsm"&lt;BR /&gt;3323 DBMS=EXCEL REPLACE;&lt;BR /&gt;3324 RANGE="Test$";&lt;BR /&gt;3325 GETNAMES=YES;&lt;BR /&gt;3326 MIXED=NO;&lt;BR /&gt;3327 SCANTEXT=YES;&lt;BR /&gt;3328 USEDATE=YES;&lt;BR /&gt;3329 SCANTIME=YES;&lt;BR /&gt;3330 RUN;&lt;/P&gt;
&lt;P&gt;NOTE: WORK.TEST1 data set was successfully created.&lt;BR /&gt;NOTE: The data set WORK.TEST1 has 53 observations and 6 variables.&lt;BR /&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;BR /&gt;real time 0.20 seconds&lt;BR /&gt;cpu time 0.04 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3331 PROC IMPORT OUT= WORK.ref1&lt;BR /&gt;3332 DATAFILE= "C:\Users\devendrashah\Desktop\for SAS.xlsm"&lt;BR /&gt;3333 DBMS=EXCEL REPLACE;&lt;BR /&gt;3334 RANGE="ref$";&lt;BR /&gt;3335 GETNAMES=YES;&lt;BR /&gt;3336 MIXED=NO;&lt;BR /&gt;3337 SCANTEXT=YES;&lt;BR /&gt;3338 USEDATE=YES;&lt;BR /&gt;3339 SCANTIME=YES;&lt;BR /&gt;3340 RUN;&lt;/P&gt;
&lt;P&gt;NOTE: WORK.REF1 data set was successfully created.&lt;BR /&gt;NOTE: The data set WORK.REF1 has 54 observations and 6 variables.&lt;BR /&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;BR /&gt;real time 0.26 seconds&lt;BR /&gt;cpu time 0.17 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3341 data test;&lt;BR /&gt;3342 set test1 (keep=T Sample Cn V S A);&lt;BR /&gt;3343 group=scan(Sample,1);&lt;BR /&gt;3344 sqrtTime=sqrt(T);&lt;BR /&gt;3345 CnV=Cn*V;&lt;BR /&gt;3346 run;&lt;/P&gt;
&lt;P&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.&lt;BR /&gt;Each place is given by: (Number of times) at (Line):(Column).&lt;BR /&gt;23 at 3344:12 23 at 3345:9&lt;BR /&gt;NOTE: There were 53 observations read from the data set WORK.TEST1.&lt;BR /&gt;NOTE: The data set WORK.TEST has 53 observations and 9 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3347&lt;BR /&gt;3348 * Deriving the dependent variable Q for the regression in each Sample;&lt;BR /&gt;3349 data test;&lt;BR /&gt;3350 set test;&lt;BR /&gt;3351 by group;&lt;BR /&gt;3352 lagCn=lag(Cn);&lt;BR /&gt;3353 retain G1;&lt;BR /&gt;3354 if first.group then do;&lt;BR /&gt;3355 G1=S;&lt;BR /&gt;3356 sumCiS=0;&lt;BR /&gt;3357 Q=(CnV+SumCiS)/A;&lt;BR /&gt;3358 end;&lt;BR /&gt;3359 else do;&lt;BR /&gt;3360 SumCiS+(lagCn*G1);&lt;BR /&gt;3361 Q=(CnV+SumCiS)/A;&lt;BR /&gt;3362 end;&lt;BR /&gt;3363 run;&lt;/P&gt;
&lt;P&gt;ERROR: BY variables are not properly sorted on data set WORK.TEST.&lt;BR /&gt;T=5 Sample=TLGT-6-5 Cn=8.04 V=7 S=0.5 A=1.76625 group=TLGT sqrtTime=2.2360679775 CnV=56.28&lt;BR /&gt;FIRST.group=0 LAST.group=0 lagCn=. G1=0.5 sumCiS=82.28 Q=. _ERROR_=1 _N_=30&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 31 observations read from the data set WORK.TEST.&lt;BR /&gt;WARNING: The data set WORK.TEST may be incomplete. When this step was stopped there were 29&lt;BR /&gt;observations and 13 variables.&lt;BR /&gt;WARNING: Data set WORK.TEST was not replaced because this step was stopped.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3364 data ref;&lt;BR /&gt;3365 set ref1 (keep=T Sample Cn V S A);&lt;BR /&gt;3366 group=scan(Sample,1);&lt;BR /&gt;3367 sqrtTime=sqrt(T);&lt;BR /&gt;3368 CnV=Cn*V;&lt;BR /&gt;3369 run;&lt;/P&gt;
&lt;P&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.&lt;BR /&gt;Each place is given by: (Number of times) at (Line):(Column).&lt;BR /&gt;24 at 3367:12 24 at 3368:9&lt;BR /&gt;NOTE: There were 54 observations read from the data set WORK.REF1.&lt;BR /&gt;NOTE: The data set WORK.REF has 54 observations and 9 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3370 * Deriving the dependent variable Q for the regression in each Sample;&lt;BR /&gt;3371 data ref;&lt;BR /&gt;3372 set ref;&lt;BR /&gt;3373 by group;&lt;BR /&gt;3374 lagCn=lag(Cn);&lt;BR /&gt;3375 retain G1;&lt;BR /&gt;3376 if first.group then do;&lt;BR /&gt;3377 G1=S;&lt;BR /&gt;3378 sumCiS=0;&lt;BR /&gt;3379 Q=(CnV+SumCiS)/A;&lt;BR /&gt;3380 end;&lt;BR /&gt;3381 else do;&lt;BR /&gt;3382 SumCiS+(lagCn*G1);&lt;BR /&gt;3383 Q=(CnV+SumCiS)/A;&lt;BR /&gt;3384 end;&lt;BR /&gt;3385 run;&lt;/P&gt;
&lt;P&gt;ERROR: BY variables are not properly sorted on data set WORK.REF.&lt;BR /&gt;T=5 Sample=RLD-6-5 Cn=7.35 V=7 S=0.5 A=1.76625 group=RLD sqrtTime=2.2360679775 CnV=51.45&lt;BR /&gt;FIRST.group=0 LAST.group=0 lagCn=. G1=0.5 sumCiS=66.845 Q=. _ERROR_=1 _N_=30&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 31 observations read from the data set WORK.REF.&lt;BR /&gt;WARNING: The data set WORK.REF may be incomplete. When this step was stopped there were 29&lt;BR /&gt;observations and 13 variables.&lt;BR /&gt;WARNING: Data set WORK.REF was not replaced because this step was stopped.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3386 data work.combine;&lt;BR /&gt;3387 set work.test work.ref;&lt;BR /&gt;3388 by Sample;&lt;BR /&gt;3389 run;&lt;/P&gt;
&lt;P&gt;ERROR: BY variables are not properly sorted on data set WORK.REF.&lt;BR /&gt;T=5 Sample=RLD-6-5 Cn=7.35 V=7 S=0.5 A=1.76625 group=RLD sqrtTime=2.2360679775 CnV=51.45&lt;BR /&gt;FIRST.Sample=1 LAST.Sample=1 _ERROR_=1 _N_=30&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 1 observations read from the data set WORK.TEST.&lt;BR /&gt;NOTE: There were 31 observations read from the data set WORK.REF.&lt;BR /&gt;WARNING: The data set WORK.COMBINE may be incomplete. When this step was stopped there were 29&lt;BR /&gt;observations and 9 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;/P&gt;
&lt;P&gt;&lt;BR /&gt;3390 proc print data=work.Combine;&lt;BR /&gt;3391 title 'Data Set TLGT Vs RLD';&lt;BR /&gt;3392 run;&lt;/P&gt;
&lt;P&gt;NOTE: There were 29 observations read from the data set WORK.COMBINE.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3393 proc sort data=work.test; by sqrtTime;&lt;BR /&gt;3394 run;&lt;/P&gt;
&lt;P&gt;NOTE: There were 53 observations read from the data set WORK.TEST.&lt;BR /&gt;NOTE: The data set WORK.TEST has 53 observations and 9 variables.&lt;BR /&gt;NOTE: PROCEDURE SORT used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3395 proc means data=work.test noprint;&lt;BR /&gt;3396 by sqrtTime;&lt;BR /&gt;3397 var Q;&lt;BR /&gt;ERROR: Variable Q not found.&lt;BR /&gt;3398 output out=summaryT mean=AverageQT;&lt;BR /&gt;3399 run;&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.SUMMARYT may be incomplete. When this step was stopped there were 0&lt;BR /&gt;observations and 0 variables.&lt;BR /&gt;NOTE: PROCEDURE MEANS used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3400 proc sort data=work.ref; by sqrtTime;&lt;BR /&gt;3401 run;&lt;/P&gt;
&lt;P&gt;NOTE: There were 54 observations read from the data set WORK.REF.&lt;BR /&gt;NOTE: The data set WORK.REF has 54 observations and 9 variables.&lt;BR /&gt;NOTE: PROCEDURE SORT used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3402 proc means data=work.ref noprint;&lt;BR /&gt;3403 by sqrtTime;&lt;BR /&gt;3404 var Q;&lt;BR /&gt;ERROR: Variable Q not found.&lt;BR /&gt;3405 output out=summaryR mean=AverageQR;&lt;BR /&gt;3406 run;&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.SUMMARYR may be incomplete. When this step was stopped there were 0&lt;BR /&gt;observations and 0 variables.&lt;BR /&gt;NOTE: PROCEDURE MEANS used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;3407&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3408 data twosets;&lt;BR /&gt;3409 set summaryT;&lt;BR /&gt;3410 set SummaryR;&lt;BR /&gt;3411 run;&lt;/P&gt;
&lt;P&gt;NOTE: There were 0 observations read from the data set WORK.SUMMARYT.&lt;BR /&gt;NOTE: The data set WORK.TWOSETS has 0 observations and 0 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.01 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3412&lt;BR /&gt;3413 proc print data=twosets;&lt;BR /&gt;3414 title 'Average Cumulative release of TLGT and RLD';&lt;BR /&gt;3415 run;&lt;/P&gt;
&lt;P&gt;NOTE: No variables in data set WORK.TWOSETS.&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&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3415! ;&lt;BR /&gt;3416&lt;BR /&gt;3417 proc sgplot data=work.combine1&lt;BR /&gt;3418 (where=(sqrtTime &amp;gt;= 0 and _freq_ = 6));&lt;BR /&gt;ERROR: File WORK.COMBINE1.DATA does not exist.&lt;BR /&gt;3419 title "TLGT Vs RLD";&lt;BR /&gt;3420 series x=SqrtTime y=AverageQR;&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;3421 series x=SqrtTime y=AverageQT;&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;3422 run;&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SGPLOT used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;3423 title;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 20:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328113#M62459</guid>
      <dc:creator>DShah</dc:creator>
      <dc:date>2017-01-27T20:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328116#M62460</link>
      <description>&lt;P&gt;Your first ERROR is related to the DATA step with the BY statement in it. &amp;nbsp;You data must first be sorted by the key variables in that BY statement. &amp;nbsp;That means you need a PROC SORT step ahead of that.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this is a program that you inherited and don't know how to maintain, you'll probably need to work with the author or someone else versed with the program. &amp;nbsp;This forum can help you to solve specific questions, but you might need a little more guidance and orientation to SAS programming, &amp;nbsp;There are lots of free resources if you're willing to learn.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 20:27:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328116#M62460</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-01-27T20:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328117#M62461</link>
      <description>&lt;P&gt;The first error is:&lt;/P&gt;
&lt;P&gt;ERROR: BY variables are not properly sorted on data set WORK.TEST.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So sort the dataset by the variables listed in your BY statement before the DATA step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sort data=test; by group; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have a similar error for your REF dataset and the fix is similar.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From reviewing the rest of your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that using this type of coding may lead to errors that are harder to debug:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data test;&lt;/P&gt;
&lt;P&gt;set test;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the COMBINE data step may have a logical error, it's not common to see a SET statement with a BY statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 20:29:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328117#M62461</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-27T20:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328121#M62462</link>
      <description>&lt;P&gt;It's probably because you got sorted data in earlier times, and suddenly it is not so.&lt;/P&gt;
&lt;P&gt;Absolutely no surprise, since your "data" comes from - tadaa - Excel, which is arguably the worst source one can think of.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I strongly suggest you change the file transfer format to something text-based, and read the data with a customized data step, which guarantees consistent data (or an error message if the data does not adhere to the agreed-upon format).&lt;/P&gt;
&lt;P&gt;And add the necssary proc sort so that the order is forced before the "by" step runs.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 20:37:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328121#M62462</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-27T20:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328138#M62466</link>
      <description>&lt;P&gt;thank you for your reply. the person has left who worked on this program.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 21:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328138#M62466</guid>
      <dc:creator>DShah</dc:creator>
      <dc:date>2017-01-27T21:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328140#M62467</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;i was able to remove some of the sort errors by changing the way it imports (RANGE="Test$_xlnm#Print_Area";) from excel. i have few errors left as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4269 proc sgplot data=work.combine1&lt;BR /&gt;4270 (where=(sqrtTime &amp;gt;= 0 and _freq_ = 6));&lt;BR /&gt;ERROR: File WORK.COMBINE1.DATA does not exist.&lt;BR /&gt;4271 title "TLGT Vs RLD";&lt;BR /&gt;4272 series x=SqrtTime y=AverageQR;&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;4273 series x=SqrtTime y=AverageQT;&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;4274 run;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SGPLOT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;4275 title;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 21:07:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328140#M62467</guid>
      <dc:creator>DShah</dc:creator>
      <dc:date>2017-01-27T21:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328141#M62468</link>
      <description>&lt;P&gt;Moments like these are ideal for a redesign and rewrite. The fact that a person who tolerated xlsm as SAS input has left your company is a good beginning.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 21:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328141#M62468</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-27T21:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328142#M62469</link>
      <description>&lt;P&gt;That means that COMBINE1 was not created in a previous step. Go "up" in the log until you find the code that should create that dataset.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 21:14:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328142#M62469</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-27T21:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328144#M62470</link>
      <description>&lt;P&gt;I was able to fix those errors. Thank you all for your help. I am so happy to see such helpful community. Thank you once again.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 21:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328144#M62470</guid>
      <dc:creator>DShah</dc:creator>
      <dc:date>2017-01-27T21:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BY variables are not properly sorted</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328147#M62471</link>
      <description>&lt;P&gt;From long experience: the fact that you fixed your problem&amp;nbsp;&lt;U&gt;for now&lt;/U&gt; shall not keep you from redesigning your process for greater stability, in light of the issues already mentioned.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 21:28:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-BY-variables-are-not-properly-sorted/m-p/328147#M62471</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-27T21:28:38Z</dc:date>
    </item>
  </channel>
</rss>

