Precompile Processing

This article describes precompile processing.
The precompile phase of the
RLX
/Compile process (discretely invoked as Menu Option 3) serves to extract and translate the
RLX
SQL statements that are embedded in your
RLX
procedures. Db2 need not be active in order to run the
RLX
precompiler.
The precompiler accepts as input a
RLX
source EXEC. It produces as output a set of extracted SQL statements termed a
RLX
request module, along with a translated version of the original REXX EXEC. These two outputs are analogous to the DBRM and precompiled source module that is produced by the Db2 precompiler.
The Precompiler dialog and all the remaining
RLX
/Compile dialogs provide a similar look and feel to the single pass program preparation dialog.
Through the precompiler dialog, you can specify a single EXEC for processing. Alternatively, you can select one or more EXECs from a REXX source library or concatenated set of libraries. The next panel illustrates how to display a list of members beginning with the letters RMV from the data set named
RAI.Rvrm.CRAIEXEC
.
-------------------------- RLX/Compile: Precompile ------------------------- Command ===> RCS052 - Specify 1 or more RLX source modules to be precompiled Specify RLX REXX EXECs Project ===> RAI Group ===> R
200
===> ===> ===> Type ===> CRAIEXEC Member ===> (Blank or pattern for member selection list) Other partitioned or sequential data set: Data set name ===> R
200
.CRAIEXEC(RMV*)
The next panel illustrates the scrollable member list which results, once you press ENTER. Once you complete your selections, press the END PF key to tailor a jobstream which precompiles each of the EXECs you selected.
Precompile: RAI.R
200
.CRAIEXEC ----------------------------------- ROW 1 OF 14 Command ===> Scroll ===> HALF Name Action Lib VV.MM Created Changed Size Init Mod ID RMVDCAF 1 01 07 03/11/24 03/11/25 12:02 275 272 0 RAI4 RMVDERR 1 24 06 03/09/23 03/11/21 14:16 62 57 0 RAI2 RMVDESCR 1 24 02 03/09/23 03/11/21 14:18 56 51 0 RAI2 RMVDGV 1 24 01 03/09/23 03/11/24 16:47 82 81 0 RAI4 RMVDGV1 1 24 00 03/09/23 03/09/23 11:48 72 72 0 RAI RMVDPDS 1 24 03 03/09/23 03/11/21 14:20 68 67 0 RAI2 RMVDPROF 1 01 02 03/11/24 03/11/24 16:14 139 123 0 RAI4 RMVDSEL 1 01 15 03/09/09 03/11/22 15:40 65 62 0 RAI2 RMVDSELC 1 24 04 03/09/23 03/11/21 15:14 66 56 0 RAI2 RMVDSNAP 1 01 00 03/11/21 03/11/21 17:48 25 25 0 RAI2 RMVDTBL 1 24 01 03/09/23 03/10/26 06:28 31 31 0 RAI1 RMVERROR 1 01 05 03/11/11 03/11/19 14:21 223 215 0 RAI4 RMVINIT 1 24 01 03/09/23 03/11/19 14:00 35 35 0 RAI4 RMVMGET 1 01 01 03/10/24 03/10/24 00:50 9 9 0 RAI2