The ctmcreate utility is an API that enables a specific purpose job and/or SMART Folder or Sub Folder to be inserted directly into the Active Jobs database. The job and/or SMART Folder or Sub Folder does not have to be defined in the Control‑M/Server database. The function performed by this utility is equivalent to the Force function in Control‑M/EM. To run the ctmcreate utility, see Running the ctmcreate utility.
The ctmcreate utility can be invoked using the -input_file parameter:
ctmcreate -input_file <fullPathFileName>
The referenced file contains all the required parameters. Most of the parameters are described in Control-M Parameters and ctmcreate parameters.
For more information on syntax rules, see ctmcreate syntax rules.
You can create a job within the given Folder or Sub Folder name. The ctmcreate utility can be used to create a specific purpose (non-permanent) folder that is not defined in the Control-M/Server database by specifying:
-TASKTYPE FOLDER|SUBFOLDER -folder <folderName|folderPath>
EXAMPLE: Control-M/Server ctmcreate utility
ctmcreate -tasktype job -application SAP -hostgrp chef1 -appltype SAP -file_path ddd -file_name fff -variable %%SAPR3-ACCOUNT DV1 -variable %%SAPR3-JOBNAME SAPCM -variable %%SAPR3-JOBCOUNT 09495501 -variable %%SAPR3-JOB_MODE EXTERNAL -applver 46C/46D -applform "SAP R3" -cmver 918 -jobname xxxx.
Parent Topic |