Gleam User Guide:  Running Gleam

Running Gleam the First Time

Assuming you have an installed and compiled version of Gleam, now you will want to run the application.  Before getting into the details, you should try running Gleam using its default settings, based upon the default jobOptions file.  For more information about jobOptions files, see the next section.

Windows

You can run Gleam in a number of ways: using VCMT, within Visual C++, or on the Windows command line (DOS prompt).

Step By Step:

  1. Using VCMT
    1. Follow the directions included in the SAS Code How-to Pages
    2. Specifically, you will choose the Gleam package in the package list
    3. Choose Gleam-app in the Project drop-down list in the msdev section of VCMT.
    4. Click run in the msdev section of VCMT.
  2. Using Windows Command Line
    1. Follow the directions in the SAS Code How-to Pages.
    2. You can also create bat files that will allow you to run Gleam from the command line or create a short cut on your desktop.
      1. Running any application first requires running the setup.bat file associated with the package, and then running the application.  You need to know 2 things:
        1. The full path to the setup.bat file for the version of Gleam you want to run
        2. The full path to the version of the Gleam executable you want to execute.  Note that it will be located in a directory called Win32Debug or Win32.
      2. Next create a new bat file, name it anything you like, as long as it ends in the .bat extension.  It should contain two lines, for example, if the path to my copy of Gleam is in: C:\packages\Gleam\v2r4 do:
        C:\packages\Gleam\v2r4\cmt\setup.bat
        C:\packages\Gleam\v2r4\Win32Debug\Gleam.exe
        or to schedule a run for a specific time, or to run in the background, use the start command:
        C:\packages\Gleam\v2r4\cmt\setup.bat
        start /low /b C:\packages\Gleam\v2r4\Win32Debug\Gleam.exe
      3. Now you can run Gleam from the command line by typing in the name of your new bat file or just by double-clicking on the bat file name in Windows Explorer.  You could also create a short cut to this BAST 
  3. Using Visual C++
    Note:  This is not the typical way to run Gleam, but you may desire to debug the program or attempt to trap an error.
    1. Highlight the Gleam package in the VCMT package list.
    2. Click the start button in VCMT to begin Visual C++
    3. Set Gleam as the active project
      Refer to the Visual C++ help pages if you do not know how to do this
    4. To just run Gleam without using the debugger, type Ctrl-F5.
      To run Gleam using the debugger, type F5.

Linux

You can use glastpack to run any application, including Gleam.
glastpack.pl run Gleam virn Gleam.exe

 

H. Kelly Last Modified:  2002-12-02 11:43:26 -0800