Usage Note 34283: A SAS® IT Resource Management 3.1.1 aggregation job might fail because it cannot resolve the _ENCODEVALUE macro
A SAS IT Resource Management 3.1.1 aggregation job that executes an information-map transformation prior to an aggregation transformation might fail with the following warning and error:
WARNING: Apparent invocation of macro _ENCODEVALUE not resolved.
ERROR 180-322: Statement is not valid or it is used out of proper order.
This problem usually occurs in aggregation jobs with user-defined tables because of the order of the information map and aggregation transformations. Also, be sure to check the SAS log for file-allocation errors, which might cause the aggregation job to fail prematurely and not define the _ENCODEVALUE macro.
To circumvent this problem for aggregation jobs that are associated with user-defined tables, you must insert the following code at the top of the job to define the _encodeValue macro:
%macro _encodeValue(stringVar);
%if ('&sysscp' eq 'OS') %then %do;
encoding = getoption('ENCODING');
if (encoding not in ('EBCDIC1047','OPEN_ED-1047')) then do;
&stringVar = kcvt(&stringVar,'EBCDIC1047',encoding);
end;
%end;
%mend _encodeValue;
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS IT Resource Management-Server | z/OS | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows XP 64-bit Edition | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft® Windows® for x64 | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Advanced Server | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise Edition | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Standard Edition | 3.1.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows XP Professional | 3.1.1 | | 9.1 TS1M3 SP4 | |
Windows Vista | 3.1.1 | | 9.1 TS1M3 SP4 | |
64-bit Enabled AIX | 3.1.1 | | 9.1 TS1M3 SP4 | |
64-bit Enabled HP-UX | 3.1.1 | | 9.1 TS1M3 SP4 | |
64-bit Enabled Solaris | 3.1.1 | | 9.1 TS1M3 SP4 | |
HP-UX IPF | 3.1.1 | | 9.1 TS1M3 SP4 | |
Linux | 3.1.1 | | 9.1 TS1M3 SP4 | |
Tru64 UNIX | 3.1.1 | | 9.1 TS1M3 SP4 | |
*
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: | Usage Note |
Priority: | medium |
Date Modified: | 2012-10-12 10:24:55 |
Date Created: | 2008-12-22 10:34:39 |