If you inadvertently create a service name redirection file in which an assigned access service name is not uniquely specified, the system uses the following precedence rules to resolve the problem. The first rule defines the highest precedence, the eighth one the lowest.
A null-requested service is treated as any other explicitly-specified service.
To see how the precedence rules work, assume that you set up the service name redirection file shown in the following table.
Based upon the preceding table, the following are true:
If Bob requests service AS400 using an isql command, he is redirected to service “as1.”
If anyone other than Bob requests AS400 using an isql command, that person is directed to service “as2.”
Anyone who requests service AS400 using Omni is directed to service “omniA.”
Anyone who requests service AS400 using PowerBuilder is redirected to service “powerB.”
Anyone who requests service AS400 using any other application is not redirected. Such requests are connected directly to service “AS400.”
Anyone who requests service DB2 UDB using Omni is directed to service “db2omni.”
Anyone who requests service DB2 UDB using any other application is redirected to service “db2gen.”
All Microsoft and earlier Sybase DB-Library clients for which the requested service name is blank are directed to service “as3.”
Finally, all other clients are routed to service “as4.”
Copyright © 2005. Sybase Inc. All rights reserved. |