Problem Note 43786: Grammar files for the USERPROC procedure are truncated and parsing errors occur
Grammar files for PROC USERPROC that are more than 80 characters might be truncated during processing, leading to errors. You might see messages similar to the following:
postproc: no parse tables were generated
postproc: aborted
The problem occurs when PROC USERPROC copies the grammar file to a temporary utility file and truncates the lines at 80 characters. Grammar lines that exceed 80 characters might look similar to this example:
VARSTMT =
@STMTPROC
@STMTLIST(13,1) "VARK" (ONEVAR (("/" ONEVAR @LISTVAL(6,1)) | @LISTVAL(6,0)))+
To avoid this problem, make sure that grammar statements do not exceed 80 characters on any given line. For example, to correct the previous statement, use this instead:
VARSTMT =
@STMTPROC
@STMTLIST(13,1) "VARK"
(ONEVAR (("/" ONEVAR @LISTVAL(6,1)) | @LISTVAL(6,0)))+
A fix for this issue is planned for a future software release.
Operating System and Release Information
SAS System | SAS/TOOLKIT | z/OS | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2008 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Enterprise 32 bit | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Enterprise x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Home Premium x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Professional 32 bit | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Professional x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Ultimate x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows Vista | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows Vista for x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
64-bit Enabled AIX | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
HP-UX IPF | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Linux | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Linux for x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
Solaris for x64 | 9.21 | 9.4 | 9.2 TS2M3 | 9.4 TS1M0 |
*
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.
Truncation of grammar-file contents causes parsing errors in PROC USERPROC.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-10-04 10:22:52 |
Date Created: | 2011-07-20 09:09:15 |