Usage monitoring tools
The System Management Facility (SMF) collects runtime usage data for COBOL source programs that are generated by COBOL management at run time. The generated rule execution program communicates with SMF through zRule Execution Server for z/OS®.
The COBOL code generation feature
is deprecated in V8.5. This feature will be removed in a future release
of the product. Use the COBOL Generation Project Migration wizard
to migrate your Rules for COBOL project to a zRule
Execution Server for z/OS compatible
rule project. See Deprecated features for migration
details.
If your IBM® license requires you to monitor your usage of the COBOL source programs that you generate by using COBOL, you must set the usage data collection flag in Rule Designer so that you can collect COBOL source program usage data. Usage data is collected at run time by the z/OS System Management Facility (SMF).
Communication between generated COBOL source program and SMF is handled by zRule Execution Server for z/OS, which executes as a z/OS subsystem. At run time, the generated COBOL source program notifies zRule Execution Server for z/OS when execution starts and ends. zRule Execution Server for z/OS passes this data to SMF, and SMF generates the appropriate program usage records.
To enable usage data collection, you must configure z/OS, set the usage data collection flag in Rule Designer before you generate the COBOL code, and then carry out some additional tasks when you compile and link the generated program.
The following diagram illustrates the role of zRule Execution Server for z/OS, and the overall sequence of events that result in usage data collection.

For information about creating a zRule Execution Server for z/OS instance, see Customizing topology 1: zRule Execution Server group with a shared console.