In the Windows sql.ini file or the UNIX interfaces file, add a QUERY section with the same name and ConnectionSpec that was added in step 2 (service_name).
For more information, see the Adaptive Server Enterprise System Administration Guide and the Adaptive Server Enterprise Reference Guide.