IBM Books

Administration and Programming Guide for OS/2, Windows NT, and UNIX


Running the SmartGuides

The Net.Data SmartGuides are started from the command line and contained in the file, NetDataSmartGuides.jar.

To start a SmartGuide with the Java Development Kit (JDK):

  1. Add the following line to your CLASSPATH environment variable.
    [Path]NetDataSmartGuides.jar
    
    where [Path] is the optional path to the NetDataSmartGuides.jar file.

  2. If you want to use the database connect feature of the Drilldown and Stored Procedure SmartGuide, add the UDB JDBC driver to your CLASSPATH environment variable.

    For Windows NT and OS/2 operating systems, add the following line to your CLASSPATH environment vairable:

    [Path]NetDataSmartGuides.jar;[UDBInstallationPath]\java\db2java.zip
    

    For UNIX operating systems, add the following line to your CLASSPATH environment vairable:

    [Path]NetDataSmartGuides.jar:[UDBInstallationPath]\java\db2java.zip
    

    Where [Path] is the optional path to the NetDataSmartGuides.jar file and [UDBInstallationPath] is the path to your UDB installation, for example C:\SQLLIB.

  3. Start the SmartGuide.

    A launchpad opens with the list of available SmartGuides as shown in Figure 26.

    Figure 26. The SmartGuide Lauchpad



    The SmartGuide Lauchpad

  4. Click on the name of the SmartGuide that you want to run.

To start a SmartGuide with the Java Runtime Environment (JRE):

  1. For the Windows NT operating system, choose Start->Programs->Net.Data->SmartGuides, which runs a batch file called SMARTGUIDES.BAT. For other operating systems, type the following command to run the SmartGuides:
    jre -cp [Path]NetDataSmartGuides.jar TaskGuide LaunchPad.class
    
    where [Path] is the optional path to the NetDataSmartGuides.jar file.

    A launchpad opens with the list of available SmartGuides as shown in Figure 26.

  2. If you want to use the database connect feature of the Drilldown and Stored Procedure SmartGuide, type the following command:

    For Windows NT and OS/2 operating systems:

    jre -cp [Path]NetDataSmartGuides.jar;[UDBInstallationPath]
      \java\db2java.zip TaskGuide LaunchPad.class
    

    For UNIX operating systems:

    jre -cp [Path]NetDataSmartGuides.jar:[UDBInstallationPath]
      \java\db2java.zip TaskGuide LaunchPad.class
    

    Where [Path] is the optional path to the NetDataSmartGuides.jar file and [UDBInstallationPath] is the path to your UDB installation, for example C:\SQLLIB.

  3. Click on the name of the SmartGuide that you want to run.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]