Configuring Control-M/Server System Parameters

This procedure describes how to define Control-M/Server system parameters.

Begin

  1. From the icon, select Configuration.

  2. From the drop-down list, select Control-M/Servers.

    The Control-M/Servers list opens.

  3. From the Control-M/Servers list, select the computer where the Control-M/Server is installed.

  4. From the icon, select System Parameters.

  5. Double-click the required parameter.

    The Update System Parameter dialog box appears.

  6. In the Value field, change the value of the parameter, as required, and then click Save.

  7. Click Activate All Changes.

    The Control-M/Server system parameter is defined.

Control-M/Server General Parameters

The following table lists the Control-M/Server system parameters. These parameters are assigned default values during installation. For some of the parameters, you can use the ctmsys utility to change the parameter value.

Parameter

Description

ARCHIVING_CHECK_INTERVAL_DAYS

Determines the number of days to wait before sending a warning that Workload Archiving is not enabled on a PostgreSQL database.

Valid Values: 0 (unlimited) -365.

Default: 7

Executable Path

Defines location where Control-M/Server expects to find all of its executable programs.

/usr/controlm/ctm_server/exe_Solaris

Maximum Number of Tracker Worker Threads (TRACKER_MAX_WORKERS_NUM)

Determines the maximum number of worker threads that the tracker can create.

Valid Values:

  • Minimum: TRACKER_WORKERS_NUM

  • Maximum: 100

Default: 5

Refresh Type: Recycle (by shutting down the Control-M/Server and then re-starting it)

NO_BACKUP_WARNING_DAYS

Determines the number of days before a warning is sent for not activating a HOT backup on a PostgreSQL database.

Valid Values: 0 (unlimited)–365

Default: 4

Number of Tracker Worker Threads (TRACKER_WORKERS_NUM)

This parameter determines the number of worker threads available for the tracker process at startup.

Valid Values: 1–100

Default: 20

Refresh Type: Recycle (by shutting down the Control-M/Server and then re-starting it)

Secure Sockets Layer

Determines the handshake protocol for communications between Control-M/Server and Control-M/EM, and between Control-M/Server and Control-M/Agent.

Valid Values:

  • INACTIVE: Control-M/Server works in non-SSL mode. If Control-M/Agent is in SSL mode, the server tries to switch that Agent to non-SSL mode.

  • DISABLED: Control-M/Server works in non-SSL mode. If Control-M/Agent is in SSL mode, the server does not try to switch that Agent to non-SSL mode.

  • ENABLED: Control-M/Server works in SSL mode.

Default: Disabled

How / Where to Set: In the Control-M Main Menu, select Parameter Customization > System Parameters and Shout Destination Tables > System Parameters > Next Page > Secure Sockets Layer. The parameter that is updated is the CTM_CONFIG_AGENT_SSL_ENBL parameter.

Refresh Type: manual

Start Day of the Week (SWEEK)

Determines the day on which the work week starts at your site.

This parameter affects the Weekdays job processing parameter.

NOTE:

Valid Values: 0 (Saturday) through 6 (Friday)

Default: 2 (Monday)

How / Where to Set: Use the ctmsys utility to change the parameter value.

Refresh Type: Automatic

Statistics

 

Determines whether job statistics should be written to the Control-M/Server database.

  • Y: tells Control-M to record job statistics.

  • N: tells Control-M not to record job statistics.

Default: Y

How / Where to Set: Use the ctmsys utility to change the parameter value.

Refresh Type: Automatic

EMAIL_CC

 

Determines which email addresses receive notifications about events.

The e-mails are sent using the SMTP parameters, as described in SMTP Parameters.

EMAIL_RECIPIENTS

 

Determines which email addresses receive notifications about events.

The e-mails are sent using the SMTP parameters, as described in SMTP Parameters.

Deployment Parameters

The following table describes deployment parameters.

Parameter

Description

AUTODEPLOY_DEPLOYING_TIMEOUT

Determines the number of seconds for the upgrade or downgrade to complete before a timeout.

Default: 3,600

AD_FETCH_LOG_TIMEOUT

Determines the number of seconds to wait to retrieve output information from the Control-M/Agent to display in the Control-M/Agent upgrade/downgrade log before a timeout.

Default: 60

AUTODEPLOY_RUNNING_JOBS_TIMEOUT

Determines the number of seconds to wait for jobs to complete prior to deployment before a timeout occurs. NOTE: This parameter is only relevant for Control/Agents that do not support upgrade with no downtime.

Default: 600

AD_MAX_BANDWIDTH

Determines the maximum bandwidth (KB/second) limit to transfer the installation packages from Control-M/Server to Control-M/Agent.

Default: 1,024

DEPLOYMENTS_THREADS

Determines the maximum number of upgrade or downgrade processes that can run simultaneously.

Default: 5

AD_REQUIRED_DISK_SPACE

Determines the minimum number of MB required in the Control-M/Server computer to perform an upgrade.

Default: 2,048

AD_RETAIN_PACKAGES

Determines the number of days that the installation package is saved in the Control-M/Server cache.

Valid Values:

  • 0: Never remove

  • 1–365

Default: 30

CTM_AUTO_DEPLOY_PACKAGE_LOCATION_WINDOWS

Defines the network location where the Control-M/Agent installation packages are stored on Windows.

You must define this parameter if you want to upgrade Control-M/Agents from a network location, as described in Upgrading Control-M/Agents.

CTM_AUTO_DEPLOY_PACKAGE_LOCATION_UNIX

Defines the network location where the Control-M/Agent installation packages are stored on UNIX.

You must define this parameter if you want to upgrade Control-M/Agents from a network location, as described in Upgrading Control-M/Agents.

High Availability Parameters

The following table describes Control-M/Server High Availability system parameters.

Parameter

Description

HA_DB_LIFECHECK_TIMEOUT

Determines the maximum time to wait for a response from the database server. If the maximum time has passed, and there is no response, it is considered a failure.

Default: 5

HA_DB_LIFECHECK_TRIES

Determines the number of consecutive life check requests to the database server without getting a response.

Default: 3

HA_DB_MAX_STARTUP_TRIES

(PostgreSQL only) Determines the number of unsuccessful attempts that Configuration Agent tries to start up the database server.

Default: 20

HA_DB_TIME_BETWEEN_LIFECHECKS

Determines the number of seconds to wait between sending life check requests to the database server.

Default: 5

HA_DB_TIME_TO_WAIT_AFTER_STARTUP

(PostgreSQL only) Determines the number of seconds to wait after the Configuration Agent started up the database server.

Default: 10

HA_LIFECHECK_TIMEOUT

Determines the maximum number of seconds to wait for a life check response before a timeout.

Default: 5

HA_LIFECHECK_TRIES

Determines the number of consecutive failed life check requests between the Configuration Agent and Control-M/Server before the Configuration Agent tries to start it up.

Default: 3

HA_MAX_STARTUP_TRIES

Determines the number of unsuccessful attempts that SU process tries to start up a process and then crashes before shutting down Control-M/Server.

Default: 20

HA_TIME_BETWEEN_LIFECHECKS

Determines the number of seconds to wait between sending life check requests to the primary Configuration Agent.

Default:15

HA_TIME_TO_WAIT_AFTER_STARTUP

Determines the number of seconds to wait after the Configuration Agent started up a component.

Default: 10

WARN_LOW_SHARED_DIR_SPACE

Determines when to send a warning that the shared directory disk space is lower than the value defined here in MB.

Valid Values: 0-1,000,000

Default: 1,048

Communication Parameters

Parameter

Description

AGENT_TO_SERVER_HOSTNAME

Determines the hostname used by the Control-M/Agent to communicate with the Control-M/Server.

Control-M/Server can be connected to the Control-M/EM through an IP/specific network and to the Control-M/Agents through a different segment of network using a different IPs to have more secure communication: <Administration IP> to connect to Control-M/EM and <Services IP> to connect to Control-M/Agents.

This parameter is used to separate the listening interface from Control-M/EM and Control-M/Agents.

If you define this parameter on a non-active high availability environment, the changes take effect within 10 minutes from the time they were saved.

How / Where to Set:

In the config.dat file of Control-M/Server and the CONFIG.dat file of Control-M/Agent, set the IPV_MODE parameter to DUAL and then restart both Control-M/Server and Control-M/Agent.

Agent-to-Server Port Number (CTMS_PORT_NUM)

Defines the listening port number of the NS process (not to be used for any other purpose in the server computer). Control-M/Server communicates with Control-M/Agent using two TCP/IP ports. CTMS_PORT_NUM specifies the port for data flowing from Control-M/Server to Control-M/Agent. The other port is specified using Server-to-Agent Port Number parameter.

This number must match the value assigned to the Agent-to-Server Port Number parameter on the Agent computer.

Valid Values: 1,024–65,534

Default: N/A 7,005 (On UNIX, the default value is overridden, using the value given during installation.)

How: ctm_menu > Parameter Customization > Basic Communication and Operational Parameters > Agent to Server Port.

Refresh Type: Recycle

AGENT_SERVICE_TIMEOUT

Determines the number of seconds for the Control-M/Server to wait for an Agent to respond to a request (all requests excluding submit, ping and save script requests).

Valid Values: 1–7,200

Default: 3,600

Allow Agent Disconnection (ALLOW_AG_DISCONNECTION)

Determines if the current connection to this AGT can be disconnected when MAX_CONCURRENT_SESSIONS is reached.

Valid Values: Y and N

Default: Y

CA_HA_PORT_NUMBER

Determines the communication port number between the Control-M/Server Configuration Agents on the primary and secondary host in a High availability environment.

Default: 2,368

How: ctm_menu > Parameter Customization > Basic Communication and Operational Parameters > High Availability Port Number.

Check Interval (AVPOLTIM)

Determines the interval (in seconds) between status checks for each Control-M/Agent that communicates with Control-M/Server.

Valid Values: 30–65,534

Default: 7,200 (2 hours)

Communication Protocol

Determines the protocol used to communicate with the Agent computers. (The protocol specified here must be the same as that specified on the Agent computer).

Valid Values: TCP

Default: TCP It is recommended that you use TCP when there are many jobs running simultaneously reporting to Control-M/Server.

Refresh Type: Recycle

Communication trace (COMM_TRACE)

Determines whether communication packets that Control-M/Agent sends to and receives from Control-M/Server are written to a file. If set to 1, separate files are created for each session (job, ping, and so forth). This parameter can only be changed after completing the installation.

Valid Values: 1 (on), 0 (off)

Default: 0 (off)

COMM_TRACE_PARSED

Determines whether communication packets that Control-M/Agent sends to and receives from Control-M/Server are written to a file with a parsed value (the packets information).

This parameter can only be changed after completing the installation.

You can only set this parameter to 1 if the COMM_TRACE parameter is enabled.

Valid Values: 1 (on), 0 (off)

Default: 0 (off)

Configuration Agent Port Number (CTM_CONFIG_AGENT_PORT_NUMBER)

Defines the Control-M/Server Configuration Agent listening port number.

Valid Values:

  • Distributed Control-M/Server: 1,025–32,767

  • MVS Control-M/Server: 1,024–65,534

Default: 2,369

How / Where to Set: In the Control-M Main Menu, choose Parameter Customization > Basic Communication and Operational Parameters > Configuration Agent Port.

Refresh Type: Recycle

Connection Type (CONN_TYPE)

 

CONTROL-M/Configuration Agent operation mode

(CTM_CONFIG_AGENT_MODE)

Determines the mode of the Control-M/Server Configuration Agent.

Valid Values:

  • 0: (OFF_MODE): Disable Configuration Agent process, no communication with CMS is allowed.

  • 1: (READ_MODE): Only life check and information requests are honored, any modifying request is rejected.

  • 2: (ALL_MODE) Any CMS request is honored.

Default: 2

Refresh Type: Recycle

CTM_CONFIG_AGENT_AGENT_UNAVAIL_THRESHOLD

Determines the Control-M/Server Configuration Agent unavailability threshold. The Control-M/Server Configuration Agent issues the following message when the number of unavailable Agents is equal to or greater than the threshold:

Some of the Control-M/Agents are unavailable.

Valid Values: 1–2^31

Default: 1

Refresh Type: Manual

CTM_CONFIG_AGENT_INITIAL_GET_HOSTNAME_INTERVAL

For Control-M/Agents and remote hosts for which Control-M/Server has not previously identified the operating system and Agent version, defines the frequency, in seconds, with which Control-M/Server will try to retrieve that information so that it is available to the end user via CCM.

Default: 24

CTMS-API-GATEWAY-SERVICE.API_GATEWAY_PORT_PROTOCOL

 

Control-M/EM TCP/IP Port Number (GATEWAY_TO_SERVER_PORT)

Defines the port number that Control-M/Server uses to listen for communication from Control-M/EM. Verify that the port number is not used for any other purpose on the server computer.

Valid Values: 1,025–32,767 inclusive.

Default: N/A

Refresh Type: Recycle

Inter Process Communication (IPC) Port Number (CTM_RT_PORT_NUMBER)

Defines the listening port number of the RT process.

Valid Values: 1,025–32,767

Default: N/A

How / Where to Set: In the Control-M Main Menu, choose Parameter Customization > Basic Communication and Operational Parameters > IPC Port.

Refresh Type: Recycle

CTM_SNMP_SEND_FORMAT

 

EM_SOCK_RCVBUF

Determines the number of bytes of the receive buffer of the TCP/IP socket connected to the Control-M/EM gateway.

Valid Values:

  • -1

  • 1,024–10,000,000

-1 indicates using the machine's configured default.

Default: -1

EM_SOCK_SNDBUF

Determines the number of bytes of the send buffer of the TCP/IP socket connected to the Control-M/EM gateway.

Valid Values:

  • -1

  • 1,024–10,000,000

-1 indicates using the machine's configured default.

Default: -1

Local IP Host Interface Name

Defines the host interface name of the TCP/IP network interface card on the server computer to use for communication with Control-M/EM.

This name is typically the host name of the server computer. You should modify this parameter only if the server computer contains more than one network interface card (for example, Ethernet and Token-Ring) or use another name for external communication (AWS public name).

If you define this parameter on a non-active high availability environment, the changes take effect within 10 minutes from the time they were saved.

Valid Values: host name, or host IP address (for example, 192.123.186.20).

Default: the default host interface name defined in the server computer operating environment.

Configuration Agent Port (CTM_CONFIG_AGENT_PORT_NUMBER)

Defines the port number for the Control-M/Server Configuration Agent.

Valid Values:

  • Distributed Control-M/Server: 1,025–32,767

  • MVS Control-M/Server: 1,024–65,534

Default: N/A 2,369

Refresh Type: Recycle

Maximum Concurrent Sessions (CTM_MAX_CONCURRENT_SESSIONS)

Defines the maximum number of concurrent sessions that the NS process will hold.

Once the maximum of the MAX_CONCURRENT_SESSIONS parameter is reached, the session with the maximum idle time will be terminated in order to open a new connection. If this Agent connection is marked as not allowed to be disconnected (see the ALLOW_ AG_DISCONNECTION parameter) then the next one in line will be disconnected.

Valid Values: All integers in the range of 16 to the maximum available according to the operating system.

Default: 256

CMN_PRM_CD_MAX_SERVICES

Defines maximum number of requests (originating from CONTROL-M/EM gateways) that Control-M/Server can queue.

Valid Values: 60–32,000

Default: 60

How / Where to Set:

Refresh Type:

CTM_VARIABLE_SHOUT_ON_ ERROR_URGENCY

Enables alerts to be sent when variables have not been resolved during job submission. You can set this parameter in the config.dat file, in the following format:

CTM_VARIABLE_SHOUT_ON_ERROR_URGENCY <urgency>

Valid Values:

  • N – Do not send alert

  • R – Regular (default value)

  • U – Urgent

  • V – Very urgent

For changes to take effect, restart Control-M/Server or run the following command:

ctmipc -dest ALL -msgid CFG

COMTIMOUT

Defines the communication timeout in seconds.

Valid Values: 10–2^31

Default: 120

How / Where to Set: In the Control-M Main Menu, choose Parameter Customization > Default Parameters for Communicating with Agent Platforms > Communication Timeout.

Refresh Type: Recycle

COMTRYNO

Defines the communication retry value.

Valid Values: 1–2^31 (seconds)

Default: 12

How / Where to Set: In the Control-M Main Menu, choose Parameter Customization > Default Parameters for Communicating with Agent Platforms > Maximum Retries.

Refresh Type: Recycle

Communication Protocol Version (COMVERSION)

Determines the version of the protocol for communication between Control-M/Server and the Agent.

Valid Values: 12–14, where 14 is the most recent protocol version

Default: 11

IPC_SOCK_RCVBUF

Determines the number of bytes of the receive buffer of the TCP/IP socket used by the CE process for internal communication.

Valid Values:

  • -1

  • 1,024–10,000,000

-1 indicates using the machine's configured default.

Default: -1

IPC_SOCK_SNDBUF

Determines the number of bytes of the send buffer of the TCP/IP socket used by the CE process for internal communication.

Valid Values:

  • -1

  • 1,024–10,000,000

-1 indicates using the machine's configured default.

Default: -1

IPV_MODE

Determines whether to enable IPV6.

Valid Values:

  • IPV4

  • DUAL (Enables IPV6)

Default: IPV4

How / Where to Set: In the config.dat file of Control-M/Server and the CONFIG.dat file of Control-M/Agent, set the IPV_MODE parameter to DUAL and then restart both Control-M/Server and Control-M/Agent.

If Control-M/Server and/or Control-M/Agent.are installed on AIX, verify that the fix for APAR IV23320 is installed.

If you want to enable IPV6 before installation, see Setting environment variables in UNIX.

Maximum Disconnect Time (MAX_DISCONNECT_TIME)

Defines the maximum time in which the NS allows an Agent to be disconnected before it will initiate a session with it (although there's nothing to submit to it). The MAX_DISCONNECT_TIME parameter is relevant only if the ALLOW_COMM_INIT parameter on the Agent is set to NO.

Valid Values: integers in the range 30–86,400 (in seconds)

Default: 300

OS_PRM_HOSTNAME

Used in various ways, for example, the name of the server to be sent to the Agent, for later comparison with the Agent's permitted server list.

Valid Values: 85 characters

Contact your system administrator to learn about the DNS restrictions and limitations relevant to your environment.

Default: dba-tlv-whbdwi

How / Where to Set:

(UNIX) In the Control-M Main Menu, choose Parameter Customization > Basic Communication and Operational Parameters > Local IP host interface name.

Refresh Type: Recycle

OUTGOING_ADDR

Defines an IP address for Server to Agent connections. Update this parameter in the local_config.dat file.

Valid Values: IP address or hostname

Default: hostname

Refresh Type: Recycle

Persistent Connection (PERSISTENT_CONNECTION)

Determines the persistent connection setting. Set the PERSISTENT_CONNECTION parameter to connect to a specific Agent with either a persistent or transient connection.

When Persistent Connection is set to Y (for example, with an Agent version 6.2.01), the NS process creates a persistent connection with the Agent and manages the session with this Agent. If the connection is broken with an Agent or NS is unable to connect with an Agent, the Agent is marked as Unavailable. When the connection with the Agent is resumed, the NS recreates a persistent connection with the Agent and marks the Agent as Available.

Valid Values:

  • Y

  • N

Default: N for a new Agent installation and N for an Agent that is known to Control-M/Server before upgrading to version 6.2.01 and above.

Polling Interval (POLLTIME)

Defines the time interval (in seconds) between requests from Control-M/Server for status updates from Agent computers that are executing jobs.

Valid Values: 60-65,534

Default: 900

PORTNUM

Determines the Server to Agent port number.

Valid Values: N/A 1,024 to 65,534

Retry Interval (UNAVPOLTIM)

Defines the length of time to wait (in seconds) between attempts to communicate with an Agent computer whose status is Unavailable.

Valid Values: 30-65,534

Default: 90

Session Idle Timeout (SESSION_IDLE_TIMEOUT)

Defines the maximum time a session can be in idle before NS terminates it.

Valid Values: integers in the range 30–86,400 (in seconds)

Default: 900

SOCKET_SNDBUF

Determines the number of bytes of the send buffer of TCP/IP sockets created by the C processes of Control-M/Server.

Valid Values:

  • 0

  • 1,024-10,000,000

0 indicates using the machine's configured default.

Default: 0

SUBMIT_TIMEOUT

Determines the number of seconds for the Control-M/Server to wait for an Agent to respond to a submit request before a timeout.

Valid Values: 1–3,600

Default: 600

Unavailability Shout Urgency (UNAV_URGENCY)

Determines messages with a high priority sent from an Agent assigned Unavailable status. Urgent message are sent with a special indication so that the recipient of the message is aware of the urgency.

Valid Values:

  • R

  • U

  • V

Default: R

UNAVAILABLE_ON_SUBMIT_TIMEOUT

 

Scheduling and Execution Parameters

The following table describes scheduling and execution parameters.

Parameter

Description

ACCEPT_UNFAMILIAR_HOSTS

Determines which Hosts that are not defined in the Control-M/Server are allowed to initiate communication with it.

Valid Values:

  • N

  • Y

Default: Y

ALERT_ON_MESSAGES

Defines a space-separated list of error message numbers that, when written to the IOALOG, is echoed as alerts to Control-M/EM.

Use the following format for message ID entries:

<message-id>[:<urgency>]

Urgency values:

  • R: Regular (default)

  • U: Urgent

  • V: Very Urgent

ALERT_ON_MESSAGES 5141:U 5211 5745:V 5273:R 5274:V 5275

Default:

ALERT_ON_MESSAGES 5141 5211 5745 5273 5274 5275 5217 5135 5220 0008 0012 0014 0016 0018 5126 5127 5128 5129 5172 5173 5762 5763

To disable: ALERT_ON_MESSAGES 0

How/where to set: Set this parameter through the config.dat file of Control-M/Server. For changes to take effect, restart Control-M/Server or run the following command:

ctmipc -dest ALL -msgid CFG

ALERT_ON_SHOUT_FAILURE

Determines whether to send Control-M/EM alerts when shouts that are issued by background activities fail.

Valid Values:

  • Y: An alert is sent to Control-M/EM in the event of shout failure. The alert message is SHOUT TO <shout destination> FAILED.

  • N: No alert is sent to Control-M/EM in the event of shout failure.

Default: Y

How/where to set: Set this parameter through the config.dat file of Control-M/Server. For changes to take effect, restart Control-M/Server or run the following command:

ctmipc -dest ALL -msgid CFG

CD_MAX_DBU

When there is no current Control-M/EM session, Control-M accumulates database updates before downloading them to Control-M/EM. CD_MAX_DBU determines the maximum number of updates to accumulate before requesting a download.

Valid Values: 100–2^31

Default: 1,000

How/where to set: In the Control-M Main Menu, choose Parameter Customization > Advanced Communication and Operational Parameters > Maximum Job State Changes.

Refresh Type: Manual

CTM_AJF_ADJUST_COND_INCLUDE_SMART_FOLDER_ENTITY

Determines whether to ignore the prerequisite conditions of a SMART folder entity, when the predecessor jobs that normally set these conditions are not scheduled.

Valid Values:

  • Y: Ignore relevant prerequisite conditions.

  • N: Do not ignore relevant prerequisite conditions.

Default: N

Refresh Type: Recycle

This parameter is relevant only when ADJUST_COND is set to Y and the parameter CTM_ADJUST_COND_SCOPE is set to AJF. For more information, see Adjust Condition.

CTM_ADJUST_COND_SCOPE

For jobs in the SMART Folder, determines conditions of which unscheduled predecessor jobs to ignore.

Valid Values:

  • AJF: Ignore predecessor jobs in the Active Jobs level. When selected, jobs in the SMART Folder ignore conditions set by jobs in Active Jobs that are not scheduled.

  • GROUP: Ignore predecessor jobs in the group level. When selected, jobs in the SMART Folder ignore conditions set by jobs in the SMART Folder that are not scheduled.

Default: GROUP

This parameter is relevant only when ADJUST_COND is set to Y. For more information, see ADJUST_COND in Control-M Parameter.

Refresh Type: Manual

CTM_GD_FORWARD

 

CTM_VARIABLE_ALLOW_HYPHEN

Enables user-defined variables to contain the - (hyphen) character.

Valid Values:

  • N

  • Y

Default: N

Refresh Type: Manual

If a job has an variable that includes a hyphen in the variable name, it will fail when submitted to an Agent that is running on UNIX.

CTM_MULTIP_LIB_REPLACE

Determines 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

Refresh Type: Manual

CTM_FOLDER_ADJUST_DUMMY

Controls creation of dummy jobs that run in place of unscheduled prerequisite jobs.

Valid Values:

  • Y: A dummy job waits for the prerequisite conditions expected by the job it is replacing, and performs the post processing of the job. When a SMART Folder is ordered, jobs in the folder that should not be ordered at this time are ordered as DUMMY jobs. This functionality is useful for data centers that require identical job flow regardless of whether certain jobs in a folder are ordered for a specific instance of the folder.

  • N: Out conditions of the jobs that were not ordered are ignored by the ordered jobs in the SMART Folder.

This parameter is relevant only when ADJUST_COND is set to Y. For more information, see ADJUST_COND in Control-M Parameters.

Default: N

Refresh Type: Manual

CTM_FOLDER_RECHECK

Determines if SMART Folder or Sub-folder conditions should be checked for each job in a SMART Folder or Sub-folder after the SMART Folder or Sub-folder conditions have been satisfied.

Valid Values:

  • N: SMART folder or sub-folder conditions are ignored when ordering specific jobs in a folder.

  • Y: SMART folder or sub-folder conditions are checked for each job in the folder (in addition to conditions specified for the job).

If N is specified for this parameter, SMART Folders or Sub-folders are activated when the necessary conditions exist, and remain active regardless of whether or not any of those conditions are deleted.

Default: N

Refresh Type: Recycle

CTMORDER_FORCE

The default action of the utility is to order, not force, jobs in Active Jobs. This action can be modified by adding keyword Force to the command that invokes the utility. To change the default to force, set this parameter to Y.

Valid Values:

  • Y

  • N

Default: N

Refresh Type: Automatic

CTM_UDAILY_LOCK_TIMEOUT

Determines the number of seconds to wait before releasing a lock on all folders in a user daily.

Default: 900

Refresh Type: Manual (ctmipc -dest all -msgid CFG)

If the user daily duration is 8 minutes, change the CTM_UDAILY_LOCK_TIMEOUT parameter to 480 or more.

CYCLIC_MAXWAIT

Determines when Cyclic jobs/SMART Folders that have previously executed at least once, are removed from Active Jobs by the New Day procedure.

Valid Values:

  • KEEP: Each job is removed when MAXWAIT days have passed regardless of whether it ended OK.

  • NOT_KEEP: Each job (non-cyclic and cyclic) is removed from Active Jobs at the next run of the New Day procedure. Cyclic jobs/SMART Folders are not removed if they are executing when the New Day procedure begins. Instead, they are removed at the run of the following New Day procedure.

Default: KEEP

Refresh Type: Recycle

CYCLIC_RERUN

If a Cyclic job/SMART Folder ends NOTOK and this parameter is set to OK, the Cyclic job/SMART Folder will be rerun. If set to NOTOK, the Cyclic job/SMART Folder will not be rerun.

Valid Values:

  • OK

  • Not OK

Default: OK

Refresh Type: Manual

HOST_AUTODISCOVER

Determines whether a Control-M/Agent is automatically discovered using an unfamiliar host.

Valid Values:

  • Y

  • N

Default: Y

maxConcurrentJobs

Determines the maximum number of jobs that can execute concurrently.

Default: 20,000

The default amount of application memory is 1 GB. If you increase this parameter value, you must also increase the amount of available application memory located in the following path: <server_home>ctm_server/services/config/ctms-order-service-application.yml

NOT_ORDERED_JOB_ALERT

Determines the type of Alert message to send to Control-M/EM when a job is not run due to scheduling criteria.

Valid Values:

  • 0: One General Alert per User Daily: ONE OR MORE JOBS IN DAILY <daily_name> DID NOT RUN.

  • 1: One Alert message per job: DAILY <daily_name> FAILED TO RUN JOBNAME <jobname>.

  • 2: Do not issue Alert messages

Default: 0

Refresh Type: Recycle

SCHED_NEGATIVE_SCOPE

Determines whether negative values take precedence over positive values in Week or Day parameters when defining a job schedule.

Valid Values:

  • 0

  • 1

Default: 1

SCHED_NON_EXIST_DAY

When DAYS is >n, or <n, should we order the job on the next (>n), or previous (<n) working day, if n is a non-existing day for the specific month? If the parameter is set to Y, then we should order the job.

Valid Values:

  • N

  • Y

Default: N

Refresh Type: Manual

SHOUT_TO_PROGRAM_TIMEOUT

Determines the maximum number of seconds to wait for a shout to program to complete before continuing to process the job.

Valid Values: 0 (unlimited)–2,147,483,648

Default: 20

UDLY_PARTCOPY_ERR

Determines the error code returned by ctmudly utility if one or more jobs in a folder are not ordered by a User Daily job (due to scheduling criteria or security settings).

Valid Values:

  • 0: User Daily job ends with an exit code of 0 even if not all jobs are ordered.

  • 1: User Daily job ends with an exit code of 14 if not all jobs are ordered.

Default: 0

Refresh Type: Automatic

VARIABLE_INC_SEC

Determines which variables are sent to the Agent for each submitted job.

Valid Values:

  • SYSTEM: All the variables for each submitted job are sent to the Agent. These include System, Global, SMART Folder, and Local variables.

  • GLOBAL: Global, SMART Folder, and Local variables are sent to the Agent for each submitted job. System variables are not sent.

  • GROUP: SMART Folder and Local variables are sent to the Agent for each submitted job. System and Global variables are not sent.

  • LOCAL: Only Local variables are sent to the Agent.

Default: LOCAL

Refresh Type: Manual

Performance Parameters

The following table describes the performance parameters.

Parameter

Description

WARN_SLOW_DNS_MILLIS

Determines the number of milliseconds to wait before a warning is issued stating that that DNS is performing too slow.

Default: 3,000

To disable, set to 0.

WARN_SLOW_DISK_MILLIS

Determines the number of milliseconds to wait before a warning is issued stating that the disk is performing too slow.

Default: 180

This parameter is not generated when the debug level is set to 4.

To disable, set to 0.

WARN_SLOW_CONNECT_MILLIS

Determines the number of milliseconds to wait before a warning is issued stating that the connection between Control-M/Server and Control-M/Agent is too slow.

Default: 3,000

To disable, set to 0.

WARN_SLOW_FAILED_CONNECT_MILLIS

Determines the number of milliseconds to wait before a warning is issued stating that the connection attempt after a failure between Control-M/Server and Control-M/Agent is too slow.

Default: 30,000

To disable, set to 0.

Input/Output Parameters

The following table describes Control-M/Server Input/Output parameters.

Parameter

Description

ALARM_DEST

Determines the logical name of the Shout destination for critical Alert messages.

Valid Values:

  • EM: Control-M/EM GUI

  • IOALOG: Control-M IOALOG files

  • CONSOLE: Server console

Default: EM

Refresh Type: Manual

CTM_TIMEZONE_DISPLAY

Determines if job run time is adjusted to time zone.

Valid Values:

  • N – the Next Run time of a job is in local computer time, not adjusted to time zone.

  • Y – the Next Run time of a job is adjusted to the correct time zone.

Default: N

Refresh Type: Manual

CTM_WRITE_CONSOLE

If this parameter is set, critical alerts are sent to the console of the server in addition to being sent as Shout messages to Control-M/EM.

Valid Values:

  • YES

  • NO

Default: NO

Refresh Type: Recycle

OUTPUT_LIMIT_SIZE

Maximum OUTPUT size that can be viewed by the output command from Control-M/Server and Control-M/EM. The value is set in Kilobytes. If a OUTPUT file exceeds the value specified by the OUTPUT_LIMIT_SIZE configuration parameter, it cannot be viewed from Control-M/Server or Control-M/EM, and the following message is displayed:

OUTPUT FILE EXCEEDED LIMIT SIZE (CAN BE VIEWED FROM FILE SYSTEM)

Valid Values: 0–2^31

Default: 0 (unlimited)

Refresh Type: Manual

OUTPUT_WINDOW_SIZE

Defines the maximum number of characters for a OUTPUT file line.

Valid Values: 80–132 characters.

Default: 80

Refresh Type: Manual

OS_DIAG_LIMIT_LOG_VERSIONS

Defines the number of generations of diagnostic log information to keep for a process or a thread.

Valid Values:

  • -1 (no limit to the number of files)

  • 1–2^31

Default: 20 (In the shipped config.dat, the default value is overridden by 10).

Refresh Type: Recycle

OS_DIAG_LIMIT_LOG_FILE_SIZE

Defines the maximum size (MB) of diagnostic log files for a process or a thread.

Valid Values:

  • -1 (no filesize limit)

  • 1–2^31

Default: 15 (In the shipped config.dat, the default value is overridden by 10).

Refresh Type: Recycle

TMPFILE_LIMIT_SIZE

 

Logging Parameters

The following table describes Control-M/Server Logging parameters.

Parameter

Description

Max. Days to Retain Output Files (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: Any number greater than 0.

Default: 1

How / Where to Set: Use the ctmsys utility to change the parameter value.

Refresh Type: Automatic

Maximum Days Retained by Control-M Log (IOALOGLM)

Defines the maximum number of days that entries are retained in the Control-M log before the New Day cleanup procedure deletes them.

If this value exceeds 2, the syslogs might run out of space. Either delete the transaction log or use ALTER DATABASE to increase the size of the segment.

For example, if the data device size is 400 MB and you want to retain history for 10 days, enlarge the temporary database to 240 MB.

Valid Values: Any number greater than 0.

Default: 2

How / Where to Set: Use the ctmsys utility to change the parameter value.

Refresh Type: Automatic

CTMLOG_DEL_CHK

When set to Y, the use of the ctmlog utility for delete operation to Control-M is restricted. Administrator only.

Valid Values:

  • Y

  • N

Default: N

Refresh Type: Automatic

New Day Parameters

The following table describes Control-M/Server New Day parameters.

If you change the Ignore New Day Conditions to Y, edit or create a file in the home directory of the Control-M owner account: ~<controlm_owner>/ctm_server/data/dbs_ignrcond.dat.

Parameter

Description

AGENTS_CLEANUP_IN_NEWDAY

Determines whether the New Day procedure sends a request to Control-M/Agents to remove OUTPUT files and exit status files that are no longer needed.

Valid Values:

  • Y: The New Day procedure sends a request to Control-M/Agents to remove OUTPUT files and exit status files that are no longer needed.

  • N : The New Day procedure does not send a request to the Control-M/Agents to remove OUTPUT files and exit status files that are no longer needed.

You can speed up the New Day procedure by specifying N for this parameter and running the ctmagcln utility. For more information, see Control-M Utilities.

Default: Y

Refresh Type: Recycle

CTM_DB_TIMEOUT

Defines the timeout value for long New Day database transactions, in seconds.

Valid Values: 300–3,600

Default: 300

Refresh Type: Recycle

Day Time

(DAYTIME)

Defines Start-of-day time that Control-M uses.

This time is when the Control-M date (Odate) changes and the New Day procedure runs.

Valid Values: either of the following formats (where hh indicates hours and mm indicates minutes):

  • +hhmm: changes the Control-M date at the specified time after midnight.

  • -hhmm: changes the Control-M date at the specified time before midnight.

To avoid scheduling delays with time zone jobs, the minute value for New Day Time should be configured to hh00 or hh30.

These values reflect 24-hour time. For example, 22:00 is equivalent to 10 P.M.

If you use +0600, the hours between midnight and 6:00 A.M. are considered part of the previous date’s work day. Thus, system date February 10, 5:59 A.M. is considered part of the February 9 work day.

If you use -22:00, the hours between 10 P.M. and midnight are considered part of the next date’s work day. Thus, at 10:00 P.M. on system date February 10, the Control-M date changes to February 11.

Default: +0700

How / Where to Set: Use the ctmsys utility to change the parameter value.

Refresh Type: Automatic

DOWNLOAD_THREADS

Defines the number of threads that would handle the download process in case parallel download is enabled (NEWDAY_MODE = 1).

Valid Values: 1–100

Default: 3

DOWNLOAD_CACHE_SIZE

Determines the number of jobs that are cached in memory to speed up the download. Increasing this number causes the product to consume more memory.

Valid Values: 100-100,000

Default: 5000

FULL_CLEAN_AJF_BACKUP

Determines whether to perform a Full backup when clean AJF is enabled.

Valid Values:

  • Y–Enabled.

  • N–Disabled.

Default: Y

Ignore New Day Conditions (C2)

Determines whether the New Day procedure should ignore prerequisite conditions if their reference date (day and month) matches the Control-M date + 1.

How / Where to Set: Use the ctmsys utility to change the parameter value.

Refresh Type: Automatic

Valid Values: Y or N

Default: N

NEWDAY_MODE

Determines whether New Day performance enhancements are enabled.

Valid Values:

  • 0: Disabled

  • 1:Enabled

Default: 1

STATISTICS_CLEANUP_IN_NEWDAY

Determines whether the statistics cleanup action is executed during the New Day procedure.

Valid Values:

  • Y: The statistics cleanup action is executed during New Day procedure.

  • N: The statistics cleanup action is not executed during New Day procedure.

Note: You can speed up the New Day procedure by specifying N for this parameter and running ctmruninf -PURGE.

Default: Y

Refresh Type: Recycle

STOP_SUBMISSION_BEFORE_NEWDAY

Defines the number of seconds preceding launch of the NewDay procedure during which jobs are not submitted.

Valid Values: 0–3,600

Default: 2

Refresh Type: Manual

SYSTEM_DAILY_THREADS

Defines the number of threads that would handle the SYSTEM user daily when parallel system daily is enabled (NEWDAY_MODE = 1).

Valid Values: 1–100

Default: 4

NEW_DAY_ASYNC_SP_EXECUTION

 

Security Parameters

The following table describes Control-M/Server security parameters.

Parameter

Description

EM_BYPASS_CTMSEC

Determines whether Control-M/EM users are authenticated against Control-M/Server Security definitions. When set to Y, EM users requests would not be checked against Control-M/Server Security definition. Only the Control-M/EM Authorization definition would be checked.

Valid Values:

Y: Not authenticated against Control-M/Server Security definitions.

N: Authenticated against Control-M/Server Security definitions.

Default: N

Full Security (SECURE)

Determines whether Control-M operates with a restricted or unrestricted level of security.

A user for whom one or more authorizations have been assigned in the security database can perform only the actions for which the user is specifically authorized.

Valued Values:

  • Y (restricted) means a user who is not defined in the Control-M security database does not have any application authorizations.

  • N (unrestricted) means a user who is not defined in the Control-M security database is regarded as having all application authorizations.

Default: N

Refresh Type: Automatic

STRONG_ORDER_SECURITY

Determines whether to allow the following variables in order/force commands:

%%PRECMD, %%POSTCMD, %%MEMLIB, %%OVERLIB

Valid Values:

Y: Not allowed

N: Allowed

Default: Y

Statistics Parameters

The following table describes Control-M/Server Statistics parameters. You can also use the following various utilities to display, compile, and delete statistical data, as described in Statistics and reporting.

Parameter

Description

ONGOING_STATISTICS_CLEANUP

Determines whether to purge job statistics also during the day.

This parameter is not relevant if an MSSQL database is used.

Valid Values:

  • Y

  • N

Default: Y

RUNINF_CUTOFF_NUMBER

Affects the statistics cleanup algorithm that is performed during New Day when the RUNINF_PURGE_MODE is set to 0 (default). If the number of records to be deleted from the table is less than the value of this parameter, then records are deleted directly from the statistics table. Otherwise a temporary table is used to delete the records.

Valid Values: 0–65,000

Default: 2,000

Refresh Type: Recycle

RUNINF_CUTOFF_RATIO

Affects the statistics cleanup algorithm that is performed during New Day when the RUNINF_PURGE_MODE is set to 0. If the ratio between the number of records to be deleted and the number of records in the table is less than the value of this parameter, then records are deleted directly from the statistics table. Otherwise a temporary table is used to delete the records.

Valid Values: Decimal fraction between 0–1.

Default: 0.33

Refresh Type: Recycle

RUNINF_PURGE_LIMIT

Defines the number of Run Information records to keep for a given MemName/MemLib/HostID. If RUNINF_PURGE_MODE is 0, the New Day Procedure deletes all Run Information records for each unique name except the last n records, where n is the value of this parameter.

Valid Values: 1–2^31

Default: 20

Refresh Type: Recycle

RUNINF_PURGE_MODE

Valid Values:

  • 0: Performs -PURGE cleanup. Statistics records per job are kept according to the specified Statistics Mode (either MEMNAME or JOBNAME). Default: 20 records of each MEMNAME or JOBNAME are kept. If the RUNINF_PURGE_LIMIT in the config.dat is specified, the number of records that are kept is determined by this parameter.

  • 1: Performs -DELETE cleanup. Only the amount of days that are specified are kept. Default: The number of days kept is specified by the How Many Days to Retain ioalog parameter.

If the RUNINF_PURGE_LIMIT in the config.dat is specified, the number of days that are kept is determined by this parameter.

Default: 0

Refresh Type: Recycle

STATIST

Determines whether Control-M/Server collects job statistics.

Valid Values:

  • Y

  • N

Default: Y

See Also: ctmruninf, ctmstats

STATISALG

Determines the mode used to collect summary statistics by ctmjsa. In addition it is used for actions on statistics such as average and deletion.

Valid Values:

  • JOBNAME: compiles statistics for each Control-M Job Name/Table and Host ID where the job was submitted.

  • FILENAME: compiles statistics for each Control-M File Name/Mem Name/Mem Lib and Host ID.

Default: FILENAME

Refresh Type: Recycle

See Also: ctmruninf, ctmstats

STATS_TIME

For statistics calculation, determines how the START TIME and END TIME for a job should be set.

Valid Values:

  • SERVER: START TIME and END TIME are set by Control-M/Server.

  • AGENT: START TIME and END TIME are set using information received from the Control-M/Agent.

Default: SERVER

Refresh Type: Manual

SMTP Parameters

The following parameters are applicable to DOMAIL, -DOSHOUT (when shout destination is mail), ctmshout, and –SHOUT (when shout destination is mail).

The OUPUT of a job can be attached to an e-mail message only if the job has completed processing.

Parameters Description

ADD_OUTPUT_TO_EMAIL

Determines whether the OUTPUT of a job can be attached to e-mail messages.

Valid Values:

  • N: No. When specified, the OUTPUT of a job is not attached. This setting overrides any specification made elsewhere.

  • A: Attachment. When specified, the OUTPUT of a job is attached. This setting overrides any specification made elsewhere.

Default: N

Refresh Type: Manual

ADD_OUTPUT_TO_EMAIL_LIMIT_SIZE

Determines the maximum size of the attachment OUTPUT file in kilobytes.

You can specify the value 0 for unlimited size.

If the OUTPUT file is larger than the specified maximum size, the OUTPUT will not be attached to the e‑mail message.

Valid Values: 0–2^31

Default: 5,120KB (5MB)

Refresh Type: Manual

ADD_OUTPUT_TO_EMAIL_TIMEOUT_LIMIT

When sending a mail request—with a OUTPUT file attached—to the SMTP server, determines the maximum time to wait.

Valid Values: 1–300 (seconds)

Default: 30 (seconds)

Refresh Type: Manual

EMAIL_ADDRESSES_SEPARATORS

 

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

Refresh Type: Manual

MAIL_TIMEOUT

Determines the maximum time (in seconds) to send the mail request to the SMTP server when no OUTPUT is attached.

Valid Values: 1–30

Default: 10

Refresh Type: Manual

MAX_GET_HOST_RETRIES

Defines the number of attempts to get an Agent's network information.

Valid Values: 1-2,048

Default: 5

SMTP_EMAIL_ATTACHMENT_NAME

 

SMTP_SERVER_NAME

Defines the name of the SMTP server relay.

Valid Values:

0–50 characters

Default: "" (During installation, this is overridden by a null value.)

How / Where to Set: In the Control-M Main Menu, choose Parameter Customization > Simple Mail Transfer Protocol Parameters > SMTP Server (Relay) Name.

To disable, use a dummy value.

do-not-send-mails

Refresh Type: Automatic

SMTP_SENDER_EMAIL

Defines the e-mail address used by Control-M/Server.

Valid Values: 0–99 characters.

Default: "" (During installation, this is overridden by Control@M.)

How / Where to Set: In the Control-M Main Menu, choose Parameter Customization > Simple Mail Transfer Protocol Parameters > Sender Email.

Refresh Type: Automatic

SMTP_PORT_NUMBER

Defines the port number to which the service is assigned.

Valid Values: 1–65536

Default: 25

How / Where to Set: In the Control-M Main Menu, choose Parameter Customization > Simple Mail Transfer Protocol Parameters > Port Number.

Refresh Type: Automatic

SMTP_SENDER_FRIENDLY_NAME

Defines the regular text name used to identify the sender.

Valid Values: 0–99 characters.

Default: Control-M/Server (During installation, this is overridden by a null value).

How / Where to Set: In the Control-M Main Menu, choose Parameter Customization > Simple Mail Transfer Protocol Parameters > Sender Friendly Name.

Refresh Type: Automatic

SMTP_REPLY_TO_EMAIL

Defines the email address to which messages are returned if a return address is not otherwise specified. If this parameter is null, the sender’s email address becomes the default.

Valid Values: 0–99 characters

Default: "" (During installation, this is overridden by a null value.)

How / Where to Set: In the Control-M Main Menu, choose Parameter Customization > Simple Mail Transfer Protocol Parameters > Reply–To Email.

Refresh Type: Manual

User Exit Parameters

The following table lists the Control-M/Server user exit parameters.

Parameter

Description

CTM_PRM_ENABLE_UE

Determines whether Control-M user exits and Watchdog process exits are enabled.

Valid Values:

  • Y

  • N

Default: Y

Refresh Type: Recycle

CTM_PRM_ENABLE_UExxx (101–106)

Determines whether the associated UExxx user exit is enabled.

Valid Values:

  • Y

  • N

Default: N

CTM_PRM_SCRIPT_UExxx (101–106)

Defines the name of the UExxx user exit script. These scripts must reside in the ~<controlm_owner>/ctm_server/ue_exit directory.

Valid Values: 1,024 characters

Default:

  • UE101 Job Ordering User Exit: ctm_exit101.sh

  • UE102 Job Submission User Exit: ctm_exit102.sh

  • UE103 Before New Day Procedure User Exit: ctm_exit103.sh

  • UE104 After New Day Procedure User Exit: ctm_exit104.sh

  • UE105 Before User Daily User Exit: Ctm_exit105.sh

  • UE106 After User Daily User Exit : Ctm_exit106.sh

Refresh Type:

  • UE101 Job Ordering User Exit: Manual

  • UE102 Job Submission User Exit: Manual

  • UE103 Before New Day Procedure User Exit: Recycle

  • UE104 After New Day Procedure User Exit: Recycle

  • UE105 Before User Daily User Exit: Manual

  • UE106 After User Daily User Exit : Manual

CTM_PRM_TIMEOUT_UExxx (101–106)

Defines the time to wait for a user exit script to run before it is terminated.

For UNIX: Time is measured in units of seconds.

For Windows: Time is measured in units of milliseconds.

Valid Values: 20–2^31

Default: 20

Refresh Type:

  • UE101 Job Ordering User Exit: Manual

  • UE102 Job Submission User Exit: Manual

  • UE103 Before New Day Procedure User Exit: Recycle

  • UE104 After New Day Procedure User Exit: Recycle

  • UE105 Before User Daily User Exit: Manual

  • UE106 After User Daily User Exit : Manual

WD_CTMEXIT_NUMBER

Defines the total number of Control-M/Server system exits to run.

Valid Values: Any whole number.

Default: 3 (set to 2 during installation)

Do not change the initial value unless instructed to do so by BMC Software Customer Support.

WD_USEREXIT_NUMBER

Defines the total number of user exits to run.

Valid Values: 0–2^31

Default: 0

Refresh Type: Recycle

Utility Parameters

The following table describes Control-M/Server Utility parameters.

Parameter

Description

CTM_SLP_SUSPEND

During New Day or Download of Active Jobs to Control-M/EM, the ctmcreate, ctmudly, ctmorder utilities and ctmac and CS processes are suspended (when trying to order). They stay suspended until the Download or New Day is completed. This parameter Determines the maximum number of times to wait, where each time is configured, in seconds, by the parameter CTM_SUS_SLEEP_TIME.

Valid Values: 1–120 (times)

Default: 30

Refresh Type: Manual

CTM_SUS_SLEEP_TIME

During New Day or Download of Active Jobs to Control-M/EM, the ctmcreate, ctmudly, and ctmorder utilities and the ctmac and CS processes are suspended (when trying to order). They stay suspended until the Download or New Day is complete. This parameter Determines the specified number of seconds to wait before initiating a download or the New Day procedure.

See also CTM_SLP_SUSPEND.

Valid Values: 1–180 (seconds)

Default: 60 (seconds)

Refresh Type: Manual

CTMUDCHK_RETRIES

Determines the number of retries to run the ctmudchk utility if ctmudly is ordering the user daily.

Default: 10

CTMUDCHK_RETRIES_WAIT

Determines the number of seconds to wait before attempting to run the ctmudchk utility.

Default: 20

Watchdog Process Parameters

To automatically monitor essential Control-M/Server processes and resources, Control-M/Server contains a facility called Watchdog (WD).

The Watchdog facility uses a Heartbeat monitor to check that all the primary Control-M/Server processes are functioning. If any of these processes do not respond to the check, the Watchdog facility sends a message to an error handler. (The facility automatically logs messages to the Control-M IOALOG and PROCLOG files.

An error handler is an object that contains and performs instructions for handling errors about which it was notified. Generally, error handlers are scripts.

To monitor Control-M/Server processes, the Watchdog facility can use the following built-in utilities:

  • ctmdiskspace: Checks the amount of free disk space on a specified device and sends an error message to the error handler if it is below the threshold.

  • ctmdbspace: Checks data and log usage in the Control-M/Server database and sends an error message to the error handler if it is above the threshold.

The following parameters are used for the Watchdog Process. The CTM_PRM_ENABLE_UE parameter must be set to Y to enable the WD process.

Watchdog and Lifecheck Parameters

The following table lists the General Watchdog Process parameters.

Parameter

Description

CTM_PRM_KPA_ACTIVE

Determines whether the Heartbeat monitor operates in active or passive mode.

Valid Values:

  • Y (for active) or

  • N (for passive)

Default: Y

Refresh Type: Recycle

CTM_PRM_KPA_BETWEEN_MSGS

Defines time (in seconds) between heartbeat checks.

Valid Values: 1–2^31 (integer)

Default: 60

Refresh Type: Recycle

CTM_PRM_KPA_ROUNDTRIP_TIMEOUT

Defines time (in seconds) to wait for a confirmation from Control-M/EM. If confirmation does not arrive, a timeout is generated and the connection is severed.

Valid Values: any integer

Default: 1800

Refresh Type: Recycle

WD_ALIVE_MSG

Defines message to be sent in response to successful heartbeat checks.

Valid Values: 1,024 characters

Default: N/A

Refresh Type: Recycle

WD_CTO_HOSTNAME

Defines the host name or IP address of the computer running CONTROL-O/Server. If this parameter is specified, the Watchdog process sends all error messages to the CONTROL-O/Server Central Message window.

Valid Values: Up to 255 characters.

Refresh Type: Recycle

WD_CTO_TIMEOUT

Defines the maximum time (in second) to send messages to CONTROL-O/Server before terminating the communication.

Valid Values: 1–10

Default: 10 seconds

How / Where to Set:

Refresh Type: Recycle

WD_ERROR_HANDLER_SCRIPT_FILE

Defines the full path name of a user defined script called by the Watchdog process as an error handler. The error messages are included as arguments to the script.

Valid Values: 1,024 characters

Default: N/A (In the shipped config.dat, the default is overridden by ./scripts/UE_handler).

Refresh Type: Recycle

WD_ERROR_HANDLES_TIMEOUT

Defines the maximum time for the Watchdog facility to wait for the user-defined script to run.

Valid Values: 5–2^31

Default: 10 (In the shipped config.dat, this is overridden by the value 10).

Refresh Type: Recycle

WD_HEARTBEAT_INTERVAL

The Watchdog process checks Control-M/Server processes by sending a message. If this parameter is set to 5, the Watchdog process sends a message to each of the primary Control-M/Server processes every 5th interval and awaits a response.

Valid Values: 1–2^31

Default: 6 (In the shipped config.dat, this is overridden by the value 1).

Refresh Type: Recycle

WD_HEARTBEAT_LIMIT

Defines the maximum time (in seconds) to wait for a response from each of the Control-M/Server processes, after issuing a Heartbeat check, before sending a message to the error handlers.

Valid Values: 1–2^31

Default: 360

Refresh Type: Recycle

WD_INTERVAL

Defines the basic time unit interval, in minutes. When the value in either the WD_CTMEXIT_#_INTERVAL parameter or the WD_USEREXIT_#_INTERVAL parameter is multiplied by the value in this parameter, the resulting value is the number of minutes that must pass before reinvoking the exit script.

If the value of this parameter is 6 (minutes), and the value of the WD_CTMEXIT_1_INTERVAL parameter is 20, the script for system exit 1 will run once every 120 minutes (20 x 6 minutes).

Valid Values: 1–2^31

Default: 6 (In the shipped config.dat, this is overridden by the value 6.)

Refresh Type: Recycle

Control-M/Server System Exit Parameters

The # used in each of the following Control-M/Server system exit parameters represents the corresponding Control-M/Server utility that can be included in the Control-M/Server Watchdog process: Disk Space Utility (1) and Database Usage Utility (2).

Parameter Description

WD_CTMEXIT_#_CMD_LINE

Defines parameters to be passed to the exit script. Arguments must start with a ‘-’ sign. Values separated by either a space or a ‘-’ sign must be enclosed in double quotation. Mandatory.

Valid Values: 1,024 characters

Default: ""

In the shipped config.dat on UNIX, the default values are overridden as follows:

  • wd_ctmexit_1: -LIMIT "10 M" -PATH ctm_em

  • wd_ctmexit_2: -LIMIT "90 M"

In the shipped config.dat on Windows, the default values are overridden as follows:

  • wd_ctmexit_1: -LIMIT 10M -PATH C:\

  • wd_ctmexit_2: -LIMIT 90

Refresh Type: Recycle

WD_CTMEXIT_#_ERROR_MSG

Defines error message string to be passed to the error handler(s) if the utility returns a "failed" status. Optional.

Valid Values: 1,024 characters

Default: "" (In the shipped config.dat, for wd_ctmexit_1 and wd_ctmexit_2, the default is overridden by "Low on database space.")

Refresh Type: Recycle

WD_CTMEXIT_#_INTERVAL

Defines the number of basic time interval units that should pass before reinvoking the exit script. The basic time interval unit is defined in parameter WD_INTERVAL.

For example, if the value of this parameter is 20, and the basic time interval unit (as defined in parameter WD_INTERVAL) is 5 minutes, the exit script will be invoked every 100 minutes (20 x 5 minutes).

Valid Values: 1–2^31

Default: 5 (In the shipped config.dat, this is overridden by the value 20.)

Refresh Type: Recycle

WD_CTMEXIT_#_RUN_STATE

Determines whether (Y) or not (N) to run the utility when Control-M/Server is running. A Y must be specified for either this parameter or for parameter WD_CTMEXIT_#_SUSPEND _STATE for the utility to be run.

Valid Values:

  • Y

  • N

Default: N (In the shipped config.dat, this is overridden by the value Y.)

Refresh Type: Recycle

WD_CTMEXIT_#_SCRIPT_FILE

Defines the relative path of the script or binary from the ~controlm\ctm_server\exe_<computer> directory.

Valid Values: 1,024 characters

Default: "" (In the shipped config.dat, for both wd_ctmexit_1 and wd_ctmexit_2, this is overridden by the value CTMDISKSPACE).

Refresh Type: Recycle

WD_CTMEXIT_#_SUSPEND_STATE

Determines whether (Y) or not (N) to run the utility in Suspend mode (that is, during New Day procedure or download, when the database inaccessible). A Y must be specified for either this parameter or for parameter WD_CTMEXIT_#_RUN _STATE for the utility to be run.

Valid Values:

  • Y

  • N

Default: N

Refresh Type: Recycle

WD_CTMEXIT_#_TIMEOUT

Defines the time (milliseconds) allowed before the exit script is terminated.

Valid Values: 1–2^31 (ms)

Default: 5 ms (In the shipped config.dat, this is overridden by the value 30.)

Refresh Type: Recycle

Watchdog Parameters User Exit Parameters

The # used in the following user exit parameters represents a separate number for each user exit that can be included in the Control-M Watchdog process . A user exit can be either a user supplied script/executable file or a Control-M utility.

Parameter

Description

WD_USEREXIT_#_CMD_LINE

Defines parameters to be passed to the exit script. Arguments must start with a ‘-’ sign. Values separated by either a space or a ‘-’ sign must be enclosed in double quotation. Mandatory.

Valid Values: 1024 characters

Default: ""

Refresh Type: Recycle

WD_USEREXIT_#_ERROR_MSG

Defines the error message string to be passed to the error handler(s) if the check returns a "failed" status. Optional.

Valid Values: 1024 characters

Default: ""

Refresh Type: Recycle

WD_USEREXIT_#_INTERVAL

Defines the umber of basic time interval units that should pass before reinvoking the exit script. The basic time interval unit is defined in parameter WD_INTERVAL.

For example, if the value of this parameter is 2, and the basic time interval unit (as defined in parameter WD_INTERVAL) is 5 minutes, the exit script will be invoked every 10 minutes (2 x 5 minutes).

Valid Values: 1–2^31

Default: 5

Refresh Type: Recycle

WD_USEREXIT_#_RUN_STATE

Determines whether (Y) or not (N) to run the utility when Control-M/Server is running. A Y must be specified for either this parameter or for parameter WD_USEREXIT_#_SUSPEND _STATE for the utility to be run.

Valid Values:

  • Y

  • N

Default: N

Refresh Type: Recycle

WD_USEREXIT_#_SCRIPT_FILE

Defines the relative path of the script or binary from the ~controlm\ctm_server\exe_<computer> directory.

Valid Values: 1024 characters

Default: ""

Refresh Type: Recycle

WD_USEREXIT_#_SUSPEND_STATE

Determines whether (Y) or not (N) to run the script in Suspend mode (that is, during New Day procedure or download, when the database inaccessible). This parameter or WD_CTMEXIT_#_RUN _STATE must be set to Y for the script to be run.

Valid Values:

  • Y

  • N

Default: N

Refresh Type: Recycle

WD_USEREXIT_#_TIMEOUT

Defines the time (milliseconds) allowed before the exit script is terminated.

Valid Values: 1–2^31 (ms)

Default: 5 ms

Refresh Type: Recycle