How to report CPU usage for batch job using Datacom
search cancel

How to report CPU usage for batch job using Datacom

book

Article ID: 368880

calendar_today

Updated On:

Products

Datacom/DB Datacom DATACOM - AD Datacom/AD

Issue/Introduction

When running batch jobs accessing the Datacom MUF the joblog output has the CPU TIME and ELAPSED TIME used in the batch job.
How can we report on the CPU used in the MUF for the batch job?

Environment

Release 15.1

Resolution

To measure the CPU time used in the Datacom MUF for application programs you need to implement the accounting facility. The CPU time is accumulated by the accounting table field CTIME which gives you the amount of MUF CPU time spent processing a request
Note that we do not recommend to use CTIME in a production environment because it's bad for performance. 

Additional Information

For more information on the accounting facility and how to implement it see section Using the Accounting Facility