Add and implement a program

Implementing a program entity on the BA diagram creates the 4prg file which is used to generate the program code.

  1. Open the BA diagram to which you want to add a program.
  2. Right-click on the diagram and select New, Program to add a new Program entity.
  3. From the BA diagram, select a program entity.
  4. Right-click and select Implement Program. Save and name the 4prg file and optionally select to insert it into a location in the project.
    The 4prg file is in the project along with placeholders in the Intermediate Files folder for the xml and 4gl source files that will be generated for the program.