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 file and build descriptor part that are used to generate output. In this case, the command EGLCMD does not reference a command file.

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.

–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.

–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 a subdirectory named Workspace in the current directory.

Embed the path in double quotes.

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"
    -buildDescriptorFile "c:\myBuild.eglbld"
    -buildDescriptorName myBuildDescriptor
    -data "myWorkSpace"

java EGLCMD "myCommand.xml"
    -sqlID myID -sqlPassword myPW
    -destUserID myUserID -destPassword myPass
    -data "my WorkSpace"

Related concepts
Generation from the workbench batch interface

Related tasks
Generating from the workbench batch interface
Syntax diagram

Related reference
destPassword
destUserID
sqlID
sqlPassword