EGL Text User Interface setup instructions

To work with the EGL Text User Interface sample, do as follows:

  • Ensure that DB2 and the Sample database are installed on the target platform

  • To debug, right click on either DetailClient.egl or ListingClient.egl and select Debug EGL program

  • To generate and run the application as a Java application, do this:
    1. Import the EmployeeLinkage.eglbld file into your build descriptor
    2. Make sure the build descriptor option linkage is set to EmployeeLinkage
    3. Make sure the build descriptor option targetNLS is set to ENU
    4. Make sure a valid user ID and password are supplied for a DB2 SQL database connection
      • Select Window > Preferences
      • Expand EGL and select SQL Database Connections
      • Supply a valid DB2 User ID and password
    5. 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. Right click on the project and select Generate
    7. Right click on DCLIENT.java or LCLIENT.java in the JavaSource directory and select Run > Java Application

  • To generate and run the application as a z/OS CICS COBOL application, do this:
    1. Import the EmployeeLinkage.eglbld file into your build descriptor
    2. Make sure the build descriptor option linkage is set to EmployeeLinkage
    3. Make sure the build descriptor option targetNLS is set to ENU
    4. Make sure the build descriptor has the correct values for the symparms
      DSNLOAD, ELA, and DSYS; for example:
      DSNLOAD = DSN7.DSNLOAD, ELA = WSED.R5V1M2, DSYS=DSN7
    5. Right click on the project and select Generate
    6. Define the transaction and the generated programs, data tables, and form groups to CICS
    7. Execute the transaction