Appendix B: Compiling Programs
WFL/DATABRIDGE/COMP is used to compile any of the following programs:
- DBSupport library, either tailored or nontailored. For information on using WFL/DATABRIDGE/COMP to compile a support library, filtering routine, or formatting routine, see Understanding GenFormat.
- DBDMSIISupport library
- DBCobolSupport library
Before you start WFL/DATABRIDGE/COMP, make sure that all of the parameters are UPPERCASE.
Make sure that WFL/DATABRIDGE/INCLUDE/SSRTITLES has the correct system software titles and locations for the current release.
Compiler Control Card Options
As with all other Databridge WFLs, you can set QUEUE and STARTTIME. In addition, this WFL/ DATABRIDGE/COMP contains compiler control cards ($ card options) for each Databridge component.
The compiler control cards provide you with a convenient way of changing settings such as $ RESET LIST and $ SET MERGE LINEINFO ERRORLIST. However, most sites do not need to change any of the compiler control card options.
If there are any compile errors or warnings when you run WFL/DATABRIDGE/COMP, they are written to the following file:
where programname is the Databridge component you are trying to compile.
In addition, any printer listings that the compile generates are written to the following directory:
If you want to add a user-written filter or format to DBSupport, use the INTERNAL FILTER or INTERNAL FORMAT options to include the patch file.
For other custom patches, you can modify the source directly, or you can put the patch in the appropriate CARD file in WFL/DATABRIDGE/COMP. We recommend that you put the patch in the CARD file and that you use the $INCLUDE statement, as shown in the following example:
DATA CARD/SUPPORT $ RESET LIST STATISTICS (RESET LABELS) RESET VERBOSE $ SET MERGE LINEINFO ERRORLIST VERSION 4.0 $ INCLUDE "PATCH/DATABRIDGE/SUPPORT/STARTUP" 76100000
The position of the dollar sign ($) for the INCLUDE statement must be in column 2 or beyond. The space between the $ and the literal INCLUDE does not matter. The line number, 76100000 in this example, must begin in column 73.