Previous Topic: Add the Module to the Service Program

Next Topic: Create a Web Service Function

Generate and Compile the Service Program

The combined module and Service Program are not usable until you generate and compile.

Follow these steps:

  1. Take option F against the Order detail file from EDIT DATABASE RELATIONS to access the EDIT FUNCTIONS screen.
  2. Take option J (Generate) on the Order srvpgm Service Program.
  3. Press F17 for the Services Menu, and take option 1 (Submit model create).
  4. Press Enter to submit the job, which generates and compiles the source.

    Note: Depending on your processing speed, the compile can complete quickly or take several minutes.

  5. Press F3 until you return to the EDIT FUNCTIONS screen.

This gives you a usable, compiled Service Program that includes the EEF RTV Order module you created. Next, create a Web Service Function that includes the compiled Service Program.