![]() | ![]() | ![]() | ![]() | ![]() |
With SAS® 9.4M5 (TS1M5), you might encounter slow connection times to PI Servers when you run a LIBNAME statement under Linux to connect to PI servers.
This problem occurs because of the way that SAS checks the authentication method. The PI System Web API supports the authentication methods listed below (in addition to the SSL certificate check):
By default, the SAS engine checks the authentication methods in the following order until a valid method is found: none, basic, Kerberos. This behavior might cause significant delay (10+ seconds) while you wait for the denial for methods that are not supported.
Click the Hot Fix tab in this note to access the hot fix for this issue.
To avoid the performance delay, you can set the SAS_PI_WEB_AUTH environment variable if you know that your PI Web API server requires Kerberos authentication.
For example, if your site uses Kerberos as the authentication method, you can set the SAS option as shown here before running the LIBNAME statement:
Or, you can add the line below to your sasenv_local file:
This SAS_PI_WEB_AUTH environment variable is available only for SAS 9.4M5 with this hot fix installed and for SAS® 9.4M6 (TS1M6) and later versions.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS/ACCESS Interface to the PI System | 64-bit Enabled AIX | 9.43 | 9.44 | 9.4 TS1M5 | 9.4 TS1M6 |
64-bit Enabled Solaris | 9.43 | 9.44 | 9.4 TS1M5 | 9.4 TS1M6 | ||
HP-UX IPF | 9.43 | 9.44 | 9.4 TS1M5 | 9.4 TS1M6 | ||
Linux for x64 | 9.43 | 9.44 | 9.4 TS1M5 | 9.4 TS1M6 | ||
Solaris for x64 | 9.43 | 9.44 | 9.4 TS1M5 | 9.4 TS1M6 |