Problem Note 46264: The Transform Variables node gives "ERROR 79-322: Expecting a )"
If you specify Quantile binning in the SAS® Enterprise Miner™ Transform Variables node, you might receive an error:
ERROR 79-322: Expecting a ).
ERROR 180-322: Statement is not valid or it is used out of proper order.
The problem occurs if your data contains a Frequency variable.
To work around the problem, expand the data instead of using a Frequency variable.
EXAMPLE
Suppose that your data contains a Frequency variable named MY_FREQ. One way to expand the data is to use a SAS Code node. Use the Code Editor in the SAS Code node to enter the following code:
data &EM_EXPORT_TRAIN;
drop my_counter;
set &EM_IMPORT_DATA;
do my_counter=1 to MY_FREQ;
output;
end;
run;
/* optionally, set the role of MY_FREQ as Rejected */
%em_metachange(name=MY_FREQ,role=rejected);
Operating System and Release Information
SAS System | SAS Enterprise Miner | z/OS | 7.1 | 12.1 | | 9.3 TS1M2 |
Microsoft® Windows® for x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter Edition | 7.1 | 12.1 | | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise Edition | 7.1 | 12.1 | | 9.3 TS1M2 |
Microsoft Windows Server 2003 Standard Edition | 7.1 | 12.1 | | 9.3 TS1M2 |
Microsoft Windows Server 2003 for x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
Microsoft Windows Server 2008 | 7.1 | 12.1 | | 9.3 TS1M2 |
Microsoft Windows Server 2008 for x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
Microsoft Windows XP Professional | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows 7 Enterprise 32 bit | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows 7 Enterprise x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows 7 Home Premium 32 bit | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows 7 Home Premium x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows 7 Professional 32 bit | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows 7 Professional x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows 7 Ultimate 32 bit | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows 7 Ultimate x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows Vista | 7.1 | 12.1 | | 9.3 TS1M2 |
Windows Vista for x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
64-bit Enabled AIX | 7.1 | 12.1 | | 9.3 TS1M2 |
64-bit Enabled HP-UX | 7.1 | 12.1 | | 9.3 TS1M2 |
64-bit Enabled Solaris | 7.1 | 12.1 | | 9.3 TS1M2 |
HP-UX IPF | 7.1 | 12.1 | | 9.3 TS1M2 |
Linux | 7.1 | 12.1 | | 9.3 TS1M2 |
Linux for x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
Solaris for x64 | 7.1 | 12.1 | | 9.3 TS1M2 |
*
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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-04-10 14:43:50 |
Date Created: | 2012-04-10 14:03:21 |