SHARELIB library for common components

 

Configuration
This component can be added to all web applications so it can be used to manage common components.  Do the following configuration steps.

  1. APPSTART - Edit the appstart.sas to include the following lines.  This will be used to store the SHARECOM catalog.  Update this to reflect your application location.

    *** Define the location where SHARELIB is stored ***;
    allocate library sharelib 'C:\AppServ\www\sharecom' access=readonly;
    datalibs sharelib;
    proglibs sharelib;

    *** Define the location where data folder is stored ***;
    allocate library cdiscdat 'C:\AppServ\www\cdiscbuilder\data;
    datalibs sharelib;
    proglibs sharelib;

  2. SHARECOM CATALOG - Copy the SHARECOM catalog from our server (\\mxiserver\mxiwebroot\sharecom) to the location that has been assigned in step 1. Ex: C:\AppServ\www\sharecom

  3. Program Call - All other programs that call to any common component in the SHARECOM will call it with the following template.
       *** Pass the parameter to the SCL code ***;
       call symput('lib', 'TMP1');
       call symput('dat', 'AE');
    *** Call the Preview Component ***; call display('sharelib.sharecom.wpreview.scl');

  4. Updating SHARECOM catalog - Each time the SHARECOM catalog is updated, please make sure that it has been backed up and versioned with SyValidate tools. This will make it easier to keep track of what had been updated and restore if neccessary.
 
 Last updated on November 19.2007 by Thanh Huynh