Contents SAS/IntrNet 8.2: Application Dispatcher Previous Next

Upgrading from a Previous Version

The Version 8 Application Dispatcher has changed greatly from previous versions. While most applications developed for previous versions will not require changes to run under Version 8, there are significant changes to the set up and administration of the Application Dispatcher. The following sections describe issues you may need to consider when you upgrade an existing installation.

Upgrading an Existing Service

Existing Application Dispatcher services can either be upgraded to Version 8 or left at an earlier version. Follow the steps below to upgrade an existing service to Version 8. Note that both the SAS command and the submitted SAS statements have changed with Version 8. Do not attempt to start a Version 8 Application Server with command line options or submitted statements from a previous version. See the Multiple SAS System Versions section below if you want to keep a service at a previous version.

  1. Use the configuration utility (inetcfg) to create a Version 8 Application Dispatcher service with the same name as your existing service. This utility will create a standard service definition without any customizations you may have added in your existing installation.

  2. Convert any LIBNAME or FILENAME statements in your Version 6 or Version 7 permdata.sas file to the corresponding ALLOCATE LIBRARY or ALLOCATE FILE statements in the appstart.sas file created by the inetcfg utility. You will also need to add each of these librefs to the DATALIBS statement in the appstart.sas file. This will make the librefs available globally to all requests executed by the Application Server.

  3. Convert any LIBNAME or FILENAME statements in your existing srvauto.sas file to corresponding ALLOCATE LIBRARY or ALLOCATE FILE statements in the appstart.sas file created by the inetcfg utility. You will also need to add each of these librefs to the PROGLIBS statement in the appstart.sas file. This will allow programs residing in the librefs or filerefs to be executed by the Application Server.

    LIBNAME statements in srvauto.sas should be converted to ALLOCATE LIBRARY statements if the library contains SAS catalog entries to be executed. LIBNAME statements should be converted to ALLOCATE FILE statements if the library contains .sas files to be executed. For example, if your srvauto.sas file contains

       LIBNAME  MYLIB  'C:\webapp\mypgms';
    

    and the C:\webapp\mypgms directory contains both SAS catalogs and .sas files, your appstart.sas file should contain the following statements:

       ALLOCATE LIBRARY MYLIB 'C:\webapp\mypgms';
       ALLOCATE FILE MYLIB 'C:\webapp\mypgms';
       PROGLIBS MYLIB;
    

  4. Statements other than LIBNAME and FILENAME statements in your srvauto.sas file must generally be moved to a request init program. See the REQUEST statement for more information on request init programs.

  5. If you have modified your reset.sas file, you may need to create a request init program for your Version 8 Application Server. Move any modified code from reset.sas to the request init program. See the REQUEST statement for more information on request init programs.

  6. Check the service definition in your broker.cfg file on your Web server. Compare it with the Version 8 template broker.cfg to see if any changes are necessary. Generally no changes are required for socket services. There are significant changes to the configuration parameters for launch services. Read the template file carefully for more information.

Running Existing Programs

Existing Version 6 or Version 7 programs will run on the Version 8 Application Server without modifications in most cases.

Multiple SAS System Versions

The Version 8 Application Dispatcher is compatible with existing Version 6 or Version 7 Application Servers. However, you must install the Version 8 CGI Tools package on your Web server to use the Version 8 Application Server.


Contents SAS/IntrNet 8.2: Application Dispatcher Previous Next