Skip to content

Defining Compile Procedures

Build processing for a like-source component is determined by the language name and compile procedure that are assigned to the component. Each compile procedure is paired with one or more language names to create the list of compile procedure that can be assigned to components.

Only compile procedures defined in global administration can be defined in an application. However, an application does not have to contain all of the compile procedures defined in global administration.

When you create a new application, the initial list of compile procedures depends on how you create the application:

  • If you create a new application without copying an existing application, all global compile procedures are copied into the application.
  • If you create a new application by copying an existing application, the compile procedures for the new application are copied from the existing application.

Follow this procedure to update the application compile procedures.

  1. On the Update Application Administration Options panel, type 4 on the Option line and press Enter. The application - Compile Procedures panel is displayed.

    CMNCLPRC               DEMX - Compile Procedures           Row 1 to 5 of 5 
    Command ===> ____________________________________________ Scroll ===> CSR
    
        Language    Procedure   Description                             Order 
    ___ ASM         CMNASM      Assembler build procedure               0
    ___ C           CMNCEE      C build procedure                       0 
    ___ COBOL2      CMNCOB2     COBOL2 build procedure                  0 
    ___ PLI         CMNPLI      PL/I build procedure                    0
    ___ SQL         CMNSQL      Translate compile link SQL Stored Proc  0 
    *************************** Bottom of data *******************************
    
  2. To delete a compile procedure from the application - Compile Procedures panel, type D (Delete) in the line command for the compile procedure and press Enter.

  3. To add a compile procedure to the application - Compile Procedures panel:

    1. Type I (Insert) in the line command above where you want to insert the compile procedure and press Enter. An empty compile procedure entry is inserted on the panel.

    2. Type * in the line command for the empty entry and press Enter. The Global Compile Procedure List panel is displayed.

      CMNGPRCL           Global Compile Procedure List           Row 1 to 5 of 5 
      Command ===> ____________________________________________ Scroll ===> CSR
      
      _ Language  Procedure   Description
      _ ASM       CMNASM      Assembler build procedure
      _ C         CMNCEE      C build procedure
      _ COBOL2    CMNCOB2     COBOL2 build procedure
      _ PLI       CMNPLI      PL/I build procedure
      _ SQL       CMNSQL      Translate compile link SQL Stored Proc
      *************************** Bottom of data *******************************
      
    3. On the Global Compile Procedure List panel, type S in the line command for any global compile procedure that you want to add to the application. You may select multiple compile procedures, but you can not scroll down to select global compile procedures from multiple pages of the Global Compile Procedure List at one time.

    4. Press Enter to return to the application - Compile Procedures panel, where the new compile procedure or procedures are added at the insertion point.

  4. Press PF3 to exit the application - Compile Procedures panel and define the language names to the application.