Control-M/Server System Settings Configuration
The following API commands enable you to configure Control-M/Server system parameters and system settings:
config systemsettings:server::get
The config systemsettings:server::get command enables you to get a list of server-related system settings. The following fields are returned for each parameter:
-
name
-
value
-
defaultValue
For more information about this group of settings, see
CLI Syntax
ctm config systemsettings:server::get [<server>]
Where server
defines the name of the Server.
REST API Syntax
cURL:
serverName=IN01
curl -H "x-api-key: $token" $endpoint/config/systemsettings/server?server=$serverName
config systemsettings:server::set
The config systemsettings:server::set command enables you to set a value for a Server-related system setting.
For a list of settings that you can set, see Control-M/Server System Parameters.
CLI Syntax
ctm config systemsettings:server::set <name> <value> [<server>]
The following table describes the config systemsettings:server::set command parameters.
Parameter |
Description |
---|---|
name |
Defines the name of the parameter in the server-related system settings. For a list of settings that you can set, see Control-M/Server System Parameters. |
value |
Defines a value to assign to the parameter. |
server |
Defines the name of the Server. |
REST API Syntax
cURL:
serverName=IN01
name="CYCLIC_RERUN"
value="OK"
curl -H "x-api-key: $token" -X POST $endpoint/config/systemsettings/server/$name/$value/set?server=$serverName
Control-M/Server System Parameters
The following table describes the Server-related parameters available for configuration.
These parameters are returned by the config systemsettings:server::get API command, and you can set a new value for any of these parameters using the config systemsettings:server::set API command.
Parameter |
Description |
---|---|
CTM_ADJUST_COND_SCOPE |
Determines conditions of which unscheduled predecessor jobs to ignore in a folder. Valid Values:
Default: GROUP |
CTM_FOLDER_ADJUST_DUMMY |
Controls creation of dummy jobs that run in place of unscheduled prerequisite jobs. Valid Values:
Default: Y |
CTM_MULTIP_LIB_REPLACE |
Indicates if AutoEdit variable %%MEMLIB overrides the MEMLIB value for all jobs in a folder with a command such as: ctmorder -schedtab test2...-jobname "*" -autoedit %%MEMLIB d:/testdir If you use the same command for a specific jobname, this parameter is ignored. Valid Values: Y, N Default: N |
CYCLIC_MAXWAIT |
Indicates when Cyclic jobs or folders that have previously executed at least once, are removed from Active Jobs by the New Day procedure. Valid Values:
Default: KEEP |
CYCLIC_RERUN |
If a Cyclic job or folder ends NOTOK and this parameter is set to OK, the Cyclic job or folder will be rerun. If set to NOTOK, the Cyclic job or folder will not be rerun. Valid Values: OK, NOTOK. Default: OK |
Enables support for server utilities that are available via the Agent. For information about these utilities, see Agent Utilities. If you are migrating from Server to Helix Control-M and have been using the ctmsec utility, all authorizations assigned through the ctmsec utility are NOT enforced after the migration. In such a case, BMC recommends that you do NOT enable the agent utilities (that is, keep the default ENABLE_AGENT_UTIL=N). If you still want to enable this parameter, first check whether your users are allowed to run these utilities. Valid Values: N, Y Default: N |
|
firstDayOfTheWeek |
Day on which the work week starts at your site, expressed using the full name of the day. Default: Monday |
newDayTime |
Start-of-day time when the date changes and a new day begins in Control-M for the purposes of job processing. Values are expressed as the number of hours before or after midnight:
Note that only the number of hours (hh) is taken into account. The number of minutes (mm) is ignored. Default: 0000 (midnight)
|
MAIL_ADD_SUBJECT_PREFIX |
Determines if the Control-M/Server Shout by orderno prefix must be added to the subject of the e-mail message. Valid Values: Y, N Default: Y |
NOT_ORDERED_JOB_ALERT |
Determines the type of Alert message to send when a job is not run due to scheduling criteria. Valid Values:
Default: 0 |
OUTPUTRETN |
Defines the number of days that job OUTPUT files are retained for jobs executed by Agent computers. After this period, the New Day procedure deletes all job OUTPUT files. This parameter also affects the number of days that old nets are saved. To view OUTPUT files of jobs in old nets, in some cases OUTPUT files must be saved for an extra calendar day. Valid Values: 0–14 Default: 1 |
SCHED_NEGATIVE_SCOPE |
Determines whether negative values take precedence over positive values in Week or Day parameters when defining a job schedule Valid Values:
Default: 1 |
SCHED_NON_EXIST_DAY |
Determines whether to order a job on the next (>n) or previous (<n) working day, when DAYS is >n or <n, if n is a non-existing day for the specific month. Valid Values: N, Y Default: N |
STATISALG |
Determines the mode used to collect summary statistics and to perform actions on statistics, such as averages or deletions. Valid Values:
Default: FILENAME |
VARIABLE_INC_SEC |
Indicates which variables are sent to the agent for each submitted job. Valid Values:
Default: LOCAL |