EGL Reference Guide for iSeries

Generation from the EGL SDK

The EGL software development kit (SDK) is a feature that lets you generate output in a batch environment, even when you lack access to the following aspects of WebSphere Studio:

You can use the EGL SDK to trigger generation from a software configuration management (SCM) tool such as Rational(R) ClearCase(R), perhaps as part of a batch job that is run after normal working hours.

To invoke the EGL SDK, you use the command EGLSDK in a batch file or at a command prompt. The command invocation itself can take either of two forms:

However you organize your work, you can specify a value for eglpath, which is a list of directories that are searched when the EGL SDK uses an import statement to resolve a part reference. Also, you must specify the build descriptor option genDirectory instead of genProject.

The prerequisites and process for using EGLSDK are described in Generating from the EGL SDK. For details on the command invocation, see EGLSDK.


Related concepts
Development process
Generated output


Related tasks
Generating from the EGL SDK


Related reference
genDirectory
EGLCMD
EGL build path and eglpath
EGLSDK

Generating from the EGL SDK

To generate from the EGL SDK, do as follows:

  1. Make sure that Java 1.3.1 (or a higher level) is on the machine where you will generate code. An appropriate level of Java code is installed automatically on the machine where you install EGL. The Java levels on the generation and target machines must be compatible.
  2. Make sure that eglbatchgen.jar is in your Java classpath, as happens automatically on the machine where you install EGL. The jar file is in the WebSphere Studio installation directory (like c:\myStudio), in the following subdirectory:
    wstools\eclipse\plugins\
    com.ibm.etools.egl.batchgeneration_version
    

    version
    The installed version of the plugin; for example, 5.1.2
  3. If you wish to enable COBOL generation for iSeries, make sure that the run-time jar file eglwdsc.jar is in your class path. The jar file is in the WebSphere Studio installation directory (like c:\myStudio), in the following subdirectory:
    wstools\eclipse\plugins\
    com.ibm.etools.egl.wdsc_version\runtime
    

    version
    The installed version of the plugin; for example, 5.1.2
  4. Make sure that the EGL SDK can access the EGL files that are required for generation
  5. Optionally, develop an EGL command file
  6. Invoke the command EGLSDK, possibly in a larger batch job that generates, runs, and tests the code


Related concepts
Generation from the EGL SDK
EGL projects, packages, and files


Related reference
EGLCMD
EGL build path and eglpath
EGLSDK


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