ctmdefine parameters

The following table describes the optional parameters for ctmdefine.

Parameter

Description

JOB_MODE

Defines the job mode. Use this parameter with value COPY in order to define the SAP job in Control-M. Type COPY, instead of the default CREATE.

EXAMPLE: A rule file that sets the SAP job in Control-M as type COPY:

[CONDITION1]

%%SAPR3-JOBNAME TEST

%%SAPR3-ACCOUNT DXI

%%SAPR3-OWNER JAMY

[CTMDEFINE]

NODEGRP CN7Z9CJ-048

GROUP SAP1

%%SAPR3-ACCOUNT DXI

TABLE sap_table

JOB_MODE COPY

JOB_COUNT last_scheduled

JOB_COUNT

Specifies the job count type. Must be used if JOB_MODE COPY was set.

Can have one of the following values:

  • specific: Specific job count - extracted from SAP
  • last_scheduled
  • first_scheduled
  • last
  • first

Parent Topic

Extract and monitor jobs using the ctmextract utility