Skip to content

Recompiling Source Components Online

Follow these steps to recompile one or more components from a baseline or promotion library into your change package using online processing.

  1. Access the Recompile Source panel (CMNRCMP0).

    CMNRCMP0                     Recompile Source
    Option ===>_________________________________________________
        blank Member selection list         L List libraries containing component
    Package . . . . . . . . . ACTP000028
    Work request . . . . . . 10010678
    Department . . . . . . . IDD
    Component name . . . . . ACPSRC9* +
    Source library type . . . SRC           (Blank for list)
    Library level . . . . . . 0             (Baseline 0, Promotion 1 to nn)
    Recompile mode . . . . . 1              (1-Online, 2-Batch)
    

    This table describes the fields on the Recompile Source panel.

    Field Description
    Option Type L to display the component.type Library List panel that shows baseline and promotion libraries that contain the component specified in the Component Name and Library Type fields. You cannot use a pattern in the Component Name field if you use this option.
    Package Displays the package ID of the change package you are recompiling into.
    Work request Displays the Work request of the change package you are recompiling into.
    Department Displays the Department of the change package you are recompiling into.
    Component name Type the name of the component you want to recompile. Other options:
    Pattern: Build and display a filtered list of components from the origin library. You can select components to recompile from the list. See Building Lists Using Patterns.
    Note: Do not type * by itself unless you want to recompile all components in the library.
    Blank: Display a list of all components in the origin library. You can select components to recompile from the list.
    *: Recompile all components in the library.
    Source library type Type the library type of the components you want to recompile. Leave this field blank to display a list of library types to select from. You can select a like-copy library type to subsequently select a like -copy component to then select a like-source component that uses that like-copy component
    Library level Type an integer to indicate the baseline version or promotion level where you want to get the source to recompile. your Administrator may have defined Levels such as 10 20 30, so in that case a value of 1 would fail with a short message UNDEFINED PROMO LIBRARY.
    0: Recompile from the current or 0 level baseline library.
    1 to 99: Integers from 1 to 99 mean recompile a future version in a promotion library. The integers are level numbers in a promotion site/level. If there are multiple promotion sites with the level number you specify, the Promotion Library Selection List panel is displayed, where you select one of the listed promotion libraries.
    Blank: You can leave this field blank if you type L in the Option field.
    NOTE If you type L in the Option field, the component.type Library List panel is displayed that shows you the baseline and promotion libraries that contain the component specified in the Component Name and Source Library Type fields. You can select a library on this list to check out from regardless of the version or level that you specified in the Library Level field.
    Recompile mode Type 1 or 2 to determine whether recompile is performed in online mode or batch mode. See Online and Batch Execution Modes.
    1: Recompile components in online mode.
    2: Recompile components in batch mode.

    Type your entries on the Recompile Source panel, selecting option 1-Online for Recompile Mode, and press Enter.

  2. On the Recompile Source panel, if you leave the Component Name field blank or use a pattern that selects multiple components, as shown on the last panel above, the Recompile From: library panel (CMNRCMP2) is displayed.

    CMNRCMP2        Recompile Member List           Row 1 to 10 of 10
    Command ===> ___________________________________ Scroll ===> CSR
                                                                ID
        Input library:
        CMNTP.S6.V810.BASE.ACTP.SRC
    
    Name    Function   vv.mm Created    Changed           Size Init User
    __ ACPSRC90        02.00 2002/05/07 2015/01/05 14:57  28     1 USER015
    __ ACPSRC91        02.00 2002/05/07 2015/01/05 14:57  29    15 USER015
    __ ACPSRC92        02.00 2002/05/07 2015/01/05 14:58  29    15 USER015
    __ ACPSRC93        02.01 2002/05/07 2015/01/04 22:22  29    15 USER015
    __ ACPSRC94        02.00 2002/05/07 2015/01/05 14:58  24     1 USER015
    __ ACPSRC95        02.03 2002/05/07 2014/12/16 19:46  25    15 USER015
    __ ACPSRC96        02.00 2002/05/07 2015/01/05 14:58  24    15 USER015
    __ ACPSRC97        02.01 2002/05/07 2015/01/05 15:02  25    15 USER015
    __ ACPSRC98        02.00 2002/05/07 2015/01/05 14:58  24    15 USER015
    __ ACPSRC99        02.00 2002/05/07 2015/01/05 14:58  25     1 USER015
    ******************************* Bottom of data ********************************
    

    ...

    This table describes the commands and line commands you can use on the Recompile From: library panel.

    Field Description
    Command Type one of the following commands, or leave the command line blank and type a line command next to a component name.
    REFRESH: Display updated information on this panel. Abbreviation: R
    SORT heading: Sort listed components by information under the specified column heading. Abbreviation: SO
    LONG: Display additional component information on a second line.
    SHORT: Suppress the additional component information displayed with the LONG command.
    CANCEL: Cancel the function and return to the previous panel. Abbreviation: C
    BROWSE member: Browse the specified component in the selected library. Abbreviation: B
    SELECT member: Select the specified component for recompile. Abbreviation: S
    HISTORY member: Display component history for the specified component. Abbreviation: H
    Line Command Type a line command to the left of the Name row:
    S: Select the component for recompile processing.
    B: Browse the component in the baseline library.
    H: Display component history.
    V: View a component in edit like mode.

    ...

    Make your selection(s) on the Recompile From: library panel and press Enter.

    Note

    The next several panels are displayed in a series for the one component you specified in the Component Name field of the Recompile Source panel or for each component you selected on the Recompile From: library panel.

  3. If you choose a component for recompile that is in another active change package, Component Warning panel is displayed.

    CMNCMPSW            Component History                   Row 1 to 2 of 2
    Command ===>__________________________________________ Scroll ===> CSR
    
    Component: ACPSRC91.SRC
    
    This component is included in the following packages:
    
    Package    Sta Promoted vv.mm Last action       Size Procname User Release
    ACTP000032 DEV                2015/01/12 21:29      *RENAME   USER016
    ACTP000028 DEV          03.03 2015/01/14 11:13 00030 CMNCOB2 USER017
    ******************************* Bottom of data ********************************
    

    ...

    This panel lists the other packages that contain the component that you want to recompile. Make sure that you are coordinating your work with the other developers who have checked out or staged the component into their packages.

    If you want to abandon the recompile for this component, type CANCEL in the Command line and press Enter. Otherwise, press PF3 or Enter to recompile the component.

    CMNRCMPC            Confirm RECOMPILE Request
    Command ===> __________________________________________
    Package:        ACTP000028
    Component name: ACPSRC91                                                 +
            type: SRC
    Language:       COBOL2
    Changed date:   20150105
            time:   14:57
    Procedure:      CMNCOB2
    User:           USER015
    Site:           BASELINE
    Level:
    

    ...

  4. If you continue the recompile process, the Online Recompile Job Information panel (CMNRCMP1) is displayed.

    CMNRCMP1        ONLINE Recompile Job Information            HISTORY ASSUMED
    Command ===>_________________________________________________
    
        Package:  ACTP000028     Status: DEV             Install date: 20150228
    Component:    ACPSRC91                                                        +
    Library type: SRC - Source for Programs to be Linked Executable
    Dataset name: CMNTP.S6.V810.BASE.ACTP.SRC                                     +
    Language . . . . . . . COBOL2   (Blank for list)
    Compile procedure . . CMNCOB2   (Blank for list; ? for designated procedure)
    Compile parms . . . .  ____________________________
    Pgm binder parms . . . ____________________________
    Enter "/" to select option
    __Db2 processing            _ Other Db2 options
    __Display Other options     _ User Variables
    __Suppress batch messages
    
    Job statement information:
    //USER015A JOB (SM-1IKF-SM),'ACTP28',
    // CLASS=A,MSGCLASS=X,NOTIFY=USER015
    //*
    //* JOB TO RUN ONLINE RECOMPILE
    

    ...

    This table describes the fields on the Online Recompile Job Information panel.

    Field Description
    Component Displays the component name in the baseline library.
    Library type Displays the component library type and library type description.
    Dataset name Displays the name of the library you are recompiling from.
    If there is a designated procedure for the component being recompiled, and the Force Level in that procedure is 2, then the fields on the Online Recompile Job Information panel are presented in display mode. If the Force Level of the designated procedure is 1, you can restore the fields on this panel to the values required for freeze by typing ? in the Compile Procedure field.
    Language Type the source language. If you leave the Language field blank, the Language Selection List is displayed when you press Enter. If the Language field contains information when the panel is first displayed, the short ISPF message in the upper right corner of the panel tells you where the language was obtained:
    HISTORY ASSUMED Obtained from component history.
    DESIGNATED ENFORCED Obtained from a designated procedure.
    PRIOR ASSUMED Obtained from a prior use of this panel for another component during your current ChangeMan ZMF session.
    Compile procedure Type the compile procedure to be used to recompile the component. Compile procedures are members in the ChangeMan ZMF skeleton library that are processed by ISPF file tailoring to create stage JCL. If you leave the Compile Procedure blank, but there is only one compile procedure defined for the specified language, the Compile Procedure field is filled automatically when you press Enter. If you leave the Compile Procedure field blank, and if there are multiple compile procedures defined in administration for the specified language, the Compile Procedure Selection List panel is displayed when you press Enter. Type ? to restore Language, Compile Procedure, Compile Parms, Binder Parms, Db2 Precompile, and User Options from a designated procedure with Force Level 1.
    Compile parms Type compile options that are not already in effect through: System defaults. Compile Procedure skeletons. User Options. See Other Options below.
    Pgm binder parms Type binder options that are not already in effect through: System defaults for the compiler. Compile Procedure skeletons. User Options. See Other Options below.
    Db2 processing Indicates whether or not a Db2 pre-process or co-process is to be invoked during the compile.
    Other Db2 options Change or refer to values affecting the Db2 processing.
    Display other options Select to display the Stage: User Options panel before submitting the stage job. Otherwise do not display the Stage: User Options panel before submitting the stage job. Obtain User Options from component history or from a designated procedure with Force Level 2.
    User Variables Enter '/' to specify user variables used to pass information to skeleton file tailoring.
    Suppress batch messages Select to suppress the component activation messages which are normally issued by the batch job as it stages components into the requested package.
    Job statement information Type valid job card information.

    ...

  5. Type your entries on the Online Recompile Job Information panel and press Enter. If you set the Other Options field to Y, the Stage: User Options panel is displayed. Type your entries on this panel and press Enter. A recompile job is submitted.

  6. If you use the field source library type as a like-copy component then the process is similar, except you will be presented with a list of like-source components that use the like-copy component, and you can then select those components to be recompiled via recompile member list panel CMNCMPRC8

CMNRCMP8        Recompile Member List       Row 1 to 2 of 2
Command ===>______________________________ Scroll ===> CSR

Name       Library     Request
__ACPSRCCA SRC
__DUSR56DE SRC
******************************* Bottom of data *******************************