SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55943: Initialization of the SAS® Environment Manager Service Architecture fails when the SAS® Metadata Server host name contains a hyphen (-)

DetailsHotfixAboutRate It

When you initialize SAS® Environment Manager Service Architecture by running the emi_init script, the following error message might be displayed in the console:

Running validator level 2 diagnostics
Starting level 2 validation...
verifyProperties.sas failed with return code [253]
Level 2 validation completed with 1 error(s) in 4840 ms
EMI Framework validation failed lev 2. emiInit cannot continue. Errors are:
    verifyProperties.sas failed with return code [253]
Stopping execution

This same issue might occur when you run other programs that are associated with SAS Environment Manager Service Architecture. For example, you might encounter the following error when you run another program:

SAS Program [someProgramName.sas] FAILED with RC=253

This error indicates that there is a problem obtaining the configuration properties for SAS Environment Manager Service Architecture from SAS® Metadata Server.

The corresponding SAS® log also contains an error similar to the following for the invoked macro %GETMETACREDS:

ERROR 13-12: Unrecognized SAS option name -.
        NOTE: Line generated by the macro variable "SASMETAHOST".

These problems occur when your host name contains a hyphen. If that is the case for your host name, you can resolve the problem by making the following change to the getmetacred.sas file that resides in the SAS-configuration-directory/Web/SASEnvironmentManager/SASMacros/getmetacreds.sas directory.

In the getmetacred.sas file:

  1. Locate the following OPTIONS statement that is on or near line 64:
    options metaserver=&sasmetahost metaport=&sasmetaport metauser="&sasmetauser" metapass="&sasmetapwd";
  2. Change that line by adding double quotation marks around &SASMETAHOST, as shown below:
    options metaserver="&sasmetahost" metaport=&sasmetaport metauser="&sasmetauser" metapass="&sasmetapwd";

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Environment Manager Enablement Kit Server64-bit Enabled AIX2.42.59.4 TS1M29.4 TS1M3
64-bit Enabled Solaris2.42.59.4 TS1M29.4 TS1M3
HP-UX IPF2.42.59.4 TS1M29.4 TS1M3
Microsoft® Windows® for x642.42.59.4 TS1M29.4 TS1M3
Linux for x642.42.59.4 TS1M29.4 TS1M3
Solaris for x642.42.59.4 TS1M29.4 TS1M3
* 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.