EGL Text User Interface setup instructions

Here are the instructions for setting up the EGL Text User Interface sample.

Before you begin

Before running the sample, do the following:

About this task

To generate and run the application, do the following:

Procedure

  1. Import EmployeeLinkage.eglbld into your build descriptor file. Open the file in your EGL editor, click the "Imports" tab, and the "Add" button. Specify EmployeeLinkage.eglbld in the resulting dialog.
  2. Set the build descriptor option linkage is set to "EmployeeLinkage".
  3. Set the build descriptor option targetNLS to "ENU".
  4. If you are generating for Java™, supply a valid user ID and password for a DB2 SQL database connection. Under Window > Preferences, expand EGL and select SQL Database Connections; supply a valid DB2 User ID and password.
  5. If you are generating for Java, make sure the project Java build path contains the path of the db2jcc.jar file on your machine; for example: D:\Program Files\IBM\SQLLIB\java\db2jcc.jar. Also include db2jcc_license_cu.jar and db2jcc_license_cisuz.jar if they are in the same directory.
  6. If you are generating for COBOL, make sure the build descriptor has the correct values for the DSNLOAD, ELA, and DSYS symbolic parameters; for example: DSNLOAD = DB2INST.SDSNLOAD, ELA = ELA.V6R0M1, DSYS = DSNX
  7. Right click on the project and select Generate.
  8. Right click on DCLIENT.java or LCLIENT.java in the JavaSource directory and select Run > Java Application.

Feedback