Mass Recompile Source Components in Batch
You can initiate multiple recompile jobs using mass recompile in batch if the following are true:
-
The components have the same library type.
-
The components are in the same baseline or promotion library.
-
You want to use stage parameters from component history for all components, or you want to override component history for all components and use language, compile procedure, compile parms, binder parms, and other stage parameters from a recompile panel.
Mass recompile submits a batch job that file tailors recompile JCL and submits a recompile job for every like-source component selected for mass recompile.
Read the instructions in Recompiling Source Components Online. Then, follow these instructions to mass recompile multiple components from a baseline or promotion library into your change package.
-
On the Recompile Source panel (CMNRCMP0):
Leave the Component Name blank or use a pattern to filter like-source component names.
-
Select option 2-Batch for Recompile Mode. (Must be set to 2 to Mass recompile)
-
Set other fields according to instructions for recompiling online.
-
Press Enter.
-
The Recompile From: library panel (CMNRCMP2) is displayed. On this panel, use one of these procedures:
Type S in the line command for every source component you want to recompile, then type MASS in the Command Line. Press Enter to mass recompile selected components.
CMNRCMP2 Recompile Member List Row 1 to 10 of 10 Command ===>mass 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 s ACPSRC93 02.01 2002/05/07 2015/01/04 22:22 29 15 USER015 s ACPSRC94 02.00 2002/05/07 2015/01/05 14:58 24 1 USER015 s ACPSRC95 02.03 2002/05/07 2014/12/16 19:46 25 15 USER015 s ACPSRC96 02.00 2002/05/07 2015/01/05 14:58 24 15 USER015 s ACPSRC97 02.01 2002/05/07 2015/01/05 15:02 25 15 USER015 s ACPSRC98 02.00 2002/05/07 2015/01/05 14:58 24 15 USER015 s ACPSRC99 02.00 2002/05/07 2015/01/05 14:58 25 1 USER015 ******************************* Bottom of data ********************************
-
Alternatively type MASSALL in the Command line and press Enter to mass recompile every component listed on the panel.
Caution
If a component you select for mass recompile is in another active change package, the Component Warning panel is not displayed.
The Batch Mass Recompile Job Information panel (CMNRCMP3) is displayed.
CMNRCMP3 BATCH MASS Recompile Job Information Command ===>___________________________________________ Package: ACTP000028 Status: DEV Install date: 20150228 Library type: SRC - Source for Programs to be Linked Executable Dataset name: CMNTP.S6.V810.BASE.ACTP.SRC + Language . . . . . . . ________________(Blank for list) Compile procedure . . ________________(Blank for list) Compile parms . . . . ________________ Pgm binder parms . . . ________________ Enter "/" to select options __Db2 precompile __Precompile variables __Display other options __Continue after error __Suppress history __Suppress batch messages Job statement information: // USER015A JOB (SM-1IKF-SM),'ACTP28', // CLASS=A,MSGCLASS=X,NOTIFY=USER015 ,TYPRUN=HOLD //* //* JOB TO RUN MASS Recompile
...
All fields on this panel must be filled, but the fields may not be used. See Build Information Search Order to see how the Suppress History field determines whether information you type on this panel is used when components are recompiled.
This table describes the fields on the Batch Mass Recompile Job Information panel.
Field Description Library type Displays the library type and library type description. Dataset name Displays the name of the library you are recompiling from. Language Type the source language or press Enter to display the Language Selection List. Compile procedure Type the compile procedure to be used to recompile the components, or press Enter to display the Compile Procedure Selection List panel. (If there is only one compile procedure defined for the specified language, the Compile Procedure field is filled automatically. Compile parms If you set the Suppress History field to Y, type compile options that will be used for all mass recompiled components except those with Force Level 2 Designated Compile Procedures. Enter options that are not already in effect through: System defaults. Compile Procedure skeletons. User Options. See Other Options below. Pgm binder parms If you select the Suppress History field, type binder options that will be used for all mass recompiled components except those with Force Level 2 Designated Compile Procedures. Enter options that are not already in effect through: System defaults for the compiler. Compile Procedure skeletons. User Options. See Other Options below. Db2 precompile If you select the Suppress History field, select this field to determine whether all mass recompile jobs include a Db2 precompile step, unless otherwise specified for a component in a Force Level 2 Designated Compile Procedure. Precompile variables If you select the Suppress History field, select this field to determine whether the Db2 Physical Subsystems panel is displayed to set Db2 options for all mass recompile jobs, unless otherwise specified for a component in a Force Level 2 Designated Compile Procedure. Display other options If you select the Suppress History field, set this field to determine whether the Stage: User Option panel is displayed to set user options for all mass recompile jobs, unless otherwise specified for a component in a Force Level 2 Designated Compile Procedure. Continue after error If you select this option, the mass recompile job continues to submit more recompiles after an error is found. If this option isunselected, the job stops immediately when an error is found. Suppress history Select this to suppress component history and use the language, compile procedure, and other options entered on the Batch Mass Recompile Job Information panel (and subsequent optional panels), except for components with Force Level 2 Designated Compile Procedures. See Build Information Search Order for information on where language, compile procedure, and options are obtained when history is not suppressed. Suppress Batch messages Select this to suppress the SEND message normally broadcast at the completion of the stage job that tells you whether the component was staged successfully. Job statement information Type valid job card information. -
Type your entries on the Batch Mass 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 mass recompile job is submitted.