Previous Topic

Next Topic

Book Contents

Book Index

Monitoring SAP jobs with ctmextract

This procedure describes how to create one or more mirror-image jobs by using criteria identical to that of specific jobs already running in SAP. You can monitor them using the Control-M ctmcreate utility, although they were not submitted by Control-M. This enables you to track the progress of the actual job in SAP. The mirror image is stored in Active Jobs in the Control-M/Server database.

NOTE: Mirror images are only created for jobs that do not have scheduled status.

Before you begin

Do one of the following:

To monitor SAP jobs with ctmextract:

  1. Create a rule file. For more information, see Defining a rule file with ctmextract utility.
  2. Type the following command:

    ctmextract -CM_APPL_TYPE SAP -RULETABLE <rule file name and path>

    NOTE: This command line can be used as part of a Control-M regular job (command line), or cyclic job. By using a cyclic job, you can repeat the job extraction according to the selected rule file.

    To make a ctmextract instance re-extract all jobs, add -IGNORE_DUP Y to the original command, and repeat the procedure described above.

    The utility runs according to the specifications in the rule file.

    For the parameters, see Monitoring job parameters.

Parent Topic

Extract and monitor jobs using the ctmextract utility