Xplore's Source Code

Xplore is distributed with complete source code. The source code is located in the WEBSAMP catalog of the SAMPLIB library (created when you install the SAS/IntrNet Server).
Xplore's source code is portable across all SAS/IntrNet platforms. If you are an expert user, you can use the source code as a model or template for your own applications. You can also use some of the programs as-is in your applications.
Note: SAS supports the Xplore source code in its unmodified form only.
You can view Xplore's source code either from within the SAS environment or from the Web.
  • To view the code from the SAS environment:
    1. Issue a LIBNAME statement that points to the directory where the WEBSAMP catalog is stored.
    2. Use the BUILD command to view the source code in the WEBSAMP catalog.
  • To view the source code from the Web:
    1. From Xplore's main page, select the SAMPDAT library from the list in the left frame of your Web browser. Note: SAMPDAT is used instead of SAMPLIB for viewing purposes only. When you run your programs, they should still be run from SAMPLIB.WEBSAMP.
    2. Select WEBSAMP.CATALOG from the list of SAMPDAT members. Xplore then displays a list of WEBSAMP.CATALOG members from which you can select.
    3. Select any of the .SCL or .SOURCE members that are listed, and Xplore displays that source code in the right frame of your Web browser.