SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 32127: Tabs inside the SAS Enhanced Editor might not work correctly in SAS® 9.2

DetailsHotfixAboutRate It

The Enhanced Editor might handle tabs in SAS 9.2 incorrectly, when the same code runs in SAS 9.1.3 successfully.

When this happens you might see the following error:

ERROR 18-322: Statement is not valid or it is used out of proper order.

In order for this to occur, all of the following must be true:

  1. The code is run in the SAS 9.2 Enhanced Editor (it works fine in the Program Editor.)
  2. Every line that is submitted to SAS must have at least one tab at the end of the line. If there is at least one line that does not have a trailing tab, then the code runs as expected.

To re-create this problem, run the following code (make sure to use the tab after each line and at the beginning of the second line):

   data x;
       x=1;
   run;
The SAS Log results in SAS 9.1.3:
   1    data x;
   2        x=1;
   3    run;

   Note: The data set WORK.X has 1 observation and 1 variables.

The SAS Log results in SAS 9.2:

   1    data x;
   2        x=1;
   3    rℑℑG????
 
       _  _
   ERROR 180-322: Statement is not valid or it is 
   used out of proper order.

The current workaround is to not use the tabs at the end of the code. Hot fix F9BA02 (SAS 9.2) is available for this issue.

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M09.2 TS2M0
Microsoft Windows XP 64-bit Edition9.2 TS1M09.2 TS2M0
Microsoft® Windows® for x649.2 TS1M09.2 TS2M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M09.2 TS2M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M09.2 TS2M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M09.2 TS2M0
Microsoft Windows XP Professional9.2 TS1M09.2 TS2M0
Windows Vista9.2 TS1M09.2 TS2M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M09.2 TS2M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M09.2 TS2M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.