EGLCMD

The command EGLCMD gives you access to the Workbench batch interface, as described in Generation from the workbench batch interface.

Syntax

The syntax for invoking EGLCMD is as follows:


EGLCMD syntax diagram: java EGLCMD file_name [parameters ...]
generate
Indicates that the command itself references the EGL source file and build descriptor part that are used to generate output. In this case, the command EGLCMD does not reference a command file.
–data workSpace
Specifies the absolute or relative path of the workspace directory. Relative paths are relative to the directory in which you run the command.

If you do not specify a value, the command accesses the Eclipse default workspace.

Embed the path in double quotes.

cmdFile
Specifies the absolute or relative path of the file described in EGL command file. Relative paths are relative to the directory in which you run the command.

Embed the path in double quotes.

The command file must be in your workspace; otherwise, use the Eclipse import process to import the file and then rerun EGLCMD.

–generateFile genFile
Specifies the absolute or relative path of the EGL file that contains the part you want to process. Relative paths are relative to the directory in which you run the command.

Embed the path in double quotes.

–buildDescriptorFile bdFile
Specifies the absolute or relative path of the build file that contains the build descriptor. Relative paths are relative to the directory in which you run the command.

Embed the path in double quotes.

–buildDescriptorName bdName
Specifies the name of a build descriptor part that guides generation. The build descriptor must be at the top level of an EGL build (.eglbld) file.
–sqlID sqlID
Sets the value of build descriptor option sqlID.
–sqlPassword sqlPW
Sets the value of build descriptor option sqlPassword.
–destUserid destID
Sets the value of build descriptor option destUserID.
–destPassword destPW
Sets the value of build descriptor option destPassword.

Build descriptor options that you specify when invoking the command EGLCMD take precedence over options in the build descriptor (if any) that is listed in the EGL command file.

Examples

In the commands that follow, each multiline example belongs on a single line:

java EGLCMD "commandfile.xml"

java EGLCMD "commandfile.xml" -data "c:\myWorkSpace"

java EGLCMD generate
    -generateFile "c:\myProg.eglpgm"
    -data "myWorkSpace"
    -buildDescriptorFile "c:\myBuild.eglbld"
    -buildDescriptorName myBuildDescriptor
 
java EGLCMD "myCommand.xml"
    -data "my WorkSpace"
    -sqlID myID -sqlPassword myPW
    -destUserID myUserID -destPassword myPass
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.