> Defining User Exit Commands

Follow these steps to define user exit commands.

  1. Open the Commands form (BMCMND).

  2. Click the Record view tab. Datastream 7i displays the Record view page.

  3. Code—Enter a unique code identifying the user exit, and then enter a description of the user exit in the adjacent field.

  4. Command—Enter the command to start the external application. Include the list of parameters.

  5. Choose File | Save from the menu bar. Datastream 7i saves the information to the database.

  6. Open the User functions form (BMUFUN).

  7. Click the Record view tab. Datastream 7i displays the Record view page.

  8. Function—Enter a unique code identifying a new user function, and then enter a description of the function in the adjacent field.

  9. Class—Click to select UEXT.

  10. File—Enter the file for the user exit.

  11. Path—Enter the directory path for the user exit.

  12. Command—Click to select the host command defined on the Commands form (BMCMND).

  13. Choose File | Save from the menu bar. Datastream 7i saves the information to the database.

  14. Test the user exit by opening the relevant form and then starting the application.