Installation Note 46197: An "Invalid third argument to function SUBSTR.." error appears when running load_named_lists.sas on UNIX
In SAS® Enterprise GRC, errors might occur during development when executing load_named_lists.sas on UNIX. The error text is similar to the following:
NOTE: Invalid third argument to function SUBSTR at line 4004 column 238.
125 CHAR . 1
ZONE 0
NUMR D
properties_file=/install/dxd_grc/config/Lev1/Applications/
SASEnterpriseGRCServerCfg/4.3/Source/misc/sample/config/
named_list_options_de.properties
file_name=named_list_options_de.properties locale=de key=
value=
line=
pos=0 _ERROR_=1 _INFILE_=
_N_=125
line=x_risk_type.thr.txt = Gef\u00e4hrdung
pos=403
line=x_risk_type.opp.txt = Opportunit\u00e4t
pos=403
line=
pos=403
NOTE: Invalid third argument to function SUBSTR at line 4004 column 238.
The error is caused by properties files that have "control-M" (^M) characters at the end of each line. To work around the problem, remove the "control-M" characters and try again.
Operating System and Release Information
SAS System | SAS Enterprise GRC | Microsoft® Windows® for x64 | 5.1 | 5.1 | | 9.3 TS1M0 |
Microsoft Windows 95/98 | 5.1 | | | |
Microsoft Windows 2000 Advanced Server | 5.1 | | | |
Microsoft Windows 2000 Datacenter Server | 5.1 | | | |
Microsoft Windows 2000 Server | 5.1 | | | |
Microsoft Windows 2000 Professional | 5.1 | | | |
Microsoft Windows NT Workstation | 5.1 | | | |
Microsoft Windows Server 2003 Datacenter Edition | 5.1 | 5.1 | | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 5.1 | 5.1 | | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 5.1 | 5.1 | | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 5.1 | 5.1 | | 9.3 TS1M0 |
Microsoft Windows Server 2008 | 5.1 | 5.1 | | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 5.1 | 5.1 | | 9.3 TS1M0 |
Microsoft Windows XP Professional | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows 7 Enterprise 32 bit | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows 7 Enterprise x64 | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows 7 Home Premium 32 bit | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows 7 Home Premium x64 | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows 7 Professional 32 bit | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows 7 Professional x64 | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows 7 Ultimate 32 bit | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows 7 Ultimate x64 | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows Millennium Edition (Me) | 5.1 | | | |
Windows Vista | 5.1 | 5.1 | | 9.3 TS1M0 |
Windows Vista for x64 | 5.1 | 5.1 | | 9.3 TS1M0 |
64-bit Enabled AIX | 5.1 | 5.1 | | 9.3 TS1M0 |
64-bit Enabled Solaris | 5.1 | 5.1 | | 9.3 TS1M0 |
HP-UX IPF | 5.1 | 5.1 | | 9.3 TS1M0 |
Linux for x64 | 5.1 | 5.1 | | 9.3 TS1M0 |
Solaris for x64 | 5.1 | 5.1 | | 9.3 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.
Type: | Installation Note |
Priority: | medium |
Date Modified: | 2012-04-03 08:39:48 |
Date Created: | 2012-04-02 14:08:00 |