You can define a symbol to invoke RDBPRE. Once you are in the
RDBPRE environment, you can specify the programming language and
the input file specification. For example:
$ RDBPRE :== $RDBPRE
$ RDBPRE
INPUT FILE> MYPROG.RFO/FORTRAN
A more convenient method is to define a symbol that invokes a
particular preprocessor. For example, if you frequently use
the preprocessor with FORTRAN data manipulation language (DML)
programs:
$ RFOR :== $RDBPRE/FORTRAN
$ RFOR MYPROGRAM.RFO
1 /BASIC
Specifies that the input file is a BASIC source file. Following
successful RDBPRE preprocessing, the resulting file is submitted
automatically to the BASIC compiler.
2 /COBOL
Specifies that the input file is a COBOL source file. Following
successful RDBPRE preprocessing, the resulting file is submitted
automatically to the COBOL compiler.
3 /FORTRAN
Specifies that the input file is a FORTRAN source file. Following
successful RDBPRE preprocessing, the resulting file is submitted
automatically to the FORTRAN compiler.
4 /INITIALIZE_HANDLES
The /[NO]INITIALIZE_HANDLES qualifier allow you to control
whether RDBPRE will initialize RDBPRE-supplied database,
transaction, and request handles. Use of the /NOINITIALIZE_
HANDLES qualifier allows you to link a main image against a
shareable image and share handles between the two.
Format:
/INITIALIZE_HANDLES (Default)
/NOINITIALIZE_HANDLES
These qualifiers have no effect on whether or when handles are
cleared in the generated code; they only control initialization
of handles in declarations. Furthermore, they only affect
database, transaction and request handles that RDBPRE declares.
User-specified transaction and request handles will not be
initialized when you use the /INITIALIZE_HANDLES qualifier.
In RDBPRE when you use the /NOINITIALIZE_HANDLES qualifier,
any handle you specify in your application program must also
be specified in the shareable image.