Problem Note 30704: The SASĀ® Model Manager MM_RUNREPORTS macro gives "syntax error... symbol is not recognized..." if variables are formatted
The MM_RunReports macro in SAS Model Manager might give a syntax error if any of the input variables have an associated format. Here is an example of how the error might appear in the SAS log:
942 data MM_12;
943 length varname binname $32;
944 set MM_12;
945 drop OCCUPATION;
NOTE: SCL source line.
946 binname = put(OCCUPATION,$13..);
_
22
_
200
ERROR 22-322: Syntax error, expecting one of the following: ), -.
ERROR 200-322: The symbol is not recognized and will be ignored.
Here are two workarounds for this issue.
Operating System and Release Information
| SAS System | SAS Model Manager | Microsoft Windows Server 2003 Datacenter Edition | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Microsoft Windows Server 2003 Enterprise Edition | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Microsoft Windows Server 2003 Standard Edition | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Microsoft Windows XP Professional | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Windows Vista | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Windows Vista for x64 | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| 64-bit Enabled AIX | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| 64-bit Enabled Solaris | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| AIX | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Solaris | 2.1 | 2.2 | 9.1 TS1M3 SP4 | 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.
Running the MM_RunReports macro within SAS Model Manager 2.1 might return a syntax error when formats are present.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2013-03-04 16:02:57 |
| Date Created: | 2007-12-06 12:55:15 |