Escolar Documentos
Profissional Documentos
Cultura Documentos
Windows NT (MSSQL)
Administrator Guide
Version 2.24.01
BMC Software, the BMC Software logos, and all other BMC Software product or service names are registered
trademarks or trademarks of BMC Software, Inc. Windows NT is a trademark of Microsoft Corporation. All other
trademarks or registered trademarks belong to their respective companies.
2000 BMC Software, Inc. All rights reserved.
The information in this document is subject to change without prior notice and does not represent a commitment
on the part of BMC Software, neither of which assumes any responsibility for any errors that may appear in this
document.
MM-224G-A0011A-WNT-MSSQL
Address
Telephone
Fax
Telephone
Fax
iii
iv
Customer Support
You can obtain technical support by using Response Online (support from the Web) or Response On Demand.
To expedite your inquiry, please see Before Contacting BMC Software, below.
Response Online
You can obtain technical support from BMC Software 24 hours a day, seven days a week by accessing the
technical support Web site at http://www.bmc.com/support.html. From this site, you can
read overviews about support services and programs that BMC Software offers
find the most current information about BMC Software products
search a database for problems similar to yours and possible solutions
order or download product documentation
report a problem or ask a question
subscribe to receive e-mail notices when new product versions are released
find worldwide BMC Software support center locations and contact information, including e-mail addresses,
fax numbers, and telephone numbers
Response On Demand
In the USA and Canada, if you need technical support and do not have access to the Web, call 800 537 1813.
Outside the USA and Canada, please contact your local support center or your local sales office for assistance.
product information
product name
product version (release number)
license number and password (trial or permanent)
machine type
operating system type, version, and service pack or program temporary fix (PTF)
system hardware configuration
serial numbers
related software (database, application, and communication) including type, version, and service pack or
PTF
messages received (and the time and date that you received them)
vi
Contents
Contents
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . About xix
Notational Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . About xx
Chapter 1
Overview
Contents
vii
Chapter 2
Utilities
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
Utility Reference Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-4
Reports Generated From Utilities . . . . . . . . . . . . . . . . . . . . . . . .2-5
Directing Output From Utilities . . . . . . . . . . . . . . . . . . . . . . . . .2-6
Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-7
ctm_backup_bcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-7
ctm_ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-9
ctm_restore_bcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-11
ctmcontb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-13
ctmcpt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-17
ctmcreate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-18
ctmdbbck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-23
ctmdbcheck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-24
ctmdbrst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-28
ctmdefine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-28
ctmfw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-35
ctmjsa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-46
ctmldnrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-50
ctmloadset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-54
ctmlog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-59
ctmmakedb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-62
ctmordck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-64
ctmorder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-66
ctmpsm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-68
ctmrpln . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-76
ctmruninf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-80
ctmshout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-83
ctmshtb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-85
ctm_suspend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-86
ctmsys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-87
ctmudlst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-96
ctmudly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-97
ctmwhy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-98
dbversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-99
ecacontb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-100
ecactltb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-104
ecaqrtab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-105
viii
Chapter 3
Security
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Level of Application Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
CONTROL-M Security Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Scheduling Table Authorization . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Active Jobs File Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Entities Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Agent Platform Security Checks . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Summary of Authorizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
Security Maintenance Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
User Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
Scheduling Table Authorization . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Active Jobs File Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21
Entities Authorizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
Chapter 4
Maintenance
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Database Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
CONTROL-M Maintenance Procedures . . . . . . . . . . . . . . . . . . . . . . 4-3
Starting/Stopping CONTROL-M/Server Tasks . . . . . . . . . . . . . 4-3
Periodic Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
CONTROL-M Menu System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
CONTROL-M Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
CONTROL-M Manager Menu . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Database Creation Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Database Maintenance Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
Extend Database Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
Parameter Customization Menu . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Node Group Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29
Agent Status Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31
Troubleshooting Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33
CONTROL-M/Server Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-37
Show Process Flags (prf) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-37
Show All Processes (shctm) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-39
Show Active Jobs File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-39
Reset CONTROL-M Active Environment . . . . . . . . . . . . . . . . . 4-41
Sleep Time Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-42
Contents
ix
Chapter 5
Customization Parameters
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-1
Parameter Coordination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-2
Parameter Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-3
System Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-3
Communication Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-9
Operational Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-12
Parameters for Communicating With Agent Platforms . . . . . . . .5-13
Database Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-14
Performance Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-16
Chapter 6
Installation Procedure
Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Appendix B
Glossary
Index
BMC Software, Inc., Confidential and Proprietary Information
Figures
Figures
Figure 1-1
Figure 1-2
Figure 1-3
Figure 2-1
Figure 2-2
Figure 2-3
Figure 2-4
Figure 2-5
Figure 2-6
Figure 2-7
Figure 2-8
Figure 2-9
Figure 2-10
Figure 2-11
Figure 2-12
Figure 2-13
Figure 2-14
Figure 2-15
Figure 2-16
Figure 2-17
Figure 2-18
Figure 2-19
Figure 2-20
Figure 2-21
Figure 2-22
Figure 2-23
Figure 3-1
Figure 3-2
Figures
xi
Figure 3-3
Figure 3-4
Figure 3-5
Figure 3-6
Figure 3-7
Figure 3-8
Figure 3-9
Figure 3-10
Figure 3-11
Figure 3-12
Figure 3-13
Figure 3-14
Figure 3-15
Figure 3-16
Figure 3-17
Figure 3-18
Figure 3-19
Figure 3-20
Figure 3-21
Figure 3-22
Figure 3-23
Figure 4-1
Figure 4-2
Figure 4-3
Figure 4-4
Figure 4-5
Figure 4-6
Figure 4-7
Figure 4-8
Figure 4-9
Figure 4-10
Figure 4-11
Figure 4-12
Figure 4-13
Figure 7-1
xii
Tables
Tables
Table 1-1
Table 1-2
Table 1-3
Table 1-4
Table 2-1
Table 2-2
Table 2-3
Table 2-4
Table 2-5
Table 2-6
Table 2-7
Table 2-8
Table 2-9
Table 2-10
Table 2-11
Table 2-12
Table 2-13
Table 2-14
Table 2-15
Table 2-16
Table 2-17
Table 2-18
Table 2-19
Table 2-20
Table 2-21
Table 2-22
Table 2-23
Table 2-24
Tables
xiii
Table 2-25
Table 2-26
Table 2-27
Table 2-28
Table 2-29
Table 2-30
Table 2-31
Table 2-32
Table 2-33
Table 2-34
Table 2-35
Table 2-36
Table 2-37
Table 2-38
Table 2-39
Table 2-40
Table 2-41
Table 2-42
Table 2-43
Table 2-44
Table 3-1
Table 3-2
Table 3-3
Table 3-4
Table 3-5
Table 3-6
Table 3-7
Table 3-8
Table 3-9
Table 4-1
Table 4-2
Table 4-3
Table 4-4
Table 4-5
Table 4-6
Table 4-7
Table 4-8
Table 4-9
Table 4-10
Table 4-11
xiv
Table 4-12
Table 4-13
Table 4-14
Table 4-15
Table 4-16
Table 5-1
Table 5-2
Table 5-3
Table 5-4
Table 5-5
Table 5-6
Table 5-7
Table 5-8
Table 5-9
Table 7-1
Table 7-2
Table 7-3
Table 7-4
Table A-1
Table B-1
Tables
xv
xvi
About . . .
Overview
Introduces key features and concepts of
CONTROL-M/Server.
Chapter 2
Utilities
Provides a detailed description of CONTROL-M/Server
utilities. Operating instructions and examples are included
for each utility.
Chapter 3
Security
Discusses security concepts of CONTROL-M/Server and
ENTERPRISE/CS. Provides instructions for the security
utility included with CONTROL-M/Server.
Chapter 4
Maintenance
Describes how to perform various functions related to
startup/shutdown of CONTROL-M/Server, maintenance of
the CONTROL-M/Server database, setting
CONTROL-M/Server parameters and troubleshooting.
xvii
Chapter 5
Customization Parameters
Describes parameters used to customize and configure the
CONTROL-M/Server installation.
Chapter 6
Chapter 7
Installation Procedure
Provides detailed instructions for installing or upgrading
CONTROL-M/Server.
Appendix A
Appendix B
Installation
Provides detailed instructions for installing or upgrading
CONTROL-M/Server.
Appendix C
Glossary
Index
xviii
Related Publications
xix
Notational Conventions
The following abbreviations and terms are used in this guide:
ENTERPRISE/CS = Enterprise Controlstation.
The following table describes conventions used in this guide.
<key>
{Option A|Option B}
[Option]
<variable>
xx
Overview
Overview
1-1
Enterprise Controlstation
This component is the central point of control for production
operations. It provides the graphical user interface to the production
control and scheduling system. From this workstation (referred to as
the ENTERPRISE/CS workstation), you can view the status of
jobs in any part of the system. You can issue requests, modify job
parameters, and handle exceptions to ensure smooth production job
flow.
1-2
Overview
1-3
Topic
Description
CONTROL-M Database
Server-Agent Interaction
Load Balancing
Shout Destination
Tables
Runtime Statistics
CONTROL-M Log
CONTROL-M
Administrator
Heartbeat Monitor
1-4
CONTROL-M Database
The CONTROL-M database is the repository of operational data about
the CONTROL-M data center. One database exists for each
CONTROL-M data center. The database is maintained by
CONTROL-M/Server, using either a dedicated or existing SQL server.
The CONTROL-M database contains the following information:
CONTROL-M log.
Active Jobs file.
Job processing definitions.
CONTROL-M system, communication and operational parameters.
Security authorizations.
Shout Destination tables.
Node groups.
Status tables for Quantitative resources, Control resources and
prerequisite conditions.
Server-Agent Interaction
CONTROL-M/Agent handles requests from CONTROL-M/Server. A
request can consist of:
Requests for information about jobs on the Agent platform that are
currently executing or recently completed.
Overview
1-5
1-6
Table 1-1
Communication Statuses
Status
Description
Available
Unavailable
Disabled
Overview
1-7
Time-Related Functions
The time value used for any CONTROL-M function is determined by the
system time on the Server platform. This applies to the following:
Example
1-8
Overview
1-9
Load Balancing
The CONTROL-M load- balancing feature enables you to submit a job to
a node group rather than to a specific Agent platform. This node group
represents a user-defined list of Agent platforms capable of executing a
specific job. CONTROL-M/Server uses a load-balancing algorithm to
determine which of these Agent platforms is best able to handle
execution of the job at the current time and submits the job to the
appropriate node. Using load balancing, CONTROL-M optimizes
utilization of available resources and ensures maximum production
throughput.
Note
1-10
Overview
1-11
A job for which a Max Wait value is specified that ends with a status of
NOTOK is not deleted from the Active Jobs file until the Max Wait
value is exceeded.
1-12
Overview
1-13
10. The download of the new Active Jobs file to the ENTERPRISE/CS
workstation is initiated.
Scheduling Jobs
The New Day procedure is the master scheduler for production jobs.
It orders production jobs according to their job processing definitions,
and can also order User Daily jobs which, in turn, order regular
production jobs.
In a site with a relatively small number of production jobs, the simplest
and most straightforward method of scheduling jobs is to order them
directly through the New Day procedure.
If two or more of the following conditions exist:
1. See Date Control Record later in this chapter for a description of UDLAST and the Date
Control record.
BMC Software, Inc., Confidential and Proprietary Information
1-14
Figure 1-2
User
Daily
Scheduling
Table Name
SYSTEM
UDAILIES
SYSTEM
TABLE1
UDAILY1
UDAILY1
PAYABLES
RECEIVABLES
UDAILY2
INVENTORY
New Day
Procedure
1
CONTROL-M
Monitor
4
UDAILY1
UDAILY2
6
Scheduling
Table Name
Job
UDAILIES
UDAILY1
UDAILIES
UDAILY2
TABLE1
PROD_JOB1
TABLE1
PROD_JOB2
PAYABLES
PROD_JOB3
PAYABLES
PROD_JOB4
RECEIVABLES
PROD_JOB5
INVENTORY
PROD_JOB6
INVENTORY
PROD_JOB7
Overview
1-15
3. The New Day procedure places the relevant job orders in the Active
Jobs file.
4. As part of its regular processing of ordered jobs, CONTROL-M
scans the Active Jobs file for jobs to submit.
5. Upon determining that all requirements for User Daily jobs
UDAILY1 and UDAILY2 have been met, CONTROL-M/Server
submits them for execution.
6. The User Daily jobs then order the corresponding tables
(PAYABLES, RECEIVABLES, INVENTORY). The jobs in these
tables are added to the Active Jobs file if their scheduling criteria are
satisfied. All ordered jobs are submitted for execution when their
submission criteria are satisfied.
Each User Daily job scans all the Scheduling tables assigned to it in the
CONTROL-M database, and orders the jobs based on the jobs
Scheduling criteria, the date in the computer, and the Date Control
record. For more information, see User Daily Jobs on page 1-17. Each
User Daily job scans a different set of Scheduling tables and uses a
different Date Control record. For more information, see Date Control
Record (UDLAST) on page 1-20.
Many variations of the method described can be used. For example,
additional User Daily jobs can be defined, each one executing at a
specific time.
1-16
1. User Daily jobs requireCONTROL-M/Agent to be installed on the Server platform. For more
information, see Installing CONTROL-M/Agent on the Server Platform on page 6-2.
BMC Software, Inc., Confidential and Proprietary Information
Overview
1-17
1-18
Table 1-2
Script Files
You can manually order the User Daily Job ACCUDAILY1 whenever
you want to order the jobs in the ACCOUNTING Scheduling table, or
you can assign Scheduling table ACCTDAILY to User Daily name
SYSTEM, in which case ACCUDAILY1 will be ordered by the New
Day procedure.
When ACCUDAILY1 submits the script file with the parameter $1 set to
UDAILY1, the command actually executed by the script is:
ctmudly
UDAILY1
Overview
1-19
The computer has not been working for a day or more, due to
hardware failure, weekend, holidays, and so on.
The user wants to run a job or a group of jobs with an Odate that is
prior to the current working date.
Each User Daily job has its own Date Control record, enabling the User
Daily job to maintain control over its last running date. The last running
date of the User Daily job is recorded in the Date Control record in a
field called UDLAST. The Date Control record is analyzed to determine
the current running date, the last running date, and possible error
situations.
Utility ctmudlst can be used to change the UDLAST field in the Date
Control record. Changing this date field affects the scheduling of jobs as
described below.
Use of the Date Control Record by User Daily Jobs
When a User Daily is run, UDLAST (the last running date of the User
Daily job, recorded in the Date Control record) is compared to Odate
(the current installation working date).
1-20
If UDLAST and Odate are equal, it means that the User Daily job
has already run today. In that case, a message is issued to the
CONTROL-M log, and the User Daily job does not order any jobs.
If, for any reason (for example, hardware problems), the New Day
procedure did not run for one or more days, it is not necessary to run
it for days missed. However, production jobs (including User Daily
jobs) whose job processing definition includes the parameter Retro
will be ordered automatically for all the dates on which they were
supposed to be ordered. Retroactive ordering of jobs is performed
according to each jobs scheduling criteria.
For example, if the computer did not operate from the 20th to the
23rd, then a job that was originally scheduled to run on the 20th will
not have run on that day. When it is finally run on the 24th, the New
Day procedure determines whether or not its associated jobs should
be retroactively scheduled to run using the logical date of the 20th.
For additional information, refer to the Enterprise Controlstation
User Guide.
Note
Overview
1-21
Should you decide to rerun a User Daily job manually, you must change
UDLAST (the last running date of the User Daily job) as if the jobs did
not run today. A User Daily job is run manually using utility ctmudly.
UDLAST is modified using utility ctmudlst. For further information,
Chapter 2, Utilities.
1-22
Order
Requests that the specified job or Scheduling table be ordered. Each
job is placed in the Active Jobs file if its Scheduling criteria are
satisfied.
Force
Forces the specified job or Scheduling table. Each job is placed in
the Active Jobs file regardless of its Scheduling criteria.
Overview
1-23
Figure 1-3
1-24
Shout Destination tables are created and maintained using utility ctmsys
(described in Chapter 2, Utilities).
Designation of the active Shout Destination table can be performed using
one of the following methods:
Using utility ctmshtb. This utility accepts the name of the Shout
Destination table to make active.
Overview
1-25
Destination
Type
E
Address Type
Physical Name
Shout to Email
1-26
To use the Shout to Email facility the following conditions must be met:
Overview
1-27
Runtime Statistics
CONTROL-M includes an option for accumulating and collating runtime
statistics for each defined job. These statistics are used for the following
purposes:
1-28
Overview
1-29
CONTROL-M Log
The CONTROL-M log contains a complete audit trail of every event
occurring under the CONTROL-M production environment.
CONTROL-M logs every item of meaningful information about its
operation, and about the jobs under its supervision. Notification of both
routine procedures and error occurrences are recorded in the log.
Among the types of entries recorded in the CONTROL-M log are
messages regarding the following:
1-30
Overview
1-31
If the New Day procedure starts before you reset the clock, the New
Day procedure will start working before the clock is advanced, and
will continue normally (even if the clock is advanced while the New
Day procedure is in process).
1-32
Time-Dependent Shouts
Shout messages scheduled between 2:00 a.m. and 3:00 a.m. will be
issued, even though there may not be a delay in production since the
time frame for production is smaller.
The above also applies to jobs that have shout messages scheduled at
a later time (for example, 6:00 a.m.). These jobs can be considered
late because of the tighter production time frame.
Jobs whose scheduled time overlaps the time gap created by the clock
shift may need manual intervention. For example, it is possible that a job
with a FROM value of 2:15 a.m. and an UNTIL value of 2:45 a.m. may
not be submitted at all. These jobs should be manually adjusted. A cyclic
job may have to be deleted and then resubmitted to continue the
processing cycle during the current day.
CONTROL-M Log File
The CONTROL-M Log file will not contain entries with timestamps
between 2:00 a.m. and 3:00 a.m. Any scripts and/or programs that rely
on log entry time should be checked for possible discrepancies as a result
of advancing the clock.
Overview
1-33
If the New Day procedure starts before 1:00 am, no special action
should be taken. The New Day procedure will run only once
(between 00:00 and 00:59).
If the New Day procedure starts exactly at 1:00 a.m., computer time
should not be turned back to 1:00 a.m. to avoid another New Day
process. A second New Day procedure requires manual intervention.
It is advisable to wait until 2:01 a.m., for example, and turn the clock
back to 1:01 a.m.
Time-Dependent Shouts
Shout messages scheduled between 1:00 a.m. and 2:00 a.m. may be
issued twice.
Time-Dependent Schedules (FROM-UNTIL or Cyclic Jobs)
1-34
The CONTROL-M Log file can contain entries with times earlier than
previous entries, due to the time shift. The same considerations that apply
to advancing the clock forward, should be applied to moving the clock
backwards.
Overview
1-35
CONTROL-M Administrator
The aim of the CONTROL-M administrator is to ensure the smooth and
efficient running of CONTROL-M with minimum interruptions and
optimal usage of available resources. To achieve this aim, the
responsibilities of the CONTROL-M administrator can be summarized as
follows:
1-36
Heartbeat Monitor
CONTROL-M contains an integral Heartbeat monitor that verifies that
TCP/IP communication with ENTERPRISE/CS is functional and that
ENTERPRISE/CS is responsive to messages from CONTROL-M.
This feature complements the ENTERPRISE/CS Heartbeat monitor that
verifies that communication with CONTROL-M/Server is functional and
that CONTROL-M is responsive to messages from ENTERPRISE/CS.
The CONTROL-M Heartbeat monitor can operate in either of two
modes:
Table 1-3
Mode
Description
Active Mode
Passive Mode
Overview
1-37
Table 1-4
Heartbeat Parameters
Parameter
Description
CTM_PRM_KPA_ACTIVE
CTM_PRM_KPA_BETWEEN_MSGS
CTM_PRM_KPA_ROUNDTRIP_TIMEOUT
Example
CTM_PRM_KPA_ACTIVE
CTM_PRM_KPA_BETWEEN_MSGS
CTM_PRM_KPA_ROUNDTRIP_TIMEOUT
y
300
300
1-38
Utilities
Introduction
CONTROL-M provides general maintenance capabilities through
utilities described in this chapter. Several utilities also generate reports
which are useful for managing the data center and for planning job
processing definitions and calendars.
Note
Many of these utilities are intended for use only by the CONTROL-M
administrator. These utilities require extensive authorization in the
CONTROL-M database and they may not work if submitted by a regular
user.
All the utilities described in this chapter are included in the
CONTROL-M product package. These utilities are run either from the
system prompt or submitted as batch jobs (except where noted).
Those utilities that can be submitted as batch jobs can also be defined as
CONTROL-M jobs. This enables you to utilize the job handling features
provided by CONTROL-M such as automatic scheduling and use of
AutoEdit variables (see examples in this chapter). For more information,
see Utilities on page 2-7 before using this feature.
Note
Unless stated otherwise, the SQL Server must be active when any of the
utilities described in this chapter are in use.
BMC Software, Inc., Confidential and Proprietary Information
Utilities
2-1
CONTROL-M Utilities
Utility
Description
ctm_backup_bcp
ctm_restore_bcp
ctm_ping
ctmcontb
ctmcpt
ctmcreate
ctmdbbck
ctmdbcheck
ctmdbrst
ctmdefine
ctmfw
ctmjsa
ctmldnrs
ctmloadset
ctmmakedb
ctmlog
ctmordck
2-2
Table 2-1
CONTROL-M Utilities
Utility
Description
ctmorder
ctmpsm
ctmrpln
ctmruninf
ctmsec
ctmshout
ctmshtb
ctm_suspend
ctmsys
ctmudlst
Enables you to manually set the User Daily last run date.
ctmudly
ctmwhy
dbversion
ecacontb
ecactltb
ecaqrtab
Utilities
2-3
Requires
CONTROL-M
Active
Utility
ctm_backup_bcp
ctm_ping
Executable As
Batch
Job
ctm_restore_bcp
ctmcontb
Requires
SQL
Active
Executable
By User
Other Than
CONTROL-M
Admin
X
X
Supports
AutoEdit
Variables
Executable
From Agt
Platform
(Batch
Only)
X
X
ctmcpt
X
x
ctmcreate
ctmdbbck
ctmdbcheck
ctmdbrst
ctmdefine
X
X
ctmlog
ctmmakedb
ctmordck
X
X
ctmfw
ctmjsa
ctmldnrs
ctmloadset
ctmpsm
ctmrpln
ctmruninf
ctmshtb
ctm_suspend
ctmorder
ctmshout
X
BMC Software, Inc., Confidential and Proprietary Information
2-4
Table 2-2
Utility
Requires
CONTROL-M
Active
Requires
SQL
Active
ctmsys
ctmudlst
ctmudly
Executable
By User
Other Than
CONTROL-M
Admin
Executable As
Batch
Job
ctmwhy
dbversion
Supports
AutoEdit
Variables
Executable
From Agt
Platform
(Batch
Only)
ecacontb
ecactltb
ecaqrtab
Utility Reports
Report
Description
CONTROL-M Log
Utilities
2-5
Table 2-3
Utility Reports
Report
Description
User Daily:
Associated Job
Processing Definitions
Prerequisite Conditions
Control Resources
Status
Quantitative Resources
Status
Summary Statistical
Data
2-6
Utilities
ctm_backup_bcp
Utility ctm_backup_bcp exports data in the CONTROL-M database to
directory bcp_backup. Each database table is backed up as a separate
ASCII file.
The bcp_backup directory path is
<controlm home directory>/ctm/bcp_backup
To invoke the ctm_backup_bcp utility:
Utilities
2-7
Example 1
Example 2
2-8
ctm_ping
Utility ctm_ping detects and collects configuration information about
CONTROL-M/Agents. This utility can also connect Agents that are
already in the database, and test communication between them and the
CONTROL-M/Server.
This utility can check if an Agent is down and, if necessary, register it in
the database as unavailable. When the Agent again becomes available,
the state of the Agent is changed and information about it is gathered by
a CONTROL-M process.
To invoke utility ctm_ping, specify the following command:
ctm_ping [<node ID>]
where:
<node ID> is the Host name of the Agent platform to be pinged (tested).
Example 1
Utilities
2-9
2-10
ctm_restore_bcp
Utility ctm_restore_bcp imports the CONTROL-M database from the
bcp_backup directory. The content of this directory was created by
utility ctm_backup_bcp.
To invoke the ctm_restore_bcp utility:
Utilities
2-11
Example 1
Example 2
2-12
ctmcontb
ctmcontb performs operations on the Prerequisite Conditions table.
These operations include:
ctmcontb Parameters
Variable
Description
<Condition Name>
<Condition Date>
<Output>
Utilities
2-13
Description
<Condition Name>
<Condition Date>
Description
<Condition Name>
<Condition Date>
2-14
Description
<Condition Name>
<From Date>
<To Date>
Example 1
Utilities
2-15
Example 3
Date: 30-JUN-2000.
Page 1
Conditions list
+--------------------------------------+
CONDNAME
CONDDATE
+--------------------------------------+
APR1-L20
0629
APR1-L20
0630
ARD-L3OK
0630
LVL11-LVL22 0628
LVL11-LVL22 0629
PKR11-LVL01 0630
2-16
ctmcpt
ctmcpt registers a user in the CONTROL-M product registry database.
The Shout to Email facility requires that CONTROL-M/Server be
running as either a service or program under the account of a user who is
registered in the CONTROL-M product registry database. For more
information, see Shout to Email on page 1-26.
Specify the following command to register a user for the first time:
ctmcpt <user name> <password>
Specify the following command to change the password for a user who is
already registered:
ctmcpt <user name> <old password> <new password>
Note
The following command registers the user user1 with password default:
ctmcpt user1 default
Utilities
2-17
ctmcreate
ctmcreate is an API (Application Program Interface) utility that allows
an special job to be inserted directly into the Active Jobs file. The job
does not have to be defined in the CONTROL-M database. The function
performed by this utility is equivalent to the Force function in
ENTERPRISE/CS.
Utility ctmcreate
ctmcreate
-tasktype {JOB|DETACHED|COMMAND|DUMMY} /
-group <group name>
/
-application <application name>
/
[ -nodegrp <node ID/group> ]
/
[ -memlib <directory name> ]
/
[ -memname <file name> ]
/
[ -cmdline <command line text> ]
/
[ -jobname <name of job> ]
/
[ -schedtab <name of scheduling table> ]
/
[ -owner <user name of job owner> ]
/
[ -odate <scheduling date>|ODAT ]
/
[ -maxrerun <maximum reruns> ]
/
[ -timefrom <earliest submission time> ] /
[ -timeuntil <latest submission time> ] /
[ -priority <job priority> ]
/
[ -critical {Y|N} ]
/
[ -cyclic {Y|N} ]
/
[ -confirm {Y|N} ]
/
[ -interval <minutes> ]
/
[ -overlib <alternate directory> ]
/
[ -maxwait <days> ]
/
[ -description <job description> ]
/
[ -docmem <file name> ]
/
[ -doclib <directory name> ]
/
[ -incond <condition> <date> {AND|OR} ]
/
[ -outcond <condition> <date> {ADD|DEL} ]
/
[ -autoedit <variable name> <expression> ]
/
[ -quantitative <quantitative resource> <quantity> ] /
[ -sysout {RELEASE|DELETE}|{COPY|MOVE [<parameter>]} /
[ -control <control resource> {E|S} ]
/
[ -shout {OK|NOTOK|RERUN|LATESUB|LATETIME|
/
EXECTIME} <destination> {R|U|V} <message> [<time>] ] /
[ -on <statement> <code> /
[ -dook ] /
[ -donotok ] /
[ -dorerun ] /
[ -doshout <destination {R|U|V} <message> ]/
[ -docond <condition> <date> {ADD|DEL} ] /
[ -doautoedit <variable name> <expression> ]/
[ -doforcejob <table name> <job name> <odate> ] /
[ -dosysout
{RELEASE|DELETE|COPY|MOVE} [<parameter>] ] ] /
[ -debug <debug level 1-5> ] /
[ -quiet ]
2-18
Utility Parameter
ENTERPRISE/CS
Parameter
Utility Parameter
ENTERPRISE/CS
Parameter
application
Application
interval
Interval
autoedit
AutoEdit Assignments
jobname
Job Name
cmdline
Command Line
maxrerun
Max Rerun
confirm
Confirm Submission
maxwait
Max Wait
control
Control Resources
memlib
Mem Lib
critical
Critical
memname
Mem Name
cyclic
Cyclic
nodegrp
Node ID/Group
debug
Debug
odate
description
Description
on
On Statement/Code
doautoedit
Do AutoEdit
outcond
Out Conditions
doclib
Doc Lib
overlib
Over Lib
docmem
Doc Mem
owner
Owner
docond
Do Cond
priority
Priority
doforcejob
Do Forcejob
quantitative
Quantitative Resources
donotok
Do NOTOK
quiet
Quiet
dook
Do OK
schedtab
Scheduling Table
dorerun
Do Rerun
shout
Shout
doshout
Do Shout
sysout
Option, Parm
dosysout
Do Sysout
tasktype
Task Type
group
Group
timefrom
Time
incond
In Conditions
timeuntil
Time
Note
Utilities
2-19
The order of the parameters does not affect the outcome of the job,
with the exception of -on and -do... parameters.
2-20
Example
-incond pk_oly_ok "****"
Example
-owner .\controlm
Example 1
-tasktype command
-group ecs
Example 2
Utilities
2-21
2-22
ctmdbbck
ctmdbbck backs up the CONTROL-M database.
Utilities
2-23
ctmdbcheck
Utility ctmdbcheck displays information about the memory capacity and
the status of the CONTROL-M database.
2-24
Table 2-6
ctmdbcheck Parameters
Parameter
Description
db_threshold_%
log_threshold_%
general_threshold_%
ctmdbcheck Output
Utilities
2-25
Table 2-7
Field
Description
db total
data
log
Data used
Log used
Database is OK.
WARNING: Database is more than half full.
ATTENTION: Database log segment is more than 90%
full.
ATTENTION: Database is more than 80% full.
Example 1
Utility Output
db total = 25000.0 KB (data= 19500.00 , log= 5500.00)
data used = 3696 KB (18%).
log used = 0 KB (0%).
Checking database...
Database is OK.
2-26
Example 2
Utility Input
ctmdbcheck -d80
Utility Output
Message Warning: DB is more than 80% full, urgency
'U' NodeID 'linda' Shout to user 'ECS' 'SUCCESS'
db total = 25000.0 KB (data= 19500.00 , log= 5500.00)
data used = 21250 KB (85%).
log used = 0 KB (0%).
Checking database...
Database is OK.
Utility Input
ctmdbcheck -l80
Utility Output
db total = 25000.0 KB (data= 19500.00 , log= 5500.00)
data used = 21250 KB (85%).
log used = 0 KB (0%).
Checking database...
Database is OK.
This command is similar to the example above except that here the Log
partition is being checked. No warning message is generated because 0%
is less than the specified threshold of 80%.
Utilities
2-27
ctmdbrst
ctmdbrst restores the CONTROL-M database.
where <Backup Device> is the device from which the database should
be restored. The device specified for this parameter must be a valid
device defined in the database. A list of devices can be obtained using
the option List Backup Devices from the Database Maintenance menu.
Note
ctmdefine
ctmdefine is an API (Application Program Interface) utility that adds a
job processing definition to a Scheduling table in the CONTROL-M
database. This utility can be used when converting job scheduling
information from other job control products to CONTROL-M. The
function performed by this utility is equivalent to the manual process of
creating job processing definitions, described in the Enterprise
Controlstation User Guide.
2-28
If the job name specified when using this utility already exists in a
job processing definition in the Scheduling table, the new job
processing definition does not overwrite the existing one. Both job
processing definitions will appear in the table, each with a different
internal job number.
If the Scheduling table specified when using this utility does not
exist, the utility creates it.
Utilities
2-29
]/
2-30
Table 2-8
ctmdefine Parameters
Utility Parameter
ENTERPRISE/CS
Parameter
Utility Parameter
ENTERPRISE/CS
Parameter
application
Application
interval
Interval
autoedit
AutoEdit Assignments
jobname
Job Name
calendar
Days Calendar
maxrerun
Max Rerun
cmdline
Command Line
maxwait
Max Wait
confirm
Confirm Submission
memlib
Mem Lib
control
Control Resources
memname
Mem Name
critical
Critical
month
See below
cyclic
Cyclic
nodegrp
Node ID/Group
date
Dates
on
On Statement/Code
days
Days
outcond
Out Conditions
debug
Debug
overlib
Over Lib
description
Description
owner
Owner
doautoedit
Do AutoEdit
priority
Priority
doclib
Doc Lib
quantitative
Quantitative Resources
docmem
Doc Mem
quiet
Quiet
docond
Do Cond
retro
Retro
doforcejob
Do Forcejob
shout
Shout
donotok
Do NOTOK
sysout
Option, Parm
dook
Do OK
table
Scheduling Table
dorerun
Do Rerun
tasktype
Task Type
doshout
Do Shout
timefrom
Time
dosysout
Do Sysout
timeuntil
Time
group
Group
weekdays
Weekdays
incond
In Conditions
Utilities
2-31
Note
For the -month parameter, specify the first three letters of a month (for
example, JAN) or ALL for all months (the default is none). To specify
two or more individual months, use a separate -month parameter for
each month.
The following syntax rules apply when using this utility:
2-32
The order of the parameters does not affect the outcome of the job,
with the exception of -on and -do... parameters.
When you use -sysout to COPY or MOVE a sysout file, you must
specify a path name with a file name.
Utilities
2-33
Example 1
2-34
ctmfw
The CONTROL-M File Watcher utility, ctmfw, detects the following file
processes:
For a file transfer activity, when the file is detected, the job continues
to monitor the size of the file. When the file reaches a specified
minimum size and does not increase in size for a specified period of
time, the File Watcher utility either completes with a status of OK or
executes a specified DO action. DO actions can consist of adding or
deleting conditions or executing a command.
For a file deletion, ctmfw must first detect the existence of the file
before it can detect its deletion.
Utilities
2-35
2-36
Table 2-9
ctmfw Parameters
Variable
Description
filename
mode
CREATE
DELETE
min_size
sleep_int
mon_int
Utilities
2-37
Table 2-9
ctmfw Parameters
Variable
Description
min_detect
wait_time
Return Codes
The return codes listed in Table 2-10 are issued by utility ctmfw after
detecting if a file is created or deleted in the specified time frame.
Table 2-10
Return Code
Description
2-38
Table 2-11
Parameter
Description
INTERVAL
FROM_TIME
Utilities
2-39
Figure 2-4
ON_FILEWATCH Statements
#******************************************************************
# Mandatory Parameters
INTERVAL <60>
# Sleep interval (seconds)
FROM_TIME <0000>
# Starting time for all files (hhmm)
MIN_SIZE <0>
# Minimum size for all files (bytes)
MIN_DETECT <3>
# Number of iterations for all files
WAIT_TIME <0>
# Time limit for all files (minutes)
# ON_FILEWATCH statements
ON_FILEWATCH <filename> [mode] [min_size] [min_detect] [wait_time]
[from_time] [cyclic_interval]
THEN
<action>
ELSE
<action>
END_ON
#******************************************************************
# indicates comments.
from_time is the time from which to watch for the specified file
action.
2-40
Note
Table 2-12
Action
Description
DO_CMD <command>
DO_OK
If the file is detected and the size remains static in the time frame
(CREATE) or the file has been deleted (DELETE), the DO
commands in the THEN block are executed.
If the file is not detected or deleted in the time frame, the statements
following the ELSE block are executed.
ctmfw terminates when either all the files in the Rules file have been
processed or a DO_OK/DO_NOTOK action is executed.
Note
Utilities
2-41
Example 1
#****************************************************
INTERVAL 10
ON_FILEWATCH c:\controlm\datafile.txt CREATE
THEN
DO_COND datafile 0101 +
DO_CMD move c:\ctm\datafile.txt c:\ctm\workfile.txt
ELSE
DO_COND datafile 0101 END_ON
ON_FILEWATCH c:\ctm\tempfile.txt DELETE
THEN
DO_COND tempfile 0101 END_ON
#****************************************************
2-42
Example 2
Value
Job Name
FileWatch
Mem Name
FileWatch
Owner
<control_m_user>
From Time
1900
Command line
On Statement/Code processing:
Stmt
Code
COMPSTAT=0
Do Cond
Stmt
Code
COMPSTAT=1
Do Shout
To: ENTERPRISE/CS
Text: File trans.dat did not arrive on time
Utilities
2-43
where <rule_file_name> is the full path name of the file containing the
File Watcher rules.
Any File Watcher command line option can be specified in the rules file.
The start and end of all parameters must be demarcated by the new line
character.
Example
2-44
The File Watcher service does not open an additional window during
execution. If you wish to have visual feedback while running the service,
change the setting (Default Y) of the following registry key to N.
HKEY_LOCAL_MACHINE\SOFTWARE\BMC Software, Inc.\
CONTROL-M/FileWatcher\SYSPRM\Silent Mode
The File Watcher service running under the Local System account cannot
detect network resources (that is, files located on remote systems). If you
wish to have the File Watcher detect network resources, configure the
File Watcher Service to run under a regular user account.
File Watcher Service Trace
Figure 2-5
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
07/22/97
13:04:24
13:04:24
13:04:24
13:04:24
13:04:24
13:04:24
13:04:24
13:04:24
13:04:24
13:04:36
13:04:36
13:05:09
13:05:27
13:05:27
13:05:27
13:05:27
13:05:30
13:05:30
13:15:01
13:15:01
182
182
182
182
182
182
182
182
182
182
182
182
182
182
182
182
182
182
182
182
FW:set INTERVAL=3
FW:set MIN_SIZE=4
FW:set FROM_TIME=0909
FW:ctmfw: command line ON_FILEWATCH test CREATE(arg#=3). id=1.
FW:ctmfw: command line ON_FILEWATCH prd1 CREATE 0 0 1 NOW 10(arg#=8). id=2.
FW:ctmfw: command line ON_FILEWATCH abc DELETE 0 0 1 NOW 10(arg#=8). id=3.
FW:File test exists, its current size is 265. id=1.
FW:File test has reached the minimum size of 4. size=265 bytes id=1.
FW:File abc does not exist. id=3.
FW:File transfer was completed. The size of file test is 265. id=1.
FW:Executing:<ecacontb add
aaa 0101>
FW:Executing:< dir >
FW:File prd1 was not CREATED within the time limit. id=2.
FW:File prd1 will be scanned at 1315. id=2.
FW:File abc was not DELETED within the time limit. id=3.
FW:File abc will be scanned at 1315. id=3.
FW:File prd1, is out of time window. next time:1315, id=2.
FW:File abc, is out of time window. next time:1315, id=3.
FW:File prd1, entered the time window from 1315 for monitoring, id=2.
FW:File abc, entered the time window from 1315 for monitoring, id=3.
Utilities
2-45
ctmjsa
ctmjsa compiles runtime data from the Statistical Details table and
records it in the Statistics Summary table of the CONTROL-M database.
Each time it is run, this utility:
Scans the statistical data for jobs that terminated with a status of OK.
The jobs scanned can be limited to a range of dates as described
below.
Computes the average run time and standard deviation for each job
for which data was found.
2-46
Table 2-13
ctmjsa Parameters
Variable
Description
<From Date>
<To Date>
<Delta1>
<Delta2>
<Date>
-list
<Filter>
-MEMNAME <memname>
-MEMLIB <memlib>
-NODEID <nodeid>
Utilities
2-47
Note
When the Statistics Mode parameter is JOBNAME, the Mem Name and Mem Lib
fields in the Statistical Summary table are blank. When the Statistics Mode
parameter is MEMNAME, the Job Name field is blank.
Mask
Description
Example 1
Either of the following commands compile statistical data for the period
June 21, 2000 through June 25, 2000 (assuming that this data is
available). In the second command, the hyphens indicate the beginning
of unsigned parameter values; they are not minus signs.
ctmjsa 000621 000625
ctmjsa -3 -1 000624
Example 2
2-48
Example 3
The following command display summary data for all jobs whose Mem
Name parameter begins with pgmac.
ctmjsa -list -MEMNAME "pgmac"
MEMLIB
NODEID
CPU ELAPSED
[sec] [sec]
---------- ---------- --------------- ------------ ----- -----pgmacct1
prod.acct.pgm
diana
0.19 233.15
pgmacct2
prod.acct.pgm
verdi
0.12
6.12
pgmacct3
prod.acct.pgm
diana
0.05 170.45
pgmacct4
prod.acct.pgm
diana
0.34 145.23
Utilities
2-49
ctmldnrs
ctmldnrs creates and loads the Manual Conditions file. This file contains
prerequisite conditions that are required by jobs in the Active Jobs file
but which will not be available (that is, added to the Conditions/
Resources table) unless there is some form of manual intervention. These
conditions fall into two categories:
2-50
Utilities
2-51
Table 2-15
ctmldnrs Parameters
Variable
Description
ADDMODE
OUTPUT
<Product_directory>\ctmldnrs.dat
<Filename>
IGNOREIN
IGNOREOUT
IGNORECODES
<Condition Name>
Note
2-52
Variable
Description
<Condition Name>
<Filename>
<Product_directory>\ctmldnrs.dat
Example 3
The following command loads all conditions from the default input
Manual Conditions file to the Conditions/Resources table:
ctmldnrs -LOAD
Utilities
2-53
ctmloadset
ctmloadset is used to record current resource usage on an Agent
platform in the Quantitative Resources table. This utility is typically
invoked by a cyclic job that runs on the Agent platform and measures the
usage of a certain resource on the platform. This usage data is then used
to update the Quantitative Resources table on the server platform.
ctmloadset is used when load balancing is implemented. The
load-balancing algorithm uses the data recorded in the Quantitative
Resources table to determine to which Agent platform a job should be
submitted.
CONTROL-M maintains the following information regarding usage of
each Quantitative resource:
Total Used
Units of the resource currently in use. This parameter represents the sum
of:
Used by CONTROL-M
Units of the resource currently in use by jobs submitted by
CONTROL-M/Server.
Used by Others
Units of the resource currently in use by non-CONTROL-M jobs.
Specify the value for Total Used for a resource. ctmloadset subtracts
the value for Used by CONTROL-M from the value you specify
and places the remainder in the field Used by Others.
Specify the value for Used by Others for a resource. This value is
added to the value Used by CONTROL-M to calculate the value
Total Used for the resource.
2-54
Usage of resources that are recorded using this utility appear in the
Quantitative Resources Map window in ENTERPRISE/CS as type Q
rows. However, the field Mem Name remains blank since this represents
usage by one or more non-CONTROL-M jobs.
ctmloadset Parameters
Variable
Description
TOTAL
OTHERS
<QR name>
<Load value>
Example 1
A node group contains three Agent platforms: diana, jacklin and ruby.
Each platform is defined in the Quantitative Resource table as having
200 units of resource CPU_load, representing the load on the platforms
CPU.
Utilities
2-55
The Total Used for diana is set to 80% of 200, or 160. Since the usage by
CONTROL-M jobs is currently 75 units, ctmloadset calculates that the
Other (non-CONTROL-M usage) is 160 75, or 85.
As a result, the Quantitative Resources table now contains the following
values:
Table 2-18
Resource
max
Total Used by
CONTROL-M
Total Used by
Others
CPU@jacklin
200
120
80
CPU@ruby
200
150
50
CPU@diana
200
75
85
Free
40
2-56
Example 2
+------------------------------------------------------+
Resource Name
Type Max-Avail Reserved Used Free
+------------------------------------------------------+
CPU@diana
L
50
0
30
20
Example 2a
+------------------------------------------------------+
Resource Name
Type Max-Avail Reserved Used Free
+------------------------------------------------------+
CPU@diana
L
50
0
42
8
Utilities
2-57
Example 2b
+------------------------------------------------------+
Resource Name
Type Max-Avail Reserved Used Free
+------------------------------------------------------+
CPU@diana
L
50
0
36
14
Example 2c
The following command specifies that the current total usage of the
Quantitative resource CPU@diana by all jobs is 48 units:
ctmloadset TOTAL CPU@diana 48
2-58
ctmlog
ctmlog is used to create a report from entries in the CONTROL-M log or
to delete entries in the CONTROL-M log.
<Action> <Action Option> <From date> <From Time> <To Date> <To Time>
[<Output> [<Report Width>] ]
-orctmlog
where:
Valid values for <Action> and <Action Option> are listed in Table 2-19,
ctmlog Parameters, on page 2-60.
Note
All actions are limited to log entries in the range specified using the time/
date parameters.
Utilities
2-59
Table 2-19
ctmlog Parameters
<Action>
listss
<subsystem>
Prints a report for a
specific subsystem.
<subsystem>
Subsystem to include
in the report. Specify
one of the following:
SU
Supervisor
TR
Tracker
SL
Selector
CD
Download, Database
update
NS
Communication with
Agent platforms
LG
Agent utilities
UT
Utilities
list
None.
listord
<Order ID>a
Order ID to include in
the report.
listjob
<Job no.>
list
jobname
<Job name>
listmsg
Prints a report of
messages with a specific
message ID.
<msgid>
Message ID to
include in the report.
delete
None.
2-60
Table 2-20
<From Date>
<From Time>
<To Date>
<To Time>
<Output>
<Report Width>
Example 1
Example 2
Utilities
2-61
ctmmakedb
The ctmmakedb utility builds a new CONTROL-M database for the
current CONTROL-M installation. This utility is run automatically
during CONTROL-M installation. However, it can also be run at a later
time.
Note
ctmmakedb Parameters
Variable
Description
-existing
-silent
2-62
The silent.dat file with the parameters for the current run of the
ctmmakedb utility must be placed in the directory from which the utility
will be run.
Utilities
2-63
ctmordck
ctmordck lists job processing definitions associated with a specific User
Daily name and indicates the security status of each job for the owner of
the User Daily job (that is, whether or not the CONTROL-M security
mechanism will allow jobs associated with a User Daily name to run
with the authorizations currently assigned to the owner of the User Daily
job).
This utility displays the following fields:
For each job processing definition listed, the indicators in Table 2-22 are
displayed.
Table 2-22
ctmordck Output
Column
Description
TB
FL
UA
Note
2-64
Table 2-23
ctmordck Parameters
Variable
Description
<User Name>
<User Daily>
<Output>
Example
The following command generates a list for user SYSTEM and the User
Daily SYSTEM. The list is directed to the file udlist:
ctmordck SYSTEM SYSTEM c:\ctm\user1\udlist
Date: 10-JUL-2000.
Page: 1
User SYSTEM , Daily SYSTEM Ordering list
+-------------------------------------------------JOBNAME
No. AUTHOR OWNER TB FL UA
+-------------------------------------------------CTMLOG HAN 2066 root
root
Y
N
Y
PURGE JOB
2067 root
root
Y
N
Y
user3-DAIL 2033 BARAK
user3 Y
N
Y
user2-DAIL 2032 VOLODIA user2 Y
N
Y
user1-DAIL 2031 VOLODIA user1 Y
N
Y
JEAN-UD
2000 jean
jean
Y
N
Y
JOB-STATUS 2068 root
root
Y
N
Y
GD-TEST1
20 jean
user1 Y
N
Y
GD-TEST2
21 jean
user2 Y
N
Y
GD-TEST3
22 jean
user3 Y
N
Y
GD-user4
2008 jean
user4 Y
N Y
GD-user5
2009 jean
user5 Y
N Y
Utilities
2-65
ctmorder
ctmorder orders or forces one or more jobs from a Scheduling table
contained in the CONTROL-M database.
Ordered jobs are placed in the Active Jobs file if their scheduling
criteria are met.
Forced jobs are placed in the Active Jobs file regardless of their
scheduling criteria.
Table 2-24
ctmorder Parameters
Parameter
Description
<Scheduling Table>
<Job Name>
<Odate>
ORDER
FORCE
Note
2-66
Example 1
The following command orders all jobs contained in the Scheduling table
ACCT100 whose Job Name parameter begins with ga. Any jobs placed
in the Active Jobs file will have the date March 15, 2000 as their original
scheduling date:
ctmorder ACCT100 "ga*" 20000315 ORDER
Example 3
The following command forces all jobs contained in the Scheduling table
ACCT100 whose Job Name parameter consists of prodyjob. Any jobs
placed in the Active Jobs file will have the date December 31, 2000 as
their original scheduling date:
ctmorder ACCT100 prodyjob 20001231 FORCE
Utilities
2-67
ctmpsm
ctmpsm is an interactive utility that activates the CONTROL-M
Production Support menu. This menu is used to perform functions
affecting jobs or conditions in the Active environment of the data center.
It provides an alternative to using the ENTERPRISE/CS GUI and allows
the user to perform many of the GUI functions directly in the data center.
To invoke utility ctmpsm:
Resource Map
------------
1) List All
2) List All (Show Started/Ended)
3) List All (Show Application)
4) List All (Show Mem Name)
5) List Jobs That Ended OK
6) List Jobs That Ended NOTOK
7) List Submitted/Executing Jobs
8) List Cyclic Jobs
9) List Jobs Waiting for Time Window
10) List Jobs Waiting for
Confirmation
40) List Application/Group Tree
41) List Scheduling Tables
Q) Quit
Scheduling Functions
-------------------71) Scheduling Tables
72) Order Tables/Jobs
Enter Option:
2-68
The functions available from this menu are divided into three categories:
Table 2-25
Function
Description
Resource Map
Scheduling
Functions
Perform various tasks using information in the Active Jobs File. These
options are described in Table 2-26.
Utilities
2-69
Table 2-26
Code
Option
Description
List All
List All
(Show Started/Ended)
Lists all jobs in the Active Jobs file. Indicates which jobs have
started or ended execution.
List All
(Show Application)
Lists all jobs in the Active Jobs file. Indicates the application to
which each job belongs.
List All
(Show Mem Name)
Lists all jobs in the Active Jobs file. Indicates the Mem Name for
each job.
Lists jobs in the Active Jobs file that have a completion status of
Ended OK.
Lists jobs in the Active Jobs file that have a completion status of
Ended NOTOK.
List Submitted/
Executing Jobs
Lists jobs in the Active Jobs file that are currently executing.
Lists jobs in the Active Jobs file that are waiting to begin
executing based on the time specified in their Time From
parameter.
10
List jobs in the Active Jobs file that are waiting for confirmation.
40
List Application/Group
Tree
41
All Active Jobs File options display the following menu at the bottom of
the screen:
Figure 2-12 Options Menu Active Jobs File Screen
2-70
Each of the Active Jobs File actions can be performed on the jobs
displayed on the screen. The actions are described in Table 2-27.
Table 2-27
Option
Action
Description
Hold
Hold a job.
Free
Delete
Rerun
Rerun a job.
Undelete
Why
Details
LO
LogOrd
LJ
LogJob
Confirm
S1
S2
Sysout
Statistics
View script/JCL
Force OK
GH
GF
GD
GR
GU
Utilities
2-71
Code
Option
Description
61
Control Resources
62
Quantitative Resources
63
Prerequisite Conditions
64
65
Quantitative Resources
Usage
Code
Option
Description
71
Scheduling Tables
72
Order Tables/Jobs
2-72
RE_SCHED
RE_SYSOUT
RE_ONSTMT
RE_SHOUT
RE_TEST1
RE_TEST2
RE_TEST3
RE_TEST4
RE_UDAILY
RE_UTILITIES
(Daily:
)
(Daily:
)
(Daily:REGRESSION)
(Daily:REGRESSION)
(Daily:REGRESSION)
(Daily:REGRESSION)
(Daily:REGRESSION)
(Daily:REGRESSION)
(Daily:SYSTEM
)
(Daily:UTILITIES )
The following options, displayed in Table 2-30, are available from the
above screen.
Table 2-30
Option
Action
Description
Add Table
D#
Delete table #
F#
Force table #
Remove Table
Utilities
2-73
Table 2-30
Option
Action
Description
J#
List jobs #
U#
Update table #
When the List Jobs # option is selected, output similar to the following
is displayed:
Figure 2-14 Sample Output from the List Jobs # Option
Jobname:DAYS_CAL_N,
Jobname:DAYS_30_FE,
Jobname:DAYS_28_29,
Jobname:NO_CALENDA,
Jobname:DATES_0101,
Jobname:DATES_2902,
Jobname:DAYS_CAL_M,
Jobname:DAYS_CAL_P,
Jobname:DAYS_CAL_W,
Jobname:CALENDAR_O,
Jobname:wdays_all ,
Jobname:wdays_1_2_,
Memname:DAYS_CAL_NONE
Memname:DAYS_30_FEB
Memname:DAYS_28_29_FEB
Memname:NO_CALENDAR
Memname:DATES_0101_0202
Memname:DATES_2902
Memname:DAYS_CAL_MINUS
Memname:DAYS_CAL_PLUS
Memname:DAYS_CAL_WITHOUT
Memname:CALENDAR_ONLY
Memname:WDAYS_ALL
Memname:WEEKDAYS_1_2_3
Q) Quit.
F#) Force job #
M) Month Schedule Plan.
Y#) Year Schedule Plan for
job #
Option []:
2-74
The options available from the screen in Figure 2-14 on page 2-74 are
listed in Table 2-31.
Table 2-31
Option
Action
Description
F#
Force job #
Y#
Utilities
2-75
ctmrpln
ctmrpln creates a report that lists all or a selection of jobs in a specified
Scheduling table, and indicates when the jobs are scheduled to run. In
addition, it enables you to test the effect of different calendars on the
scheduling of jobs in the table.
Note
Utility ctmrpln only supports reports whose specified start and end years
are between 1972 2035.
Each report can be created in one of three formats, as described in
Table 2-32.
Table 2-32
Daily Report
Monthly Report
Yearly Report
Note
2-76
Char
Description
Characters indicating
that a job is scheduled
to run (that is, the job is
placed in the Active
Jobs file)
Characters indicating
that a job is not
scheduled to run (that
is, the job is not placed
in the Active Jobs file).
a. The day is marked in the calendar used to schedule the job. For more
information, see the Enterprise Controlstation User Guide.
b.The start-of-week day is determined by the CONTROL-M system parameter
Start Day of the Week, described in Chapter 5, Customization
Parameters,.
Utilities
2-77
Table 2-34
ctmrpln Parameters
Parameter
Description
<Report_type>
<Calendar>
<Schedtab>
DM (or D)
DJ
MM (or M)
MJ
<Name>
Creates the report using the calendar you specify (ignoring any
calendar specified in the jobs scheduling parameters). Use this
option to determine how other calendars affect the schedule.
Name of the Scheduling table on which to base the report. The Scheduling table
name can include the following mask characters:
*
<Jobname>
Contents of the job processing parameter Job Name of the job or jobs to include in
the report. The Job Name can include mask characters (see <Schedtab> above).
Specify * by itself to include all jobs in the Scheduling table.
<Date>
<Output>
Full path name to which the report should be sent (optional). If this parameter is not
specified, the output is routed to the default output device.
2-78
Example 1
Utilities
2-79
ctmruninf
ctmruninf displays runtime data from the Statistical Details table of the
CONTROL-M database. An additional option is available to delete the
data from this table. The jobs scanned for both options can be limited to a
range of dates as described in Table 2-35.
Note
Table 2-35
ctmruninf Parameters
Variable
Description
-list
-delete
<From Date>
<To Date>
2-80
Table 2-35
ctmruninf Parameters
Variable
Description
<Filter>
-total
Display a total line that calculates the total CPU and elapsed
times for the jobs selected.
Example 1
The following command displays runtime data for the period January 21,
2000 through January 25, 2000 (assuming that this data is available):
ctmruninf -list 2000012100000 2000012500000
Utilities
2-81
Example 2
The following command causes the utility to display and total runtime
data for all jobs on Agent platform diana.
ctmruninf -list "" -NODEID "diana" -total
JOBNAME
ORDERID
---------- -------acct12
00000007
gen786
0000000b
acct14
00000011
acct15
00000012
---------- -------printed : 2
RUN#
---1
1
1
1
---0.50
NODEID
-----------diana
diana
diana
diana
-----------555.35
MEMNAME
---------pgmacct
genx
pgmacct
pgmacct
----------
MEMLIB
CPU
ELAPSED
-------------- ----- ------prod.acct.pgm
0.19 233.15
prod.general
0.12
6.12
prod.acct.pgm
0.05 170.45
prod.acct.pgm
0.14 145.23
-------------- ----- -------
Example 3
The following command deletes the statistical data for January 31, 2000:
ctmruninf -delete 2000013100000 20000131235959
2-82
ctmshout
ctmshout issues Shout messages to an indicated destination. It can be
entered directly or from a job script. For more information, see Shout
Destination Tables on page 1-24.
ctmshout Parameters
Variable
Description
<Order_ID>
<Node_ID>
<Destination>
<Message_text>
<{R|U|V}>
Utilities
2-83
Example 1
The following command sends the message File not found to the Alerts
window in ENTERPRISE/CS and associates it with a job whose Order
ID is 1234:
ctmshout -ORDERID 1234 -USER ECS
-MESSAGE "File not found" -SEVERITY V
Example 2
The following command sends the message The weekly paycheck job
has abended to user Johns email:
ctmshout -NODEID diana -USER John -MESSAGE "The weekly
paycheck job has abended" -SEVERITY V
Example 3
The script used to execute the job contains the following command:
ctmshout -O $1 -USER ECS -MESSAGE "Job started"
-SEVERITY R
2-84
ctmshtb
ctmshtb sets the active Shout Destination table. The Shout Destination
table associates physical output destinations with logical destination
names specified in Shout and Do Shout statements in job processing
definitions. For more information, see Shout Destination Tables on
page 1-24.
Activation of this utility changes the active Shout Destination table to the
table specified.
You can add, delete, and modify Shout Destination tables using the
ctmsys utility, described earlier in this chapter. The ctmsys utility can
also be used to specify the active Shout Destination table interactively.
The following command sets the current active Shout Destination table
designation to SHIFTMAN:
ctmshtb SHIFTMAN
Utilities
2-85
ctm_suspend
ctm_suspend suspends and restores CONTROL-M/Server
non-communication processes for mass batch uploads/downloads from
ENTERPRISE/CS. During suspension mode, CONTROL-M inactivates
its job processing functions by suspending the TR, SL, NS, and LG
processes. For more information, see CONTROL-M/Server Processes
on page 4-37. Requests for job processing during this mode are
suspended until execution of ctm_suspend restoration mode.
This utility should be invoked before executing the Mass Upload or
Mass Download features on the ENTERPRISE/CS Graphical User
Interface.
ctm_suspend Parameters
Option
Command
-s
-r
Example
2-86
ctmsys
ctmsys is an interactive utility for maintaining:
+------------------------------------------------+
|
CONTROL-M SYSTEM MAINTENANCE UTILITY
|
|
Main Menu
|
+------------------------------------------------+
1)
2)
q)
Quit
Enter option:
The options in this menu and in all other menus provided by this utility
can be selected by typing the option number or command letter and
pressing <Enter>.
Each option appearing in the Main menu is described below.
Utilities
2-87
Select Option 1 from the main menu. The following menu is displayed:
Figure 2-16 Shout Destination Tables Menu
Create/Modify a Table
Set Active Table
List Tables
Delete Table
q)
Enter option:
2-88
Step 2
Specify the name of the table to be created or modified (or just press
<Enter> to accept the default listed in the prompt).
If the name you specify is not the name of an existing Shout Destination
table, a new table will be created with the specified name.
A display similar to the following appears. For an existing table, the
defined destinations are listed.
Figure 2-18 Sample Showing Table Creation or Modification Options
n) New entry
Physical Name
------------david@bmc.com
d#) Delete
Enter option:
Utilities
2-89
The Shout Destination Table System menu displays the fields described
in Table 2-38.
Table 2-38
Field
Description
Destination
Type
System console.
CONTROL-M log.
Addr
Logical
Name
Physical
Name
2-90
Logical Name:
Utilities
2-91
2. Specify the name of the table to set as the active Shout Destination
table. The following message is displayed:
Table <table name> is now active.
Press ENTER to continue.
3. Press <Enter> to return to the Shout Destination Tables menu.
2-92
To specify the active Shout Destination table using a batch job, run utility
ctmshtb, described earlier in this chapter.
To list existing Shout Destination tables:
Utilities
2-93
Select Option 2 from the Main menu. The first page of parameters and
their current values are displayed.
Figure 2-19 Report Showing System Parameters - Page 1
CONTROL-M System Parameters (Page 1/2)
-------------------------------------Computer System :Intel
Operating System :Windows-NT
CONTROL-M Version :2.2.4
1) Sysout Log Directory :c:\ctmsrv\ctm\sysout
Executable Path :c:\ctmsrv\ctm\exe
2) Day Time :+0700
CONTROL-M Date :20000515
3) Statistics :Y
4) Maximum Retries :10
5) Start Day of the Week :2
Active Shout Table :SYSTEM
n)
s)
c)
Next Page
Save and Return to Main Menu
Cancel
2-94
Previous page
Save and Return to Main Menu
Cancel
Step 3
-or
Utilities
2-95
ctmudlst
ctmudlst is used to display or modify UDLAST (the User Daily last run
date). For more information, see Date Control Record (UDLAST) on
page 1-20.
When using utility ctmudlst, the New Day procedure must not be
running (that is, the status of the data center in the Communication Status
window of ENTERPRISE/CS must not be Formatting AJF).
ctmudlist Parameters
Option
Description
LIST
UPDATE
<User Daily>
<Date>
Example 1
The following command lists the last run date for User Daily payroll:
ctmudlst LIST payroll
Example 2
The following command changes the last run date for User Daily
inventory to Aug. 10, 2000:
ctmudlst UPDATE inventory 20000810
2-96
ctmudly
ctmudly orders jobs for a specific User Daily name.
The utility orders all Scheduling tables associated with a specific User
Daily name. Each job in the ordered Scheduling tables whose Scheduling
criteria are satisfied is placed in the Active Jobs file.
For more information and examples, see User Daily Jobs on page 1-17.
where <User Daily> is a User Daily name associated with one or more
Scheduling tables. This parameter is case-sensitive.
Example
The following command orders all Scheduling tables whose User Daily
parameter is prod:
ctmudly prod
Utilities
2-97
ctmwhy
ctmwhy displays a report stating why a job waiting in the Active Jobs
file is not being submitted for execution. This utility is equivalent to the
Why option available from the Job Node menu in the Enterprise
Controlstation window.
where <Order ID> is the Order ID of a job waiting in the Active Jobs file
(as displayed in the Job Details window of ENTERPRISE/CS).
Note
Specify the following command to determine why the job with Order ID
A4X is not being submitted for execution:
ctmwhy A4X
Specify the following command to determine why the job with Order ID
11 is not being submitted for execution. The Order ID in this example is
expressed as a base 10 number:
ctmwhy "37"
2-98
dbversion
dbversion displays a general description of the MSSQL database in use,
including the current version number.
Utilities
2-99
ecacontb
ecacontb performs operations on the Prerequisite Conditions table.
These operations include:
where:
Table 2-40
ecacontp Parameters
Variable
Description
<Condition Name>
<Output>
2-100
Variable
Description
<Condition Name>
<Date>
where:
<From Date> <To Date>
Starting and ending dates for range of condition dates of prerequisite
conditions to delete. Specify each date in mmdd format.
Example 1
Utilities
2-101
Example 2
Date: 30-JUN-2000.
Page 1
Conditions list
+--------------------------------------+
CONDNAME CONDDATE
+--------------------------------------+
APR1-L20
APR1-L20
ARD-L3OK
LVL11-LVL22
LVL11-LVL22
LVL11-LVL22
PKR11-LVL01
0629
0630
0630
0628
0629
0630
0630
2-102
Utilities
2-103
ecactltb
ecactltb displays a list of Control resources and the status of each one.
where <Output> is the full path name to which the report should be sent
(optional). If this parameter is not specified, the output is routed to the
default output device.
Example
2-104
ecaqrtab
ecaqrtab performs operations on the Quantitative Resources table. These
operations include:
ecaqrtab Parameters
Variable
Description
<QR Name>
<Output>
Utilities
2-105
Table 2-43
Parameter
Description
QR name
Type
Max Avail
Reserved
Used
Free
Variable
Description
ADD
DELETE
UPDATE
<QR name>
<Max>
2-106
Example 1
The following command specifies that the new maximum availability for
the existing Quantitative resource linerje2 on platform diana is 12 units:
ecaqrtab UPDATE linerje2@diana 12
Example 4
Utilities
2-107
2-108
Security
Overview
CONTROL-M contains an integral security system that protects the
functionality provided by CONTROL-M against unauthorized usage or
modification. This security system strengthens the standard operating
system security facility and provides an additional application-level
security layer.
Using the CONTROL-M security system, it is possible to specify which
actions each ENTERPRISE/CS user or CONTROL-M user is authorized
to perform. These authorizations are implemented as security checks and
verifications every time one of the following actions is attempted:
Ordering a job.
Commands affecting jobs in the Active Jobs file (for example, Hold,
Confirm, Rerun).
Security
3-1
Restricted
A user who is not defined in the CONTROL-M security database is
regarded as having no authorizations and is not able to perform any
function for which security authorization is required.
Unrestricted
A user not defined in the CONTROL-M security database is
regarded as having all CONTROL-M application authorizations.
3-2
Entities Authorization
User actions performed on various CONTROL-M entities (for
example, prerequisite conditions).
Security
3-3
Action
Authorization
Delete
Read
Update
OrderTable
3-4
Action
Authorization
Order
Order a job.
Force
Force a job.
Rerun
Hold
Confirm
Delete
Security
3-5
Table 3-2
Action
Authorization
Why
Sysout
Log
Statistics
3-6
Entities Authorization
Entities Authorization determines a users authorization to perform
actions on certain CONTROL-M entities. These entities are accessed
either directly from the ENTERPRISE/CS workstation or using utilities
on CONTROL-M Server or Agent platforms. Access to the entities
described in Table 3-3 is controlled by these authorizations.
Table 3-3
Entities Authorization
Entity
Authorization
Access
Calendar
ENTERPRISE/CS
Log
CONTROL-M/Server log
ctmlog
Resource
Quantitative resources
ENTERPRISE/CS
ecaqrtab
Condition
ENTERPRISE/CS
ctmcontb
ecacontb
Control
Control resources
ENTERPRISE/CS
Security
3-7
For each of the entities described in Table 3-3, a user can be assigned
authorization to perform Add and/or Delete actions:
3-8
Summary of Authorizations
The authorizations required to perform various actions under
CONTROL-M/Server are summarized in the following tables.
Who
Authorization
Security
3-9
Who
Authorization
CONTROL-M account
owner
Who
Authorization
ENTERPRISE/CS user
Who
Authorization
ENTERPRISE/CS user
3-10
Authorization Do Forcejob
Who
Authorization
To perform one of the following actions for a job in the Active network:
Table 3-9
User
Action
Authorization
ENTERPRISE/CS user
All actions
Edit JCL/Script
Security
3-11
Step 2
+-----------------------------------------------+
|
CONTROL-M SECURITY MAINTENANCE UTILITY
|
|
Main Menu
|
+-----------------------------------------------+
1)
2)
3)
4)
User Maintenance
Scheduling Table Authorization
Active Jobs File Authorization
Entities Authorization
q)
Quit
Enter option:
3-12
The options in this menu and in all other menus provided by this utility
can be selected by typing the option number or command letter and
pressing <Enter>.
Each of the options appearing in the Main menu is described below.
Note
Note
Note
Security
3-13
User Maintenance
The User Maintenance option of utility ctmsec is used to add, delete or
modify specific users in the CONTROL-M Security database.
Note
Enter option:
3-14
User
Description
Group
----------------- ---------------------------- ------GCSERV
For passing Global conds.
User1
Press ENTER to continue:
Step 2
To specify values for the fields Description and Group, use the Modify
User Information option from the User Maintenance menu.
Security
3-15
Step 2
Step 2
User: User1
Modify User Information
----------------------1) Description :
2) Group
:
s)
c)
Save
and return to menu
Cancel and return to menu
Step 3
3-16
You are prompted to supply a value for the field (maximum length: 50
characters for Description, 32 characters for Group).
These fields are for documentation purposes only.
Step 4
-or
Select Option 2 from the main menu. A prompt similar to the following
is displayed:
Figure 3-5
+--------------------------------------+
|
SCHEDULING TABLE AUTHORIZATION
|
+--------------------------------------+
Username [User1]:
Step 2
Specify the user name of the ENTERPRISE/CS user for whom you are
performing this function.
If the user name is not defined on the Server platform, the following
message is displayed:
Security
3-17
Figure 3-6
Step 3
Step 4
Enter option:
3-18
Figure 3-9
OrderTable
----------
Step 2
Step 2
Security
3-19
Save
and return to menu
Cancel and return to menu
If the user was previously authorized for this scheduling table, the users
current authorizations are displayed; otherwise, all authorizations are set
to N.
Step 3
Step 4
-or
3-20
Step 2
Specify the name of the Scheduling table whose authorizations you wish
to delete for this user (or just press <Enter> to return to the menu).
The users authorizations for this table are deleted from the Security
database and the Scheduling Table Authorizations menu is displayed.
+--------------------------------------+
|
ACTIVE JOBS FILE AUTHORIZATION
|
+--------------------------------------+
Username [User1]:
Step 2
Specify the user name of the ENTERPRISE/CS user for whom you are
performing this function.
If the user name is not defined on the Server platform, the following
message is displayed:
Security
3-21
Figure 3-12 Screen Showing Message Where User Name is not Defined
Step 3
Step 4
Enter option:
To list owners for whom the user has Active Jobs File authorizations:
Step 1
3-22
Figure 3-15 List of Owners User has Active Jobs File Authorizations
List for user: User1
Owner
-------------Owner1
Owner2
Hold
---N
Y
Force
----Y
Y
Del
--Y
Y
Rerun
----Y
Y
Log
--N
Y
Why
--N
Y
Statist
------N
Y
Sysout
-----N
Y
Order
----Y
Y
Conf
---N
Y
Step 2
To create or modify Active Jobs File authorizations for the specified user:
Step 1
Step 2
Security
3-23
Save
and return to menu
Cancel and return to menu
If the user was previous authorized for this owner, the users current
authorizations are displayed; otherwise, all authorizations are set to N.
Step 3
Step 4
-or
3-24
Step 2
Entities Authorizations
This option is used to assign authorizations to a user to perform actions
relating to CONTROL-M entities.
These authorizations are described earlier in this chapter.
To maintain Entities authorizations:
Step 1
+----------------------------------------+
|
CONTROL-M ENTITIES AUTHORIZATION
|
+----------------------------------------+
Username [User1]:
Step 2
Specify the user name of the ENTERPRISE/CS user for whom you are
performing this function.
Security
3-25
If the user name is not defined on the Server platform, the following
message is displayed:
Figure 3-18 Message User Name not Defined on the Server Platform
Step 3
Step 4
Enter option:
3-26
Step 2
Step 3
Categories
---------1) CALENDAR
2) LOG
3) QUANTITATIVE RESOURCE
4) CONDITION
5) CONTROL RESOURCE
x) Exit to menu
Category number:
Security
3-27
Step 2
Save
and return to menu
Cancel and return to menu
If the user was previously authorized for this category, the users current
authorizations are displayed; otherwise, all authorizations are set to N.
Step 3
Step 4
-or
3-28
Step 2
Security
3-29
3-30
Maintenance
Overview
This chapter discusses the following topics:
Database Configuration
CONTROL-M Maintenance Procedures
CONTROL-M Menu System.
CONTROL-M Server Processes
Database Configuration
Recommended values for configuring the database are listed in Table 41.
Maintenance
4-1
Table 4-1
Database Attributes
Attribute
MSSQL
6.5
MSSQL
7.0
Number of locks
30000
60
500
10
10,240
10,240
4096
4096
30
30
4-2
SQL Server1.
CONTROL-M/Server.
Maintenance
4-3
Step 2
Step 2
Periodic Maintenance
The following procedures should be performed on a regular basis:
4-4
The SQL Server writes a message to a log file when the server is started
or shut down, and when a database error occurs. This log file is not
automatically truncated. If not manually truncated, the file will
eventually waste a large amount of disk space.
Maintenance
4-5
Step 2
4-6
Step 3
CONTROL-M Menus
Menu
Description
CONTROL-M Manager
Database Creation
Database Maintenance
Parameter
Customization
Node Group
Agent Status
Troubleshooting
Quit
Maintenance
4-7
All references below to starting and stopping the SQL Server are
applicable only when CONTROL-M/Server uses a dedicated SQL
Server.
4-8
Table 4-3
Option
Description
Check All
Start All
Start Database
Start CONTROL-M/
Server
Stop All
Stop Database
Stop CONTROL-M/
Server
Stops CONTROL-M/Server.
Quit
Maintenance
4-9
The options of the Database Creation menu are described in Table 4-4.
Table 4-4
Menu Item
Description
Show Database
Parameters
CONTROLM_USER=ctrlm
CONTROLM_DATABASE=ctrlm
Build Database
Delete Database
4-10
Table 4-4
Menu Item
Description
Erase Database
Contents
Check Database
Maintenance
4-11
Step 2
Parameter
Description
SA Password
4-12
Table 4-5
Step 3
Parameter
Description
CONTROL-M DB Name
CONTROL-M DB
Owner
CONTROL-M DBO
Password
Maintenance
4-13
Step 4
Parameter
Description
Enter the data device path and the log device path.
Change any parameter that differs from its default value.
Step 5
4-14
Step 6
Maintenance
4-15
Step 7
Step 8
4-16
Backup Database
Backs up the CONTROL-M database onto a backup device. The
function performed by this option is identical to the function
performed by utility ctmdbbck. This option can be invoked while
the database is running.
The following prompt is displayed:
Enter backup device name [tapedump2]:
Maintenance
4-17
Restore Database
Restores the CONTROL-M database from a backup device. The
function performed by this option is identical to the function
performed by utility ctmdbrst.
The following prompt is displayed:
Enter restore device name [tapedump2]:
4-18
where:
Table 4-7
Parameter
Description
<dev_logical_name>
{disk|tape}
<device_name>
<size_in_MB>
This device can be either a disk file or a tape drive. (Backups to disk
files are faster and do not require operator intervention.)
Specify the desired parameters for the new device.
Example
cont tape cont_dev
Maintenance
4-19
Specify the logical name of the device to delete from the list. Upon
completion of the process, the following message is displayed:
Device dropped (return status = 0)
Quit
Quits the Database Maintenance menu and returns to the
CONTROL-M Main menu.
Note
For parameter changes to take effect, you must shut down and restart
CONTROL-M/Server.
Select the option Extend Database Size from the Database Maintenance
menu. The following prompt is displayed:
4-20
The device logical name must not exist. The local file system where the
device will be located must have enough free space to accommodate the
size specified below.
Step 2
Specify the logical name of the device and press <Enter>, or just press
<Enter> to accept the default value. The following prompt is displayed:
Specify the physical path and device name and press <Enter> . The
following prompt is displayed:
Maintenance
4-21
Select the option Extend Temporary Database Size from the Database
Maintenance menu. The following prompt is displayed:
The device logical name must not exist. The local file system where the
device will be located must have enough free space to accommodate the
size specified below.
Step 2
Specify the logical name of the device and press <Enter>, or just press
<Enter> to accept the default value. The following prompt is displayed:
Specify the physical path and device name and press <Enter> . The
following prompt is displayed:
4-22
The size of the log segment of the database should be approximately 1/3
of the data segment size.
To extend the size of the log segment of the CONTROL-M database:
Step 1
Select the option Extend Database Log Size from the Database
Maintenance menu. The following prompt is displayed:
The device logical name must not exist. The local file system where the
device will be located must have enough free space to accommodate the
size specified below.
Step 2
Specify the logical name of the device and press <Enter>, or just press
<Enter> to accept the default value. The following prompt is displayed:
Specify the physical path and device name and press <Enter> . The
following prompt is displayed:
Maintenance
4-23
All the parameters that appear in these menus are described in Chapter 5,
Customization Parameters.
The options in the Customization Menu are described in Table 4-8.
4-24
Table 4-8
Parameter
Description
Communication and
Operational Parameters
Parameters for
Communicating With
Specific Agent Platforms
Quit
Note
For parameter changes to take effect, you must shut down and restart
CONTROL-M/Server.
Maintenance
4-25
4-26
Polling Interval:
Communication Timeout:
Maximum Retries:
Retry Interval:
Server-to-Agent Port Number:
a)
s)
q)
To exit, specify q.
Maintenance
4-27
This option does not require communication with Agent platforms and
this option does not verify that the specified Agent platform exists.
The following menu is displayed. The current value for each parameter
follows the parameter name:
Figure 4-7
Communication Timeout:
Maximum Retries:
Retry Interval:
Server-to-Agent Port Number:
a)
s)
q)
Step 2
Step 3
Step 4
To exit, specify q.
BMC Software, Inc., Confidential and Proprietary Information
4-28
The options available in the Node Group menu are listed in Table 4-9.
Maintenance
4-29
Table 4-9
Option
Description
Quit
4-30
Maintenance
4-31
Table 4-10
Option
Description
Quit
Note
4-32
Troubleshooting Menu
The Troubleshooting menu is used to perform a variety of diagnostic and
maintenance functions. Selecting CONTROL-M Main Menu =>
Troubleshooting displays the following:
Figure 4-10 Troubleshooting Menu
Troubleshooting Menu
-------------------Select one of the following options:
1 - Set Diagnostic Level
2 - Set Sleep Time
3
4
5
6
Show
Show
Show
Show
q - Quit
Maintenance
4-33
Table 4-11
Option
Description
ALL 1
The diagnostic level ranges from 0 (no diagnostics) to 4 (highest level of
diagnostics). If you specify a non-numerical value for the diagnostic level,
the diagnostic level is set to 0.
Output from each process is written to a separate process log file named:
c:\ctmsrv\ctm\proclog\<process-name>_LOG.<processID>
where:
c:\ctmsrv\ctm\proclog\SU_LOG.5609
4-34
Option
Description
SL 130
Show Process Flags (prf)
Displays the list of jobs currently contained in the Active Jobs file. For
more information, see Show Active Jobs File on page 4-39.
Show Communication
Environment
Maintenance
4-35
Option
Description
Reset CONTROL-M
Active Environment
Erases the contents of the current process log file for all active
CONTROL-M/Server processes or for any specific active process.
The following prompt is displayed:
Interactive SQL
Commands
Starts an interactive SQL Server session that enables you to issue SQL
Server commands to perform actions in the CONTROL-M database.
To end this session, enter the command: quit.
This option should only be used when requested by Technical Support.
Communication Diagnostic
Report
Force Download
Quit
4-36
CONTROL-M/Server Processes
When implemented under the Windows NT operating system,
CONTROL-M/Server consists of several integrated processes. Most of
the processes run whenever CONTROL-M/Server is active. Each process
is identified by a two-letter code:
Table 4-12
Code
Description
SU
TR
Tracker.
SL
NS
CO
Communication gateway.
CD
CS
LG
Maintenance
4-37
PROCNAME
CD
CO
LG
NS
SL
SU
TR
PROCID
21176
21199
21178
21180
21182
21167
21184
PROCSTAT
T
R
R
R
R
R
R
PSTAT_REQ
T
R
R
R
R
T
R
SLEEP_TIME
60
60
360
120
60
60
30
DIAG_LVL
0
0
0
0
0
0
0
Column
Description
PROCNAME
PROCID
PROCSTAT and
PSTAT_REQ
SLEEP_TIME
DIAG_LVL
Table 4-14
Status of Processes
PROCSTAT
PSTAT_REQ
R-
R-
Running
Run requested
T,Z - Terminated
S-
S-
Suspended
Suspend requested
4-38
5703
5620
5691
5691
5705
5609
5712
5713
0:02
0:00
0:00
0:00
0:00
0:01
0:01
0:01
ctmsco
ctmsns
ctmstr
ctmslg
ctmssl
ctmsrv
ctmscd
ctmscs
Maintenance
4-39
ORDERID
Order number of the job (assigned by CONTROL-M).
JOBNAME
Mem Name parameter from the Job Processing definition.
ODATE
Odate of the job in yyyymmdd format.
STATE
State of the job.
STATUS
Status (OK, NOTOK, blank) of the job.
FROMTIME
Time job began execution.
UNTIL
Time job ended execution.
4-40
Process
Sleep Time
SU
60
TR
30
SL
60
NS
120
CO
60
CD
60
LG
360
Maintenance
4-41
Process
Task
Sleep Time
Initial Settings
SU
Supervisor
60
TR
Job Tracking
15
SL
Job Selector
30/60
NS
Communication
120
No effect.
CO
Communication
60
No effect.
CD
60
No effect.
LG
Utilities
360
No effect.
4-42
Customization Parameters
Overview
The CONTROL-M/Server installation is customized by modifying
parameters used by the various modules of CONTROL-M/Server. Most
of the parameters described in this chapter can be assigned values by the
user during the installation procedure for CONTROL-M/Server. Certain
parameters are assigned default values during installation and can be
modified later.
CONTROL-M/Server parameters are divided into the following
categories (described in this chapter):
System parameters.
Communication parameters.
Operational parameters.
Agent Communication parameters.
Database parameters.
Performance parameters.
Customization Parameters
5-1
Parameter Coordination
For CONTROL-M/Server to communicate with Agent platforms and
with the ENTERPRISE/CS workstation, the values assigned to certain
parameters described in this chapter must be coordinated with values
assigned to parameters on these systems. These parameters are listed in
Table 5-1 and Table 5-2.
Table 5-1
CONTROL-M/Server
Parameter
ENTERPRISE/CS Parameter
Default
Value
ENTERPRISE/CS TCP/IP
Port Number
2370
Table 5-2
CONTROL-M/Server
Parameter
ENTERPRISE/CS Parameter
Default
Value
Communication Protocol
Communication Protocol
TCP
7005
7006
Authorized CONTROL-M/Servers
5-2
Parameter Descriptions
System Parameters
CONTROL-M system parameters are assigned default values during
installation. These parameters can be modified using utility ctmsys,
described in Chapter 2, Utilities.
Table 5-3 describes CONTROL-M system parameters. Modifiable
parameters are identified by an asterisk (). All other parameters are
display-only.
Table 5-3
Parameter
Description
Computer System
Operating System
CONTROL-M Version
Executable Path
Customization Parameters
5-3
Table 5-3
Parameter
Description
Day Time
CONTROL-M Date
Statistics
5-4
Table 5-3
Parameter
Description
Maximum Retries
Full Security
Maximum Days
Retained by
CONTROL-M Log
Customization Parameters
5-5
Table 5-3
Parameter
Description
Maximum Days to
Retain Sysout Files
After assigning the new CONTROL-M date, the New Day procedure
performs a selective cleanup of prerequisite conditions. By default, any
prerequisite condition whose reference date (month and day) is equal to
the new CONTROL-M date is deleted. This is done to prevent jobs from
being triggered by any prerequisite conditions remaining from the
previous year.
This cleanup function of the New Day procedure may conflict with user
intentions under certain circumstances. For example, if a Job Processing
definition contains the parameter Out Conditions with the Date field
containing the value Next, a prerequisite condition is created with a
reference date one or more days in the future. This prerequisite condition
would normally be deleted by the New Day procedure before it can be
used to trigger the submission of a job.
You have the option of selectively or completely disabling the cleanup of
such prerequisite conditions by using the CONTROL-M system
parameter Ignore New Day Conditions.
5-6
The Ignore New Day Conditions parameter specifies whether the New
Day procedure should delete all prerequisite conditions whose reference
date (day and month) matches the new CONTROL-M date.
When this parameter is Y, the New Day procedure accesses a userdefined file that contains prefixes of prerequisite conditions that
should be ignored (that is, not deleted) by the cleanup procedure.
You can create and maintain this file using any text editor available at
your site. PLace one prerequisite condition prefix on each line in the file.
Customization Parameters
5-7
Note
Table 5-4 indicates which prerequisite conditions are deleted from the
Conditions/Resources table in the CONTROL-M database by the New
Day procedure.
Table 5-4
bra_fn_01 14/01
bra_fn_01 15/01
prq_rs_21rpts 14/01
prq_rs_21rpts 15/01
pre_prn_01 14/01
pre_prn 15/01
pre_prn_02 14/01
srt_def_a 14/01
srt_def_a1 14/01
srt_def_a 15/01
srt_def_a1 15/01
bra_fn_01 14/01
prq_rs_21rpts 14/01
prq_rs_21rpts 15/01
pre_prn_01 14/01
pre_prn 15/01
pre_prn_02 14/01
srt_def_a 14/01
srt_def_a1 14/01
srt_def_a 15/01
5-8
Example 2
Communication Parameters
Communication parameters are modifiable during installation. You can
also modify these parameters afterwards using the Parameter
Customization Menu on page 4-24. After modifying these parameters,
restart the CONTROL-M/Server.
The communication parameters are described in Table 5-5.
Table 5-5
Communication Parameters
Parameter
Description
Local IP Host
Interface Name
Host interface name of the TCP/IP network interface card on the Server
platform to use for communication with ENTERPRISE/CS. This is
typically the host name of the Server platform. The default value for this
parameter is the default host interface name defined in the Server
platform operating environment. This parameter can also be specified by
its IP address (for example, 192.123.186.20). This parameter should be
modified only if the Server platform contains more than one network
interface card (for example, Ethernet and Token-Ring). For more
information, see Local IP Host Interface Name Parameter below.
Customization Parameters
5-9
Table 5-5
Communication Parameters
Parameter
Description
Agent-to-Server Port
Number
This parameter specifies the port used in the Server platform for
receiving a connection request from the Agent platform. The value for
this parameter must match the value assigned to the parameter Agentto-Server Port Number on the Agent platform.
Verify that the port number specified for this parameter is not used for
any other purpose in the Server platform. The value for this parameter
must be a number between 1024 and 65533 inclusive. Default: 7005
The Server-to-Agent Port Number is described in Parameters for
Communicating With Agent Platforms on page 5-13.
Communication
Protocol
The system responds with the IP address mapped to the host name on the
local machine.
5-10
Note
Even if the same logical host name is specified for the above two
parameters, the host name can be mapped to different IP address on the
Server platform and the ENTERPRISE/CS workstation. Use the above
command to verify that the host name on each machine is mapped to the
same IP address.
You can also ensure that both machines are using the same address by
specifying the actual IP address of the network interface card for each of
the above parameters. The IP address specified must be a local address
on the Server platform.
Customization Parameters
5-11
Operational Parameters
Operational parameters are modifiable during installation. You can also
modify these parameters afterwards using the Parameter Customization
Menu on page 4-24. After modifying these parameters, restart
CONTROL-M/Server.
The operational parameters are described in Table 5-6.
Table 5-6
Operational Parameters
Parameter
Description
CONTROL-M
TCP/IP Port Number
ENTERPRISE/CS
TCP/IP Port Number
Statistics Mode
Minimum Server
Processes
Maximum Server
Processes
5-12
Parameter
Description
Polling Interval
Communication Timeout
Maximum Retries
Retry Interval
Customization Parameters
5-13
Database Parameters
Database configuration parameters are specified during installation
before the CONTROL-M database is created. You can also modify these
parameters and rebuild the CONTROL-M database using Database
Creation Menu on page 4-10.
The database parameters are described in Table 5-8.
Table 5-8
Database Parameters
Parameter
Description
5-14
Table 5-8
Database Parameters
Parameter
Description
Amount of space (in MB) to allocate for the data portion of the
CONTROL-M database. Default 75
Customization Parameters
5-15
Performance Parameters
Special parameters are available for tuning the performance of
CONTROL-M. These parameters affect how jobs are selected for both
scheduling and post processing.
The performance parameters in Table 5-9 are contained in the
CONTROL-M/Server c:\ctmsrv\ctm\data\config.dat file.
Table 5-9
Performance Parameters
Parameter
Description
PRIORITY_SL_SCAN
SL_BREAK_INT
PP_THRESHOLD
Specify the maximum number of jobs that can wait in the post
processing queue before post processing is initiated. The lower
the value, the faster the jobs get post processed, but jobs at the
bottom of the queue will take longer to be processed.
Value range: 1-99999. Default: 10
CYCLIC_RERUN
The sleep time setting for CONTROL-M processes can also affect the
performance and functionality of CONTROL-M/Server. For example,
setting the sleep time of the Selector (SL) and/or Tracking (TR) process
to 5 will improve performance, but CONTROL-M/Server will consume
more CPU. For more information, see Sleep Time Considerations on
page 4-42.
5-16
Hardware/Software Requirements
Requirements for installing CONTROL-M/Server appear in Chapter 7,
Installation Procedure in this guide.
Requirements for installing and operating CONTROL-M/Agent on
various platforms are described in the appropriate chapter in the
CONTROL-M/Agent Administrator Guide.
6-1
Installation Considerations
SQL Server Configurations for CONTROL-M
CONTROL-M (Primary) Database
6-2
Installation Procedure
Hardware/Software Requirements
Installation Procedure
Installing CONTROL-M/Server Programs
Building the CONTROL-M Database
Silent Installation of CONTROL-M/Server Programs
Installing CONTROL-M/Agent on the Server Platform
Parameters for Communicating With Agent Platforms
Setting CONTROL-M Security Authorizations
Specifying CONTROL-M/Server Service User Account
Setting CONTROL-M/Server User Rights
Verifying Communication With Agent Platforms
Starting/Stopping CONTROL-M/Server Manually
Uninstalling CONTROL-M/Server
Installation Procedure
7-1
Hardware/Software Requirements
Requirements for installing CONTROL-M/Server are listed in Table 7-1.
Table 7-1
Installation Requirements
Item
Description
Computer
Operating System
Memory
Disk Space
CONTROL-M Database:
When using an existing SQL Server for
CONTROL-M/Server:
150 MB free disk space is required on the machine
(using default values).
Media Drive
CD-ROM drive.
Installation Media
MSSQL Client
7-2
Installation Procedure
Installing CONTROL-M/Server on Windows NT consists of the following
procedures:
Step 2
Step 3
Installation Procedure
7-3
Step 4
7-4
Installation Procedure
7-5
Step 2
Parameter
Description
7-6
Table 7-2
Step 3
Parameter
Description
SA Password
CONTROL-M DB Name
CONTROL-M DB
Owner
CONTROL-M DBO
Password
Installation Procedure
7-7
Step 4
Parameter
Description
Enter the data device path and the log device path.
Change any parameter that differs from its default value.
Step 5
7-8
Step 6
Step 7
Installation Procedure
7-9
Step 8
7-10
Before editing these files, change the attribute of the files from
Read-only to Archive.
Step 1
Step 2
File
Description
SilentInst.bat
Setup.iss
Silent.dat
Installation Procedure
7-11
Step 3
CONTROL-M/Server Menu
Menu Tree
7-12
Step 2
[q]:
Installation Procedure
7-13
Step 3
Step 5
Step 6
Enter q to exit.
Step 2
7-14
Step 3
This option does not require communication with the Agent platforms
and this option does not verify that the specified Agent platform exists.
A menu similar to the following displayed:
Communication Timeout:
Maximum Retries:
Retry Interval (Unavailable):
Server-to-Agent Port Number:
a)
q)
s)
120
12
90
7006
Step 5
Step 6
Enter q to exit.
Installation Procedure
7-15
Step 2
7-16
Step 2
Step 3
Click Startup.
The following dialog is displayed.
Installation Procedure
7-17
Step 2
Select Start menu => Programs => Administrative Tools => User
Manager for Domain => Policies => User Rights => Show Advanced
User Rights.
Step 3
Step 4
7-18
Step 2
If the ping is unsuccessful, verify that you specified the host name
correctly.
Step 3
If the ping is still unsuccessful and the Windows NT platform does not
use DNS (Domain Name System) for host name resolution, check that
the host name is defined in the Hosts file for the platform. The Hosts file
is located under the system directory (usually in
c:\winnt\system32\drivers\etc\).
If the host name of the Agent platform is not listed in the Hosts file, you
can add an entry for the platform in the format:
<IP_address> <host_name>
For example:
128.128.100.12 diana
BMC Software, Inc., Confidential and Proprietary Information
Installation Procedure
7-19
Step 2
Click Start.
-orSpecify command start-ctm.
Step 2
7-20
Uninstalling CONTROL-M/Server
This topic describes how to uninstall CONTROL-M/Server from your
machine. You can uninstall CONTROL-M/Server using two methods:
silent
interactive
Step 2
Step 2
Step 3
Installation Procedure
7-21
7-22
Message Prefixes
Code
Description
SU
Supervisor
TR
Tracker
SL
NS
CO
Communication gateway
CD
CS
LG
Example:
TR5103 COMSTAT=OK. STATUS CHANGED TO OK
A-1
Messages
5000
5001
5002
5003
5004
System Action:
A-2
5006
5007
5008
5009
User Response: If the job should continue executing as a cyclic job, modify
job processing parameter Cyclic accordingly.
A-3
5020
5030
5040
5042
The last running date of the New Day procedure is later than todays date.
User Response: If the New Day procedure has already run today, no user
action is required. If the last running date of the New Day procedure is later than
todays date, run utility ctmudlst and modify the last running date.
A-4
5043
5044
5045
5046
A-5
5047
5060
5061
5062
5063
A-6
5064
The last running date of the User Daily job is later than todays date.
System Action:
User Response: If the User Daily job has already run today, no user action is
required. If the last running date of the User Daily job is later than todays date,
run utility ctmudlst (refer to the chapter on utilities in the Administrator Guide)
to modify the last running date according to your requirements.
5065
5070
User Response: Define a home directory for the job owner; then rerun the job.
A-7
5080
Logon failure: the user has not been granted the requested logon type.
There are currently no logon servers available to service the logon request
A specified logon session does not exist. It may already have terminated.
Logon failure: unknown user name or bad password.
Logon failure: user account restriction.
Logon failure: account logon time restriction violation.
Logon failure: user not allowed to log on to this computer.
Logon failure: the specified account password has expired.
A specified privilege does not exist.
A required privilege is not held by the client.
The name provided is not a properly formed account name.
The specified user already exists.
The specified user does not exist.
CONTROL-M/Server <host_name> is not authorized to run jobs on this
agent the CONTROL-M/Server specified is not listed in the Authorized
CONTROL-M Servers File for the Agent platform.
System Action:
5101
STARTED ON <node_ID>
Explanation:
This information message indicates that the job began
executing on the specified Agent platform.
A-8
5102
User Response: Either rerun the job, or force the job if the job scheduling
definition has changed since the last New Day procedure or User Daily job.
5103
5104
Status Change
Description
SYSOUT LOST
DISAPPEARED
COMSTAT=OK
COMSTAT=NOTOK
DUMMY
NOT SUBMIT
A-9
5105
5106
User Response: Rerun the job or force the job on a different Agent platform.
5110
User Response: Determine why the file was not found. Create the file or
correct the pathname specified for the AutoEdit variable.
5120
5121
A-10
5122
5123
5124
5125
The sysout file is not opened, the job is not analyzed, and the
User Response: Check if the file is missing. Rerun the job if applicable. If
other information in the system indicates that the job ran successfully (for
example, other output data, new files), use the maintenance utilities to adjust
condition values to the state in which they would be if the job had been
analyzed.
A-11
5126
User Response: Try to correct the print queue problem. If you cannot, notify
your ENTERPRISE/CS administrator.
A-12
5129
User Response: Check whether the file actually exists. If it does, check the job
owners authorization (both system and CONTROL-M authorization). If
necessary, contact your ENTERPRISE/CS administrator.
5132
5133
ENDED OK
Explanation:
This information message indicates that the job has terminated
with the status OK. Following job execution and post-processing,
CONTROL-M has analyzed the results and has assigned the completion status
OK to the job.
5134
ENDED NOTOK
Explanation:
The job has terminated with a final status of NOTOK.
Following job execution and post-processing, CONTROL-M has analyzed the
results, and assigned a final status of NOTOK to the job, indicating that a
problem occurred during job processing.
User Response: Examine the job log (SYSOUT) to determine why the job
terminated with a status of NOTOK.
A-13
5135
5160
User Response: Determine what happened to the sysout. Once the cause of the
problem has been corrected, resubmit the job.
5161
A-14
5162
5163
5164
5165
5201
A-15
5202
5204
5205
5206
5207
A-16
5208
5209
5210
5211
5212
5213
5214
A-17
5215
5216
<shout_text>
Explanation:
The Shout message <shout_text> was issued to the
CONTROL-M log. The text in this message is issued by a Shout statement and
is written to the CONTROL-M log.
5217
No action is taken.
User Response: Determine the source of the problem (missing job processing
definition, missing Scheduling table, incorrectly specified Do Forcejob
statement, and so on). Correct the problem and re-execute the Force.
A-18
5218
No action is taken.
A-19
5221
5222
A-20
5223
5224
A-21
5250
User Response: Either modify the script file protection accordingly, or grant
the owner execution privileges.
5252
5260 5330
See the Messages and Codes chapter in the Enterprise Controlstation User
Guide.
A-22
5351
5352
5353
5354
5355
A-23
5356
5357
5401
5402
5403
5404
5405
A-24
5406
5407
5500 5599
A-25
A-26
Field
Description
Characters
Logtime
Message time
Logdate
Message date
Subsystem
Jobname
10
Jobno
4 (integers)
Orderno
4 (integers)
Owner
30
Odate
Msgid
Message
Text of message
66
Tasktype
Memname
Member name
30
B-1
B-2
Glossary
Glossary
Active Jobs File (AJF)
The Active Jobs file lists all jobs scheduled for submission in the
current day. Each job in the Active Jobs file is not submitted
until all conditions contained in the Job Processing definition for
the job are satisfied. The Active Jobs file is contained in the
CONTROL-M database.
Agent Platform
Calendar
CONTROL-M
CONTROL-M (Primary)
Database
CONTROL-M Date
Glossary 1
CONTROL-M Log
CONTROL-M Platform
CONTROL-M/Agent
CONTROL-M/Server
Conditions/Resources
Table
Control Resource
Glossary 2
Enterprise
Controlstation
or ENTERPRISE/CS
Force
Gateway
General Daily
Procedure
Global Condition
Heartbeat Monitor
Job Processing
Definition
Load Balancing
Glossary 3
Manual Conditions
File
Node Group
Node ID
Odate (Original
Scheduling Date)
Order
Glossary 4
Prerequisite
Conditions or
Conditions
Quantitative Resource
Scheduling Table
Server Platform
Sleep Time
SQL Server
Glossary 5
Glossary 6
Index
Index
A
Active Jobs file
ad hoc jobs 2-18
authorizing access to 3-5
description C-1
erasing contents 4-41
listing contents of 2-69, 4-35, 4-39
listing jobs by status 2-69
New Day procedure 1-12
performing actions on jobs 2-71
ad hoc job
creating 2-18
Agent communication parameters
defaults 4-27
description 5-13
during installation 7-13
modifying 4-28
Agent platform
communication status 2-9, 4-31
ctmpinglst utility 2-9
definition 1-2, C-1
Shout messages 1-26, 2-90
verifying communication 7-19
Agent Status menu
description 4-31
Agent-to-Server Port Number parameter
description 5-10
C
Calendars
description C-1
Communication Diagnostic Report 4-36
Communication parameters
description 5-9
modifying 4-26
Communication Protocol parameter
description 5-10
Communication status
Available 1-7
ctmpinglst utility 2-9
Index
Disabled 1-7
Unavailable 1-7
Communication Timeout parameter
description 5-13
Conditions/Resources table
description C-2
Control resources
current usage 2-69
deleting 4-41
description C-2
listing 2-69, 2-104
CONTROL-M
description C-1
maintenance 4-4
menu system 4-6
product registry database 2-17
security facility 3-1
TCP/IP Port Number parameter 5-12
CONTROL-M Administrator
responsibilities 1-36
CONTROL-M database
automatic checking 4-5
backing up 2-23, 4-17
checking 2-24
checking available space 4-11
database configurations 6-2
defining jobs 2-28
maintenance 4-5
overview 1-5
parameters 5-14
percent utilization 2-24
rebuilding 2-62
restoring 2-28, 4-18
statistical data 2-46, 2-80
truncating log file 4-35
CONTROL-M date
Day Time parameter 5-4
description 1-12, C-1
Odate 1-12
CONTROL-M Date parameter
description 5-4
CONTROL-M Log
messages A-1
CONTROL-M log
cleanup by New Day procedure 1-13
description 1-30, C-2
fields B-1
listing/deleting entries 2-59
Shout messages 1-26, 2-90
CONTROL-M Main menu
description 4-6
CONTROL-M Security database
maintenance utility ctmsec 3-12
CONTROL-M/Agent
Agent Configuration file 1-11
description 1-2, C-2
preparing for installation 6-2
CONTROL-M/Server
description 1-2, C-2
Host name 1-11
messages and codes A-1
processes 2-86, 4-37
starting/stopping 4-3, 7-20
user rights 7-18
Windows NT service 4-3, 7-20
Windows NT service user account 7-17
ctm_backup_bcp 2-7
ctm_ping utility 2-9
ctm_restore_bcp 2-11
ctm_suspend utility 2-86
ctmcontb utility 2-13
ctmcpt utility 2-17
ctmcreate utility 2-18
ctmdbbck utility 2-23
ctmdbcheck script 4-11
ctmdbcheck utility 2-24
ctmdbrst utility 2-28
ctmdefine utility 2-28
ctmfw utility 2-35
ctmjsa utility 1-29, 2-46
BMC Software, Inc., Confidential and Proprietary Information
D
database
rebuilding 2-62
Database Creation menu
description 4-10
Database Maintenance menu
description 4-17
Database parameters
description 5-14
Database server 4-9
Date Control Record
description 1-20
modifying manually 2-96
Day Time parameter
description 5-4
Daylight Savings Time
changing the clock 1-32
Diagnostic level
resetting 4-41
Disabled (status)
description 1-7
discovery 2-9
E
ecacontb utility 2-100
ecactltb utility 2-104
ecaqrtab utility 2-105
ENTERPRISE/CS
description 1-2, C-3
Shout messages 1-26, 2-90
TCP/IP Port Number parameter 5-12
F
File Watcher Utility
service trace 2-45
File Watcher utility
description 2-35
Forcing a job
authorization to perform 3-5
ctmorder utility 2-66
description C-3
Full Security parameter
description 5-5
usage 3-2
G
Gateway
description C-3
GATEWAY user
Global conditions security 3-8
General Daily procedure 1-12
Global conditions
Index
description C-3
security considerations 3-8
H
Heartbeat Monitor
active mode 1-37
description 1-37
I
Ignore Conditions file
description 5-7
Ignore New Day Conditions
parameter usage 1-13
Ignore New Day Conditions parameter
description 5-6
init_prflag 4-41
Installation
CONTROL-M/Server startup 7-20
hardware/software requirements 7-2
procedures 7-3
SQL Server 7-5
uninstalling CONTROLM/Server 7-21
Windows NT service user account 7-17
J
Job ordering
manually 1-22, 2-66, 2-69
retroactive 1-21
Job Processing definition
description C-3
Job scheduling 1-14
L
Last Run date 1-20
Load balancing
description C-3
overview 1-10
resource usage 2-54
Local IP Host Interface Name parameter
description 5-9
for multiple interface cards 5-10
Log
CONTROLM 1-30
M
Main menu
description 4-6
Manager menu
description 4-8
Manual Conditions file
description 2-50, C-4
listing 2-53
Maximum Days Retained by CONTROL-M
Log parameter
description 5-5
Maximum Days to Retain Sysout Files
parameter
description 5-6
Maximum Retries parameter
description 5-13
Messages and codes
descriptions A-1
N
New Day procedure
Daylight Savings Time 1-32, 1-34
description 1-12, C-4
BMC Software, Inc., Confidential and Proprietary Information
restarting 4-35
scheduling 1-14
Node group
description C-4
usage 1-10
Node Group menu
description 4-29
Node ID
definition 1-6, C-4
O
Odate
CONTROL-M Date parameter 5-4
ctmcontb utility 2-13
ctmcreate utility 2-19, 2-32
ctmorder utility 2-66
ctmpsm utility 2-72
description 1-12, C-4
New Day procedure 1-12
Operational parameters
description 5-12
modifying 4-26
Ordering a job
authorization to perform 3-5
ctmorder utility 2-66
description C-4
Output parameter 2-6
P
Parameter Customization menu
description 4-24
Performance parameters
description 5-16
Polling Interval parameter
description 5-13
Port numbers
CONTROLM/Server 4-35
Prerequisite conditions
adding/deleting/listing 2-13, 2-69, 2-100
deleted by New Day procedure 1-13,
5-6
deleting 4-41
description C-5
unscheduled conditions 2-50
prf
Show Process Flags 4-37
Processes
CONTROLM/Server 4-37
Production Support menu 2-68
Q
Quantitative resources
Agent platform usage 2-54
current usage 2-69
deleting 4-41
description C-5
maintaining/listing 2-69, 2-105
R
Reports
ctmpsm utility 2-69
ctmrpln utility 2-76
description 2-5
Restricted security level
description 3-2
Retro parameter
job processing 1-21
Retry Interval parameter
description 5-13
RUNINF_PURGE_LIMIT 1-13
Runtime statistics 1-28
Index
S
Scheduling tables
authorizing access to 3-4
defining jobs 2-28
description C-5
listing 4-36
listing jobs in 2-76
ordering/forcing jobs 2-69
report generation 2-69
Security
Agent platform 3-8
application 3-1
during installation 7-16
job statuses 2-64
levels 3-2
maintenance utility ctmsec 3-12
overview 3-3
restricted security level 3-2, 5-5
setting level 5-5
summary of authorizations 3-9
unrestricted security level 3-2, 5-5
Security Maintenance utility
Active Jobs file authorization 3-21
CONTROL-M entities authorization
3-25
description 3-12
during installation 7-16
Scheduling table authorization 3-17
Server platform
definition 1-2, C-5
Shout messages 2-90
Server-to-Agent Port Number parameter
description 5-13
shctm
Show All Processes 4-39
Shout Destination tables
active table 2-85
description 1-24
maintenance 2-87
Statistics parameter
description 1-29
stopping
CTM communication 2-86
suspending
CONTROL-M communication 2-86
Sysout files
cleanup by New Day procedure 1-13
days retained 5-6
System parameters
description 5-3
maintenance 2-87
T
Troubleshooting menu
description 4-33
U
UDLAST
description 1-20
Unavailable (status)
description 1-7
Unknown (status)
description 1-7
Unrestricted security level
description 3-2
User Daily jobs
description 1-17, C-5
example 1-18
interruptions 1-22
last run date 2-96
listing job definitions 2-64
scheduling 1-14
utility ctmudly 2-97
User security authorizations 3-2
Utilities
description of 2-1
BMC Software, Inc., Confidential and Proprietary Information
Index
Notes