Output from the
RLX
/Precompiler

Describes output from the precompiler.
The
RLX
/Precompiler translates the
RLX
statements that it selects by inserting a special statement prefix of the form
'$ exec_name RLX_statement_number'
between the
RLX
literal and the rest of the
RLX
statement string. This enables
RLX
to recognize the statement string as a static SQL request.
Suppose, for example, the following
RLX
statement was coded as the third
RLX
SQL request in a REXX EXEC named EXAMPLE.
'RLX OPEN C1'
The
RLX
/Precompiler translates this
RLX
host command as follows:
'RLX' '$ EXAMPLE 3' 'OPEN C1'
The RCSEXTR file contains the
RLX
SQL requests and any
RLX
SQLxx or other assignment statements which are extracted by the
RLX
/Precompiler and passed to the
RLX
/ Compiler for static SQL compilation.
The RCSOUT file contains a translated version of the original REXX source exec. The modifications identify the extracted and compiled
RLX
SQL statements as static SQL requests.
The RCSEXTR file becomes input to the
RLX
/Compiler which, in turn, produces statically compiled
RLX
SQL structures. The translated EXEC written to the RCSOUT file becomes (optionally) input to a REXX compiler such as AcceleREXX or the IBM REXX/370 Compiler. These products, in turn, allow the REXX source module to be compiled and link-edited into an executable load module.