Problem Note 32127: Tabs inside the SAS Enhanced Editor might not work correctly in SAS® 9.2
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:
- The code is run in the SAS 9.2 Enhanced Editor (it works fine in the Program
Editor.)
- 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):
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
SAS System | Base SAS | Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows XP Professional | 9.2 TS1M0 | 9.2 TS2M0 |
Windows Vista | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | 9.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.
Unusual characters might be displayed in the SAS Log window in the place of some SAS program code, even though the program code looks correct in the SAS 9.2 Enhanced Editor window, due to using tabs at the end of every line.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2008-07-07 10:19:10 |
Date Created: | 2008-05-16 10:19:08 |