17 Change Generated Source Code

This chapter contains the topic:

After you generate code for a specific program, you can enter any necessary modifications to the code by using the Source Entry Utility (SEU). The program generator maintains a copy of all modifications in a separate file. When you make changes to the files for the program, or the detailed field definition parameters, you can regenerate the program source to reflect the changes and maintain your modifications.

The Program Generator indexes the modification lines based on the data the system maintains in column positions 81 through 113. After the program generates, it merges the modification lines in to the generated code according to their index values.

There are two different methods to change generated source code.

17.1 Pre-SEU and Post-SEU Process

A front-end JD Edwards World program, MPxxxxx, monitors the changes on the SEU. The MPxxxxx job does not have to finish before you recompile. The system automatically merges the changes on the SEU when you generate the program, not when you compile. The system stores all changes on the SEU in the Pxxxxx member in the Additional Help/Modifications Master file (F93002).

For source code lines that you move or copy, you must clear the serial number from column 80 onward.

You can view all changes on the SEU by entering 30 in the Option field on the Software Versions Repository.

Columns 1 and 2 include a 21 for lines you add, 22 for changes, and 23 for lines you delete.

Figure 17-1 Pre-SEU and Post-SEU Processes

Description of Figure 17-1 follows
Description of "Figure 17-1 Pre-SEU and Post-SEU Processes"

To change generated source code

From the Software Versions Repository, locate a program and perform one of the following:

  1. Enter 2 in the following field to access the JD Edwards World SEU feature

    • Option

  2. On SEU, make your changes.

    When you change your program using SEU, you do not have to regenerate the code. You only need to recompile the changes.

Alternatively, after you locate a program on Software Versions Repository you can:

  1. Access Define General Specifications.

  2. On Define General Specifications, enter 1 the following field to access Detailed Programming Facility.

    • Option

  3. On Detailed Programming Facility, enter 6 in the following field next to the field for which you want to change PDL.

    • Option

  4. On Data Item Formula Revisions, make your changes.