![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Use the HLIPREPROCESSOR tool to preprocess your COBOL programs with embedded TIBCO Object Service Broker or SQL access statements. You can run this tool from the workbench. The output is a preprocessed COBOL program that can be compiled and linked. Alternatively, you can call it from JCL outside of TIBCO Object Service Broker. The JCL can preprocess, compile, and link in one job. Sample JCL is provided in members JCLOSTMT and JCLSQL of the JCL data set.The syntax for HLIPREPROCESSOR is as follows:
The kind of statements that are embedded in the COBOL program; use the string HURON or SQL Name of the partitioned data set containing the COBOL program to be processed Name of the allocated, partitioned data set to contain the processed COBOL program, which can be passed to the COBOL compiler Name of the allocated data set to contain the output listing. This is optional if the COBOL program contains TIBCO Object Service Broker statements, and not applicable if it contains SQL statements. A combination of the following strings: LIST or NOLIST and ERRORSTOP or NOERRORSTOP. This argument must be null if you have SQL statements in the COBOL program.
• LIST – Produce a listing.
• NOLIST – Do not produce a listing.
• ERRORSTOP – If an error is detected, stop processing and raise the exception STOP_AT_ERROR. If HLIPREPROCESSOR is executed from JCL, the exception STOP_AT_ERROR raises a completion code that prevents the next job step from executing. If an error is detected, the exception can stop processing before the compile and link-edit steps.
• NOERRORSTOP – If an error is detected, do not stop processing and an exception is not raised.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |