Data Requester DB2AS400: Running the Project

After setting up the project, you can run it.

Procedure

  1. In the Project Explorer view, expand the Module Descriptors resource, and then double-click Components.
  2. In the Components editor, select the process that you want to run.
  3. On the toolbar, click the Save icon.
  4. To run the selected process, on the menu bar, click Run > Debug Configurations.
  5. In the Debug Configurations dialog box, expand BusinessWorks Application, and then click BWApplication.
  6. In the right panel, click the Applications tab, and then under DB2AS400_DataRequester_customRPC.application select the check box next to the process you want to run.
  7. Click Debug to run the process.
  8. Click the Stop icon to stop the process.

Result

When the Execute_procedure_GETPRICE process runs successfully, it returns the price of the item whose ID you have provided as input.

When the Execute_procedure_PARAMTEST process runs successfully, it returns the information corresponding to the input you have provided.

When the Execute_procedure_SETDESCRIPTION process runs successfully, it updates the database with the information you have provided as input.