Creating the Agent Adapter subscription for the sample application

Procedure

  1. Open the Administrátor from the start menu.
  2. Select the Subscriptions folder of the Administrátor.
  3. Right-click on the Subscriptions folder of the Administrátor and select Create Custom Subscription.
  4. Enter a name for the subscription in the Name field. Type subex in the Name field.
  5. Select the AgentAdapter in the Adapter field.
  6. Select None in the Encryption field. Encryption is not support with the AgentAdapter.
  7. Click the Launch Customizer button. The Source database window opens.
  8. Type a DB2 user ID with access privileges to the database into the User ID field
  9. Type the password for the user ID in the Password and Verify password field.
  10. In the Other field, type the following line:
    dbname=mysample;procname=db2e.MYPROC
    

    The dbname is the database used by the stored procedure. The procname is the name of the stored procedure.

  11. Click OK to close the Source database window. Click OK to close the Create Custom Subscription notebook.

After creating the AgentAdapter subscription, create a user, group, and subscription set.

Související koncepce

Související úlohy

Související odkazy