Control M
Control M
INCONTROLTM
for OS/390 and z/OS
Utilities Guide
Version 6.1.00
Copyright 2002 BMC Software, Inc., as an unpublished work. All rights reserved.
BMC Software, the BMC Software logos, and all other BMC Software product or service names are registered trademarks
or trademarks of BMC Software, Inc. IBM and DB2 are registered trademarks of International Business Machines Corp. All
other registered trademarks or trademarks belong to their respective companies.
THE USE AND CONTENTS OF THIS DOCUMENTATION ARE GOVERNED BY THE SOFTWARE LICENSE
AGREEMENT ENCLOSED AT THE BACK OF THIS DOCUMENTATION.
Address
Telephone
Fax
Telephone
Fax
Customer Support
You can obtain technical support by using the Support page on the BMC Software Web site or by contacting Customer
Support by telephone or e-mail. To expedite your inquiry, please see Before Contacting BMC Software.
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
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 other maintenance level such as PUT or PTF
system hardware configuration
serial numbers
related software (database, application, and communication) including type, version, and service pack or
maintenance level
messages received (and the time and date that you received them)
iii
iv
Contents
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiii
Chapter 1
Introduction
Summary of Utilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
IOA Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
CONTROL-M Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
CONTROL-M/Analyzer Utilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
CONTROL-D and CONTROL-V Utilities. . . . . . . . . . . . . . . . . . . . . 1-6
CONTROL-O Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
CONTROL-M/Tape Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Chapter 2
IOA Utilities
IOABLCAL Build Calendars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
IOACABPR Emergency CAB Control Block Disconnect . . . . . . . . . . 2-12
Activating the Utility (and Example) . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
IOACLCND Clean the IOA Conditions File . . . . . . . . . . . . . . . . . . . . . 2-13
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Specifying AutoEdit Variables and Functions . . . . . . . . . . . . . . . . . . 2-15
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
IOACLRES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
IOACND Perform IOA Condition File or CONTROL-M Resources File
Adjustments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Parameters for Processing Prerequisite Conditions . . . . . . . . . . . . . . 2-18
Parameters for Processing Control Resources . . . . . . . . . . . . . . . . . . 2-19
Parameters for Processing Quantitative Resources . . . . . . . . . . . . . . 2-19
Activating the Utility (and Examples) . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
Contents
vi
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-52
CONTROL-D Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-52
CONTROL-M/Tape Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-52
IOA Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-53
IOADPT Print IOA Access Method File Content . . . . . . . . . . . . . . . . . 2-54
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-54
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-54
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55
CONTROL-D Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55
CONTROL-M/Tape Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55
IOA Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55
IOADUL Unload IOA Access Method File Contents . . . . . . . . . . . . . . 2-56
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-56
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-57
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-57
CONTROL-D Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-58
CONTROL-M/Tape Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-58
IOA Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-58
IOAFRLOG - Allocate and Format the IOA Log File . . . . . . . . . . . . . . . 2-59
IOAFRNRS - Allocate and Format the IOA Manual Conditions File . . . 2-59
IOALDNRS Load IOA Conditions File . . . . . . . . . . . . . . . . . . . . . . . . 2-60
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-61
Activating the Utility (and Example) . . . . . . . . . . . . . . . . . . . . . . . . . 2-62
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-62
IOANOTE Write a Message to the IOA Log File . . . . . . . . . . . . . . . . . 2-63
Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-63
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-63
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-64
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-64
IOAOPR - Issue Operator Commands using a Job or STC . . . . . . . . . . . 2-65
IOASDISC Emergency Subsystem Disconnect. . . . . . . . . . . . . . . . . . . 2-66
Activating the Utility (and Example) . . . . . . . . . . . . . . . . . . . . . . . . . 2-66
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-66
IOATEST Simulate Production Environment Events . . . . . . . . . . . . . . 2-67
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-67
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-68
IOAVERFY Verify IOA File Installation and Status . . . . . . . . . . . . . . . 2-69
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-69
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-74
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-74
Trace Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-74
Chapter 3
CONTROL-M Utilities
CTMAESIM Test AutoEdit Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Contents
vii
viii
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-67
Format of the ORDER, SELECT, and IGNORE Statements . . . . . . 3-67
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-68
SELECT and IGNORE TAG Logic . . . . . . . . . . . . . . . . . . . . . . . . . . 3-70
SELECT and IGNORE TAG Examples. . . . . . . . . . . . . . . . . . . . . . . 3-71
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-71
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-72
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-73
CTMJSA Job Statistics Accumulation . . . . . . . . . . . . . . . . . . . . . . . . 3-74
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-75
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-75
CTMRAFL Produce Active Jobs File Job Flow Report . . . . . . . . . . . 3-77
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-77
CTMRCAL Create a Calendar Using the Job Plan Report . . . . . . . . . 3-78
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-78
Activating the Utility (and Example) . . . . . . . . . . . . . . . . . . . . . . . . . 3-79
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-79
CTMRELRS Release Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-80
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-81
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-81
Examples of Activating the Utility. . . . . . . . . . . . . . . . . . . . . . . . . . . 3-82
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-82
CTMRES Allocate and Format the CONTROL-M Resources File . . 3-83
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-83
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-84
CTMRFLW Produce a Scheduling Table Job Flow Report. . . . . . . . . 3-85
EXEC Statement Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-86
Report Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-87
Example Chart Page Sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-89
Example JCLs for Text Format: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-89
List of scheduling tables to be included in Job Flow report. . . . . . . . 3-89
Fields of the Job Flow Report in Text format . . . . . . . . . . . . . . . . . . 3-92
Sample Job Flow Report Output in Graphic Format . . . . . . . . . . . . . 3-94
Sample Prerequisite Condition Cross Reference List . . . . . . . . . . . . 3-95
Sample Control Resources Cross Reference List. . . . . . . . . . . . . . . . 3-96
Sample Quantitative Resources Cross Reference List . . . . . . . . . . . . 3-97
CTMRNSC Produce Night Schedule Report. . . . . . . . . . . . . . . . . . . . 3-98
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-98
Example of JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-98
Example of Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-99
CTMROGR Produce an Overnight Execution Graph . . . . . . . . . . . . . 3-100
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-101
Example of JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-102
CTMRPFL Produce a Job Plan and Job Flow Report . . . . . . . . . . . . . 3-104
Example JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-105
CTMRPLN Job Plan Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-106
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-106
Example of JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-107
Contents
ix
CONTROL-M/Analyzer Utilities
CTBABI Initialize Active Balancing File . . . . . . . . . . . . . . . . . . . . . . . 4-3
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
CTBCMP Compile Rule Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Contents
xi
xii
Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26
DAYS Statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26
INCLUDE / EXCLUDE Statements . . . . . . . . . . . . . . . . . . . . . . . . . 5-28
CTDDELRP Deletion Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-29
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-30
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-30
CTDDIB Rebuild Index Component of a User Report List File . . . . . 5-34
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-34
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-34
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35
CTDDIG User Report List File Integrity Check . . . . . . . . . . . . . . . . . 5-36
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-37
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-37
CTDGBPRT Print Data from Global Index Database . . . . . . . . . . . . . 5-38
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-38
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-38
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-39
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-39
CTDSMFRP Paper Usage Report for Defined Users . . . . . . . . . . . . . 5-41
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-42
CTDSMFRP Sample Reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-42
CTDUFUPD Global Scan or Change of User Files . . . . . . . . . . . . . . 5-45
Selection Criteria Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45
Change To Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-46
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-47
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-48
Fields for After a SELECT Statement . . . . . . . . . . . . . . . . . . . . . . . . 5-49
Fields for After SELECT and CHANGE TO Statements . . . . . . . . . 5-50
Work Flow of the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-51
CTDULD User File Report List Load . . . . . . . . . . . . . . . . . . . . . . . . . 5-54
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54
CTDUPBKP Update Backup and Migration Details. . . . . . . . . . . . . . 5-55
Converting from CA-DISPATCH. . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57
Selection Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-58
CHANGETO Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-59
Report Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-61
CTVCLMIG Clean Migrated CDAM Files . . . . . . . . . . . . . . . . . . . . . 5-64
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-64
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-65
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-65
CTVDELI Delete Index Files from DASD . . . . . . . . . . . . . . . . . . . . . 5-66
EXEC Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-67
DAYS Statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-67
Contents
xiii
CONTROL-O Utilities
CTOALOCP Backing Up the Automation Log . . . . . . . . . . . . . . . . . . . 6-3
Automation Log Backup Utility Examples . . . . . . . . . . . . . . . . . . . 6-4
CTOCSF Copy the Message Statistics File . . . . . . . . . . . . . . . . . . . . . . 6-6
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
CTOCTA List Programs Running in an Address Space. . . . . . . . . . . . . 6-8
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
CTOCTI Generate Input for the SYSIMAGE Facility. . . . . . . . . . . . . . 6-10
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
Input File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
Utility Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
CTORSTM Statistics Report Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
SORT Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
INCLUDE / EXCLUDE Statements. . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
Fields of the Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16
CTOMVDSC Emergency ON MVALERT Disconnect . . . . . . . . . . . . . 6-17
Activating the CTOMVDSC Utility . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17
CTOSMDSC Emergency ON SMS Disconnect. . . . . . . . . . . . . . . . . . . 6-18
Activating the CTOSMDSC Utility . . . . . . . . . . . . . . . . . . . . . . . . . . 6-18
xiv
CONTROL-M/Tape Utilities
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
Control Statement Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
Record Selection Logic (INCLUDE / EXCLUDE Statements). . . . . 7-6
Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-12
CTTACP Copy Trace File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-15
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16
CTTAFR Format and Initialize Trace File. . . . . . . . . . . . . . . . . . . . . . . 7-17
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-17
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-17
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-17
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-17
CTTBIX Rebuild Media Database Index . . . . . . . . . . . . . . . . . . . . . . . 7-18
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-18
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-19
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-19
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-20
CTTCTRC Allocate and Format Trace File . . . . . . . . . . . . . . . . . . . . . 7-21
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-21
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-21
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-22
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-22
CTTDBIB Rebuild Indexes of Stacking Database . . . . . . . . . . . . . . . . 7-23
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-23
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-23
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-24
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-24
CTTDLD Add, Delete, or Convert Volumes . . . . . . . . . . . . . . . . . . . . . 7-25
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-25
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-26
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-27
Example 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-28
Example 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-28
Example 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-28
Contents
xv
Example 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-28
CTTGVL User Interface to Stacking Facility . . . . . . . . . . . . . . . . . . . . 7-30
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-30
Using a Call Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-31
Using a Link command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-31
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-31
Input Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-31
Output Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-31
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-32
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-32
CTTIDB Check Integrity of the Media Database . . . . . . . . . . . . . . . . . 7-33
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-34
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-34
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-34
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-35
CTTMER Merge Records Into the Media Database . . . . . . . . . . . . . . . 7-36
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-36
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-37
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-38
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-38
CTTMUP Manually Update the CONTROL-M/Tape Repository . . . . . 7-39
Updating the Media Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-39
Updating the Stacking Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-40
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-40
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-40
Control Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-41
Media Database Update Control Statements . . . . . . . . . . . . . . . . . . . 7-42
Stacking Database Update Control Statements . . . . . . . . . . . . . . . . . 7-45
Trace Update Control Statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-46
Special Notes Regarding Media Database Control Statements . . . . . 7-46
Specifying Fields and Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-48
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-49
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-49
CTTRCV Recover the Media Database Using Trace File . . . . . . . . . . . 7-52
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-53
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-53
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-56
Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-56
CTTRPT Database Extraction and Report Utility . . . . . . . . . . . . . . . . . 7-58
Primary Key, Primary Fields and Primary Lines in Report Generation
7-58
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-59
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-59
Extract Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-60
INCLUDE / EXCLUDE Statements. . . . . . . . . . . . . . . . . . . . . . . . . . 7-60
Report Formatting Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-61
Special Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-68
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-69
xvi
Contents
xvii
xviii
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-180
Index
Contents
xix
xx
Figures
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 3-1
Figure 3-2
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 3-24
Figure 3-25
Figures
xxi
Figure 3-26
Figure 3-27
Figure 3-28
Figure 3-29
Figure 3-30
Figure 3-31
Figure 3-32
Figure 3-33
Figure 3-34
Figure 3-35
Figure 3-36
Figure 3-37
Figure 3-38
Figure 3-39
Figure 3-40
Figure 3-41
Figure 3-42
Figure 3-43
Figure 3-44
Figure 3-45
Figure 3-46
Figure 3-47
Figure 3-48
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 5-1
Figure 5-2
Figure 5-3
Figure 5-4
Figure 5-5
Figure 5-6
Figure 5-7
Figure 5-8
Figure 5-9
Figure 5-10
Figure 5-11
Figure 5-12
Figure 5-13
Figure 5-14
xxii
Figure 5-15
Figure 5-16
Figure 5-17
Figure 5-18
Figure 5-19
Figure 5-20
Figure 5-21
Figure 5-22
Figure 5-23
Figure 5-24
Figure 5-25
Figure 5-26
Figure 5-27
Figure 5-28
Figure 5-29
Figure 5-30
Figure 5-31
Figure 5-32
Figure 5-33
Figure 5-34
Figure 5-35
Figure 6-1
Figure 6-2
Figure 6-3
Figure 7-1
Figure 7-2
Figure 7-3
Figure 7-4
Figure 7-5
Figure 7-6
Figure 7-7
Figure 7-8
Figure 7-9
Figure 7-10
Figure 7-11
Figure 7-12
Figure 7-13
Figure 7-14
Figure 7-15
Figures
xxiii
xxiv
Tables
Table 1-1
Table 1-2
Table 1-3
Table 1-4
Table 1-5
Table 1-6
Table 1-7
Table 1-8
Table 1-9
Table 1-10
Table 1-11
Table 1-12
Table 1-13
Table 1-14
Table 1-15
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
Tables
xxv
Table 2-17
Table 2-18
Table 2-19
Table 2-20
Table 2-21
Table 2-22
Table 2-23
Table 2-24
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 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 3-10
Table 3-11
Table 3-12
Table 3-13
Table 3-14
Table 3-15
Table 3-16
Table 3-17
Table 3-18
Table 3-19
Table 3-20
Table 3-21
xxvi
Table 3-22
Table 3-23
Table 3-24
Table 3-25
Table 3-26
Table 3-27
Table 3-28
Table 3-29
Table 3-30
Table 3-31
Table 3-32
Table 3-33
Table 3-34
Table 3-35
Table 3-36
Table 3-37
Table 3-38
Table 3-39
Table 3-40
Table 3-41
Table 3-42
Table 3-43
Table 3-44
Table 3-45
Table 3-46
Table 3-47
Table 3-48
Table 3-49
Table 3-50
Table 3-51
Table 3-52
Table 3-53
Table 3-54
Table 3-55
Table 3-56
Table 3-57
Table 3-58
Table 3-59
Table 3-60
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
Tables
xxvii
Table 4-10
Table 4-11
Table 4-12
Table 4-13
Table 4-14
Table 4-15
Table 4-16
Table 4-17
Table 4-18
Table 4-19
Table 4-20
Table 4-21
Table 4-22
Table 4-23
Table 4-24
Table 4-25
Table 4-26
Table 4-27
Table 4-28
Table 4-29
Table 4-30
Table 4-31
Table 4-32
Table 4-33
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 5-10
Table 5-11
Table 5-12
Table 5-13
Table 5-14
Table 5-15
Table 5-16
Table 5-17
Table 5-18
Table 5-19
Table 5-20
Table 5-21
Table 5-22
Table 5-23
Table 5-24
xxviii
Table 5-25
Table 5-26
Table 5-27
Table 5-28
Table 5-29
Table 5-30
Table 5-31
Table 5-32
Table 5-33
Table 5-34
Table 5-35
Table 5-36
Table 5-37
Table 5-38
Table 5-39
Table 5-40
Table 5-41
Table 5-42
Table 5-43
Table 6-1
Table 6-2
Table 6-3
Table 6-4
Table 6-5
Table 6-6
Table 6-7
Table 6-8
Table 6-9
Table 6-10
Table 6-11
Table 6-12
Table 6-13
Table 6-14
Table 7-1
Table 7-2
Table 7-3
Table 7-4
Table 7-5
Table 7-6
Table 7-7
Table 7-8
Table 7-9
Table 7-10
Table 7-11
Table 7-12
Table 7-13
Table 7-14
Table 7-15
Tables
xxix
Table 7-16
Table 7-17
Table 7-18
Table 7-19
Table 7-20
Table 7-21
Table 7-22
Table 7-23
Table 7-24
Table 7-25
Table 7-26
Table 7-27
Table 7-28
Table 7-29
Table 7-30
Table 7-31
Table 7-32
Table 7-33
Table 7-34
Table 7-35
Table 7-36
Table 7-37
Table 7-38
Table 7-39
Table 7-40
Table 7-41
Table 7-42
Table 7-43
Table 7-44
Table 7-45
Table 7-46
Table 7-47
Table 7-48
Table 7-49
Table 7-50
Table 7-51
Table 7-52
Table 7-53
Table 7-54
Table 7-55
Table 7-56
Table 7-57
Table 7-58
Table 7-59
Table 7-60
Table 7-61
Table 7-62
Table 7-63
xxx
Table 7-64
Table 7-65
Table 7-66
Table 7-67
Table 7-68
Table 7-69
Table 7-70
Table 7-71
Table 7-72
Table 7-73
Table 7-74
Table 7-75
Table 7-76
7-150
7-153
7-154
7-156
7-158
7-163
7-167
7-169
7-171
7-172
7-174
7-176
7-179
Tables
xxxi
xxxii
xxxviii
xxxiii
Keys that appear on the standard keyboard are identified in boldface, for
example, Enter, Shift, Ctrl+S (a key combination), or Ctrl S (a key sequence).
Warning!
Preconfigured PFKeys
only the name of the command, such as, enter the END command
only the PF keys, such as, press PF03/PF15
or both, such as, press PF03/PF15, or enter the END command
xxxiv
User Entries
In situations where you are instructed to enter characters using the keyboard,
the specific characters to be entered are shown in this UPPERCASE BOLD
text, for example, type EXITNAME.
Syntax statements
A vertical bar ( | ) separating items indicates that you must choose one
item. In the following example, you would choose a, b, or c:
a| b | c
xxxv
Screen Characters
Variables
Special elements
Warning!
xxxvi
Related Publications
INCONTROL for OS/390 and z/OS Administrator Guide
xxxvii
xxxviii
10
Chapter 1
Introduction
Chapter 1 Introduction
1-1
Summary of Utilities
Summary of Utilities
The following list provides a short description of each utility used in the
INCONTROL environment. Unless otherwise noted, all utilities are fully
described later in this guide.
Note:
IOA Utilities
Table 1-1
Utility
Description
IOABLCAL
Builds calendars.
IOACABPR
IOACLCND
IOACND
IOACCND
IOACPLOG
IOADBF
IOADBIB
Rebuilds index files for various IOA Variable Database data files.
IOADBSR
IOADCPY
Recovers an IOA Access Method file from the dual mirror image
copy and vice versa.
IOADIG
IOADII
IOADLD
IOADPT
Prints IOA Access Method file data and index records in SNAP
dump format.
IOADUL
1-2
Summary of Utilities
Table 1-1
Utility
Description
IOALDNRS
IOANOTE
IOAOPR
IOASDISC
IOATEST
IOAVCND
IOAVERFY
CONTROL-M Utilities
Table 1-2
Utility
Description
CTMAESIM
CTMBGRP
CTMBLDAE
CTMBLT
CTMCAJF
CTMCRES
CTMHCLN
CTMHCOP
CTMJOB
CTMJSA
CTMRAFL
Provides job flow information about the jobs in the Active Jobs
file.
CTMRCAL
CTMRELRS
CTMRES
CTMRFLW
Chapter 1 Introduction
1-3
Summary of Utilities
Table 1-2
Utility
Description
CTMRNSC
CTMROGR
CTMRPFL
CTMRPLN
Provides a list of all jobs that are planned for a specified range
of dates.
CTMRSTR
CTMSIM
CTMSLC
CTMTAPUL
CTMTBUPD
CTMXRF
CTMRJDS
FORMCKP
FORMHST
FORMRES
CONTROL-M/Analyzer Utilities
Table 1-3
Utility
Description
CTBDBCP
CTBDBVCP
CTBDBVDL
1-4
Summary of Utilities
Table 1-3
Utility
Description
CTBDBVIG
CTBDBVCG
Table 1-4
Utility
Description
CTBJAFCP
CTBJAFDL
CTBJAFIG
Table 1-5
Utility
Description
CTBABI
CTBFRM
Table 1-6
Utility
Description
CTBDBIB
CTBDBST
Note:
Table 1-7
Miscellaneous Utilities
Utility
Description
CTBCMP
CTBVXRF
Chapter 1 Introduction
1-5
Summary of Utilities
Utility
Description
BKPRESET
CTDAMUTI
CTDBLXRP
CTDCAMF
CTDCATF
CTDCA2P
Copies new report or user entries from the Active User Report
List file to the Permanent User Report List file.
CTDCCFRS
CTDCCU
CTDCLHIS
Deletes entries in the History Reports List file and makes a list of
backup tapes that have expired based on parameter # OF DAYS
or GENERATIONS TO KEEP.
CTDCP2A
CTDDELRP
CTDDIB
CTDDIG
CTDGBPRT
CTDSMFRP
CTDUFUPD
CTDULD
CTDUPBKP
CTVCLMIG
Cleans entries from the Migrated User Report List file and erases
or uncatalogs their CDAM datasets.
CTVDELI
CTVGICL
CTVJAR
CTVUNMIG
Reads a migrated CDAM file and recreates the original CDAM file
on DASD.
1-6
Summary of Utilities
Table 1-8
Utility
Description
CTVUPGDB
MIGRESET
RSTRESET
Note:
CONTROL-O Utilities
Table 1-9
CONTROL-O Utilities
Utility
Description
CTOALOCP
CTOCSF
CTOCTA
CTOCTI
CTORSTM
CTOSMDSC
CTOTEST
CTOUSMDSC
Note:
Chapter 1 Introduction
1-7
Summary of Utilities
CONTROL-M/Tape Utilities
Table 1-10
Utility
Description
CTTACP
CTTAFR
CTTCTRC
CTTRSM
CTTTRB
Table 1-11
Utility
Description
CTTGVL
CTTSBD
CTTSCA
CTTSTK
CTTSTKR
Table 1-12
Utility
Description
CTTBIX
CTTDLD
CTTIDB
CTTMER
CTTMUP
CTTRCV
CTTSPL
CTTSYNC
Table 1-13
Utility
Description
CTTRTM
CTTVTM
1-8
Summary of Utilities
Table 1-14
Utility
Description
CTTCRDF
CTTDBDLD
CTTDBDUL
CTTDBF
CTTDBIB
CTTDBID
CTTDBII
CTTDBPRT
Table 1-15
Utility
Description
CTTRPT
CTTTPI
Note:
Chapter 1 Introduction
1-9
Summary of Utilities
1-10
Chapter 2
IOA Utilities
2-1
2-2
2-3
Scheduling Calendars
Calendar
Description
WORKDAYS
HOLIDAYS
ENDOFMON
NOTEOFMN
2-4
Parameters
Parameters are supplied to the utility either using DD statement DABCLIN
(or SYSIN) or using PARM. You can specify any number of parameter
statements. The parameter statement syntax is
calendar1 operator calendar2 = calendar3
where
Table 2-2
IOABLCAL Parameters
Parameter
Description
calendar1,
calendar2
Input calendars.
operator
calendar3
Resulting calendar.
If the day was marked + in calendar2, the closest next day marked for
execution in calendar1 is marked for execution in calendar3.
If the day was marked in calendar2, the closest previous day marked
for execution in calendar1 is marked for execution in calendar3.
2-5
Symbol < indicates that days are shifted to the left (meaning, to
preceding days).
Symbol > indicates that days are shifted to the right (meaning, to
subsequent days).
2-6
Note:
If specifying operator <W nn, >W nn, <>W, or ><W, calendars must
be defined in year order, must contain the same years, and must not
contain more than 15 years.
Return Codes
Table 2-3
Code
Description
8 and above
Operation failed
Examples
Example 1
----------- S ------9 + 1 2 3 4 5 6 7 8 9
Y Y Y Y Y
Y
----------- S -------
calendar1
and
2-7
calendar2
calendar3
Since the operation is *, days 2 and 3, that are marked for execution in
both calendar1 and calendar2, is marked for execution in calendar3.
Example 2
2-8
S - - - - - - S - - - - - - S - - - 1 2 3 4 5 6 7 8 9 + 1 2 3 4 5 6 7 8 9
Y
Y Y Y
Y
S - - - - - - S - - - - - - S - - - -
OLDCAL
and
S - 1 2 3
Y
S - -
4
Y
-
5
Y
-
6
Y
-
- S - - 7 8 9 + 1
Y
Y Y
- S - - -
2
Y
-
- - S 3 4 5 6
Y
- - S -
7
Y
-
8
Y
-
9
Y
-
WORKDAYS
NEWCAL
Operation <W 2 specifies that for each working day in OLDCAL, utility
IOABLCAL finds the corresponding working day in WORKDAYS, and
then shift two workdays to the left.
2-9
Example 3
WORKDAYS = NEWCAL
OLDCAL
and
S - 1 2 3
Y
S - -
4
Y
-
5
Y
-
6
Y
-
- S - - 7 8 9 + 1
Y
Y Y
- S - - -
2
Y
-
- - S 3 4 5 6
Y
- - S -
7
Y
-
8
Y
-
9
Y
-
WORKDAYS
- - - S - - - 2 3 4 5 6 7 8 9
Y
Y
- - - S - - - -
NEWCAL
Operation ><W specifies that for each working day in OLDCAL, utility
IOABLCAL finds the closest working day in WORKDAYS, and make
that day a workday in NEWCAL.
2-10
2-11
Return Codes
Table 2-4
Code
Description
other
Operation failed
2-12
This utility cleans the IOA Conditions file of conditions that are no longer
required. It is recommended that this utility be activated as part of IOA
maintenance.
Note:
Parameters
Unless the utility is instructed otherwise using parameters, it deletes all
prerequisite conditions (except those whose date reference is STAT) in the
IOA Conditions file.
The utility outputs a list of all the deleted prerequisite conditions.
Prerequisite conditions that must not be deleted (for example, prerequisite
conditions needed throughout the year) are specified by means of control
statements, that are specified using DD statement DACRSIN or SYSIN. The
formats of these statements are displayed below, followed by explanations:
COND
date
date
IGNORE ------------------------- { cond prefix } FROM ----------- TO -----------
CONDIN
YES
CONTROLM ------------
NO
YES
CONTROLD ------------
NO
2-13
date can be either a specific date in the site defined standard (mmddyy,
ddmmyy or yymmdd) or a relative date. A relative date is specified in the
format n, where n is the number of days before the current date (for
example, 5 means five days before the current date). Relative and
specific dates can be mixed (for example, a specific FROM date and a
relative TO date).
When a FROM and/or TO date is not specified, the current date is the default
for the unspecified date. The TO date (regardless of whether specific, relative
or assumed) cannot precede the FROM date.
Note:
2-14
Statement
Description
CONTROLM
CONTROLD
The utility can be run simultaneously with the CONTROL-M and the
CONTROL-D monitors.
If the job is submitted under CONTROL-M, AutoEdit variables are
supported.
2-15
Return Codes
Table 2-6
Code
Description
8 and above
Examples
Example 1
You should run this job weekly. Since this job contains AutoEdit variables, it
must be submitted directly using the CONTROL-M monitor. (The example
assumes date standard mmddyy. For ddmmyy format, the AutoEdit variable is
%%ODAY.%%OMONTH.%%OYEAR. For yymmdd format, the AutoEdit
variable is %%OYEAR.%%OMONTH.%%ODAY.)
Figure 2-1
// EXEC
IGNORE
IGNORE
IGNORE
IOACLCND Example 1
IOACLCND
COND * FROM -10 TO %%OMONTH.%%ODAY.%%OYEAR
COND CICS
COND DB-
Example 2
Clean the IOA Conditions file of all prerequisite conditions not referenced by
jobs in the Active Jobs file, except those prerequisite conditions beginning
with CICS (prerequisite conditions beginning with CICS are not deleted). Do
not check the Active Missions file to see if a prerequisite condition is
referenced.
Figure 2-2
IOACLCND Example 2
// EXEC
IOACLCND
IGNORE CONDIN * CONTROLD NO
IGNORE COND CICS
2-16
IOACLRES
IOACLRES
Note:
2-17
where:
2-18
where
where
2-19
For ADD actions, valid values can only have the format n, where n is the
quantity of the Quantitative resource to be added.
To indicate this is the last, and only, parameter, the high-order byte must
contain X'80'.
The three low order bytes of the fullword must contain the address of a
halfword field.
%%OMONTH.%%ODAY
As an operator command:
S IOACND,PARM=ADD COND END-CICS 0102
2-20
IOACND,(PARMCOND),VL
R15,R15
ERROR
AL2(80)
COND CICS-FILE-CLOSED 0102
2-21
Return Codes
Table 2-7
Action
Code
Description
ADD
12 and above
Function failed
12 and above
Function failed
12 and above
Function failed
12 and above
Function failed
DELETE
CHECK
CHANGE
Note:
IOAVCND
STAT
2-22
IOACCND Parameters
Parameter
Description
PARM
OLDCND
NEWCND
For details, see sample job IOACCND in the IOA JCL library.
IOACCND Example
// EXEC PGM=IOACPC,PARM=COPY
// OLDCND=IOA.old.CND, OLD CONDITIONS FILE
// NEWCND=IOA.new.CND, NEW CONDITIONS FILE
2-23
Return Codes
Table 2-9
Code
Description
28
32
36
40
44
52
2-24
Parameters
Parameter
Description
COPYTOSEQ
Indicates that the utility is being used to copy records from the
IOA Log file to a sequential file.
FROMDATE
yymmdd
TODATE
yymmdd
2-25
Figure 2-4
IOACPLOG Example 1
Return Codes
Table 2-11
Code
Description
Other
Operation failed
Parameters
Parameter
Description
COPYTOLOG
Indicates that the utility is being used to copy the IOA Log file to
another Log file.
2-26
Figure 2-5
IOACPLOG Example 2
// EXEC IOACPLOG
//DALOG DD DSN=prefix.logfile,DISP=...Target Log file
//DALCPPRM DD *
COPYTOLOG
//
Note:
Return Codes
Table 2-13
Code
Description
Other
Operation failed
2-27
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the IOADBF JCL procedure:
Table 2-14
IOADBF Parameters
Parameter
Description
FUNC
Function to be performed:
INIT Allocates and initializes (formats) a new IOA Access
Method file component.
FORM Reformats an existing IOA Access Method file
component.
EXTEND Allocates and formats a new secondary extent
for an existing IOA Access Method file component.
CHANGE Changes or updates an IOA Access Method
file components internal attribute settings. This function is
used when it is necessary to change the settings of
parameters in an IOA Access Method file definition after
the file has been created.
DUALOK Resets the flag that indicated a corrupted Dual
Mirror Image file (DUALBAD). This function is used after a
corrupted Dual Mirror Image file has been restored using
utility IOADCPY.
2-28
DD Statement DAFILE
When executing utility IOADBF with parameter FUNC set to EXTEND or
CHANGE, a DAFILE DD statement, specifying the name of the IOA Access
Method file components primary dataset extent, must be included in the JCL
step executing the utility.
Parameter
Description
BLKSIZE
Block size of the IOA Access Method file, in bytes. For all
index components and for data components with variable
length records, it is recommended that the block size be set
to the maximum half track capacity of the device on that the
IOA Access Method file is allocated, as follows:
19068 3350 DASD devices.
23476 3380 DASD devices.
27998 3390 DASD devices.
22928 9345 DASD devices.
For data components with fixed length records, where the
block size must be a multiple of the record length, it is
recommended that the block size be set as close to, without
exceeding, the devices half track capacity.
Parameter BLKSIZE is not applicable when executing utility
IOADBF with the FORM or CHANGE function specified.
BUFL
COMPRS
2-29
Table 2-15
Parameter
Description
COMPTB
DSN
DUAL
DUALM
DUALST
2-30
Table 2-15
Parameter
Description
EXTEND
KEYLEN
LRECL
PRODUCT
2-31
Table 2-15
Parameter
Description
SPACE
TYPE
UNIT
UNITD
2-32
Table 2-15
Parameter
Description
VOL
VOLD
2-33
Examples
Example 1
//INIT
EXEC
IOADBF,FUNC=INIT,D=INSTWORK,M=DEFACT
DEFACT Contents
TYPE=V
DSN=CTD.V600.ACT
BLKSIZE=27998
LRECL=27974
SPACE=(1000,200)
BUFL=100
UNIT=3390
VOL=(PRD021,PRD022,PRD023,PRD024,PRD025,PRD026)
COMPRS=CTDUFCM
COMPTB=CTDUFCMA
Example 2
//CHANGE
//DAFILE
EXEC
DD
IOADBF,FUNC=CHANGE,D=INSTWORK,M=DEFHSTI
DISP=SHR,DSN=CTD.V600.HSTI.E000
Example 3
To change the qname of a file from the current dataset qname to the default
qname of the environment under which the utility is run, append (BYPASS)
to the DSN specified in DD statement DAFILE.
//*** RESET QNAME OF CTB.V600.GRPD.E000 TO
//*** DEFAULT ENV. QNAME
//GRP EXEC IOADBF,FUNC=CHANGE,D=INSTWORK,
//
M=DEFGRPD,ILPREFA=IOA.V600
//DAFILE DD DISP=SHR,DSN=CTB.V600.GRPD.E000(BYPASS)
2-34
Multiple Extents
IOA Access Method files can contain multiple extents. Each extent is a
separate sequential file that contains a maximum of 65534 blocks and is
allocated without a secondary space allocation.
If an IOA Access Method file has more than 65534 blocks, specify a space
parameter, by an expression such as SPACE=(65534,30000). In this case, the
IOA Access Method allocates a first extent of 65,534 blocks and a second
extent of 30,000 blocks as separate OS/2390 or z/OS sequential files.
However, the IOA Access Method treats the two files as one file with two
extents. The new extent is allocated when records are written to the file if the
first extent does not have sufficient free space for the new records.
The maximum size for secondary extents is also 65,534 blocks. The IOA
Access Method supports a maximum of 256 extents.
This information enables you to manage space allocations and provide extra
extents before they are created. For details and examples, see IOADPT
Print IOA Access Method File Content on page 2-54.
CONTROL-D Samples
For information about using CONTROL-D to allocate and format IOA
Access Method files, see Customize CONTROL-D User Files in the ICE
Customize activity.
CONTROL-M/Tape Samples
For information about using CONTROL-M/Tape to allocate and format IOA
Access Method files, see Customize CONTROL-M/Tape Datasets in the
ICE Customize activity.
2-35
CONTROL-M/Analyzer Samples
The following jobs in the CONTROL-M/Analyzer JCL library can be used as
samples for formatting existing data and index files:
Table 2-16
Job
Description
JOBFABF
JOBFGRP
Group file
JOBFJAF
JOBFREP
Report file
Job
Description
JOBBGRP
Group file
JOBBDM
JOBBDBV
JOBBJAF
JOBBREP
Report file
For example, if the index file of the Rule Activity file was damaged by a disk
crash but the data file was not damaged (meaning, the actual information
about invocations, and so on, is accurate), use member JOBBJAF to reformat
the index file and rebuild the index entries.
IOA Samples
Utility IOADBF is used by the following jobs in the IOA JCL library:
Table 2-18
Job
Description
IOADBSBF
IOACOLBF
IOAVARBF
2-36
Use this utility only for core IOA databases. Other INCONTROL
products have their own utilities according to the following table.
INCONTROL
Product
CONTROL-D and
CONTROL-V
CTDDIB
For the CONTROL-V global index file, use CTDGBIB.
CONTROL-M/Analyzer
CTBDBIB
CONTROL-M/Tape
This utility rebuilds the indexes of a specific data file. Previous contents of
the index file are erased.
Note:
When the space remaining for the existing index file is insufficient, or the
relevant data file was reloaded. In this case:
In case of index file integrity problems that can be detected using utility
IOADII. For details, see IOADII Verify Integrity of IOA Access
Method File Index Component on page 2-49.
In case of data file integrity problems. In this case, correct the data file
and re-index it with utility IOADBIB to reproduce the corresponding
index file.
2-37
Parameter
The following parameter can be specified in the EXEC statement that invokes
the IOADBIB JCL procedure.
Table 2-19
IOADBIB Parameter
Parameter
Description
DBFILE
Note:
Return Codes
Table 2-20
Code
Description
other
Operation failed
Example
//
//SYSIN
//DAGRP
EXEC IOADBIB,DBFILE=GRPD
DD
DSN=IOA.PROD.PARM(KEYGRP),DISP=SHR
DD
DSN=IOA.PROD.COLI,DISP=SHR
Utility IOADBIB is used by the following jobs in the IOA JCL library. For
additional examples, refer to these jobs:
Table 2-21
Job
Description
IOADBSBI
2-38
Table 2-21
Job
Description
IOACOLBI
IOAVARBI
2-39
Warning!
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the IOADBSR JCL procedure:
Table 2-22
IOADBSR Parameters
Parameter
Description
DBPREFA
DBFILE
PARMLIB
2-40
Parameter
Description
ENABLE
TIMEFROM
TIMETO
RBAOFS
INTERVAL
DELYBLK
START-WHENOVER
STOP-WHENOVER
2-41
Example
Figure 2-7
//
//
//
//
IOADBSR Example
EXEC IOADBSR,DBPREFA=CTD,
DBFILE=ACT,
PARMLIB=CTD.PROD.PARM,
M=DBSRTPRM
2-42
EXEC
IOADCPY,DBFILE=ACT,SUFFIX=E000
When executing this utility, DD statement DAIN must be included in the JCL
stream and must specify the full name of the uncorrupted (valid, intact) IOA
Access Method file.
Note:
When using this utility, the activities of all the relevant applications
are stopped. For more information, see the relevant product chapter
on the recovery process.
Utility IOADCPY cannot be used for IOA Variable Database files.
Examples
If the dual mirror image copy of the CONTROL-D Active User Report List is
corrupted, the DAIN DD statement specifies the name of the main copy:
//DAIN DD DISP=SHR,DSN=CTD.PROD.ACT.E000
If the main copy of the CONTROL-D Active User Report List is corrupted,
the DAIN DD statement specifies the name of the dual mirror image copy:
//DAIN DD DISP=SHR,DSN=CTD.PROD.ACT.D000
2-43
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the IOADCPY JCL procedure:
Table 2-24
IOADCPY Parameters
Parameter
Description
SUFFIX
UNIT
VOL
The above parameters are optional and are used only when it is necessary to
override the UNIT and VOL (or UNITD and VOLD) parameters specified in
the IOA Access Method file definition member when the IOA Access
Method file was first created (member DEFxxx in the IOA INSTWORK
library). After running the utility with these parameters, run utility IOADBF
with FUNC set to CHANGE to update the new values for these parameters in
the IOA Access Method file control block.
Return Codes
Table 2-25
Code
Description
12
16
20
24
28
Insufficient storage.
2-44
Table 2-25
Code
Description
32
36
For more information about how to use this utility, see sample member
CTDUFCPY in the CONTROL-D JCL library.
2-45
2-46
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the IOADIG JCL procedure.
Table 2-26
IOADIG Parameters
Parameter
Description
DBFILE
FUNC
DBPREFA
Example
To verify the integrity of the CONTROL-D history (HIST) file, use the
following JCL statement:
//CHECK EXEC IOADIG,DBFILE=HST,FUNC=R,DBPREFA=&DBPREFD
IOA Samples
The IOADIG utility is used by the following jobs in the IOA JCL library:
Table 2-27
IOADIG Jobs
Job
Description
IOADBSIG
IOACOLIG
IOAVARIG
2-47
CONTROL-D Samples
For an example of how to check the structural integrity of a CONTROL-D
IOA Access Method file data component, see the CTDUFCHK sample job in
the CONTROL-D JCL library.
CONTROL-M/Tape Samples
The IOADIG utility is used by the CTTDIG job in the CONTROL-M/Tape
JCL library.
2-48
The IOADII utility is not relevant for IOA Variable Database files.
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the IOADII JCL procedure.
Table 2-28
IOADII Parameters
Parameters
Description
DBFILE
DBPREFA
2-49
Example
To verify the integrity of the CONTROL-M/Tape media (MDB) database
index file, use the following JCL statement:
//CHECK
EXEC
IOADII,DBFILE=MDBI,DBPREFA=&DBPREFT
CONTROL-D Samples
For an example of how to check the structural integrity of a CONTROL-D
IOA Access Method file data component, see the CTDUFCHK sample job in
the CONTROL-D JCL library.
CONTROL-M/Tape Samples
The IOADII utility is used by the CTTDII job in the CONTROL-M/Tape JCL
library.
2-50
If the file being loaded is an IOA file, all monitors must be down
when running this utility.
This utility is typically used to migrate an IOA Access Method file to another
DASD volume. In this case, perform the following steps:
1. Run utility IOADUL to unload the IOA Access Method file data
components records to a sequential dataset.
2. Allocate and format a new IOA Access Method file on a new DASD
volume using the IOADBF utility.
3. Run the IOADLD utility to reload the IOA Access Method file data
component records from the sequential dataset previously produced by
utility IOADUL.
4. Run the appropriate index rebuilding utility to rebuild the IOA Access
Method file index component, based on the contents of the data
component:
EXEC
IOADLD
2-51
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the IOADLD JCL procedure:
Table 2-29
IOADLD Parameters
Parameter
Description
SQFILE
DBFILE
DISPI
DBPREFA
Example
//LOAD EXEC IOADLD,SQFILE=ACTSEQ,DBFILE=ACT,
DBPREFA=&DBPREFD
CONTROL-D Samples
For an example of how to load CONTROL-D IOA Access Method file data
component records from a sequential dataset and then rebuild the IOA
Access Method files index component, see the CTDUFRST sample job in
the CONTROL-D JCL library.
CONTROL-M/Tape Samples
The IOADLD utility is used by the CTTDBDLD job in the
CONTROL-M/Tape JCL library.
2-52
IOA Samples
Utility IOADLD is used by the following jobs in the IOA JCL library:
Table 2-30
IOADLD Jobs
Job
Description
IOADBSLD
IOACOLLD
IOAVARLD
2-53
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the IOADPT JCL procedure.
Table 2-31
IOADPT Parameters
Parameter
Description
FUNC
DB0
The print IOA Access Method file index and data component
control records.
DBFILE
KEYFROM
KEYTO
RBAOFF
The RBA offset in the index record key pointing to the data
component record. The default setting for this parameter is 0.
Note: For CONTROL-M/Tape, this parameter can be set to 0,
because the offset is automatically calculated within the utility
program.
DBPREFA
DBINDEX
2-54
This utility processes both the data and index components of a IOA Access
Method file.
If KEYFROM and KEYTO parameters are not specified or are specified as
blank, all records are printed.
Example
To print the CONTROL-D history database (HST) in SNAP dump format,
use the following JCL statement:
//PRINT EXEC IOADPT,FUNC=0,DBFILE=HST,DBPREFA=&DBPREFD
CONTROL-D Samples
For an example of how to print CONTROL-D IOA Access Method file
record contents, see the CTDUFDPT sample job in the CONTROL-D JCL
library.
CONTROL-M/Tape Samples
The IOADPT utility is used by the CTTDPT job in the CONTROL-M/Tape
JCL library.
IOA Samples
Utility IOADPT is used by the following jobs in the IOA JCL library:
Table 2-32
IOADPT Jobs
Job
Description
IOADBSPT
IOACOLPT
IOAVARPT
2-55
This utility is typically run to migrate an IOA Access Method file to another
DASD volume. In this case, perform the following steps:
1. Run the IOADUL utility to unload the IOA Access Method file data
components records to a sequential dataset.
2. Allocate and format a new IOA Access Method file on a DASD volume
using the IOADBF utility.
3. Run the IOADLD utility to reload the IOA Access Method file data
component records from the sequential dataset previously produced by
the IOADUL utility.
4. Run the appropriate index rebuilding utility to rebuild the IOA Access
Method file index component, based on the contents of the data
component:
2-56
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the IOADUL JCL procedure.
Table 2-33
IOADUL Parameters
Parameter
Description
DBFILE
SQFILE
RBAOFF
The RBA offset in the index record key pointing to the data
component record. The default setting for this parameter is 0.
Note: For CONTROL-M/Tape, this parameter can be set to 0,
because the offset is automatically calculated within the utility
program.
FROMKEY
TOKEY
DBPREFA
DBINDEX
DISPO
For a complete list of the files this utility supports, see the IOA
administration chapter of the INCONTROL for OS/390 and z/OS
Administrator Guide.
Example
//UNLOAD EXEC IOADUL,DBFILE=PRM,SQFILE=PRMSEQ,
DBPREFA=&DBPREFB
2-57
CONTROL-D Samples
For an example of how to print CONTROL-D IOA Access Method file
record contents, see the CTDUFDUL sample job in the CONTROL-D JCL
library.
CONTROL-M/Tape Samples
The IOADUL utility is used by the CTTDBDUL job in the
CONTROL-M/Tape JCL library.
IOA Samples
The IOADUL utility is used by the following jobs in the IOA JCL library:
Table 2-34
IOADUL Jobs
Job
Description
IOADBSUL
IOACOLUL
IOAVARUL
2-58
2-59
All prerequisite IN conditions that do not meet the above criteria are assumed
manual conditions and are placed in the IOA Manual Conditions list.
Through parameters passed to the utility, it is possible to exclude the Active
Jobs file and/or the Active Missions file from the search for manual
conditions. Of course, if both files are excluded, no manual conditions are
found, even if they exist.
Every time the utility is activated, the IOA Manual Conditions file is
recreated and all previous conditions are automatically deleted from the file.
It is possible to override this default by using parameter ADDMODE.
This utility can be used in conjunction with KeyStroke Language utility
ADDMNCND, which is referred to in the CONTROL-M for OS/390 and z/OS
User Guide.
The conditions to be included in the file can be limited by control statements
supplied using DD statement DALNRIN (or SYSIN).
2-60
Parameters
Table 2-35
Parameter
Description
IGNORE
CONTROLM
2-61
Table 2-35
Parameter
Description
CONTROLD
ADDMODE
IOALDNRS Example
// EXEC IOALDNRS
//DALNRIN DD *
IGNORE IN CICS
IGNORE IN IMS
IGNORE OUT DB-FILE
IGNORE CODES DB-FILE
CONTROLM YES
Return Codes
Table 2-36
Code
Description
2-62
Parameter
The message to be written to the Log file is specified using the following
parameter.
Table 2-37
IOANOTE Parameter
Parameter
Description
PARM
As a started task:
S IOANOTE,PARM='text'
Before executing the call to CTMNOTE, you must place the program into
AMODE 24. The message generated by the IOANOTE utility is written to
the IOA log under message ID MSG999I.
2-63
Return Codes
Table 2-38
Code
Description
Operation failed
Example
// EXEC IOANOTE,PARM=PAYROLL APPLICATION MESSAGES BEGIN HERE
2-64
EXEC IOAOPR,CMDMEM=mem_name
EXEC IOAOPR,PARM=command
Note:
MEMLIB M3,PARM=$PIA
TASKTYPE STC
2-65
Return Codes
Table 2-39
Code
Description
other
Operation failed
2-66
Parameters
Table 2-40
Parameter
Description
CMD
WTO
WTOR
WTOM
WTOM= major
Minor 1
Minor 2
minor n
+++
ROUT
DESC
CONID
CONNAME
SYSTEM
JOBNAME
JOBID
The JES2 or JES3 job ID of the job that issued the message.
Note: Parameters SYSTEM, JOBNAME and/or JOBID can be
used to simulate messages coming from another member of a
Sysplex environment or JES3 complex.
2-67
Table 2-40
Parameter
Description
DEFDELAY
WAIT
TERM=Cnnnn
TERM=Unnnn
TERM=Snnn
WTO, ROUT, DESC, CONID, CMD, WAIT and TERM can also be specified
in the PARM keyword of the EXEC job step. If this method is used, only the
PARM parameters are executed in the following order: WTO, WAIT, TERM.
When using PARM, DEFDELAY is always 0.
Example
//EXEC IOATEST,
// PARM=WTO=PROGRAM ERROR,WAIT=10,TERM=U0008
Issues WTO message with the text PROGRAM ERROR, waits 10 seconds
and terminates the step with user abend U0008.
Figure 2-9
IOATEST Example
// EXEC IOATEST
//SYSIN DD *
CMD=D T
TERM=C0004
//
Issues the operator command D T and then terminates with condition code
C0004.
2-68
Note:
Parameters
Table 2-41
Parameter
Description
DISPLAY
2-69
Table 2-41
Parameter
Description
VERIFY
LIST
2-70
Table 2-41
Parameter
Description
DIAGNOSE
CORRECT
2-71
Table 2-41
Parameter
Description
VER
2-72
Table 2-41
Parameter
Description
REP
END
2-73
Return Codes
Table 2-42
Code
Description
Warning message.
8 and above
Trace Facility
If you encounter errors when running utility IOAVERFY, you may be
requested to run the utility with optional parameter TRACE.
This parameter activates the trace facility of utility IOAVERFY. If TRACE is
specified, information about internal data areas is printed when the utility is
run.
Parameter TRACE is specified in the EXEC statement of the utility in the
following format:
//VERIFY EXEC IOAVERFY,TRACE=level
2-74
142
Chapter 3
CONTROL-M Utilities
3-1
3-2
3-3
3-4
Parameters
The utility receives the following parameters using DD statement DASIM.
Either JCL Library Mode parameters or Scheduling Mode parameters (but
not both) must be specified to run the utility. These parameters determine the
mode in which the utility operates. In addition, other general simulation
parameters are specified.
Table 3-1
Parameter
Description
LIBRARY
MEMBER
OWNER
APPL
GROUP
SCHEDULE TAG
SCHENV
SYSID
NJE NODE
Identifies the node in the JES system at which the job must
execute.
3-5
Table 3-2
Parameter
Description
SCHEDLIB
TABLE
JOB
Note:
Table 3-3
Parameter
Description
WDATE
ODATE
SETVAR
3-6
Table 3-3
Parameter
Description
$SIGN
command
Any number of members can be submitted for testing in one simulation run.
If multiple members are specified, not all parameters need to be specified for
each member. The first member always requires a complete set of
parameters. Subsequent members require specification of the member name,
command, and any parameter statements whose values differ from the values
of the preceding member. For all unspecified parameters, the simulation uses
the corresponding value provided for the preceding member as the default.
Examples
3-7
Figure 3-1
OWNER
WDATE
ODATE
MEMBER
LIBRARY
LIST
MEMBER
LIST
MEMBER
LIST
owner ID
060600
060600
member1
jcl.library
member2
member3
OWNER
WDATE
ODATE
MEMBER
LIBRARY
LIST
OWNER
MEMBER
LIST
MEMBER
LIST
owner-a
060600
060600
member1
jcl.library
owner-b
member2
member3
3-8
ODATE
SCHEDLIB
TABLE
JOB
LIST
JOB
LIST
TABLE
JOB
LIST
060600
scheduling-library
scheduling-table1
job name1
job name2
scheduling-table2
job name3
Batch JCL
...
DUMMY
CALL
CTMAES,(DUMMY)
DC
F0
3-9
When you invoke CTMAESIM from another program, observe the following
conventions:
The procedure that executes the invoking program must allocate all the
files that are necessary to execute AutoEdit simulation.
INCLUDE the CTMAES module from the IOA loadlib in the link-edit
step.
Even though CTMAES does not require any parameters, when invoked
from a high-level language such as COBOL or PL/1, it must be called
with a dummy parameter containing zeros (0).
Return Codes
Table 3-4
Code
Description
Other
Operation failed
3-10
Examples
Example 1
The following jobs are checked by CONTROL-M and if no errors are found,
they are submitted (but not executed) and checked by the MVS JCL checking
mechanism.
Figure 3-4
CTMAESIM Example 1
// . . . JOB . . .
//
EXEC CTMAESIM,RDR=INTRDR
//DASIM DD *
USERID
SY01
WDATE
060600
ODATE
060600
$SIGN
2
MEMBER
JOBDAY01
LIBRARY
SYS3.CTM.JOBS
SUBMIT
OWNER
SY01
WDATE
060600
ODATE
060600
MEMBER
JOBWEKLY
LIBRARY
SYS3.CTM.JOBS
SUBMIT
3-11
Example 2
The following jobs are checked in Scheduling Library mode and the results
appear in the sysout.
Figure 3-5
CTMAESIM Example 2
// . . . JOB . . .
// . . . EXEC CTMAESIM,RDR=INTRDR
//DASIM DD *
ODATE
060600
SCHEDLIB
SYS3.CTM.JOBS
TABLE
DEFSCHED3
JOB
TAPE01
LIST
JOB
TAPE02
LIST
TABLE
DEFSCHD4
JOB
JOB1
LIST
3-12
A group name is defined and added (in protected mode) to the GROUP
field in each job scheduling definition.
Note:
3-13
Statements
Dataset
Description
DALOG
SYSPRINT
SYSIN
Parameters
Table 3-6
Keyword
Description
IN-TABLE
OUT-TABLE
GROUP
3-14
Return Codes
Table 3-7
Code
Description
16
20
3-15
Parameters
The parameters for the CTMBLDAE utility are specified in blocks in the
SYSIN file. Blocks consist of the following mandatory parameters (described
below).
CALLIB=input-calendar-library
CALMEM=input-calendar-member
OUTLIB=output-library
OUTMEM=[/]output-member
GEN=string
ENDCAL
If more than one parameter block is specified, each parameter block must
be delimited by parameter ENDCAL.
3-16
CTMBLDAE Parameters
Parameter
Description
CALLIB
CALMEM
OUTLIB
OUTMEM
GEN
ENDCAL
3-17
Return Codes
Table 3-9
Code
Description
8 and above
Operation failed
3-18
Examples
Example 1
Figure 3-6
CTMBLDAE Example 1
//SYSIN
DD
*
CALLIB=CTM.PROD.CAL
CALMEM=PAYROLL
OUTLIB=CTM.PROD.SYMBOLS
OUTMEM=PAYCHECK
GEN=%%DATE_TYPE_OF_ODAT=REGULAR
//
Input calendar PAYROLL looks like the following (in September 2000):
-----S-------------S-------------S-------------S-------------S-------------S
1 2 3 4 5 6 7 8 9 + 1 2 3 4 5 6 7 8 9 + 1 2 3 4 5 6 7 8 9 +
09
Y
Y
Y
Y
-----S-------------S-------------S-------------S-------------S-------------S
Example 2
CTMBLDAE Example 2
//JCL JOB
//* %%LIBSYM CTM.PROD.SYMBOLS %%MEMSYM RLPREVD
//
EXEC PGM=RLPGM
//SYSUT1 DD DSN=PREFIX.%%RL%%ODATE,DISP=SHR
//SYSUT2 DD DSN=PREFIX.%%RL%%ODATE,DISP=(NEW,CATLG)
3-19
-----S-------------S-------------S-------------S-------------S-------------S
1 2 3 4 5 6 7 8 9 + 1 2 3 4 5 6 7 8 9 + 1 2 3 4 5 6 7 8 9 +
09
Y
Y
Y
Y
-----S-------------S-------------S-------------S-------------S-------------S
DD
DD
DSN=PREFIX.RL000907,DISP=SHR
DSN=PREFIX.RL000914,DISP=(NEW,CATLG)
Example 3
For JOB2, CTMBLDAE merges all the GEN statements for member
PAYCHECK.
3-20
Figure 3-8
CTMBLDAE Example 3
//SYSIN
DD
*
CALLIB=CTM.PROD.CAL
CALMEM=PAYROLL
OUTLIB=CTM.PROD.SYMBOLS
OUTMEM=PAYCHECK
GEN=%%DATE_TYPE_OF_ODAT=REGULAR
ENDCAL
CALLIB=CTM.PROD.CAL
CALMEM=PAYROLL
OUTLIB=CTM.PROD.SYMBOLS
OUTMEM=PAYCHECK
GEN=%%DATE_TYPE_OF_$ODAT=REGULAR
ENDCAL
CALLIB=CTM.PROD.CAL
CALMEM=PAYROLL
OUTLIB=CTM.PROD.SYMBOLS
OUTMEM=PAYCHECK
GEN=%%DATE_TYPE_OF_ODAT_NEXT=REGULAR
ENDCAL
//
-----S-------------S-------------S-------------S-------------S-------------S
1 2 3 4 5 6 7 8 9 + 1 2 3 4 5 6 7 8 9 + 1 2 3 4 5 6 7 8 9 +
09
Y
Y
Y
Y
-----S-------------S-------------S-------------S-------------S-------------S
3-21
Parameters
Utility CTMBLT receives parameters from an input file referenced by
DD statement DAINPRM. The syntax of the input statements is:
Figure 3-9
[{LIBRARY=libraryname}
{MEM-OVERWRITE=Y|N|ADD|ADDG|ORDER|FORCE}
{ADD-GLOBAL=Y|N}
{OPTION=opt}
[
{Super Global Parameter Statements}
TABLE=tablename
{Global Parameter Statements}
[
{GROUP-ENTITY=groupname}
MEMNAME=jobname
{Optional Local Parameter Statements}
{SCHEDULE-TAG=tagname}
]
]
]
3-22
The line length is 80. The first 79 characters can contain parameters
and/or comments. Parameters can start in any column of the line. No
spaces are included between keywords and parameters.
To use a double-byte character set (DBCS) in free text fields, enclose the
free-text parameter values (for example, DESC, SHOUT MSG) between
shift-out (xOE) and shift-in (xOF) delimiter bytes to indicate the
beginning and end of DBCS text.
The parameters specified in the input file are divided into the following
groups:
General Parameters
These parameters specify scheduling library names (LIBRARY),
scheduling table names (TABLE), job or Group-entity scheduling
definition names, (MEMNAME and GROUP-ENTITY) and schedule
tags (SCHEDULE-TAG).
This group of parameters also contains the following control parameters:
MEM-OVERWRITE, ADD-GLOBAL, and OPTION. These control
parameters can be specified any number of times, in any order, anywhere
in the input stream. Each control parameter applies to the table definition
in which it is embedded, and all subsequent table definitions, until a new
value for the parameter is specified.
3-23
Table 3-10
Parameter
Description
Local
Apply only to the job scheduling definition for which they are
specified.
Global
Super Global
Special Parameters
The MODEL parameter is currently the only parameter in this category.
By using this parameter when creating a new job scheduling definition,
you can significantly reduce the number of job scheduling parameters
you need to code. You achieve this by specifying an existing job
scheduling definition to serve as a model or skeleton. When you do, the
effect is as if you had effectively specified every possible CTMBLT job
scheduling parameter, with values corresponding to those contained in
the job scheduling definition of the model.
MODEL must be the first parameter specified in the job scheduling
definition; it must be specified immediately after the MEMNAME or
GROUP-ENTITY parameters.
You cannot specify MODEL as a global or super-global parameter.
3-24
After specifying MODEL, you can specify any number of job scheduling
parameters to modify or add to the model definition, subject to the
following restrictions:
Job scheduling parameters specified after MODEL must not be
inconsistent with the model. If, for example, the model definition
contains DAYS values and you specify a DATES parameter,
CTMBLT will produce an error message.
If the model you specify contains a SCHEDULE TAG which is not
defined in the group entity to which the current job belongs,
CTMBLT will accept the model, but will produce an error message
after displaying the job scheduling definition.
If the model you specify contains a SCHEDULE TAG, but the
current job does not belong to a group, the SCHEDULE TAG is
ignored.
You can only specify a model group entity following a
GROUP-ENTITY general parameter.
The sequence in which the parameters appear in the input file is important as
it determines
3-25
General Parameters
Table 3-11
Parameter
Description
ADD-GLOBAL
END
GROUPENTITY
LIBRARY
MEMNAME
Specifies the JCL member name of the job (and therefore the
name of the job scheduling definition)a.
Since each job scheduling definition applies to a specific JCL
member, the name assigned to the job scheduling definition
is the name of the JCL member.
At least one MEMNAME parameter must be specified after
each TABLE or GROUP-ENTITY parameter. Each occurrence
of the MEMNAME parameter indicates the beginning of a
new job scheduling definition.
3-26
Table 3-11
Parameter
Description
MEMOVERWRITE
SCHEDULETAG
TABLE
3-27
Table 3-11
Parameter
Description
OPTION
dsn in use
If OPTION is set to Q, the CTMBLT utility waits until the
other task completes updating the scheduling table and no
error message is produced. Ensure that an enqueue
management product issues periodic reminders that a
resource conflict must be resolved. (Alternate serialization
enqueue method.)
S[/subopt] Indicates that the job scheduling definition is
saved in the scheduling library after the job is ordered or
forced. If value ORDER or FORCE has been specified for
parameter MEM-OVERWRITE, OPTION=S can be used to
specify as a subopt value one of the usual values of
MEM-OVERWRITE (that is, Y (Yes), N (No), ADD, or ADDG).
The specified value has the same meaning and application as
if specified in parameter MEM-OVERWRITE.
If OPTION is set to S, the LIBRARY parameter, if specified,
must contain the name of an existing scheduling library.
a
3-28
Examples
Example 1
IN=(condname,date,condname,date...)
MAIL-TO=(email-address1,email-address2,...)
Example 2
SETVAR=%%A=%%ODAT
SETVAR=%%B=53
Normally, these parameters are defined for the specific job scheduling
definition in which they appear (meaning, they are defined as local). To
simplify specification of the input parameters for the utility, all job
scheduling definition parameters in a table (except the general parameter) can
also be defined as Global or Super Global. Global definitions are used as
defaults for all jobs in the table. Super Global definitions are used as defaults
for all tables within their scope.
If a combination of Global, Super Global, and Local values for a parameter
are specified, the order of precedence of the parameter values is as follows:
Local, Global and Super Global. The Global and Super Global parameter
definitions may or may not be used depending on the following:
3-29
Input job scheduling definition parameters are validated in the same manner
as in the online environment.
Except for the cnt parameter, not all the parameters are required. If a
parameter is not required, you should specify 0 as the value, unless it
is the last parameter in the list, in which case you can omit it.
Table 3-12
Parameter
Description
cnt
line#
taddress
3-30
Table 3-12
Parameter
Description
altaddress
replyaddr
3-31
Table 3-13 shows the CTMBAPI parameters used when requesting replies
from CTMBLT and programs that it calls.
Table 3-13
BAPICMDA
BAPICMDL
BAPIRPLS
BAPIRPLE
BAPIRPL#
BAPIRSN
BAPIURC
Note:
Although there are other CTMBAPI parameters, they are reserved for
program use, and should be initialized to binary zero.
CTMBLT,(cnt,line#,taddress,altaddr,replyaddr)
3-32
Considerations
The file referenced by DD statement DAPRINT holds all messages produced
by the utility. This file can alternatively be specified as a dataset instead of a
sysout print file.
The file referenced by DD statement DATABERR holds parameters from the
file referenced by DD statement DAINPRM that could not be processed due
to syntax errors or other errors. Statement DATABERR is optional. Omitting
this DD statement improves the performance (meaning, reduces the elapse
time) of the utility; therefore, for very large runs of utility CTMBLT, consider
removing this statement from the JCL.
Parameters in the file referenced by DD statement DAINPRM can be
specified either as in-stream data or as 80-byte card image data.
It is unnecessary to specify DD statements for scheduling libraries because
the utility dynamically allocates job-scheduling libraries according to
parameter LIBRARY. A DASCHD DD statement is required when
parameter LIBRARY is not specified as the first input parameter of the
utility. For example:
//DASCHD DD DISP=SHR,DSN=ctm.schedule.lib
3-33
Return Codes
Table 3-14
Code
Description
12
Examples
Example 1
3-34
Figure 3-10
CTMBLT Example 1
//DAINPRM
DD *
LIBRARY=CTM.PROD.SCHEDULE
MEM-OVERWRITE=N
ADD-GLOBAL=Y
TABLE=INITJOBS
GROUP=INIT-JOBS-1
MEMLIB=GENERAL
MEMNAME=PNADCICW
OWNER=OPSUSER
DESC=CO - POST ONLINE COPY IMAGE FOR PHASE3
IN=(PNADCICW-OK,PREV)
OUT=(PNADCICW-OK,ODAT,+)
MEMNAME=PNADCIC1
OWNER=OPSUSER
OUT=(PNADCIC1-OK,ODAT,+)
TABLE=PRDDAILY
MEMNAME=CHKACC
MEMLIB=GENERAL
OWNER=OPSUSER
TASKTYP=JOB
GROUP=CHECK-ACCOUNTS
WDAYS=(2,3,4,5)
IN=(PNADCICW-OK,ODAT)
ONPGM
STEP=ANYSTEP
CODES=NOTOK
DO=SYSOUT
SYSOUT-OP=C
SYSOUT-FRM=R
SYSOUT-PRM=M
SHOUT-WHEN=NOTOK
DEST=OPER-12
MSG=JOB CHKACC HAS AN ERROR CHECK IT
URG=U
CTBSTART
CTBS-TYPE=RULE
CTBS-NAME=CHKBRL
CTBS-ARGS=1 TO 45 CHARS
CTBEND
CTBE-TYPE=MISSION
CTBE-NAME=ENDMI1
CTBE-ARGS=1 TO 45 CHARS
3-35
Example 2
CTMBLT Example 2
//DAINPRM
DD *
LIBRARY=name1
MEM-OVERWRITE=ORDER(WDATE)
ADD-GLOBAL=Y
TABLE=TABLE1
GROUP=GROUP1
MEMLIB=GENERAL
MEMNAME=MYMEM1
OWNER=CTMBLT
DESC='ORDER JOB MYMEM1
DAYS=ALL
OUT=(MYMEM1-OK,ODAT,+)
LIBRARY=name2
MEM-OVERWRITE=FORCE
TABLE=TABLE2
GROUP=GROUP2
MEMLIB=GENERAL
MEMNAME=MYMEM2
OWNER=CTMBLT
DESC='FORCE JOB MYMEM2'
IN=(MYMEM1-OK,ODAT)
//
(Since the tables are created in memory, any library name can be specified. It
does not need to correspond to an actual library or file.)
3-36
Example 3
The following, simplified example calls CTMBLT from another program and
passes required control statements to CTMBLT. CTMBLT uses a table in
memory to force the MYJOB job.
In this example, a DAINPRM DD statement was not needed to execute the
JCL. Usually, situations require CTMBLT control statements to be read from
an external file or dynamically constructed into a GETMAIN area within the
program. Also, any output normally routed to DD name DATABERR is
written to DD name ERROR.
In addition, CTMBLT returns replies from itself and from the CTMJOB
utility, which is invoked to perform the job order. For a look at the format of
the reply areas, see the CTMBAPO member.
Figure 3-12
FOUR DC
TBLADDR
ALTDDP
ALTDDL
*
RPLYP
RPLYAREA
*
INCORETB
CTMBLT Example 3
CALL
LTR
BNZ
...
H4
DC
DC
DC
DC
DC
DC
CTMBLT,(FOUR,0,TBLADDR,ALTDDP,RPLYP)
R15,R15
error-routine
A(INCORETB)
A(ALTDDL)
CL8
CL8
CL8
CL8ERROR
DS
DC
DC
DS
DS
DS
DS
DS
DS
DS
6A
A(RPLYAREA)
A(RPLYAREA+(10*64)-1)
F
A
26C
H
H
XLn
10CL64
(see
DS
DC
DC
DC
DC
DC
DC
4 PARAMETERS
BAPIRSN
BAPIURC
(n=remaining length)
CTMBAPO for details) Room for 10 replies
Example 4
The following example illustrates the creation of Group scheduling tables and
Super Globals.
3-37
Figure 3-13
CTMBLT Example 4
MEM-OVERWRITE=Y
ADD-GLOBAL=Y
DOCLIB=SUPER.GLOBAL.DOCLIB
APPL=SUPER-GLOBAL-APPL
ONPGM
STEP=ANYSTEP
CODES=C0008
DO=COND
CONDS=(SUPER-GLOBAL-COND,ODAT,+)
TABLE=@INITJOB
OWNER=GLBLOWN
SCHEDULE-TAG=X
ADJUST-CONDS=Y
PRIORITY=GL
MEMLIB=GLBL-MEMLIB
APPL=GLOBAL-APPL
OVERLIB=OVER.LIB.GLOBAL
ONPGM
STEP=ANYSTEP
CODES=C0000
DO=COND
CONDS=(GLOBAL-COND,ODAT,+)
CONTROL=(CONTROL-RESOURCE,E)
RESOURCE=(QUANTIT-RESGLOBL,0009)
GROUP-ENTITY=GRROUP-ENTITY1
ONPGM
STEP=GROUPEND
ON GROUPEND
CODES=NOTOK
DO=SHOUT
MSG=GROUP-ENT SHOUT
DEST=OPER-2,URG=U
SCHEDULE-TAG=TAG1
WDAYS=6
EXT-SHIFT=+7
CONFCAL=GRPDCAL
SCHEDULE-TAG=TAG3
DATES=(1010,0202,0909)
MAXWAIT=03
SCHEDULE-TAG=TAG4
DAYS=10
WDAYS=0
SCHEDULE-TAG=X
SCHEDULE-TAG=*END
***====== GROUP ENTITY (NON-TAG) DEFINITIONS ==
ADJUST-CONDS=Y
IN=(GROUP-IN-COND,ODAT)
OUT=(GROUP-OUT-COND,ODAT,+)
ONPGM
STEP=GROUPEND
ON GROUPEND
CODES=OK
DO=SHOUT
MSG=FIRST MSG
DEST=OPER-1,URG=V
SHOUT-WHEN=OK
MSG=SHOUT-WHEN
DEST=OPER-3
*
MEMNAME=PNADCICW
DAYS=+15
DCAL=CALENDR
OWNER=MKGRP
MEMLIB=GENERAL-LIB
MAXRERUN=233
INTERVAL=0001440
IN=(PNADCICW,PREV)
OUT=(PNADCICW-OK,ODAT,+)
TAG-RELATION=A
SCHEDULE-TAG=TAG1
RESOURCE=(JOB-RESOURCE,0099)
SCHEDULE-TAG=TAG3
SCHEDULE-TAG=*
MEMNAME=PNADCICX
APPL=LOCAL-APPL
IN=(PNADCICX,PREV)
OUT=(PNADCICX-OK,ODAT,+)
SUPER
SUPER
SUPER
SUPER
SUPER
SUPER
SUPER
GLOBAL
GLOBAL
GLOBAL
GLOBAL
GLOBAL
GLOBAL
GLOBAL
3-38
SCHEDULE-TAG=TAG1
MEMNAME=ANOTHER
MEMLIB=GENERAL
IN=(ANOTHER,ODAT)
TABLE=@INITJO2
MEMLIB=GLBL-MEMLIB2
GLOBAL
GROUP-ENTITY=GRROUP-ENTITY2
SCHEDULE-TAG=TAG8
DAYS=5
DCAL=GRPDCAL
SCHEDULE-TAG=TAG9
PERIOD=L2P3
DCAL=PERCAL2
SCHEDULE-TAG=TAG10
DATES=(1111,1212,0808)
SCHEDULE-TAG=*END
DOCMEM=TABLE2
MEMNAME=PNADCCW2
SCHEDULE-TAG=TAG8
SCHEDULE-TAG=TAG9
MEMNAME=PNADCCX2
IN=(PNADCICW,PREV)
SCHEDULE-TAG=TAG10
MEMNAME=ANOTHER
IN=(ANOTHER,ODAT)
TABLE=@INITJO3
=== NOT A GROUP TABLE ===
GROUP=GLBL-GROUP3
GLOBAL
MEMLIB=GLBL-MEMLIB3
GLOBAL
DAYS=5
MEMNAME=PNADCCW3
GROUP=INIT-JOBS
DESC=THIS IS A BATCH JOB/TABLE GENERATION
OUT=(PNADCICW-OK,ODAT,+)
MEMNAME=PNADCCX3
IN=(PNADCICW,PREV)
PREVENT-NCT2=L
*** ======= SPECIFIY NEW SET OF SUPER GLOBALS ==========
TABLE=*END
ADD-GLOBAL=Y
DOCLIB=SUPER.GLOBAL.DOCLIB2
SUPER GLOBAL
APPL=SUPER-GLOBAL-APPL2
SUPER GLOBAL
TABLE=@INITJPB
OWNER=GLBLOWN9
GROUP=GLBL-GROUP9
SCHEDULE-TAG=X
MEMLIB=GLBL-MEMLIB
OVERLIB=OVER.LIB.GLOBAL9
CONTROL=(CONTROL-RESOURCE9,E)
GROUP-ENTITY=GRROUP-ENTITY1
SCHEDULE-TAG=TAG1
WDAYS=6
SCHEDULE-TAG=TAG4
WDAYS=0
SCHEDULE-TAG=X
SCHEDULE-TAG=*END
OUT=(GROUP-OUT-COND,ODAT,+)
MEMNAME=PNADCICW
MEMLIB=GENERAL-LIB
MAXRERUN=233
INTERVAL=0001440
INTERVAL-TYP=E
IN=(PNADCICW,PREV)
TAG-RELATION=A
SCHEDULE-TAG=TAG1
RESOURCE=(JOB-RESOURCE,0099)
SCHEDULE-TAG=*
MEMNAME=PNADCICX
APPL=LOCAL-APPL
IN=(PNADCICX,PREV)
SCHEDULE-TAG=TAG1
MEMNAME=ANOTHER
IN=(ANOTHER,ODAT)
3-39
Example 5
You want to create a new job scheduling definition JOBB in scheduling table
TABLEB of library SCHED.LIBB. It will be identical to the scheduling
definition of JOBA in scheduling table TABLEA of library SCHED.LIBA,
except for the value of the OVERLIB parameter, which you want to set to
JCL.OVERLIB.
Figure 3-14
CTMBLT Example 5
LIBRARY=SCHED.LIBB
TABLE=TABLEB
MEMNAME=JOBB
MODEL=(SCHED.LIBA,TABLEA,JOBA)
OVERLIB=JCL.OVERLIBB
3-40
Parameter
M Value
Description
Default
Group
Usage
ADJUST-CONDS
Y (Yes) or N (No)
MEMLIB
1 through 44 characters
GENERAL
OWNER
1 through 8 characters
User-identification.
USER who
submitted
the job.
jobname, if
user is
unknown.
1,2
TASKTYP
3 characters
Type of task.
JOB
1,5
PREVENT-NCT2
Y, N, F, L, or blank
APPL
1 through 20 characters
Application name.
1,2
GMEMNAME
1 through 20 characters
GROUP
1 through 20 characters
Group name.
DESC
1 through 50 characters
Description of job.
1,2
OVERLIB
1 through 44 characters
1,5
SCHENV
1 through 16 characters
Workload management
scheduling environment
name.
SYSTEM-ID
1 through 4 characters
NJE-NODE
1 through 8 characters
1 through 66 characters
%%varname=value
1,2
DOCMEM
1 through 8 characters To
leave DOCMEM blank,
specify
DOCMEM = /
Documentation member.
DOCLIB
1 through 44 characters
Documentation library.
1,2
CTBSTART
None
Define
CONTROL-M/Analayzer
step as first job step.
1,5
SETVAR
2,4
TABLE
name
Same as
MEMNAME
2,4
1,2
3-41
Table 3-15
Parameter
M Value
Description
Default
Group
Usage
CTBS-TYPE
RULE or MISSION
Type of
CONTROL-M/Analyzer
entity associated with the
CTBSTART step.
1,5
CTBS-NAME
1 through 8 characters
Name of the
CONTROL-M/Analyzer
mission or rule associated
with the CTBSTART step.
1,5
CTBS-ARGS
1 through 45 characters
within apostrophes
Arguments passed to
CONTROL-M/Analyzer.
1,5
CTBEND
CTBE-TYPE
RULE or MISSION
Type of
CONTROL-M/Analyzer
entity associated with the
CTBEND step.
1,5
1,5
CTBE-NAME
1 through 8 characters
Name of the
CONTROL-M/Analyzer
mission or rule associated
with the CTBEND step.
1,5
CTBE-ARGS
1 through 45 characters
within apostrophes
Arguments passed to
CONTROL-M/Analyzer.
1,5
Table 3-16
Default
Group
Usage
Parameter
M Value
Description
DAYS
1 through 3 characters
For information, see the Job
Production parameters
chapter in the CONTROL-M
for OS/390 and z/OS User
Guide
Scheduling days
(non-periodic).
1,3
PERIOD
4 through 5 characters
(DnPi or LnPi)
1,3
DCAL
1 through 8 characters
1,3
RELATION
A or O
AND or OR relation
between DAYS or WDAYS.
1,3
WDAYS
1 through 4 characters
For information, see the Job
Production parameters
chapter in the CONTROL-M
for OS/390 and z/OS User
Guide
1,3
WPERIOD
4 through 5 characters
(DnPi or LnPi)
1,3
1 through 8 characters
1,3
WCAL
3-42
Table 3-16
Parameter
M Value
Description
Default
Group
Usage
MONTHS
1 through 3 characters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, ALL
MONTHS scheduling.
ALL
1,3
DATES
4 characters
DATES scheduling.
1,3
CONFCAL
1 through 8 characters
Confirmation calendar
name.
1,3
SHIFT
1 character
Blank, >, <, @
Shift on confirmation
calendar.
1,3
EXT-SHIFT
2 through 3 characters
Additional shift.
Blank
No additional shift.
nn
+nn
RETRO
Y (Yes) or N (No)
Retroactive selection.
Value
specified in
optional
Wish
WM2548.
1,3
MAXWAIT
2 digits (00...98,99)
Value
specified in
optional
Wish
WM2367.
1,2,3
CATEGORY
1 through 20 characters
MINIMUM
3 digits
PDS
1 through 44 characters
ACTIVE-FROM
1,3
ACTIVE-UNTIL
1,3
1 through 20 characters
1,3,4
SCHEDULE-TAG
3-43
Table 3-17
Parameter
M Value
Description
Default
IN
(cond,date)
cond 1 through 20
characters
date 4 characters
Boolean characters |( }
Note: Closing parenthesis
) is not supported. Instead
of this character, use the
closing brace } (Hex value
D0)
IN condition.
Name of IN condition.
Group
Usage
1,2
Date reference of IN
condition.
CONTROL
(control,type)
control 1 through 20
characters
type S or E
Control resource.
Name of Control resource.
Usage type:
Shared or
Exclusive.
1,2
RESOURCE
(resource,number)
resource 1 through 20
digits
number 4 characters
Quantitative resource.
Name of resource.
Quantity of resource.
1,5
PIPE
pipe name (1 to 44
characters)
1,5
TIMEFROM
hhmm
1,2
TIMEUNTIL
hhmm
>
1,2
TIME ZONE
1 through 3 characters
1, 2
PRIORITY
1 to 2 characters
Priority.
1,2
SAC
1 character (P, N, -, +,
blank)
1,2
DUE-OUT
hhmm
CONFIRM
Y (Yes) or N (No)
1,2
This field is supported only if MAINVIEW Batch Optimizer (MVBO) is installed at your site.
Table 3-18
Parameter
M Value
OUT
AUTOARC
Description
Default
Group
Usage
1,2
(out,date,option)
out 1 through 20 chars
date 4 characters
option +/-
Y (Yes) or N (No)
Archive SYSDATA.
Y (Yes)
3-44
Table 3-18
Parameter
M Value
Description
Default
Group
Usage
Y (Yes)
SYSDB
Y (Yes) or N (No)
MAXDAYS
2 digits
Expiration period.
MAXRUNS
3 digits
SYSOUT-OP
1 character (C,F,N,D,R)
SYSOUT option.
SYSOUT-FRM
1 character
SYSOUT-PRM
For SYSOUT-OP:
C 1 character
F 1 through 44 chars
N 8 characters
D none
R none
SYSOUT parameter
according to SYSOUT
option SYSOUT-OP.
MAXRERUN
3 characters. Up to 256
minutes
MAXRERUNCYC
RERUNMEM
1 through 8 characters
INTERVAL
INTERVAL-TYP
S, E, T
END
INTERVL-UNIT
M, H, D
RET-DAYS
3 digits
RET-GENS
2 digits
Retention number of
generations.
1 through 7 characters
FROMPGM
1 through 8 characters
1,5
FROMPROC
1 through 8 characters
1,5
TOPGM
1 through 8 characters
1,5
TOPROC
1 through 8 characters
1,5
1,2,5
STEPRNG
ONPGM
3-45
Table 3-18
Parameter
STEP
Description
1,2,5
1 through 8 characters
GROUPEND
Default
Group
Usage
M Value
PROCS
1 through 8 characters
1,5
CODES
(5 chars,5 chars,...)
ON block codes.
1,2,5
ON-RELATE
A or O
AND or OR relation.
1,5
DO = OK
OK
1,2,5
DO = NOTOK
NOTOK
1,2,5
DO = RERUN
RERUN
1,5
DO=COND
CONDS
DO=FORCEJOB
1,2,5
(out,date,option)
OUT condition
1,2,5
1,2,5
FORCE-TAB
1 through 8 characters
Table name
1,2,5
FORCE-JOB
1 through 8 characters
Job name
1,2,5
FORCE-DATE
6 characters
Date
1,2,5
FORCE-LIB
1 through 44 characters
Library name
1,2,5
DO=IFRERUN
1,5
IFRERN-FROM
1 through 16
charactersa
b
From
1,5
IFRERN-TO
1 through 16 characters
To
1,5
IFRERN-CONF
Y (Yes) or N (No)
Confirm
1,5
DO=CTB
1,5
CTB-RULE
1 through 45 characters
Rule name
1,5
CTB-ARG
1 through 36 characters
Arguments
1,5
DO=SET
SETVAR
1,2,5
1 through 66 characters
%%varname=value
1,2
3-46
Table 3-18
Parameter
M Value
DO=SHOUT
Description
Default
Group
Usage
1,2
MSG
1 through 70 characters
SHOUT message
1,2
DEST
1 through 16 characters
SHOUT destination
1,2
URG
1 character (R,U,V)
SHOUT urgency
This subparameter must
always be the last
subparameter in the block,
(meaning, after TIME, MSG,
and DEST).
1,2
1,5
DO=STOPCYCL
DO=SYSOUT
1,5
SYSOUT-OP
1 character (C,F,N,D,R)
SYSOUT option
1,5
SYSOUT-FRM
1 character
1,5
SYSOUT-PRM
For SYSOUT-OP:
C 1 character
F 1 through 44 chars
N 8 characters
D none
R none
SYSOUT parameter
according to SYSOUT
option SYSOUT-OP.
1,5
DO=MAIL
1.2
MAIL-TO
(addr1,addr2,...) c
e-mail TO addresses
1.2
MAIL-CC
(addr1,addr2,...) c
e-mail CC addresses
1,2
MAIL-SUBJ
subject-line
1,2
MAIL-TEXT
text-lined
1,2
SHOUT-WHEN
OK or NOTOK or
EXECTIME or RERUN
1,2
TIME
4 characters
SHOUT on LATE or
LATESUB or EXECTIME.
Defaults to "*" when no
TIME value is specified for
the LATE or LATESUB
parameters. This
subparameter must precede
subparameter DEST.
1,2
MSG
1 through 70 characters
SHOUT message
1,2
DEST
1 through 16 characters
SHOUT destination
1,2
URG
1 character (R,U,V)
SHOUT urgency.
This subparameter must
always be the last
subparameter in the block,
(meaning, after TIME, MSG,
and DEST).
1,2
3-47
IFRERN-FROM is a 16 character field whose value consists of an 8 character program step name and an 8
character proc step name. If a proc step name is specified and the program step name is less than 8 characters,
then the program step name must be padded with blanks and the value must be enclosed by delimiters.
Table 3-19
Parameter
MODEL
M Value
library-name,
table-name, job-name
Description
Default
Group
Usage
1,2
3-48
CTMCAJF Parameters
Parameter
Description
COMPRESS
Make room in the Active Jobs file by physically deleting all jobs
marked DELETED or ENDED OK.
CLEANUP
COPY
Copy the Active Jobs file to a different size file, generally a larger
file.
Note:
3-49
SELECT/IGNORE Statements
Statement
Description
IGNORE
statements
SELECT
statements
Note:
3-50
Table 3-22
Parameter
Description
GROUP
groupname
JOBNAME
jname or
MEMBER
memname
STATUS status
ENDOK
ENDNOTOK
HELD
WAITSCHED
GRP-ACTIVE (This status means that at least one job in the
group has not completed processing.)
FROM date
TO date
Note:
AutoEdit variables can be specified for any of the above parameters. These
variables are especially useful for specifying relative date ranges in the
FROM and TO parameters.
AutoEdit functions can be used to set variables and these variables can then
be used in the parameters of the utility. The lines in which the variables are
set must have an asterisk (*) in the first column of the line. Such lines are
resolved by the AutoEdit facility and are interpreted as comments by the
utility. Regular comments can also be specified in lines with an asterisk in the
first column.
3-51
Example
*
*
*
The following AutoEdit terms cannot be used in the input for this utility:
%%ODATE
%%OYEAR
%%OMONTH
%%ODAY
%%OWDAY
%%INCLIB
%%INCMEM
File Statements
File statements are mandatory for COPY functions. They cannot be specified
for COMPRESS or CLEANUP functions. OLDAJF and NEWAJF statements
must be specified for COPY functions:
Table 3-23
Statement
Description
OLDAJF
NEWAJF
3-52
To change the size of the CONTROL-M Active Jobs file, perform the
following steps:
3-53
Select step Format the Active Jobs File, and reply Y (Yes) when asked
to replace existing copy of the job.
Change the dsname, unit and volser as required and run the job. This step
allocates and formats a new Active Jobs file and its associated BKP file.
Run utility CTMCAJF. The utility copies the current Active Jobs file to
new Active Jobs file.
Rename the new Active Jobs file to the former name of the old file.
A sample job to activate the COPY function of the utility can be found in
member CTMCAJF2 in the CONTROL-M JCL library.
3-54
Return Codes
Table 3-24
Code
Description
other
Operation failed
Examples
Example 1
Delete all jobs of the night batch from the Active Jobs file, except those with
a WAIT SCHEDULE status. In addition, delete jobs that ended OK and jobs
whose MAXWAIT interval has been exceeded if such jobs do not have
WAITSCHED status.
//COMP EXEC CTMCAJF
COMPRESS
IGNORE STATUS WAITSCHED
SELECT GROUP NIGHT-BATCH
Example 2
3-55
Example 3
3-56
CTMCRES Parameters
Parameter
Description
COPY
CONVERT
CTMCRES Statements
Statement
Description
DAOLDRES
DARESF
3-57
Return Codes
Table 3-27
Code
Description
8 and above
3-58
SELECT/IGNORE Statements
The utility receives parameters in the form of SELECT/IGNORE statements
that designate the required function, using DD statement DAFRMIN (or
SYSIN). They identify jobs that are deleted or not deleted, as follows:
Table 3-28
Statement
Description
IGNORE statements
SELECT statements
Note:
3-59
Table 3-29
Parameter
Description
GROUP
groupname
JOBNAME
jname or
MEMBER
memname
STATUS status
ENDOK
ENDNOTOK
HELD
WAITSCHED
GRP-ACTIVE
(This status means that at least one job in the group has not
completed processing.)
FROM date
TO date
Note:
The following AutoEdit terms cannot be used in the input for this
utility: %%ODATE, %%OYEAR, %%OMONTH, %%ODAY, %%OWDAY,
%%INCLIB, and %%INCMEM.
3-60
Return Codes
Table 3-30
Code
Description
other
Operation failed
Example
Delete jobs belonging to group G1, G2 and G3 regardless of their retention
criteria and process all other jobs according to their retention criteria.
SELECT GROUP G1
SELECT GROUP G2
SELECT GROUP G3
3-61
CTMHCOP Parameter
Parameter
Description
COPY
Copy the History Jobs file to a different file, either the same size
or a larger file.
File Statements
File statements are mandatory for the COPY function. OLDHST and
NEWHST statements must be specified as follows:
Table 3-32
Statement
Description
OLDHST
Name of the old History Jobs file. If omitted, the current HST file
is used.
NEWHST
3-62
To change the size of the CONTROL-M History Jobs file, perform the
following steps:
1. Enter CUSTOMIZE facility under ICE for product ID CTM.
2. Select Customize CONTROL-M Dataset Parameters.
3. Select step CONTROL-M Dataset Parameters, update the HSTSIZE
parameter, and exit the step.
4. Select step 3, Save Parameters into Product Libraries.
5. Select step 7, Format the History Jobs File, and reply Y (Yes) when
asked to replace existing copy.
6. Edit member FORMHST, changing the dsname, unit, and volser as
required and run the job.
7. Run utility CTMHCOP. The utility copies the current History Jobs file to
new History Jobs file.
8. Rename the old History Jobs file.
9. Rename the new History Active Jobs file to the former name of the old
file.
3-63
Return Codes
Table 3-33
Code
Description
other
Operation failed
3-64
DD statement DAJOB.
When ordering jobs using DD statement DAJOB, job orders can be
specified either:
by concatenating scheduling tables in the JCL (Method 1)
This method requires that the user specify the name of a scheduling
table and library directly in the JCL, in the format
DSN=sched_library(table)
For example:
Figure 3-15
//DAJOB
//
//
DD
DD
DD
DISP=SHR,DSN=sched_library(table1)
DISP=SHR,DSN=sched_library(table2)
DISP=SHR,DSN=sched_library(table3)
or
as ORDER control statements (Method 2)
Figure 3-16
//DAJOB
DD
DISP=SHR,DSN=parm_library(member)
3-65
Figure 3-17
//DAJOB
ORDER .
[SELECT
[IGNORE
.
.
.
DD *
. .
TAG tagname1]
TAG tagname2]
By default, the CTMJOB utility stops running when a User Daily job
discovers an error in one of the job scheduling definitions. Alternately, if
your INCONTROL administrator sets the CNTERCRD parameter to Y (Yes)
in the CTMPARM member of the IOA PARM library, the CTMJOB utility
continues processing job scheduling definitions after an error occurs. In
either case, the message JOB536S is issued. If the job scheduling definition
that contains an error belongs to a Group entity or to a job belonging to a
Group, and the processing continues, the utility skips the entire group and
continue processing the next job or group.
The CTMJOB utility can also be used to order scheduling tables with a
particular ODATE (for example, to emulate a User Daily job with a specific
date) by setting the target date to the desired ODATE for the jobs to be
ordered. All other dates must be set for one day earlier. For more information
about scheduling tables with a particular ODATE, see the discussion of
alternative methods of job ordering in the CONTROL-M chapter in the
INCONTROL for OS/390 and z/OS Administrator Guide.
3-66
Example
The following example shows how the DATEREC file (pointed to by
DD statement DACHK) orders jobs with an ODATE of March 21, 2000
(using MDY format).
032100
032000
032000
032000
032000
032000
To order an entire library with one order statement use the following format:
ORDER DSN=sched.library MEMBER=*
3-67
Parameters
Table 3-34
Parameter Syntax
Description
ORDER
DSN=schedlib
DDNAME=dd | DD=dd
MEMBER={table | *} | MEM={table | *}
Specifies the name of the scheduling table that contains the job
scheduling definitions. If an asterisk (*) is specified, all tables in the
library are processed. Mandatory.
JOB{jobnm | *}
ODATEOPT
or ODOPT
INTOGRP=group_rba
DUP | NODUP
3-68
Table 3-34
Parameter Syntax
Description
NEWG
Orders a new group entity together with the job that was specified
in the JOB parameter.
FORCE
Places the job order in the Active Jobs file regardless of the jobs
Basic Scheduling parameters. Optional.
3-69
3-70
Ignores all Schedule Tags with a prefix of ACCT. All other Schedule Tags are
automatically selected.
Example 2
ORDER DSN=mylib,MEMBER=sample
SELECT TAG ACCT1
SELECT TAG ACCT2
IGNORE TAG *
Selects only Scheduled tags ACCT1 and ACCT2 and ignores all others.
CTMJOB Activation
//S1 EXEC
//STEPLIB
//DAPARM
//
//DAALOCIN
//DACHK
//SYSPRINT
//DAJOB
PGM=CTMJOB[,PARM=parameters]
DD DISP=SHR,DSN=ioa.loadlib
DD DISP=SHR,DSN=IOA.Vxxx.PARM
DD DISP=SHR,DSN=IOA.Vxxx.IOAENV
DD DISP=SHR,DSN=ioa.v600.IOAENV(ALCMJOBP)
DD DISP=SHR,DSN=ctm.daterec
DD message file
DD scheduling tables or ORDER statements
3-71
The following example shows how to specify job order statements using
the PARM statement in the EXEC statement:
Examples
//ORDERJOB EXEC
PGM=CTMJOB,
//
PARM=ORDER DSN=IOA.PROD.SCHEDULE TABLE=TABLE1 JOB=SORT ODATE=070700
CALL
CTMJOB,(JOBPARM),VL
.
.
JOBPARM DC
Y(LORDERREQ)
ORDERREQ DC
CORDER DSN=IOA.PROD.SCHEDULE TABLE=TABLE1 JOB=SORT DATE=070700
The following example shows how to specify job order statements using
DD statement DAJOB.
3-72
The following example shows how the API is called from a CICS
application using fields defined in the DSECT.
Figure 3-19
CTMJOB Example
PARMAREA DS
PARMARLN EQU
MVC
MVC
MVC
MVC
EXEC
DSNAME
TBLNAME
JOBNAME
DATE
(CMORDLEN)C
*-PARMAREA
CMORDDSN,DSNAME
PARAMETERS
CMORDTBL,TBLNAME
CMORDJOB,JOBNAME
CMORDDAT,DATE
CICS LINK PROGRAM (CTMCIOR)
COMMAREA (PARMAREA)
LENGTH (=Y(PARMARLN))
. . .
DC
CL44CTM.PROD.SCHEDULE
DC
CL8DEFSCHD1
DC
CL8JOBA
DC
CL6090600
*
*
Return Codes
Table 3-35
Code
Description
At least one job was not ordered because of: missing calendar,
PREV or NEXT date conditions missing, Exit1 cancelled the
order, or no job orders were requested
8 and above
Operation failed
3-73
3-74
Parameters
The following parameters can be specified for the CTMJSA utility:
Table 3-36
CTMJSA Parameters
Parameter
Description
ODATE
Note: You must specify either the FROMDATE and TODATE pair of parameters, or
the CLEANUP parameter.
FROMDATE
Date from which to accumulate statistical data from the IOA Log
file. Mandatory if the TODATE parameter is specified.
The date can be a specific date (in mmddyy, ddmmyy or yymmdd
format, depending on the site standard), or a relative negative
number (including 0) of days from the date specified in
parameter ODATE.
TODATE
Date until which to accumulate statistical data from the IOA Log
file. Mandatory if the FROMDATE parameter is specified.
The date can be a specific date (in mmddyy, ddmmyy or yymmdd
format, depending on the site standard), or a relative negative
number (including 0) of days from the date specified in
parameter ODATE.
CLEANUP
Date from which to keep records. Records that have not been
updated on or after the specified date are deleted from the
Statistics file.
The date specified for this parameter can be a specific date (in
mmddyy, ddmmyy, or yymmdd format, depending on the site
standard) or an AutoEdit variable that resolves to a specific date.
3-75
The statistical accumulation for the above example always works on jobs that
have executed from three days ago until the day before today. The same jobs
data is not accumulated twice.
Note:
JSA921I
JSA909I
JSA909I
JSA909I
JSA909I
JSA909I
JSA909I
JSA909I
JSA909I
JSA909I
JSA909I
JSA909I
JSA909I
JSA922I
ACCUMULATION
JOB @BR14
JOB CTMJSA
JOB IEBGEN
JOB IEFBR14
JOB ISRA2MEM
JOB JOBA
JOB JSA514
JOB NJER
JOB QM12A
JOB QM17D
JOB RUNCTMJS
JOB TAPE22
ACCUMULATION
REMOVED
REMOVED
REMOVED
REMOVED
REMOVED
REMOVED
REMOVED
REMOVED
REMOVED
REMOVED
REMOVED
REMOVED
3-76
Both CTMRAFL and CTMRFLW provide a Job Flow report and a Cross
Reference.
The reports have almost identical report output (in text format).
The basic differences between the report outputs of utilities CTMRAFL and
CTMRFLW are
Report CTMRAFL provides the Job Flow report in text format only;
therefore the graphic format parameters of report CTMRFLW do not
apply to report CTMRAFL.
3-77
The first step produces the regular CTMRPLN report. For more details
about this report, see CTMRPLN Job Plan Report on page 3-106.
The second step produces calendars for the job schedules analyzed by the
first step. The calendars are written to the library referenced by
DD statement DACAL (of the second step). The sample utility is
supplied with the library prefix.version.CALJOB, which is not
automatically allocated during CONTROL-M installation.
If multiple jobs exist with the same name, each job causes the program to
assign a unique calendar name. To maintain cross-references between job and
calendar names, a DAXREF file is created that cross-references every
calendar to its corresponding job name.
When PARM=MERGE is specified in the JCL EXEC statement of the
second step, jobs with the same name create only one calendar containing all
schedule days merged from all jobs with the same name.
When PARM=REPLACE is specified in the JCL EXEC statement of the
second step, jobs with the same name cause any pre-existing calendars with
that name to be replaced.
Parameters
The parameters for the first step of the utility are identical to the parameters
for utility CTMRPLN. For more information on these parameters, see
CTMRPLN Job Plan Report on page 3-106.
Note:
For parameter REPTYPE, only report types 0S, 1S, and 2S are valid
for use in this utility.
3-78
Return Codes
Table 3-37
Code
Description
Other
Operation failed
3-79
The Simulation and Forecasting facility does not use this utility;
instead it releases the resources only at the end of job execution.
Therefore, actual production results may be better than the
simulation results.
If the CONTROL-M Resources file is shared across multiple CPUs,
use an enqueue manager (such as MIM or GRS) to prevent
simultaneous update of the file. For more information, see the
description of the QNAME and SHRQNAM parameters in the IOA
installation chapter of the INCONTROL for OS/390 and z/OS
Installation Guide.
3-80
Parameters
Parameters can be received by the utility in two ways: using DD statement
DARELIN (or SYSIN) or using PARM=...
Multiple commands can be specified in the same control statement.
Parameters can be specified in either of the following formats:
RELEASE RESOURCE res-name-1 quant-1; res-name2 quant-2; ...
or
CHANGE RESOURCE res-name-1 quant-1; res-name-2 quant-2; ...
or
DELETE CONTROL cntl-res CONTROL-type
where:
When the RELEASE format is used, the specified quantity is deducted from
the resources allocated to the job.
When the CHANGE format is used, the quantity of resources allocated to the
job is changed to the specified quantity.
When the DELETE format is used, the specified resource is deleted that is
under the specified type of control.
Example
Assume 10 initiators (INIT) are allocated to a job:
3-81
Figure 3-20
PARMCOND
PARMCNDE
PARMCNDA
Note:
LA
L
BALR
LTR
BNZ
...
DC
DC
EQU
DC
R1,PARMCNDA
R15,=V(CTMRLR)
R14,R15
R15,R15
ERROR
AL2(PARMCNDE-PARMCOND)
RELEASE RESOURCE ADABAS-POWER 0005
*
A(PARMCOND)
Return Codes
Table 3-38
Code
Description
12
other
Operation failed.
3-82
3-83
Return Codes
Table 3-39
Code
Description
12
3-84
Table 3-40
Format
Description
Text format
Chart format
Note:
CTMRFLW Formats
3-85
By default, the number of lines in a report page is 60. This default can be
modified in the EXEC statement.
Furthermore, by default, all jobs in the scheduling tables are included in
the report. This default can be modified in the EXEC statement by
specifying a successor or a predecessor job:
CTMRFLW Parameters
Parameter
Description
LINECNT
Number of lines per report page. This parameter does not impact
the chart format. Default: 60.
SUCCESR
PREDESR
3-86
Report Parameters
Report parameters are optional. They are supplied using DD statement
DAFLWPRM (or SYSIN).
Table 3-42
Parameter
Description
JOBSDD ddname
DD name of the library. If specified, all members of the library are processed
by the utility (unless limited by the TABLES parameter). This makes it
unnecessary to specify a concatenation of DD statements (one statement for
each table) in the JCL.
GROUP [ALL|UNITED|
groupname]
Indicates which groups to include in the report, and the sort order of
information included. Valid values are:
ALL Sorts the jobs according to group as defined in parameter GROUP in
the job scheduling definitions. Jobs are displayed in order of execution within
each group. Default.
UNITED All jobs in the scheduling tables are considered as one group.
Jobs are displayed in order of execution.
Groupname Includes the jobs of only the groups specified. Up to 20
groups can be specified, each on a different GROUP line. Jobs are
displayed in order of execution within each group. Do not specify group
names if ALL or UNITED is specified.
Character masking of specified group names is supported, as follows:
? represents any one character.
* represents any number of characters (including no characters).
CONTROLO
JOBFLOW
XREFCOND
REPORT
XREFCNTL
XREFQUANT
CHART [YES|NO]
Indicates the type of report to print. Each REPORT line can contain only one
report type, but multiple REPORT lines can be specified. If no REPORT lines
are specified, all report types are printed. Valid values:
JOBFLOW Job Flow report
XREFCOND Cross Reference list prerequisite conditions
XREFCNTL Cross Reference list control resources
XREFQUANT Cross Reference list quantitative resources
Indicates whether to print the Job Flow report in Graphic (chart) format. Valid
values are:
YES Produce a chart in addition to the Job Flow report.
NO Produce only the Job Flow report. Default.
Note: The following parameters apply only if CHART YES is specified (that is,
the chart is to be produced).
3-87
Table 3-42
Parameter
Description
PRINTER [LASER|IMPACT]
FONT font_code
Valid only if PRINTER LASER is specified. FONT affects the quality and type
of drawing in the chart. Valid font codes:
1 Fine line.
2 Medium line. Default.
3 Heavy line.
4 Very small characters.
9 High quality IBM character set. This font is not available at all IBM sites.
Contact your IBM representative if you do not have this font.
LINESIZE col_num
MAXCARDS num_rcds
PAGESIZE line_no
PAGESEQ [YES|NO]
A chart can exceed the physical page size of the paper in width and in length.
In such cases, the chart is printed on multiple pages of paper. Use the
PAGESEQ parameter to assist in placing the physical pages in order. Valid
values are:
YES Default: Page location is printed on the upper-right corner of the chart
in the format:
PAGE = xx,yy
where:
xx Positional page number from the left side of the chart
yy Positional page number from the top of the chart
Example
PAGE = 01,02 indicates that the current page is the first page from the left
and the second from the top.
NO Page location is not printed.
TABLES tbl1,tbl2,...
3-88
EXEC
DD
DD
DD
DD
CTMRFLW
DISP=SHR,DSN=LIB(TABLE1)
DISP=SHR,DSN=LIB(TABLE2)
DISP=SHR,DSN=LIB(TABLE3)
DISP=SHR,DSN=LIB(TABLE4)
.
.
The following sample JCLs produce a Job Flow report in chart (as well as
text) format.
3-89
Example 1
Figure 3-21
//CTMRFLW
//DAJOB
//
//
//
CTMRFLW Example 1
EXEC
DD
DD
DD
DD
//DAFLWPRM DD
CHART YES
GROUP UNITED
PRINTER LASER
FONT 1
PAGESIZE 80
LINESIZE 160
//
CTMRFLW
DISP=SHR,DSN=LIB(TABLE1)
DISP=SHR,DSN=LIB(TABLE2)
DISP=SHR,DSN=LIB(TABLE3)
DISP=SHR,DSN=LIB(TABLE4)
.
.
.
*
Example 2
Figure 3-22
CTMRFLW Example 2
3-90
Figure 3-23
Figure 3-24 illustrates a sample Job Flow report in text format. A description
of the report fields follows.
Figure 3-24
DAILY-PROD-YH
===========================
LVL
MEMBER
DEPEND ON
DESCRIPTION
TYP CALENDR CMP,DAYS IN WEEK/MONTH GROUP DEPENDENT
MANUAL COND
TAPE
--------------------------------------------------------------------------------------+--------------------------------------------1 PRODYJCL
CREATE INPUT FILES # 2
M BANKDAYS
|
YH-INPUT-FILE-2-OK 0001
FROM 1700 UNTIL 0645 |
1 PRODYHC2
CREATE INPUT FILE # 2
M BANKDAYS
|
YH-INPUT-FILE-2-OK 0001
1 PROJYFOT
BEGIN OF EVENING PROCESS
M BANKDAYS
|
YH-START-EVENING-RUN
1 PROLYPAR
NIGHT INPUT COLLECTION # 1
M STOCKDAY
|
YH-NIGHT-INPUT-1-OK 0001
FROM 2300 UNTIL
|
1 PROLYPAG
NIGHT INPUT COLLECTION # 2
M DAYSOFF
|
YH-NIGHT-INPUT-2-OK 0001
FROM 2200 UNTIL
|
2 PRODYHTK PRODYJCL PROCESS INPUT DATA FOR
M BANKDAYS
|
PRODYHST
FROM 1000 UNTIL 1400 |
2 PRODYBCK PRODYHC2 PROCESS INPUT DATA FOR
M BANKDAYS
|
PRODYIDK
|
2 PROJYMRG PROJYFOT EVENING UPDATE PROCEDURE
M BANKDAYS
|
2 PROLYKLT PROLYPAR MERGE OF INPUT FILES
M BANKDAYS
|
0002
PROLYPAG
|
3 PRODYIDK PRODYBCK UPDATE # 1
M BANLDAYS
|
3 PROJYMTI PROJYMRG VERIFICATION PROCESS OF
M BANKDAYS
|
EVENING UPDATE
|
3 PROJYHO1 PROJYMRG SPECIAL CALCULATIONS FOR
M BANKDAYS
|
ACCOUNTING DEPARTMENT
|
3 PROJYDPY PROJYMRG UPDATE OF ON-LINE FILES
M BANKDAYS
|
3 PROLYUPD PROLYKLT NIGHT UPDATE PROCEDURE
M BANKDAYS
|
4 PRODYHST PRODYHTK UPDATE # 2
M BANKDAYS
|
PRODYIDK
FROM 1000 UNTIL 1445 |
4 PRODYIZN PRODYIDK REPORTS FOR BRANCH MANAGERS
M BANKDAYS
|
<+>4 PROJYHO2 PROJYHO1 REPORTS FOR ACCONTING
M-BANKDAYS
|
DEPARTMENT
|
4 PROJYDTK PROJYDPY REPORTS OF ON-LINE FILES
W BANKDAYS >1
|
4 PROJYDLI PROJYDPY CREATE DUAL ON-LINE FILE
W BANKDAYS >1<+>
|
4 PROLYMIZ PROLYUPD NIGHT UPDATE PROCEDURE - NEW M BANKDAYS
|
UPDATE
|
5 PRODYBTL PRODYHST REPORTS FOR BRANCHES
M BANKDAYS
|
FROM 1000 UNTIL 1445 |
5 PRODYEND PRODYIZN REPORTS FOR MAIN OFFICE
M BANKDAYS
|
5 PROYH11 PROJYDTK YH APPLICATION UPDATE
W BANKDAYS >1
|
PROJYDLI
|
5 PROLYBCK PROLYMIZ BACKUP MAIN FILE
M BANKDAYS
|
0001
5 PROLYFMZ PROLYMIZ REPORTS FOR MAIN OFFICE
M BANKDAYS L01
|
3-91
5
5
5
5
PROLYBCK
PROLYFMZ
PROLYBME
PROLYDM1
PROLYMIZ
PROLYMIZ
PROLYMIZ
PROLYMIZ
6 PROJYFIN PROJYDPY
6 PROLYDOC PROLYBCK
6 PROLYDEL PROLYFMZ
6 PROLYDM2 PROLYDM1
7 PROJYBNK PROJYFIN
8 PROJEND
PROJYBNK
M
M
M
M
BANKDAYS
BANKDAYS L01
BANKDAYS L01
BANKDAYS >01
M BANKDAYS
M BANKDAYS
M BANKDAYS L01
M BANKDAYS >01
M BANKDAYS
M BANKDAYS L01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0001
0001
0001
0001
Field
Description
LVL
Submission level of the job in the group. For example, 1 first job
in the group, 2 a job that depends on one (or more) jobs in
Level 1, and so on.
MEMBER
DEPEND ON
DESCRIPTION
TYPa
CALENDR
scheduling
data
The days in the month, or the days of the week, or specific dates,
or the name of the library to be checked for free space. If a time
limit is specified for the job, that appears, as well.
GROUP
DEPENDENT
MANUAL
COND
TAPE
M and W schedule types can be preceded by an AND sign (&) or an OR sign (|),
indicating AND/OR logic.
3-92
3-93
3-94
CONDITION
ODATE TYPE OPT
GROUP NAME
MEMBER
---------------------------------------------------------------------------------------+-----PROJ-FIN-MAY-GO
ODAT IN
DAILY-PROD-YH
PROJYFIN
PROJ-FIN-MAY-GO
ODAT OUT
+ DAILY-PROD-YH
PROYH11
PRCH-BCK-END
ODAT IN
DAILY-PROD-YH
PRODYIDK
PRCH-BCK-END
ODAT OUT
+ DAILY-PROD-YH
PRODYBCK
PRCH-BTL-END
ODAT OUT
+ DAILY-PROD-YH
PRODYBTL
PRCH-END-END
ODAT OUT
+ DAILY-PROD-YH
PRODYEND
PRCH-HTK-END
ODAT IN
DAILY-PROD-YH
PRODYHST
PRCH-HTK-END
ODAT OUT
+ DAILY-PROD-YH
PRODYHTK
PRCH-HTK-END
ODAT CODES + DAILY-PROD-YH
PRODYJCL
PRCH-IDK-END
ODAT IN
DAILY-PROD-YH
PRODYHST
PRCH-IDK-END
ODAT IN
DAILY-PROD-YH
PRODYIZN
PRCH-IDK-END
ODAT OUT
+ DAILY-PROD-YH
PRODYIDK
PRCH-IZN-END
ODAT IN
DAILY-PROD-YH
PRODYEND
PRCH-IZN-END
ODAT OUT
+ DAILY-PROD-YH
PRODYIZN
PRCH-JCL-END
ODAT IN
DAILY-PROD-YH
PRODYHTK
PRCH-JCL-END
ODAT OUT
+ DAILY-PROD-YH
PRODYJCL
JOBS-DHT-END
ODAT IN
DAILY-PROD-YH
PRODYBTL
JOBS-DHT-END
ODAT OUT
+ DAILY-PROD-YH
PRODYHST
JOBS-KLT-END
ODAT IN
DAILY-PROD-YH
PRODYBCK
JOBS-KLT-END
ODAT OUT
+ DAILY-PROD-YH
PRODYHC2
PROJ-BNK-END
ODAT IN
DAILY-PROD-YH
PROJEND
PROJ-BNK-END
ODAT OUT
+ DAILY-PROD-YH
PROJYBNK
PROJ-DLI-END
ODAT IN
DAILY-PROD-YH
PROYH11
PROJ-DLI-END
ODAT OUT
+ DAILY-PROD-YH
PROJYDLI
PROJ-DPY-END
ODAT IN
DAILY-PROD-YH
PROJYDTK
PROJ-DPY-END
ODAT IN
DAILY-PROD-YH
PROJYDLI
PROJ-DPY-END
ODAT IN
DAILY-PROD-YH
PROJYFIN
PROJ-DPY-END
ODAT OUT
+ DAILY-PROD-YH
PROJYDPY
PROJ-DTK-END
ODAT IN
DAILY-PROD-YH
PROYH11
PROJ-DTK-END
ODAT OUT
+ DAILY-PROD-YH
PROJYDTK
PROJ-FIN-END
ODAT IN
DAILY-PROD-YH
PROJYBNK
PROJ-FIN-END
ODAT OUT
+ DAILY-PROD-YH
PROJYFIN
PROJ-FOT-END
ODAT IN
DAILY-PROD-YH
PROJYMRG
PROJ-FOT-END
ODAT OUT
+ DAILY-PROD-YH
PROJYFOT
PROJ-HO1-END
ODAT IN
DAILY-PROD-YH
PROJYHO2
PROJ-HO1-END
ODAT OUT
+ DAILY-PROD-YH
PROJYHO1
PROJ-HO2-END
ODAT OUT
+ DAILY-PROD-YH
PROJYHO2
PROJ-MRG-END
ODAT IN
DAILY-PROD-YH
PROJYMTI
PROJ-MRG-END
ODAT IN
DAILY-PROD-YH
PROJYHO1
PROJ-MRG-END
ODAT IN
DAILY-PROD-YH
PROJYDPY
PROJ-MRG-END
ODAT OUT
+ DAILY-PROD-YH
PROJYMRG
PROJ-MTI-END
ODAT OUT
+ DAILY-PROD-YH
PROJYMTI
PROJ-RCV-UEGP
ODAT CODES + DAILY-PROD-YH
PROJYFOT
PRDL-BCK-END
ODAT IN
DAILY-PROD-YH
PROLYDOC
PRDL-BCK-END
ODAT OUT
+ DAILY-PROD-YH
PROLYBCK
PRDL-BME-END
ODAT OUT
+ DAILY-PROD-YH
PROLYBME
PRDL-DEL-END
ODAT OUT
+ DAILY-PROD-YH
PROLYDEL
PRDL-DMS-END
ODAT IN
DAILY-PROD-YH
PROLYDM2
PRDL-DMS-END
ODAT OUT
+ DAILY-PROD-YH
PROLYDM1
PRDL-DM2-END
ODAT OUT
+ DAILY-PROD-YH
PROLYDM2
PRDL-DOC-END
ODAT OUT
+ DAILY-PROD-YH
PROLYDOC
PRDL-FMZ-END
ODAT IN
DAILY-PROD-YH
PROLYDEL
PRDL-FMZ-END
ODAT OUT
+ DAILY-PROD-YH
PROLYFMZ
3-95
RESOURCE NAME
S/E GROUP NAME
MEMBER
---------------------------------------------------------------------------------------+--------HN.KDAM.INPUT
S DAILY-PROD-YH
PRODYHC2
PRAD-ADAKOV-M203UTIL
E DAILY-PROD-YH
PRODYBCK
PRAD-ADAKOV-M206UTIL
E DAILY-PROD-YH
PROLYBCK
PRAD-MPM203-IN-USE
S DAILY-PROD-YH
PRODYHST
PRAD-MPM203-IN-USE
S DAILY-PROD-YH
PRODYJCL
PRAD-MPM203-IN-USE
S DAILY-PROD-YH
PRODYBTL
PRAD-MPM203-IN-USE
S DAILY-PROD-YH
PRODYHC2
PRAD-MPM203-IN-USE
S DAILY-PROD-YH
PRODYBCK
PRAD-MPM203-IN-USE
S DAILY-PROD-YH
PRODYIDK
PRAD-MPM203-IN-USE
S DAILY-PROD-YH
PRODYIZN
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PRODYHC2
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJYFOT
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJYMTI
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJYHO1
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJYHO2
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJYDPY
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJYDTK
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJYDLI
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJYFIN
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJYBNK
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROJEND
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROLYKLT
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROLYUPD
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROLYMIZ
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROLYBCK
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROLYDOC
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROLYFMZ
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROLYDEL
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROLYDM2
PRAD-MPM206-IN-USE
S DAILY-PROD-YH
PROLYDM1
PRAD-M206F093-IN-USE
S DAILY-PROD-YH
PROJYDPY
PRAD-M206F093-IN-USE
S DAILY-PROD-YH
PROJYDTK
PRAD-M206F093-IN-USE
S DAILY-PROD-YH
PROJYDLI
PRAD-M206F093-IN-USE
S DAILY-PROD-YH
PROLYKLT
PRAD-M206F093-IN-USE
S DAILY-PROD-YH
PROLYUPD
PRAD-M206F093-IN-USE
S DAILY-PROD-YH
PROLYDOC
PRAD-M206F093-IN-USE
S DAILY-PROD-YH
PROLYFMZ
PRPR-ADAKOV-M203F008
S DAILY-PROD-YH
PRODYHC2
PRPR-ADAKOV-M203F021
E DAILY-PROD-YH
PRODYHC2
PRPR-ADAKOV-M203F021
E DAILY-PROD-YH
PRODYBCK
PRPR-ADAKOV-M203F021
E DAILY-PROD-YH
PRODYIDK
PRPR-ADAKOV-M203F022
E DAILY-PROD-YH
PRODYHC2
PRPR-ADAKOV-M203F022
E DAILY-PROD-YH
PRODYBCK
PRPR-ADAKOV-M203F022
E DAILY-PROD-YH
PRODYIDK
PRPR-ADAKOV-M203F023
E DAILY-PROD-YH
PRODYHC2
PRPR-ADAKOV-M203F023
E DAILY-PROD-YH
PRODYBCK
PRPR-ADAKOV-M203F023
E DAILY-PROD-YH
PRODYIDK
PRPR-ADAKOV-M203F024
E DAILY-PROD-YH
PRODYHC2
PRPR-ADAKOV-M203F024
E DAILY-PROD-YH
PRODYBCK
PRPR-ADAKOV-M203F024
E DAILY-PROD-YH
PRODYIDK
PRPR-ADAKOV-M203F024
S DAILY-PROD-YH
PRODYHST
PRPR-ADAKOV-M203F025
E DAILY-PROD-YH
PRODYBCK
PRPR-ADAKOV-M203F025
E DAILY-PROD-YH
PRODYIDK
3-96
RESOURCE NAME
NUMBER GROUP NAME
MEMBER
-------------------------------------------------------------------------------------+----------INIT-E
0001 DAILY-PROD-YH
PRODYEND
INIT-E
0001 DAILY-PROD-YH
PROLYPAR
INIT-E
0001 DAILY-PROD-YH
PROLYPAG
INIT-U
0001 DAILY-PROD-YH
PRODYHTK
INIT-U
0001 DAILY-PROD-YH
PROJYFOT
INIT-U
0001 DAILY-PROD-YH
PROJYHO1
INIT-U
0001 DAILY-PROD-YH
PROJYHO2
INIT-U
0001 DAILY-PROD-YH
PROJYDTK
INIT-U
0001 DAILY-PROD-YH
PROJYFIN
INIT-W
0001 DAILY-PROD-YH
PRODYIZN
INIT-W
0001 DAILY-PROD-YH
PROJYMRG
INIT-W
0001 DAILY-PROD-YH
PROJYMTI
INIT-W
0001 DAILY-PROD-YH
PROJYDPY
INIT-W
0001 DAILY-PROD-YH
PROJYDLI
INIT-W
0001 DAILY-PROD-YH
PROJYBNK
INIT-W
0001 DAILY-PROD-YH
PROJEND
INIT-W
0001 DAILY-PROD-YH
PROLYKLT
INIT-W
0001 DAILY-PROD-YH
PROLYUPD
INIT-W
0001 DAILY-PROD-YH
PROLYMIZ
INIT-W
0001 DAILY-PROD-YH
PROLYBCK
INIT-W
0001 DAILY-PROD-YH
PROLYFMZ
INIT-W
0001 DAILY-PROD-YH
PROLYDEL
MPM203
0001 DAILY-PROD-YH
PRODYHST
MPM203
0001 DAILY-PROD-YH
PRODYJCL
MPM203
0001 DAILY-PROD-YH
PRODYBTL
MPM203
0001 DAILY-PROD-YH
PRODYHC2
MPM203
0001 DAILY-PROD-YH
PRODYBCK
MPM203
0001 DAILY-PROD-YH
PRODYIDK
MPM203
0001 DAILY-PROD-YH
PRODYIZN
MPM206
0001 DAILY-PROD-YH
PRODYHC2
MPM206
0001 DAILY-PROD-YH
PROJYFOT
MPM206
0001 DAILY-PROD-YH
PROJYMTI
MPM206
0001 DAILY-PROD-YH
PROJYHO1
MPM206
0001 DAILY-PROD-YH
PROJYHO2
MPM206
0001 DAILY-PROD-YH
PROJYDPY
MPM206
0001 DAILY-PROD-YH
PROJYDTK
MPM206
0001 DAILY-PROD-YH
PROJYDLI
MPM206
0001 DAILY-PROD-YH
PROJYFIN
MPM206
0001 DAILY-PROD-YH
PROJYBNK
MPM206
0001 DAILY-PROD-YH
PROJEND
MPM206
0001 DAILY-PROD-YH
PROLYKLT
MPM206
0001 DAILY-PROD-YH
PROLYUPD
MPM206
0001 DAILY-PROD-YH
PROLYMIZ
REEL
0001 DAILY-PROD-YH
PROLYKLT
REEL
0001 DAILY-PROD-YH
PROLYFMZ
TAPE
0001 DAILY-PROD-YH
PRODYJCL
TAPE
0001 DAILY-PROD-YH
PRODYHC2
TAPE
0001 DAILY-PROD-YH
PROLYPAR
TAPE
0001 DAILY-PROD-YH
PROLYPAG
TAPE
0001 DAILY-PROD-YH
PROLYBCK
TAPE
0001 DAILY-PROD-YH
PROLYBME
3-97
Parameters
Table 3-44
CTMRNSC Parameters
Parameter
Description
REPSTART yymmddhhnn
REPEND yymmddhhnn
ENDTIMEISTARTIME
ENDTIMEIGROUP
SORTBY GROUPiENDTIME
GROUPiSTARTIME
STARTTIMEiGROUP
STARTTIMEiENDTIME
Example of JCL
//RNSC
EXEC CTMRNSC
//DALOGIN DD
...
A log file.
The input of the report is a file in the format of the IOA Log file. It can be the
IOA log (for a report of last nights schedule) or the Simulation log (for a
report of a forecasted night schedule).
3-98
Example of Instructions
Figure 3-29
REPSTART 0005061600
REPEND
0005062300
SORTBY
STARTTIME ENDTIME
15.08.00 NSC391I NIGHT SCHEDULE REPORT STARTED
REPSTART 0005062000
REPEND
0005062200
SORTBY
STARTTIME ENDTIME
15.08.07 NSC393I NIGHT SCHEDULE REPORT ENDED
PRODUCED BY CONTROL-M (6.0.00)
NIGHT SCHEDULE REPORT
FROM 00/05/06-20:00
BMC SOFTWARE, INC.
=====================
UNTIL 00/05/06-22:00
MEMBER
JOBNAME
JOBID STARTED
ENDED
ELAPSED GROUP-NAME
CPUTIME SYSID
BRIVPCC
BRIVPCC
03370 05/06/00-20:00 05/06/00-20:35
35:12 BR-PRODUCTION
2:16.02 SYS1
BRCC0001 BRCC0001 03381 05/06/00-20:01 05/06/00-20:46
46:27 BR-PRODUCTION
4:02.03 SYS1
BRCC0002 BRCC0002 03409 05/06/00-20:01 05/06/00-20:19
18:41 BR-PRODUCTION
1:00.05 SYS2
BRCC0003 BRCC0003 03414 05/06/00-20:06 05/06/00-20:16
10:02 BR-PRODUCTION
0:42.43 SYS1
PRUPDT02 PRUPDT02 03483 05/06/00-20:08 05/06/00-20:23
15:36 PR-APPLICATION
1:15.28 SYS2
CRCCEND
CRCCEND
03484 05/06/00-20:13 05/06/00-20:23
20:01 CR-GROUP
2:19.31 SYS2
INTR0001 INTR0001 03577 05/06/00-20:13 05/06/00-21:01
48:19 INTER-APPLICATION
5:16.06 SYS2
INTR0002 INTR0002 03578 05/06/00-20:13 05/06/00-20:19
6:58 INTER-APPLICATION
0:26.52 SYS2
BRCCIND
BRCCIND
03601 05/06/00-20:19 05/06/00-20:31
12:17 BR-PRODUCTION
0:21.26 SYS2
BRUPDT02 BRUPDT02 03618 05/06/00-20:44 05/06/00-21:20
36:10 BR-PRODUCTION
3:47.20 SYS1
BRREP001 BRREP001 03617 05/06/00-20:45 05/06/00-21:02
17:34 BR-PRODUCTION
2:42.51 SYS1
BRREP002 BRREP002 03625 05/06/00-20:45 05/06/00-20:57
12:03 BR-PRODUCTION
1:37.24 SYS2
PRDKPL01 PRDKPL01 03627 05/06/00-20:52 05/06/00-21:25
33:48 KPL-PRODUCTION
4:45.25 SYS1
PRDKPL02 PRDKPL02 03628 05/06/00-21:11 05/06/00-21:27
16:51 KPL-PRODUCTION
2:59.37 SYS2
CRSREF
PRCRREF
03638 05/06/00-21:11 05/06/00-21:36
25:00 USER-CROSS REF
6:14.02 SYS2
BRIVPCCE BRIVPCCE 03869 05/06/00-21:12 05/06/00-21:57
45:14 BR-PRODUCTION
2:01.54 SYS1
INTR0003 INTR0003 03917 05/06/00-21:15 05/06/00-21:59
44:43 INTER-APPLICATION
1:39.49 SYS2
INTR0004 INTR0004 03923 05/06/00-21:15 05/06/00-21:16
1:36 INTER-APPLICATION
0:05.86 SYS2
PRYHINP
PRYHINP
03929 05/06/00-21:24 05/06/00-21:40
16:35 YH-DAILY-PRODUCTION
2:05.83 SYS2
SORTBY
STARTTIME ENDTIME
3-99
By running the report in the morning, the operations manager can get a
picture of the production workload from the night before, and assess the
need for adjustments to the job flow.
For specified intervals within a time range, the graph indicates whether
any job executions for the group occurred during the interval.
An asterisk (*) indicates job execution for the group during the time
interval. A blank space indicates no job execution for the group during
the interval.
Single mode
Each group is represented on one line. For each group, no more than one
* can appear in each time interval. An * indicates that at least one job in
the group was executing during that time interval.
Parallel mode
The number of lines representing each group varies. For each group, the
number of asterisks within a time interval varies according to the number
of jobs in the group executing in that interval. Multiple asterisks for the
same group and time interval appear on successive lines.
3-100
Note:
Multiple asterisks for a time interval (in the same or different group)
do not necessarily indicate simultaneous execution. They can
indicate separate execution times within the same interval.
Input for the report is extracted from either the IOA Log file (for actual
execution results) or the Simulation log (for forecasted results).
Report parameters are supplied using DD statement SYSIN (or
DAOGRPRM). Columns 73 through 80 of each card are ignored.
Parameters
Note:
Table 3-45
CTMROGR Parameters
Parameter
Description
REPSTART yymmddhhmm
REPEND yymmddhhmm
INTERVAL nn
MODE {SINGLE|PARALLEL}
GROUP {groupname|ALL}
3-101
Example of JCL
Figure 3-30
//CTMROGR
//DALOGIN
//DAOGRPRM
CTMROGR Example
EXEC
CTMROGR
DD
. . .
A log file
DD
*
REPSTART 0005062000
REPEND 0005072300
INTERVAL 05
MODE PARALLEL
GROUP ALL
//
PRODUCED BY CONTROL-M 6.0.00
BMC SOFTWARE, INC.
MODE DISPLAYED: SINGLE
START END
ELAPSED
GROUP NAME
TIME TIME
TIME
<..12..13..14..15..16..17..18..19..20..21..22..23..00..01..02..03..04..05..06..07..08..09..10..>
-----------------------------------------<---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|--|-->
BR-COND-UPDATE
13:40 05:34
954
*
** *
BR-GENERAL
13:00 07:23
1103
****
*
**
*
* **************
PR-BATCH-JOBREQ
07:02 07:05
3
*
PROD-KPL-ALOC001
19:34 03:47
493
*
*
PROD-KPL-ALOC002
19:31 03:32
481
*
*
PROD-KPL-FREE001
19:24 01:02
338
*
*
PROD-KPL-FREE002
18:23 02:46
503
*
*
PROD-KPL-FREE003
18:23 00:00
337
*
* *
PROD-KPL-FREE004
18:23 06:00
697
*
*
PROD-CONTROLD
12:00 12:02
2
*
PR-CICSP-ALOC001
18:33 23:55
322
*
*
PR-CICSP-ALOC002
18:33 23:55
322
*
*
PR-CICSP-ALOC003
18:34 23:55
321
*
*
PR-CICSP-ALOC004
18:34 00:12
338
*
*
PR-CADACAD3
04:04 04:04
*
PR-CADACAD6
04:16 04:16
*
PR-CADACMC6
02:11 02:11
*
PR-CADAC186
18:30 18:39
9
*
PR-CADAOAD3
04:38 04:38
*
PR-CADAOAD6
05:36 05:36
*
PR-CADAOMC6
02:25 02:25
*
PR-JOBDAILY-1
17:00 07:01
841
*
*
Q-PR-CLOCK
04:00 04:02
2
*
Q-PR-CONTM
03:01 08:00
299
*
Q-PR-EADA-BACKUP
16:14 06:48
874
***
************
******
**
* * **
Q-PR-EADA-CHEKPOINT 07:30 08:07
37
***
Q-PR-GENERAL
16:00 06:51
891
*
**
* ******
Q-PR-INITS
14:52 08:10
1038
*
**
* *
*** *
PRODUCED BY CONTROL-M 6.0.00
OVERNIGHT EXECUTION GRAPH
BMC SOFTWARE, INC.
=========================
FROM 00/05/06 11:15 UNTIL 00/05/07-10:30
MODE DISPLAYED: PARALLEL
IN 15 MINUTE INTERVALS
START END
ELAPSED
GROUP NAME
TIME TIME
TIME
<..12..13..14..15..16..17..18..19..20..21..22..23..00..01..02..03..04..05..06..07..08..09..10..>
---------------------------------------<---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|-->
BR-COND-UPDATE
13:40 05:34
954
*
BR-GENERAL
13:00 07:23
1103
PR-BATCH-JOBREQ
07:02 07:05
PROD-KPL-ALOC001
PROD-KPL-ALOC002
PROD-KPL-FREE001
PROD-KPL-FREE002
PROD-KPL-FREE003
PROD-KPL-FREE004
PROD-CONTROLD
19:34
19:31
19:24
18:23
18:23
18:23
12:00
03:47
03:32
01:02
02:46
00:00
06:00
12:02
493
481
338
503
337
697
2
PR-CICSP-ALOC001
PR-CICSP-ALOC002
18:33 23:55
18:33 23:55
322
322
***
* *
* *
***
***
*
*
*
**
*
*
*
*
*
*
*
*
*
*
*
*
*
**
*
*
*
*
**
*
*
*
*
*
*
*
*
** *
*
* ***** * ******
****** **
*
*** * *
** * *
*** * *
*
* *
*
* *
*
*
** *
***
**
*
*
*
*
*
*
* *
*
*
*
*
*
*
*
*
3-102
PR-CICSP-ALOC003
PR-CICSP-ALOC004
PR-CADACAD3
PR-CADACAD6
PR-CADACMC6
PR-CADAC186
18:34
18:34
04:04
04:16
02:11
18:30
23:55
00:12
04:04
04:16
02:11
18:39
321
338
PR-CADAOAD3
PR-CADAOAD6
PR-CADAOMC6
PR-JOBDAILY-1
04:38
05:36
02:25
17:00
04:38
05:36
02:25
07:01
841
Q-PR-CLOCK
Q-PR-CONTM
Q-PR-EADA-BACKUP
04:00 04:02
03:01 08:00
16:14 06:48
2
299
874
Q-PR-EADA-CHEKPOINT
07:30 08:07
37
Q-PR-GENERAL
16:00 06:51
891
Q-PR-INITS
14:52 08:10
1038
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
***
************
*
**
****
***
*
**
*
* * *
**
*
***
*
*
**
**
**
*
*
*
*
*
*
* * ****
*****
***
**
*
*
*
*
*
3-103
Feature
Description
CTMRPLN
Produces a list of all jobs that are planned for a specified date
range. However, this report does not contain job flow information.
CTMRFLW
CTMRAFL
Produces a job flow report for all jobs currently in the Active Jobs
file.
Utility CTMRPFL uses the same parameters as, and combines the features
of, utility CTMRPLN and CTMRFLW, as follows:
Utility CTMRPFL can generate the same reports (Job Flow, Cross Reference)
in the same formats (text, chart) as utility CTMRFLW.
Utility CTMRPFL also generates a report identical to the CTMRPLN report.
(This report output can be suppressed. However, the list required as input for
the job flow report is generated.)
Utility CTMRPFL receives two sets of parameters:
3-104
Note:
Example JCL
A sample job can be found in member CTMRPFL in the CONTROL-M JCL
library.
Figure 3-31
CTMRPFL Example
//DAPLNJOB DD DISP=SHR,DSN=scheduling-library(table1)
//
DD DISP=SHR,DSN=scheduling-library(table2)
.
.
.
//SYSIN1
DD *
REPSTART 000808
REPEND
000808
REPTYPE 2S
//SYSIN2
DD *
GROUP
UNITED
CHART
YES
PAGESEQ YES
PAGESIZE 60
LINESIZE 160
PRINTER IMPACT
//
3-105
Parameters
Table 3-47
Parameter
Description
REPSTART
yymmdd
REPEND yymmdd
REPTYPE n
JOBSDD ddname
SORTBY
{MEMNAME|
GROUP}
3-106
Table 3-47
Parameter
Description
IGNORE
CALENDAR
calname
Example of JCL
A sample job can be found in member CTMRPLN in the CONTROL-M JCL
library.
Figure 3-32
//PLAN
//DAPLNJOB
//
//
CTMRPLN Example
EXEC
DD
DD
DD
//DAPLNPRM DD
CTMRPLN
DISP=SHR,DSN=scheduling-library(table1)
DISP=SHR,DSN=scheduling-library(table2)
DISP=SHR,DSN=scheduling-library(table3)
.
.
.
*
3-107
000501
000530
0
MEMNAME
FROM 000501
================
MEMNAME
GROUP
DESCRIPTION
--------------------------------------------------------------------------------
BRCCIND
BR-IVP-CC
PREPARE SPECIAL UPDATE INFO
BRCC0001 BR-IVP-CC
PERFORM QUALITY CHECKING ON INPUT DATA PROD1-A
BRCC0002 BR-IVP-CC
COLLECT INPUT DATA SETS FOR PROD1-B EXECUTION
BRCC0003 BR-IVP-CC
FINAL INPUT DATA SETS VARIFICATION
BRIVPCC
BR-IVP-CC
COLLECT INPUT DATA SETS FOR PROD1-A EXECUTION
BRIVPCCE BR-IVP-CC
UPDATE JOB OF EXTRA BALANCING
BRREP001 BR-IVP-CC
PRODUCE SUM REPORTS
BRREP002 BR-IVP-CC
PRODUCE SPECIAL REPORTS
BRUPDT02 BR-IVP-CC
UPDATE JOB
CRCCEND
BR-IVP-CC
NOTIFY END OF PRODUCTION PROCESS
MTFIT01
MT-PRODUCTION
MT INPUT RUN # 1
MTFIT02
MT-PRODUCTION
MT INPUT RUN # 2
MTFIT03
MT-PRODUCTION
MT INPUT RUN # 3
MTFIT04
MT-PRODUCTION
MT INPUT RUN # 4
MTFIT05
MT-PRODUCTION
MT INPUT RUN # 5
MTFRTH01 MT-PRODUCTION
MT MERGE INPUT FILES
MTRUN001 MT-PRODUCTION
MT UPDATE - FIRST RUN
MTRUN002 MT-PRODUCTION
MT UPDATE - SECOND RUN
MTTRD02
MT-PRODUCTION
MT REPORTS
MTUPDT
MT-PRODUCTION
MT UPDATE TO ON-LINE FILES
PRDDRPT1 PROD-KPL
REPORTS AFTER PRODUCTION UPDATES FOR PROD-KPL
PRDDRPT2 PROD-KPL
REPORTS AFTER PRODUCTION EXECUTION FOR PROD KPL
PRDKPLW1 PROD-KPL
WEEKLY PRODUCTION INPUT FILES FROM PROD-KPL #1
PRDKPLW2 PROD-KPL
WEEKLY PRODUCTION UPDATE OF PROD-KPL #2
PRDKPLW3 PROD-KPL
WEEKLY PRODUCTION UPDATE OF PROD-KPL #3
PRDKPLW4 PROD-KPL
WEEKLY EXECUTIONS AFTER DAILY FROM PROD-KPL
PRDKPL01 PROD-KPL
DAILY PRODUCTION - START OF APPL-PROD-KPL
PRDKPL02 PROD-KPL
DAILY PRODUCTION - COLLECT TAPE FILES OF PROD-KPL
PRDTT001 PR-PRODUCTION
TAPE COLLECTION FOR PR PRODUCTION
PRERRPRT PR-PRODUCTION
ERROR REPORTS FOR APPLICATION PR
PRFKL01
PR-PRODUCTION
STATISTICS REPORTS FOR PR APPLICATION
PRUPDOLV PR-PRODUCTION
UPDATE ON-LINE REPORTS
3-108
000501
000530
0S
MEMNAME
JOB
PLAN REPORT
================
REPSTART 000501
REPEND
000530
REPTYPE 2S
SORTBY
MEMNAME1
PRODUCED BY CONTROL-M 6.0.00
BMC SOFTWARE, INC.
JOBS PLANNED FOR 01 2000
JOB
PLAN REPORT
FROM 000105 UNTIL 000105
================
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17
20 21 22 23 24 25 26 27 28 29 30 31
TABLE
LIBRARY
SA SU MO TU WE TH FR SA SU MO TU WE TH FR SA SU MO
TU WE TH FR SA SU MO TU WE TH FR SA SU MO
-----------------------------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-IEBCOPY1 TABLE1
CTMP.PROD.SCHEDULE
*
18
19
IEBGENE2 TABLE1
CTMP.PROD.SCHEDULE
IEFBR14
CTMP.PROD.SCHEDULE
TABLE1
JOB1
TABLE1
LONG
-----------------------------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-TABLE1
CTMP.PROD.SCHEDULE
*
MCHISH
TABLE1
NOTFIXED DEMO
CTMP.PROD.SCHEDULE
CTMP.PROD.SCHEDULE
CTMP.PROD.SCHEDULE
-----------------------------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+--
3-109
REPSTART 000501
REPEND
000530
REPTYPE 1S
SORTBY
MEMNAME
BRCCIND
BRCC0001
BRCC0002
BRCC0003
BRIVPCC
MTFIR01
MTFIT01
MTFIT02
MTFIT03
MTFIT04
MTFIT05
MTFRTH01
MTRUN001
MTRUN002
MTSCN01
MTTRD01
MTTRD02
MTUPDT
PRDDRPT1
PRDDRPT2
PRDKPLW1
PRDKPLW2
PRDKPLW3
PRDKPLW4
PRDKPL01
PRDKPL02
PRDTT001
PRDTT01
PRERRPRT
PRFKL01
PRPRTH01
PRRPT01
PRRPT02
PRRPT03
PRRPT04
PRRPT05
PRTRD01
PRTRD04
PRUPDOLV
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
MO TU WE TH FR SA SU MO TU WE TH FR SA SU MO TU WE TH FR SA SU MO TU WE TH FR SA SU MO TU
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|
| * | * | * | * | * |
|
| * | * | * | * | * |
|
| * | * | * | * | * |
|
| * | * | * | * | * |
|
| * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| * | * | * | * | * |
|
| * | * | * | * | * |
|
| * | * | * | * | * |
|
| * | * | * | * | * |
|
| * |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
| * | * | * |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| * |
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
| * |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
| * |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * | * | * | * | * |
| * | * |
3-110
Parameters
The following parameters are passed to the utility using the DD SYSIN file:
Table 3-48
Parameter
Description
ENDTIME
yyyymmddhhmmssth
3-111
Table 3-48
Parameter
Description
CONDITIONS
Example
A sample job can be found in the CTMRSTR member of the CONTROL-M
JCL library.
Restore the contents of the CONTROL-M Active Jobs file to the image it
contained at 12 noon on July 1, 2000. In addition, restore the prerequisite
conditions in the IOA Conditions file to the same point in time.
//RESTORE EXEC CTMRSTR
//SYSIN DD *
ENDTIME 200007011200000000
CONDITIONS YES
//
Return Codes
Table 3-49
Code
Description
12
16
3-112
the date specified in the DEFINITION ACTIVE UNTIL field of the job
scheduling definition has already passed
or
the dates specified in the SCHEDULE TAG ACTIVE UNTIL fields of all
job schedule tags in the group scheduling definition have already passed,
and the relationship between the schedule tags and the basic scheduling
criteria of the job is AND
Note:
where
member_name is the name of the library member containing the job table
that is to be cleaned
3-113
jobname is the name of each job in the job table that is to be cleaned
Either the full job name or a prefix followed by an * (asterisk) can be
specified. If this parameter is omitted, all the jobs in the table will be
eligible for cleanup.
date is the date, in the format used at your site, that will be used to
determine if a job is old
The default value of date is the current date.
Example
A sample job can be found in the CTMSLC member of the CONTROL-M
JCL library.
Remove all jobs with names that begin with JOB1 from table TABLE1 in
scheduling library CTM.SCHED.LIB, if they should be considered old by
010203.
//RESTORE EXEC PGM=CTMSLC,REGION=0M
//SYSIN DD *
CLEANUP DSNAME=CTM.SCHED.LIB,MEMBER=TABLE1,
JOB=JOB1*,DATE=010203,MODE=NORMAL
//
3-114
Return Codes
Table 3-50
Code
Description
12
16
20
Operation failed. Check the job output for messages that indicate
the cause of the problem.
3-115
Parameters
Selection Control Statement
where
3-116
The selection control statement must precede all update parameters, begin in
column 1, and be entirely contained in one record. Note the following points:
You can specify any, all, or none of the these parameters in any order in
the SEL statement.
Note:
Each parameter can appear no more than one time in any SEL statement,
and it can have no more than one value assigned to it. Prefix values can
be specified by placing an asterisk at the end of the value string. For
more information, see Utility Control Statements on page 3-126.
3-117
Update Parameters
You can update the fields shown in Table 3-51 by specifying the new desired
values in the following format:
parm_name=new_value
where
Note:
Table 3-51
Parameter
Col
Value
Description
APPL
1 through 20 characters
Application name
AUTOARC
Y (Yes) or N (No)
Archive SYSDATA
CATEGORY
1 through 20 characters
CONFCAL
1 through 8 characters
CONFIRM
Y (Yes) or N (No)
3-118
Table 3-51
Parameter
Col
Value
Description
DATES
DATES scheduling
DAYS
Scheduling days
DCAL
DESC
1 through 50 characters
Description of job
DOCLIB
1 through 44 characters
DOCMEM
1 through 8 characters
[+/-]hhmm
1 through 20 characters
Group name
INTERVAL
4 digits
INTERVAL-TYP
1 character: S, E, T
Interval type
S Start
E End
T Target
MAXDAYS
2 digits
Expiration period
MAXRERUN
3 digits
MAXRUNS
3 digits
MAXWAIT
2 digits
DUE-OUT
GROUP
MEMLIB
1 through 44 characters
MEMNAME
1 through 8 characters
1 through 8 characters
NJE-NODE
OVERLIB
1 through 44 characters
OWNER
1 through 8 characters
User-identification
PREVENT-NCT2
Y (Yes) or N (No) or F or L
PRIORITY
1 to 2 characters
Priority
RELATION
A or O
AND or OR relation
RETDAYS
3 digits
RETGENS
2 digits
RETRO
Retroactive selection
SCHENV
1 through 16 characters
SHIFT
SHIFT-EXT
3-119
Table 3-51
Parameter
Value
Description
SAC
SYSDB
Y (Yes) or N (No)
SYSTEM-ID
1 through 4 characters
SYSTEM-ID identifier
1 through 20 characters
TASKTYPE
3 characters
TIMEFROM
[+/-]hhmm
TIMEUNTIL
[+/-]hhmm,>
TIME-ZONE
3 characters
WCAL
WDAYS
TAG
Col
Notes
You can use a blank ( ) as the value for any parameter in Table
3-51, except for the MEMLIB, MEMNAME, and OWNER
parameters.
3-120
Category
Description
Condition or
Resource
Parameters
Miscellaneous
Parameters
where
3-121
When both parameters N and O are specified, the length of the name
value need not be the same for each of the parameters.
3-122
Format and valid values for subparameter qualifier are described immediately
below. Usage of these values, including question marks, is discussed later.
Subparameter Qualifier
3-123
3-124
Example
P=*
This value indicates that the character string in the condition or resource
name field that matches the name or string specified in parameter O= is
replaced by the name or string specified in parameter N=, regardless of
character position. In this case, multiple replacements can occur.
If, in attempting to replace a string with a longer string, and the condition
or resource name becomes longer than 20 characters, the change is not
performed.
Note:
3-125
Miscellaneous Parameters
The following parameters are used to add, update, or delete job scheduling
parameters that can occur multiple times in the job scheduling definition:
Table 3-53
Parameter
SETVAR
Description
The format of parameter SETVAR is
SETVAR=%%variable=var-value
If the variable name obtained by resolving %%variable is found in
the job scheduling definition, its original value is replaced by
var-value. Otherwise, a new SETVAR parameter is created by
setting the resolved variable name to var-value.
If var-value is null, the variable to which %%variable resolves is
deleted from the job scheduling definition.
MONTHS
Note:
Statement
Description
SCHDMAX=
nnnnn
SLINMAX=
nnnnn
3-126
Table 3-54
Statement
Description
ENDSEL
GENERIC-CHAR=
alt_char
Examples
Example 1
To make the above changes, place the following statements in the DAINPRM
file:
3-127
Figure 3-37
CTMTBUPD Example 1
SEL
DAYS=D7,-5,+9
WDAYS=L1,D2W3
PRIORITY=*5
CONTROL,N=(ENQUE-RES,S)
SETVAR=%%ABC=
MEMLIB=NEWPREF.*
TIMEFROM=+0100
ENDSEL
Example 2
To make the above changes, place the following statements in the DAINPRM
file:
Figure 3-38
CTMTBUPD Example 2
SEL TBL=QRS*,JOB=XYZ*
IN,N=(-,????),O=(_,????),P=*
OUT,N=(-,?????),O=(_,?????),P=*
RESOURCE,N=(CARTRIDGE,????),O=(TAPE,????),P=1
CONTROL,N=(SHARE_RES,S),O=(EXCLUSIVE_RES,E)
ENDSEL
Example 3
3-128
Specify that jobs are not scheduled in April and May. Do not change the
monthly scheduling criteria for any other months.
CTMTBUPD Example 3
SEL GRP=GROUP1,APPL=OLD*
APPL=NEW*
IN,N=(NEW-COND,PREV)
OUT,N=(OUT-COND,ODAT+),O=(OUT-COND,?????)
MONTHS=???NN???????
RESOURCE,O=(DISK3330,????),P=5
ENDSEL
Example 4
In all group scheduling definitions, in schedule tags whose names begin with
GRP-TAG change:
Table 3-55
D1P*
PERIODIC
blanks
blanks
CTMTBUPD Example 4
SEL
TAG=GRP-TAG*
DAYS=D1P*
DCAL=PERIODIC
CONFCAL=
MONTHS=
ENDSEL
3-129
DAXRFIN must be an 80-byte card image file and the control statements
must begin in column one. Embedded blanks are not allowed.
Statement
Description
CAL
3-130
Table 3-56
Statement
Description
CND
JOB
RES
LIB
TAG
TIM
3-131
Statement
Description
SCHDMAX=
nnnnnn
SLINMAX=
nnnnnn
All utility control statements must precede the first action statement.
Example
3-132
CONTROL-M 6.0.00
JOB-NAME/TABLE-NAME CROSS REFERENCE REPORT
BMC SOFTWARE, INC.
===================================================================
PAGE
JOBNAME
CYCLIC
DAILYPRD
DAILYSYS
DEMO1
DISKLOG1
DROOR
DUMMY
EMPTY
ENDEV*
ENDEVOR
EXIT2JOB
E05TEST1
FIRSTJOB
IEFBR14
T A B L E
DEMO
MAINDAY
MAINDAY
N86
ADABASM
N86
E01SCHED
DEMO
SENDEVOR
SENDEVOR
OPHIR4
E05TEST
N86
DANNY
N86
Figure 3-42
N A M E S
N88dsktp N88GRP
N88GRP1
CONTROL-M 6.0.00
RESOURCE NAME/JOB NAME CROSS REFERENCE REPORT
BMC SOFTWARE, INC.
===================================================================
PAGE
RESOURCE NAME
TYP TABLENAM JOB/RULE QU/ST TABLENAM JOB/RULE QU/ST TABLENAM JOB/RULE QU/ST
ASA
C N88TST
JOB13
E
N88TST
JOB63
E
N88TST1 JOB63
E
N88TST2 JOB13
E
N88TST2 JOB63
E
N88TST3 JOB63
E
N88TST4 JOB13
E
N88TST4 JOB63
E
CARTINIT
Q N88dsktp WAIT
0010 N88TEST WAIT
0010 N88TEST1
CONT1
C N88TST
JOB4
S
N88TST
JOB52
S
N88TST1 JOB52
S
N88TST2 JOB4
S
N88TST2 JOB52
S
N88TST3 JOB52
S
DBA-ADAFILE-12
C ADABASM BACKUP12 E
DBA-ADAFILE-7
C ADABASM BACKUPF7 E
ADABASM READF7
S
DISK-MVS003
C DEMO
BEACH
E
DORES
T MK
MKJOBARR 1111 MK
STR2
1111
DORES2
T MK
MKJOBARR 2222- MK
STR2
2222DORES3
T MK
MKJOBARR 0333+ MK
STR2
0333+
E02.NU1
C NU1
JOB1
E
NU1
JOB2
S
NU1
JOB2
S
C NU1
JOB2
E
NU1
JOB2
E
NU1
JOB2
E
Figure 3-43
CONTROL-M 6.0.00
CALENDAR NAME/JOB NAME CROSS REFERENCE REPORT
BMC SOFTWARE, INC. ===============================================================
CALENDAR TYP TABLENAM
ALLWEEK
W CALENDW
ALLYEAR
D CALENDY
CALENDM
HOLIDAY
C N88GRP
CONFC
C E01SCHED
DCAL
D E01SCHED
WCAL
W E01SCHED
WEEKCAL
W N88GRP
WORKDAYS W CALENWK
JOB/GRP
JOB3
VACN
NIS3
VACN
DUMMY
DUMMY
DUMMY
VACN
WKDAY
PAGE
TABLENAM JOB/GRP
TABLENAM JOB/GRP
TABLENAM JOB/GRP
TABLENAM JOB/GRP
N88TEST
N88TEST
N88TEST
N88TEST
N88TEST
N88TEST
IEFBR14
NIS4
JOB1
NIS5
JOB2
NIS1
3-133
Figure 3-44
CONTROL-M 6.0.00
SCHEDULE TAG/JOB NAME CROSS REFERENCE REPORT
BMC SOFTWARE, INC. ===============================================================
SCHEDULE TAG
A
JOB/GRP
A
T4
GRP1
GRP2
GRP3
GRP4
GRPTEST
TABLENAM JOB/GRP
ECSGRP
ECSGR1
GRP
T5
TABLENAM JOB/GRP
ECSGRP
J1
GRP
T6
N88GRP1
N88GRP1
PAGE
SCHEDTAG1000
SCHEDTAG1001
SCHEDTAG1002
SCHEDTAG1002
ALL
Figure 3-45
CTMXREF From - Until - Due Out Time or Job Name Cross Reference Report
IEFBR14
TABLE JOB/GRP
ECSGR
GRP
TABLENAM
A1
GRP
N88GRP
N88GRP
N88GRP
N88GRP
N88GRP1
TABLE JOB/GRP
IEFBR15
CONTROL-M 6.0.00
FROM
TIME/JOB NAME CROSS REFERENCE REPORT
** INTERVAL=60 MINUTES **
BMC SOFTWARE, INC. ===============================================================
PAGE
1
TIME
0000
0600
0800
1100
1400
1700
TABLENAM
ADABASM
MAINDAY
DEMO
N86
N88TST
TABLE01
JOB/GRP
NOMPM
CTMCLRES
BEACH
DEMO1
JOB100
BACKUPF7
TABLENAM JOB/GRP
N86
N88TST1
M37A
TABLENAM JOB/GRP
FIRSTJOB N86
JOB100
N88TST2
M37BR14
IEFBR14
JOB100
TABLENAM JOB/GRP
TABLENAM JOB/GRP
N88TST3
N88TST4
JOB100
JOB100
TABLENAM
MAINDAY
DEMO
M37A
N86
TABLE01
TABLENAM JOB/GRP
TABLENAM JOB/GRP
CONTROL-M 6.0.00
DUEOUT TIME/JOB NAME CROSS REFERENCE REPORT
** INTERVAL=60 MINUTES **
BMC SOFTWARE, INC. ===============================================================
PAGE
1
TIME
1200
1500
2000
TABLENAM
N86
N88GRP
N88TST
JOB/GRP
IEFBR14
QQQQ
JOB100
Figure 3-46
TABLENAM JOB/GRP
TABLENAM JOB/GRP
TABLENAM JOB/GRP
TABLENAM JOB/GRP
N88TEST
N88TST1
N88TEST
N88TST2
N88TST3
N88TST4
NIS4
JOB100
NIS5
JOB100
JOB100
CONTROL-M 6.0.00
CONDITION NAME CROSS REFERENCE REPORT
BMC SOFTWARE, INC. ===============================================================
CONDITION-NAME
+
%%APPLID-RUNNING
A
JOHN1-OK
JOHN2-OK
JOHN3-OK
ANG-1
ANG1WT1
ANG1WT1-OUT
JOB100
TABLE JOB/RUL/CAT O
E06QA
ANG1RD1 MI
SAMPLES CONTROL OT+
N88TST
JOB22
MC+
N88TST1 JOB42
MC+
M37A
M37BR14 MI
M37A
M37BR14 MI
M37A
M37BR14 MO+
E01ANLZ ANG1RD1 MI
E06QA
ANG1RD1 MI
E02OS390 ANG1RD1 MI
TABLE
JOB/RUL/CAT O
N88TST
N88TST1
M37A
M37A
JOB42
JOB72
M37BR14
M37BR14
E01ANLZ ANG1WT1
E06QA
ANG1RD2
E02OS390 ANG1RD2
TABLE
PAGE
JOB/RUL/CAT O
MC+ N88TST
MC+ N88TST1
MO+
MI M37A
TABLE
1
JOB/RUL/CAT O
JOB92
JOB22
MC+ N88TST1
MC+ N88TST2
M37BR1
MO+
MO+
MI E06QA
ANG1WT
MI E02OS390 ANG1WT
MO+
MO+
JOB22
JOB42
MC+
MC+
3-134
Figure 3-47
CONTROL-M 6.0.00
LIBRARY NAME/JOB NAME CROSS REFERENCE REPORT
BMC SOFTWARE, INC ===============================================================
LIBRARY NAME
*
CTL.DUMMY.LIB
CTM.V600.JCLP%%OMONTH.%%ODAY
CTMP.UPG5.DOC
DOC CTRDEMO
PRODJOB1 CTRDEMO
TYP TABLENAM
MEM ADABASM
MEM CTLJCLTB
MEM REPTS
DOC A1
ECSGRP
J2
PRODJOB2 CTRDEMO PRODJOB3
JOBNAME
DISKLOG1
CTLJOB
REPTSJ1
A
N88GRP
PAGE
ECSGRP
G3
SYSOUT CTMP.V600.DOC
3-135
Use the Job Dataset List utility (Online Utility option R3, described in
the CONTROL-M/Restart User Guide).
In either case, the Job Dataset list is generated in the Statistics file.
Parameters
Description
SCHEDLIB
TABLE
JOB
3-136
Table 3-58
Parameters
Description
WDATE
ODATE
SUBMIT
Example
Figure 3-48
CTMJDS Example
3-137
Step 2
Step 3
Step 4
Step 5
Perform step Format the Active Jobs File, and submit the job. This step
allocates and format a new AJF and its associated BKP, and you must make
sure you use different name for the newly formatted files.
Step 6
If DUALDB is active at your site, you must run step Format the Dual Active
Jobs file. Also, this step is necessary to allocate and format a new Dual AJF
based on the same AJF size.
Step 7
If Journaling is active at your site, you must run step Format the Journaling
Active Jobs file. Also, this step is necessary to allocate and format a new
Journal Active Jobs file based on the same AJF size.
Step 8
Rename the original AJF and its associated BKP files (and the ALTCKP and
CKPJNL, if you run steps 6 and/or 7 above), using any new name, then
rename the new AJF and BKP files (and ALTCKP and CKPJNL) to the
original file name.
Step 9
If you want to copy the contents of the old AJF, use utility CTMCAJF, and
set the appropriate old and new AJF files accordingly. There is no need to
copy the BKP, ALTCKP and CKPJNL files, since at startup CONTROL-M
takes care of these files.
Step 10
Resume all activities against the new files (meaning, start CONTROL-M
monitor, reenter IOA online environment, and so on.)
3-138
Return Codes
Table 3-59
Code
Description
3-139
Step 2
Step 3
Change parameter HSTSIZE with the new History Jobs file size
Step 4
Step 5
Perform step Format the History Active Jobs File, and submit the job. This
step allocates and formats a new HST file. The DD statement points to the
History Active Jobs file.
Step 6
Rename the original HST file, using any new name, then rename the new
HST file to the original file name.
Step 7
If you want to copy the contents of the old HST, use utility CTMHCOP, and
set the appropriate old and new HST files accordingly.
Step 8
Resume all activities against the new file (meaning, reenter IOA online
environment)
3-140
Return Codes
Table 3-60
Code
Description
3-141
3-142
34
Chapter 4
CONTROL-M/Analyzer
Utilities
4-1
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
CTBDBVDL Delete Variables or Groups from Variable or Group Files4-17
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
CTBDBVIG Check the Integrity of Variable or Group Files. . . . . . . . . 4-19
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
CTBFRM Compress the Active Balancing File . . . . . . . . . . . . . . . . . . . 4-21
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22
CTBJAFCP Copies Entries in Rule Activity or Report Files. . . . . . . . . 4-23
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23
INCLUDE / EXCLUDE Statements. . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25
CTBJAFDL Deletes Entries from Rule Activity or Report Files. . . . . . 4-26
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-26
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27
CTBJAFIG Check the Integrity of Rule Activity or Report Files . . . . . 4-28
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29
CTBVXRF Cross-Reference Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-30
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-30
Report Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31
Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-32
4-2
Parameters
The following parameter must be specified in the EXEC statement that
invokes the CTBABI JCL procedure.
Table 4-1
CTBABI Parameters
Parameter
Description
DBFILEB
Return Codes
Table 4-2
Code
Description
Operation successful
other
Operation failed
Example
//
EXEC CTBABI,DBFILEB=ABF
This utility is used by the CREFABF and CREFBKP jobs, located in the
INSTWORK library, when the Active Balancing file and its backup file are
created. For additional examples, see these jobs.
4-3
Parameters
Parm=-irulename
where rulename is the name of the rule definition that must be checked for
syntax errors. The rule name is preceded by the prefix i (that can be
uppercase or lowercase). The rule name and the i prefix must be specified
between quotes.
EXEC CTBCMP,PARM=-irulename
Return Codes
Table 4-3
Code
Description
other
Example
//
EXEC CTBCMP,PARM=-ICOMPTOTS
//DABRUL DD DISP=SHR,DSN=CTB.PROD.RULES
4-4
Parameters
The following parameters must be specified in the EXEC statement that
invokes the CTBDBCP JCL procedure.
Table 4-4
Parameter
Description
DBFILE
Name of the file to be enlarged. (Add the suffix .OLD to the name
of the input file before the JCL procedure is executed.) The
specified name becomes the name of the enlarged output file.
Mandatory.
Valid names must contain one of the following suffixes:
OLDQNAME
FILE TYPE
SUFFIX
Group
Database Variable
Variable Generation
Report
Rule Activity
GRP
MOD
VAR
REP
JAF
4-5
Table 4-4
Parameter
Description
KEY
VALUE
Group
Database Variable
Variable Generation
Report
Rule Activity
KEYGRP
KEYDBM
KEYDBV
KEYREP
KEYJAFJ
EXEC IOADBF,FUNC=INIT,D=INSTWORK,M=DEFxxxD
EXEC CTBDBCP,DBFILE=xxx,OLDQNAME=qname,KEY=KEYyyy
File Type
xxx
yyy
Group
GRP
GRP
Database Variable
MOD
DBM
Variable Generation
VAR
DBV
Report
REP
REP
Rule Activity
JAF
JAFJ
Return Codes
Table 4-6
Code
Description
other
4-6
Procedure CTBDBCP
Member CTBDBCP of the IOA PROCLIB library contains a procedure that
calls a series of programs to automatically enlarge a database file. The
following explanation assumes that the name of the file that needs to be
enlarged is ...GRPD. Before using this procedure, perform the following
steps:
1. Rename the source input file from ...GRPD... to ...GRPD...OLD. For
example, rename file CTB.V600.GRPD.E000 to
CTB.V600.GRPD.E000.OLD
2. If DUAL is set to Y (Yes) in member DEFGRPD in the INSTWORK
library, rename file CTB.V600.GRPD.D000 to
CTB.V600.GRPD.D000.OLD.
3. Modify member DEFGRPD in the INSTWORK library by increasing the
space allocated for the file.
4. Run the job in member CREFGRP of the INSTWORK library.
When the procedure described above is called, the following actions are
performed:
1. Program IOADBF formats a new preallocated IOA Access Method
output file.
2. Program CTBDBCP copies data from the input file to the output file.
3. Program IOADIG verifies the integrity of the output file data component.
4. Program IOADBF reformats the existing index component for the file.
5. Program IOADIB rebuilds the index component.
6. Program IOADPT prints index and data component control records to the
output file.
For additional information, see sample member JDBCP in the JCL library.
4-7
When the space remaining for the existing index file is insufficient. In
this case:
In case of index file integrity problems: Index file integrity problems can
be detected using utility IOADII, described later in this guide.
In case of data file integrity problems: Correct the data file and re-index
it with utility CTBDBIB to reproduce the corresponding index file.
Parameter
The following parameter can be specified in the EXEC statement that invokes
the CTBDBIB JCL procedure.
Table 4-7
CTBDBIB Parameter
Parameter
Description
DBFILE
Note:
4-8
CTBDBIB,DBFILE=xxxD
DSN=CTB.PROD.PARM(KEYyyy),DISP=SHR
DSN=CTB.PROD.xxxI,DISP=SHR
CTBDBIB Values
File Type
xxx
yyy
Group
GRP
GRP
Database
Variable
MOD
DBM
Variable
Generation
VAR
DBV
Report
REP
REP
Rule Activity
JAF
JAFJ
Return Codes
Table 4-9
Code
Description
other
Operation failed
Example
//
EXEC
//SYSIN
DD
//DAGRP
DD
CTBDBIB,DBFILE=GRPD
DSN=CTB.PROD.PARM(KEYGRP),DISP=SHR
DSN=CTB.PROD.GRPI,DISP=SHR
4-9
Utility CTBDBIB is used by the following jobs in the JCL library. For
additional examples, see the following jobs:
Table 4-10
CTBDBIB Jobs
Job
Description
JOBBDBM
JOBBDBV
JOBBGRP
JOBBJAF
JOBBREP
4-10
Parameters
The following parameters can be specified in the EXEC statement that
invokes the CTBDBVCG JCL procedure. These parameters dynamically
specify source (input) file names and indicate whether the current content of
existing generations must be retained or deleted.
Table 4-11
Parameter
Description
DIMOD
DIVAR
DIGRP
COPY
4-11
Table 4-12
Parameter
Description
GROUP
VARIABLE
NUMGEN
CTBDBVCG Activation
// EXEC CTBDBVCG,DIMOD=mod,DIVAR=var,DIGRP=grp,COPY=YES|NO
//SYSIN DD *
GROUP=group
VARIABLE=variable
NUMGEN=new-maximum-#-of-generations
//
4-12
Return Codes
Table 4-13
Code
Description
other
Figure 4-2
CTBDBVCG Example
//
EXEC CTBDBVCG,DIMOD=MGMT,DIVAR=ACTG,DIGRP=TAX,COPY=YES
//SYSIN DD *
GROUP=BONDS
VARIABLE=COST*
NUMGEN=24
//
4-13
Create and format a new set of group or variable files (target files).
Copy the data from the source files to the newly created target group or
variable files.
Parameters
The following parameters can be specified in the EXEC statement that
invokes the CTBDBVCP JCL procedure. These parameters dynamically
specify the prefix of the third qualifier for the source and destination files
listed below:
Table 4-14
Parameter
Description
DIMOD
DIVAR
DIGRP
DOMOD
DOVAR
4-14
Table 4-14
Parameter
Description
DOGRP
REPLACE
COPY
Parameter
Description
GROUP
VARIABLE
NUMGEN
FROMGEN
4-15
Table 4-15
Parameter
Description
TOGEN
Return Codes
Table 4-16
Code
Description
other
Figure 4-3
//
//
//
CTBDBVCP Example
EXEC CTBDBVCP,DIMOD=MOD,DIVAR=VAR,DIGRP=GRP,
DOMOD=TARGMOD,DOVAR=TARGVAR,DOGRP=TARGGRP
SYSIN DD*
GROUP=CURRENCY
VARIABLE=TOT*
//
4-16
Parameters
The following parameters can be specified in the EXEC statement that
invokes the CTBDBVDL JCL procedure. These parameters provide dynamic
specification of source and destination file names:
Table 4-17
Parameter
Description
DMOD
DVAR
DGRP
DELGR
Flag that indicates if the entire group is deleted. Valid values are:
Y (Yes) Delete the entire group if no variables exist for this
group.
N (No) Do not delete the entire group. Default.
Parameter
Description
GROUP
4-17
Table 4-18
Parameter
Description
VARIABLE
Return Codes
Table 4-19
Code
Description
other
Operation failed
Example
Figure 4-4
CTBDBVDL Example
// EXEC CTBDBVDL,DMOD=MOD,DVAR=VAR,DGRP=GRP,DELGR=YES
// SYSIN DD *
GROUP=CURRENCY
VARIABLE=TOT*
//
4-18
Parameters
You can specify the following parameters in the EXEC statement that invokes
the CTBDBVIG JCL procedure:
Table 4-20
Parameter
Description
ACT
Note:
4-19
Return Codes
Table 4-21
Code
Description
other
Operation failed
Example
// EXEC CTBDBVIG,ACT=R
4-20
Parameters
Table 4-22 shows the values that are valid for the parameters specified in the
EXEC statement that invokes the CTBFRM JCL procedure.
Table 4-22
CTBFRM Parameters
Parameter
Valid Values
DBABFB
DBBKPB
FORCE
4-21
Return Codes
Table 4-23
Code
Description
other
Operation failed
Example
// EXEC CTBFRM,FORCE=N,DBABFB=ABF,DBBKPB=ABFBKP
For additional information, see sample member JOBFRM in the JCL library.
4-22
Parameters
Table 4-24
CTBJAFCP Parameter
Parameter
Description
FILE
JAF
REP
ALL
Both the Rule Activity file and corresponding reports from the
Report file are copied.
Parameter
Description
DBJAFI
Prefix of the third qualifier of the source (input) Rule Activity file
name.
DBREPI
Prefix of the third qualifier of the source (input) Report file name.
DBJAFO
DBREPO
4-23
Return Codes
Table 4-26
Code
Description
12
16
100+
Internal error.
108
ENQ of the Rule Activity and Report files failed. Run the utility again
later.
4-24
Example
Figure 4-5
CTBJAFCP Example
// EXEC CTBJAFCP,FILE=ALL,DBJAFI=JAF,DBREPI=REP,DBJAFO=JAFNEW,DBREPO=REPNEW
// SYSIN DD *
INCLUDE JOB2*
EXCLUDE JOB22
EXCLUDE JOB23*
//
Allocate a new set of Rule Activity and Report files using utility CTBCRDF.
Step 2
Copy the existing files, or a portion of these files (for example, only relatively
new invocations), into the new files using utility CTBJAFCP.
Step 3
Step 4
4-25
Parameters
The following parameters can be specified in the EXEC statement that
invokes the CTBJAFDL JCL procedure:
Table 4-27
Parameter
Description
DBJAFB
DBREPB
NOPRINT
Parameter
Description
DAYS
INCLUDE or
EXCLUDE
4-26
CTBJAFDL Activation
Return Codes
Table 4-29
Code
Description
104
ENQ of the Rule Activity and Report files failed. Run the utility
again later.
other
Operation failed.
Example
Figure 4-7
CTBJAFDL Example
// EXEC CTBJAFDL,DBJAFB=JAF,DBREPB=REP,PRINT=PRINT
// SYSIN DD *
DAYS 4
INCLUDE JOB2*
EXCLUDE JOB22
EXCLUDE JOB23*
//
4-27
Parameters
The following parameters can be specified in the EXEC statement that
invokes the CTBJAFIG JCL procedure:
Table 4-30
Parameter
Description
FILE
Note:
4-28
Return Codes
Table 4-31
Code
Description
other
Operation failed
Example
//
EXEC CTBJAFIG,FILE=ALL,C=N
4-29
Parameters
This utility receives parameters using DD statement DACMD.
Note:
Table 4-32
CTBVXRF Parameters
Parameter
Description
LIB
RULE
SORT
BLOCKS
4-30
Report Format
The Cross-reference report is formatted according to parameter SORT as
described above.
Each report line contains the following items:
Table 4-33
Format
Description
VARIABLE
RULE
BLOCK
EXTRACT or
SET or USED
CTBVXRF Activation
// EXEC CTBVXRF
// DACMD DD *
LIB=rule-library
RULE=rule-list
SORT=sort-option
BLOCKS=YES/NO
//
Note:
4-31
Examples
Example 1
Figure 4-9
CTBVXRF Example 1
PAGE 1
************
* ARWARN06 *
************
NO DATABASE VARIABLES FOUND
************
* ARWARN4A *
************
VARIABLE
| BLOCK
EXTRACT
SET
USED
--------------------------------------+--------------------------------DB_(INTRAC).COST%%D
| ENDJOB
1
DB_(INTRAC).INVAMT%%D
| ENDJOB
1
DB_(INTRAC).PROCESS_MONTH
| CHKDETL
1
-----------------------------------------------------------------------END OF REPORT
4-32
Example 2
Figure 4-10
CTBVXRF Example 2
PAGE 1
VARIABLE
| RULE
BLOCK
EXTRACT
SET
USED
--------------------------------------+------------------- ---------------------DB_(INTRAC).COST%%D
| ARWARN04 ENDJOB
1
DB_(INTRAC).COST%%D
| ARWARN4A ENDJOB
1
DB_(INTRAC).COST01
| ARWARN05 ACCUMSLS
1
DB_(INTRAC).COST02
| ARWARN05 ACCUMSLS
1
DB_(INTRAC).COST03
| ARWARN05 ACCUMSLS
1
DB_(INTRAC).INVAMT%%D
| ARWARN04 ENDJOB
1
DB_(INTRAC).INVAMT%%D
| ARWARN4A ENDJOB
1
DB_(INTRAC).INVAMT01
| ARWARN05 ACCUMSLS
1
DB_(INTRAC).INVAMT02
| ARWARN05 ACCUMSLS
1
DB_(INTRAC).INVAMT03
| ARWARN05 ACCUMSLS
1
DB_(INTRAC).PROCESS_MONTH
| ARWARN04 CHKDETL
1
DB_(INTRAC).PROCESS_MONTH
| ARWARN4A CHKDETL
1
--------------------------------------+-----------------------------------------END OF REPORT
4-33
4-34
88
Chapter 5
CONTROL-D and
CONTROL-V Utilities
5-1
5-2
5-3
Run the BKPRESET job in the CONTROL-D JCL library once for each
backup mission displayed in the Mission Status screen (screen A) that has the
BACKUP IN PROCESS status.
Note:
Step 2
5-4
reports that have WAIT PRINT status are not selected for printing
many CTD908S error messages with a return code of 16 are issued when
a printing mission is building a print plan
Parameters
This utility has no parameters.
EXEC CTDBLXRP
Return Codes
Table 5-1
Code
Description
Execution error
5-5
Example
to another system
to another user
to create a backup
5-6
Example
//CAMF EXEC D54FRM,NEWAMF=CTDP.V504.NEWAMF,OUTDUMP=X
For an example of how to implement this utility, see sample job CTDCAMF
in the CONTROL-D JCL library.
Online users must not access the Online facility while the size of the
Active Transfer file is being changed. You should stop all access to
the AMF until the process is complete.
Rename the current AMFwhich is the input file for the copy operation and
its backup fileusing, for example ISPF 3.2 or 3.4.
Note:
Step 2
2.B
2.C
2.D
2.E
Change the size of the new AMF by modifying the value of the
AMFSIZE parameter from, for example, 1100 blocks to 1200 blocks.
2.F
2.G
2.H
2.I
Submit the job and create a new Active Missions file (with the suffix
NEWAMF).
5-7
Step 3
Edit the CTDCAMF member in the CONTROL-D JCL library. Change the
OLDAMF parameter to match the name specified in Step 1, as follows:
//CAMF EXEC CTDAMF,OLDNAME=old-dsname,NEW AMF=new-dsname
COPY
//
where
Step 4
Run the CTDCAMF utility to copy the current AMF to the new AMF. You
must terminate the utility with a return code of 0.
Step 5
5-8
Example
to another system
to another user
to create a backup
Example
5-9
Online users must not access the Online facility while the size of the
ATF is being changed.
Rename the current ATFwhich is the input file for the copy operation and
its backup fileusing, for example, ISPF 3.2 or 3.4.
Note:
Step 2
Step 3
2.B
2.C
2.D
2.E
Change the size of the new ATF by modifying the value of the
ATFBLK parameter from, for example, 300 blocks to 400 blocks.
2.F
2.G
2.H
where
Step 4
Run the CTDCATF utility to copy the current ATF to the new ATF. You must
terminate the utility with a return code of 0.
Step 5
5-10
CTDCA2P Parameters
Parameter
Description
JOBNAME
Job name
USER
User name
REPNAME
Report name
CATEGORY
Category name
5-11
The new report entries are assigned the current CONTROL-D working date
(not the computer system date).
This utility can be run simultaneously with the CONTROL-D monitor.
Return Codes
Table 5-3
Code
Description
Example
//
EXEC CTDCA2P
INCLUDE REPNAME=PROD-JCL
The following is the status of the files before the utility is run:
Figure 5-1
--USER-ACCTSRCV
ACCTSRCV
BRANCH01
BRANCH02
Figure 5-2
--USER-BRANCH01
BRANCH02
BRANCH03
-------REPORT------DAILY-BALANCE-REPORT
DAILY-BALANCE-REPORT
DAILY-BALANCE-REPORT
---JOB-D4DAILYB
D4DAILYB
D4DAILYB
----CATEGORY--DAILY
MONTHLY
DAILY
5-12
Figure 5-3 shows the status of the Permanent User Report List file after the
utility is run.
Figure 5-3
--USER-ACCTSRCV
ACCTSRCV
BRANCH01
BRANCH02
BRANCH03
Note:
-------REPORT------ACCOUNTS-RECEIV-REPT
ACCOUNTS-RECEIV-REPT
DAILY-BALANCE-REPORT
DAILY-BALANCE-REPORT
DAILY-BALANCE-REPORT
--JOB-D4ACCRCV
D4ACCRCV
D4DAILYB
D4DAILYB
D4DAILYB
----CATEGORY-QUARTERLY
WEEKLY
DAILY
MONTHLY
DAILY
1
5-13
5-14
TAPE
COPY
COPY
COPY
COPY
COPY
COPY
TAPE
END
VOLINT 6250
TAPE WRITE LABEL
TAPE WRITE LABEL
TAPE WRITE LABEL
TAPE WRITE LABEL
TAPE WRITE LABEL
TAPE WRITE LABEL
ENDFILE
*.JSL
*.FNT
*.FRM
*.IMG
*.LGO
*.ICT
EXEC CTDCCFRS
Parameters
Table 5-4
Parameter
Description
NEW
UPD
5-15
Table 5-5
Parameter
Descriptions
INCLUDE /
EXCLUDE
5-16
Parameters
Table 5-6
Parameter
Description
DATE
PREFIX
SIMULATION
5-17
Table 5-6
Parameter
Description
VERIFY-INHISTORY
DELSYSDATA
CTDCCU Activation
// EXEC CTDCCU
DATE=fromdate [- todate]
PREFIX=prefix
[SIMULATION={YES|NO}]
[VERIFY-IN-HISTORY={YES|NO}]
Examples
Figure 5-6
CTDCCU Example 1
// EXEC CTDCCU
DATE=082100-083000
PREFIX=CTDRSV
In this example, CDAM files satisfying all of the following criteria are listed
in the report but not deleted:
Prefixed CTDRSV.
Created August 21 30, 2000 (mmddyy format).
Not referenced by the Active User Report List file.
Still on disk.
5-18
Figure 5-7
CTDCCU Example 2
// EXEC CTDCCU
DATE=210800-300800
PREFIX=CTDRSV
PREFIX=CTDALL
SIMULATION=NO
VERIFY-IN-HISTORY=YES
In this example, CDAM files satisfying all of the following criteria are
deleted:
Deleted CDAM files are checked against the History User Report List file.
The report indicates if the deleted CDAM files are referenced in the History
User Report List file.
5-19
MODE Parameter
This optional parameter in the EXEC Statement determines whether utility
CTDCLHIS is run in Production mode or Simulation (Test) mode. If the
parameter is not specified, the default is Production mode. You should run
this utility in Simulation mode before running it in Production mode.
Table 5-7
Parameter
Description
PROD
TEST
NOSYS Parameter
This optional parameter in the EXEC statement determines whether the
CTDCLHIS utility checks for orphan user records (that is, user records that
do not have corresponding SYSDATA records).
When the NOSYS parameter is not specified or is set to Y (Yes), the
CTDCLHIS utility checks for orphan entries and issues a message for each
one found. Default.
When the NOSYS parameter is set to N (No), the utility does not check for
orphan entries. However, the performance of the utility is substantially
improved.
When the NOSYS parameter is set to S (SYSDATA), the utility checks for
orphan SYSDATA records and issues a message for each one found.
5-20
Return Codes
Table 5-8
Code
Description
Execution error
11
12
5-21
CTDCP2A Parameters
Parameter
Description
JOBNAME
Job name
USER
User name
REPNAME
Report name
CATEGORY
Category name
5-22
The new report entries are assigned the current CONTROL-D working date
(not the computer system date). It is possible to specify a specific date by
setting parameter PARM to date (format mmddyy, ddmmyy, or yymmdd,
depending on the site standard).
The utility can be run simultaneously with the CONTROL-D monitor.
Return Codes
Table 5-10
Code
Description
Example
// EXEC CTDCP2A,PARM=date
INCLUDE REPNAME=PROD-JCL
The following is the status of the files before the utility is run:
Figure 5-8
--USER-BRANCH01
BRANCH02
BRANCH03
Figure 5-9
-------REPORT------DAILY-BALANCE-REPORT
DAILY-BALANCE-REPORT
DAILY-BALANCE-REPORT
---JOB-D4DAILYB
D4DAILYB
D4DAILYB
----CATEGORY--DAILY
MONTHLY
DAILY
--CATEGORYQUARTERLY
WEEKLY
DAILY
MONTHLY
-ODATE070700
070700
070700
070700
5-23
The following is the status of the Active User Report List file after the utility
is run on the 7 July:
--USER-ACCTSRCV
ACCTSRCV
BRANCH01
BRANCH02
BRANCH02
BRANCH03
-------REPORT------ACCOUNTS-RECEIV-REPT
ACCOUNTS-RECEIV-REPT
DAILY-BALANCE-REPORT
DAILY-BALANCE-REPORT
DAILY-BALANCE-REPORT
DAILY-BALANCE-REPORT
---JOB-D4ACCRCV
D4ACCRCV
D4DAILYB
D4DAILYB
D4DAILYB
D4DAILYB
----CATEGORY---QUARTERLY
WEEKLY
DAILY
MONTHLY
MONTHLY
DAILY
-ODATE070700
070700
070700
070700
070700
070700
5-24
The utility determines which reports are no longer needed for backup,
migration, Online viewing, or printing, by means of user-specified selection
groups. A selection group consists of a DAYS statement and optional
INCLUDE / EXCLUDE statements. The DAYS statement contains a
retention period that specifies the number of days that the reports remain
online, after which they are deleted by the utility. The optional INCLUDE /
EXCLUDE statements further qualify which reports belong to the selection
group.
By specifying multiple selection groups, each with its own retention period
and INCLUDE / EXCLUDE statements, groups of entries with differing
retention periods can be deleted by a single execution of utility CTDDELRP.
For information about prefixing, masking and the INCLUDE / EXCLUDE logic
used to determine record selection, see Record Selection Logic (INCLUDE /
EXCLUDE Statements) on page 7-6. Selection groups are scanned
sequentially. The processing of a report is determined by the selection groups
whose INCLUDE / EXCLUDE criteria match the report.
Utility CTDDELRP performs the following steps:
Step 1
Records to be deleted from the Active User Report List file are selected
according to the parameters specified for the utility, and written to a
temporary file.
Records for reports that have been backed up are written to the History User
Report List file. CDAM files to be deleted are written to an intermediate file.
Step 2
The temporary file is read and the records it contains are deleted from the
Active User Report List file.
Step 3
5-25
Parameter
Table 5-11
CTDDELRP Parameters
Parameter
Description
MODE
DAYS Statement
The DAYS statement can contain the following parameters:
Table 5-12
Parameter
Description
FORCE
When not specified, reports with WAIT BACKUP status are not
deleted. Optionally, reports awaiting backup are also deleted.
WAITPRINT
Optionally, reports with WAIT PRINT status are not deleted. If not
specified, reports waiting to be printed are also deleted.
WAITDEC or
NOTWD
5-26
Table 5-12
Parameter
Description
RESTORED or
NOTRST
NOREPORT
KEEPDSN
Deletes reports from the Active User Report List file but does not
delete CDAM datasets. The CDAM datasets can then be
re-decollated.
NOINDEX
STORED or
NOTSTOR
5-27
CTDDELRP Statements
Parameter
Description
JOBNAME
JOBID
USER
CLASS
Class
REPNAME
CATEGORY
By default, the values specified for JOBNAME, USER, and REPNAME are
treated as prefixes. To prevent a value from being considered a prefix, place
the special character < after the value.
5-28
The following additional parameters can be specified for CDAM datasets that
are created using the JCL SUBSYS parameter:
Table 5-14
Parameter
Description
PGMSTEP
PROCSTEP
DDNAME
Note:
5-29
CTDDELRP Activation
//
EXEC CTDDELRP[,MODE=TEST|PROD]
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DAYS n [FORCE] [WAITPRINT] [WAITDE|NOTWD] [RESTORED|NOTRST][NOREPORT]
[KEEPDSN]
[INCLUDE [JOBNAME=Job name] [JOBID=jobid] [USER=user] [CLASS=class]
[REPNAME=repname] [PGMSTEP=pgmstep] [PROCSTEP=procstep]
[DDNAME=ddname]
.
.
.
[EXCLUDE [JOBNAME=Job name] [JOBID=jobid] [USER=user] [CLASS=class]
[REPNAME=repname] [PGMSTEP=pgmstep] [PROCSTEP=procstep]
[DDNAME=ddname]
.
.
.
[
DAYS statement
[INCLUDE statement]
.
.
.
[EXCLUDE statement]
.
.
]
Note:
Examples
Example 1
//S1 EXEC CTDDELRP
DAYS 3
The utility deletes reports that are older than three days if they have been
backed up and have either WAIT PRINT or PRINTED status.
Example 2
//S1 EXEC CTDDELRP
DAYS 0 WAITPRINT
5-30
The utility deletes reports that were backed up and printed. Reports waiting
for migration, print and/or backup are not deleted.
Example 3
The utility deletes reports with name prefix PROD-JCL that are more than
five days old, unless they have not yet been backed up.
Example 4
The utility deletes reports of the specified job name and job ID, regardless of
WAIT BACKUP or WAIT PRINT status.
Assume the following report names exist: ACCT, ACCT-REC, ACCT-PAY.
Example 5
Example 5A
5-31
Example 6
The utility deletes from DASD all reports that have already been migrated,
printed, and backed up, if backup was requested, except the following:
Example 7
The utility deletes reports older than seven days and created by jobs with
names beginning PROD, except reports waiting for print. Reports older than
three days and created by jobs with names beginning TEST are deleted,
regardless of WAIT BACKUP or WAIT PRINT status.
Example 8
The utility deletes reports that were restored at least three days ago, except
reports still waiting for print.
The utility deletes report entries with a status of WAIT DECOLLATION that
were created using utility CTDCP2A, and that are older than one day.
5-32
The utility deletes reports older than ten days, with neither RESTORE nor
WAIT DECOLLATION status, and which have already printed.
The utility deletes report entries belonging to user name SCRAP.
Example 9
//S1 EXEC CTDDELRP
DAYS 4 NOREPORT
Example 10
The utility deletes reports older than 30 days and created by jobs with names
beginning PROD or FIRST, unless they have not yet been backed up. The
utility deletes reports that have been printed, backed up and migrated, that are
older than 15 days, and that were created by jobs with names that begin with
TEST. The utility deletes all other reports more than five days old.
Note:
5-33
EXEC
CTDDIB, DBFILE={ACT|PRM|HST|MIG}
Parameters
The following parameter can be specified to the utility in the EXEC
statement that invokes the CTDDIB JCL procedure.
Table 5-15
CTDDIB Parameters
Parameter
Description
DBFILE
5-34
Example
//BUILD
EXEC
CTDDIB,DBFILE=HST
5-35
More than one data record exists with the same key.
A data record exists without a corresponding index record.
An index record exists without a corresponding data record.
A data record and its corresponding index record do not have the same
update timestamp.
CTDDIB Stages
Stage
Description
Stage 1
Stage 2
This utility can be run while CONTROL-D and the Online monitors are
active. However, it locks the specified User Report List file so other
applications cannot modify it.
If MODE is set to TEST, the specified file is locked during only Stage 1.
If MODE is set to CHANGE, the specified file is locked during both
Stage 1 and Stage 2.
You should run this utility in TEST mode before running it in CHANGE
mode.
5-36
Parameters
The following parameters can be specified in the EXEC statement that
invokes the CTDDIG JCL procedure:
Table 5-17
CTDDIB Parameters
Parameter
Description
DBFILE
MODE
5-37
Parameters
Table 5-18
CTDGBPRT Parameters
Parameter
Description
DO
IXPATH
Path of index names (prefix). The index names in the path are
separated by blanks. IXPATH is optional for the LISTINDEX
function. If this parameter is not specified, all index
pathnames are printed. Mandatory for LISTIXVAL and
LISTVSA functions (prefix not allowed.)
IXVAL
5-38
Return Codes
Table 5-19
Code
Description
16
Severe error
Examples
Figure 5-11
CTDGBPRT Example 1
// EXEC CTDGBPRT
// SYSIN DD*
DO=LISTINDEX
/*
All index pathnames contained in the Global Index Database are printed.
Figure 5-12
CTDGBPRT Example 2
// EXEC CTDGBPRT
// SYSIN DD*
DO=LISTIXVAL
IXPATH=ACCOUNT SUM
IXVAL=001
/*
Index values with the prefix "001" for path name ACCOUNT SUM are
printed.
5-39
Figure 5-13
CTDGBPRT Example 3
// EXEC CTDGBPRT
// SYSIN DD*
DO=LISTVSA
IXPATH=ACCOUNT SUM
IXVAL=001 2000
/*
Index values with the prefix "001 2000" and all VSA keys for each value for
path name ACCOUNT SUM are printed.
5-40
Parameters
Table 5-20
CTDSMFRP Parameters
Parameter
Description
RETYPE
USER
User ID
REPNAME
Report name
CATEGORY
Category name
ACCOUNT
Account number
FROMDATE
TODATE
5-41
Example
// EXEC CTDSMFRP
// DASYSIN DD *
REPTYPE D
USER MGT
CATEGORY ACCT
Sample Report 1
PAGE
DATE
-------08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
08/08/00
TIME
-------10:15:17
10:15:20
11:02:21
11:25:05
15:26:14
15:28:47
19:42:20
19:30:23
21:01:58
21:19:14
21:20:32
23:06:02
23:12:51
23:54:55
JOB NAME
-------PBNKRPT2
PEMPRPT
PBRNCHLS
PMONUPDT
PBRNMGRS
MSURGRFS
GLRPT17A
PTBAL1A
PRINVRPT
ACCSUMRS
ACCEXCPR
ACCDAILY
SLRRPTR1
SLRRPTR2
CATEGORY NAME
PAGES
LINES
COPY ODATE
FORM
ACCOUNT
-------------------- ------ ------------- ---- -------- ---- -----------BI-WEEKLY
49
2542
3 08/08/00 STD
DAILY
1
10
1 08/08/00 STD
DAILY
5631
269029
1 08/08/00 STD
MONTHLY
1086
52191
1 08/08/00 STD
WEEKLY
24
1002
1 08/08/00 STD
WEEKLY
8
401
5 08/08/00 SPL
DAILY
293
15866
1 08/08/00 STD
DAILY
76
3764
1 08/08/00 STD
DAILY
9
427
1 08/08/00 STD
DAILY
236
11872
1 08/08/00 STD
DAILY
53
1697
1 08/08/00 STD
DAILY
468
20171
1 08/08/00 STD
WEEKLY
107
5705
1 08/08/00 STD
WEEKLY
108
5724
2 08/08/00 STD
--------------------------------------------------------------------------------------------------------------------------*****
TOTAL PAGES AND LINES PRINTED FOR USER - MGT
8149
390401
5-42
Figure 5-15
Sample Report 2
PAGE
29
REPORTS
------------7
4
2
6
7
4
2
6
7
4
2
6
7
4
2
6
7
4
2
6
7
4
2
6
8
4
2
6
7
4
2
6
7
4
2
6
7
4
2
6
12
4
29
16
8
72
LINES
------------3,184
7,095
2,553
133,479
2,336
4,602
1,614
53,237
3,293
8,114
1,683
94,733
1,498
5,321
5,632
67,682
3,663
10,569
10,930
135,006
1,988
7,117
9,285
73,194
38,449
5,667
4,214
59,480
1,672
8,363
5,118
81,336
2,757
8,452
6,220
58,413
2,352
9,221
7,264
71,095
13,659
2,447
20,794
6,998
10,562
8,668
D A T E S
-------------------08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
08/08/00 - 08/08/00
-------------------------------------------------------------------------------T O T A L
1452
276,516
13,274,601
5-43
Figure 5-16
Sample Report 3
=========
MGT
=========
---------------------------------------------------------------------:
REPORT
:
STATUS
: COPIES : PAGES : LINES :
---------------------------------------------------------------------: EMPLOYEES REPORT-S : PRINTED-WAIT BKP
: 001
:
1 :
10 :
---------------------------------------------------------------------: BANKING REPORT
: DECOLLATED
: 000
:
49 :
2542 :
---------------------------------------------------------------------: BRANCH LISTS
: DECOLLATED
: 000
: 5631 : 269029 :
---------------------------------------------------------------------: MONTHLY UPDATE
: PRINTED-WAIT BKP
: 001
: 1086 : 52191 :
---------------------------------------------------------------------: BRANCH MGRS REP
: WAIT PRINT
: 001
:
24 :
1002 :
---------------------------------------------------------------------: GENERAL LEDGER
: PRINTED-WAIT BKP
: 001
:
293 : 15866 :
---------------------------------------------------------------------: TRIAL BALANCE
: PRINTED
: 001
:
76 :
3764 :
---------------------------------------------------------------------: INVENTORY REPORT
: PRINTED-WAIT BKP
: 001
:
9 :
427 :
---------------------------------------------------------------------: SUMMARY ACC REPORT : WAIT PRINT
: 002
:
236 : 11872 :
---------------------------------------------------------------------: EXCEPTION ACC REPORT: DECOLLATED
: 000
:
53 :
1697 :
---------------------------------------------------------------------: DAILY ACCOUNTS
: WAIT PRINT
: 001
:
468 : 20171 :
---------------------------------------------------------------------: SALARY REPORT RUN #1: PRINTED
: 001
:
107 :
5706 :
---------------------------------------------------------------------: SALARY REPORT RUN #2: PRINTED
: 003
:
108 :
5724 :
----------------------------------------------------------------------
Figure 5-17
Sample Report 4
080800
080800
080800
080800
080800
080800
080800
080800
080800
080800
REP
REP
REP
REP
REP
REP
PRT
BKP
CRS
RST
M24A
M18
M18
M22A
M01
M24
M22
M22
M22
M22
C O N T R O L
WAIT
WAIT
WAIT
WAIT
WAIT
HELD
WAIT
WAIT
WAIT
WAIT
SCHEDULE
SCHEDULE
SCHEDULE
SCHEDULE
SCHEDULE
WAIT PROCESS
SCHEDULE
PROCESS
PROCESS
PROCESS
A C T I V E
E N V I R O N M E N T
M I S S I O N S
L E
F T
5-44
Examples
Example 1
SELECT
FILE=ACT
USER=ANDY
REPORT=MYREPORT
5-45
Example 2
SELECT
FILE=ACT
USER=ANDY
USER=MARY
REPORT=MYREPORT
Change To Processing
All values specified after a CHANGE TO statement, until the end of the JCL
stream or until the next SELECT statement, replace the existing values in the
selected records. The ? wild-character can be used when specifying change
to values.
For example:
CHANGE TO
USER = a???????
means that the first character in the USER field is replaced with a and the
remaining 7 characters are not changed.
USER = a?b?????
means that the first character in the USER field is replaced with a, the third
character is replaced with b, and the other 6 characters are not changed.
5-46
CTDUFUPD Activation
5-47
[USER
[REPORT
[DEC_TIME
[TYPE
[JOBNAME
[JOBID
[ODATE
DELETE
//
=
=
=
=
=
=
=
user
]
report ]
ddmmyy[,hhmmss][ - ddmmyy[,hhmmss]]]
type
]
jobname ]
jobid
]
odate
]
Parameters
Selection Parameters
Parameter
Description
FILE
PRINT_LIMIT
SIMULATE
5-48
Table 5-21
Parameter
Description
WRITE_TO_FILE
USERFILE
Field
Description
DECTIME
JOBNAME
5-49
Table 5-22
Field
Description
JOBID
ODATE
date[ - date]
Date format is mmddyy, ddmmyy or yymmdd (depending on
the site standard defined in installation member IOAPARM).
Optional.
Statement
Description
USER
REPORT
CATEGORY
REMARK
CLASS
DEST
UDEST
EXTWTR
FORM
OUTPUT
PAGEDEF
FORMDEF
5-50
Table 5-23
Statement
Description
FROMUSER
CHARS
COPY
Field Name
Length
Description
VSAUSER
VSAXKEY
VSACOUNT
5-51
For example:
USERFILE=USFILEDD
USER=N52*
In this case, only records whose USER field starts with N52 and belong to
the set of records identified in the file referenced by DD statement
USFILEDD are selected.
The USERFILE parameter enables you to select a set of records that cannot
be easily selected using selection criteria. For example, using the
WRITE_TO_FILE parameter, you can create one list of users from the
Permanent User file and a second list of users from the Active User file. You
can then combine these two lists, using system tools, to prepare a file of
USER values that exist in the Permanent User file, but not in the Active User
file. This file of USER values can then be used with the USERFILE
parameter to delete unneeded records from the Permanent User file.
You can also use the USERFILE parameter to switch the first specified
USER values with the second specified values in the specified User Report
files. The corresponding pairs of USER values must be specified
consecutively, without delimiters, for each record in the dataset referenced by
the USERFILE parameter. These pairs must be located at the beginning of
each record.
Figure 5-19
CTDUFUPD Example 1
//UPDATE
EXEC CTDUFUPD
//SYSIN DD *
SELECT
FILE=ACT
USER=USER1*
DEC_TIME = 072500
PRINT=DETAILS
//
In this example, the utility selects Active User file records whose USER field
starts with USER1 and whose decollation date is 25 July 2000. All the
selected records are written to the file referenced by DD statement
PRINTDET.
5-52
Figure 5-20
CTDUFUPD Example 2
//UPDATE
EXEC CTDUFUPD
//SYSIN DD *
SELECT
FILE = ACT
USER = USER1*
USER = USER3*
DEC_TIME = 071700 - 081600
PRINT = DETAILS
SIMULATE = NO
CHANGE TO
USER = BMCU????
//
In this example, the utility selects Active User file records where the USER
field value begins with USER1 or USER3 and the decollation date is between
17 July 2000 and 16 August 2000. In the selected records, field USER is
updated by changing the first 4 characters to BMCU and not changing the
remaining characters.
Because SIMULATE is set to NO, records are actually updated.
Figure 5-21
CTDUFUPD Example 3
//UPDATE
EXEC CTDUFUPD
//SYSIN DD *
SELECT
FILE = ACT
USER = USER5*
DEC_TIME = 071700 081600
ODATE =
PRINT = DETAILS
SIMULATE = NO
DELETE
//
In this example, the utility selects Active User file records where the value of
field USER begins with USER5, the decollation date is between 17 July 2000
and 16 August 2000, and the ODATE field is blank. All the selected records
are deleted from the Active User file.
5-53
Parameters
The following parameters are specified in the EXEC statement that invokes
the CTDULD JCL procedure:
Table 5-25
CTDULD Parameters
Parameter
Description
DBFILE
SEQ
REPLACE
5-54
Selection parameters
CHANGETO parameters
Report parameters
The utility scans the files that are specified using the Selection parameters
and modifies the specified records in those files according to the
CHANGETO parameters. Report parameters specify characteristics of the
report to be produced.
DD Statement RECVOL
5-55
NEWVOL(NFLE)
where
Table 5-26
CTDUPBKP Parameters
Statement
Description
OLDVOL
OFLE
NEWVOL
NFLE
//RECVOL DD *
VOLO01(0012) VOLN01(0005)
........
........
........
........
/*
//RECVOL DD *
VOLO03
VOLN03
........
........
........
........
/*
5-56
CTDUPBKP Activation
//UPDATE
EXEC CTDUPBKP
//DAUIN
DD *
SELECT
[FILE=ACT]
[FILE=HST]
[FILE=MIG]
[JOBNAME=jobname]
[JOBID=jobid]
[DECFROM=ddmmyy,hhmmss]
[DECTO=ddmmyy,hhmmss]
[BKPFROM=ddmmyy,hhmmss]
[BKPTO=ddmmyy,hhmmss]
[BKPMIS=backup migration mission name]
[PLATTER=platter name]
[VOLSER=old volser]
[REVOL=YES|NO]
[SIMULATE=YES|NO]
CHANGE TO
[GENER=number of generation|NONE]
[RETPD=retention period]
[VOLSER=new volser]
[SECONDARY|PRIMARY]
NEWBKP=new-backup-mission
NEWMIG=new-migrat-mission
/*
//DAULST
DD *
[PRINTSYS]
[DETAIL]
[UNMATCH=ALL|VOLSER]
/*
//
5-57
Selection Parameters
The following parameters can be specified in the SELECT statement:
Table 5-27
Parameter
Description
FILE
JOBNAME
JOBID
DECFROM
DECTO
BKPFROM
BKPTO
BKPMIS
5-58
Table 5-27
Parameter
Description
VOLSER
RECVOL
PLATTER
SIMULATE
CHANGETO Parameters
The following parameters can be specified in the CHANGETO area:
Table 5-28
Parameter
Description
GENER
5-59
Table 5-28
Parameter
Description
RETPD
VOLSER
PRIMARY
SECONDARY
NEWBKP
NEWMIG
5-60
Report Parameters
By default the utility produces a report for all the SYSDATA records that
were selected according to the SELECT parameters. The report contains the
most up-to-date backup information in these SYSDATA records. Additional
reports are available by specifying the following parameters in DD statement
DAULST:
Table 5-29
Parameter
Description
UNMATCH
Produce a report listing all volsers in the files that did not match
any of the old volsers defined in the input file referenced by DD
statement DAUIN.
ALL
VOLSER
PRINTSYS
Parameter
Description
DETAIL
Print a detailed report for all volsers found in the files, including
the backup job name, date and time. This report is available only
when a new volser is requested. This report replaces the default
report.
Note:
5-61
Figure 5-24
CTDUPBKP Example 1
//UPDATE
EXEC CTDUPBKP
//DAUIN
DD *
SELECT
FILE=HST
DECFROM=250600,1000
DECTO=270600,1500
BKPFROM=260600,1000
BKPTO=280600,1500
BKPMIS=BKP001
SIMULATE=YES
CHANGETO
/*
//DAULST
DD *
//
The utility creates a report for the History file. Every SYSDATA that was
created from 25/06/00 at 10 a.m. until 27/06/00 at 3 p.m. and was backed up
from 26/06/00 at 10 a.m. until 28/06/00 at 3 p.m. by backup mission BKP001
is printed in this report.
Figure 5-25
CTDUPBKP Example 2
//UDPATE
EXEC CTDUPBKP
//DAUIN
DD *
SELECT
FILE=ACT
FILE=HST
BKPFROM=260600,1000
BKPTO=280600,1500
BKPMIS=BKP001
VOLSER=VOL001
SIMULATE=NO
CHANGETO
RETPD=0100
VOLSER=VOL002
//DAULST
DD *
PRINTSYS
DETAIL
5-62
Figure 5-26
CTDUPBKP Example 3
//UPDATE
EXEC CTDUPBKP
//DAUIN
DD *
SELECT
FILE=MIG
BKPMIS=MIG001
PLATTER=PLATTER01
SIMULATE=YES
CHANGETO
SECONDARY
//DAULST
DD *
CTDUPBKP Example 4
//UPDATE
EXEC CTDUPBKP
//DAUIN
DD *
SELECT
FILE=HST
BKPMIS=BKP001
SIMULATE=NO
CHANGETO
GENER=0005
//DAULST
DD *
SYSDATA records referring to backup mission BKP001 are set to use the #
o f G E N E R AT I O N S TO K E E P method. (In this example, 5 generations
are used.) A report for the modified SYSDATA records is produced.
For an example of how to update backup information in CONTROL-D User
Report List files, see sample job CTDUBKPJ in the CONTROL-D JCL
library.
5-63
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the CTVCLMIG JCL procedure:
Table 5-31
Parameter
Description
MODE
5-64
Table 5-31
Parameter
Description
NOSYS
NOLOCATE
Return Codes
Table 5-32
Code
Description
Execution error
11
12
5-65
5-66
EXEC Statement
The EXEC statement can contain the following parameter:
Table 5-33
CTVDELI Parameters
Parameter
Description
MODE
DAYS Statement
Parameters in the DAYS Statement
Parameter
Description
Retention period (in days) after that the index expires and is
selected for deletion from the Active User Report List file by the
selection group. Mandatory. This parameter must be the first
parameter in the statement.
By default, the index expires n days from the Original Scheduling
Date (ODATE) of the Report decollating mission. The
INCONTROL administrator can change the default so that n is
calculated from the decollation date.
n can be a negative number (to delete reports created on future
ODATEs) and cannot exceed 9999.
RESIDENT
5-67
Parameter
Description
JOBNAME
JOBID
REPNAME
IXNAME
5-68
CTVDELI Activation
// EXEC CTVDELI[,MODE=TEST|PROD]
DAYS
n
[RESIDENT]
[INCLUDE
[JOB NAME=Jobname]
[IXNAME=indexname]
[EXCLUDE
[JOB NAME=Jobname]
[IXNAME=indexname]
DAYS statement
[INCLUDE statement]
.
.
[EXCLUDE statement]
.
.
.
[JOBID=jobid]
[REPNAME=repname]
[JOBID=jobid]
[REPNAME=repname]
Examples
Example 1
//S1
EXEC
CTVDELI
DAYS 3
All nonresident indexes that are older than three days are deleted.
Example 2
//S1
EXEC CTVDELI
DAYS 0
Example 3
//S1
EXEC CTVDELI
DAYS 5
INCLUDE REPNAME=PROD-JCL
5-69
All indexes of reports with name prefix PROD-JCL that are more than five
days old are deleted.
Example 4
//S1
EXEC CTVDELI
DAYS 0
RESIDENT
INCLUDE JOBNAME=Y99BUP01
JOBID=01923
All indexes (including resident indexes) with the specified job name and job
ID are deleted.
Example 5
EXEC CTVDELI
DAYS 0
INCLUDE IXNAME=ACCT
EXEC CTVDELI
DAYS 0
INCLUDE IXNAME=ACCT<
Example 6
//S1
EXEC CTVDELI
DAYS 0
EXCLUDE IXNAME=PROD-NDX
JOBNAME=P01
5-70
Parameters
The following parameters can be specified to the utility in the SYSIN DD
statement.
Table 5-36
Parameter
Description
MODE
DO
TRACE
DELPATH
5-71
Table 5-36
Parameter
Description
VAL
The following parameters are valid only if the DO parameter was set to DELRPT.
Only VSA keys that apply to the selection criteria are candidates for deletion. This
enables you to minimize the amount of work the utility must perform, or allows the
deletions to be spread over several runs of the utility
FROMPATH
Specifies the prefix of path names from which VSA keys are
read.
This parameter is not used for the Global Index if it is
implemented above DB2.
TOPATH
FROMVAL
Specifies the prefix of value names from which VSA keys are
read.
This parameter is not used for the Global Index if it is
implemented above DB2.
TOVAL
AGE
JOBNAME
REPORT
USER
5-72
Table 5-36
Parameter
Description
DB2TABLE
Specifies the name of the DB2 table where the entries should
be removed. Can be specified several times or can be
omitted. If this parameter is omitted all DB2 tables specified in
the CTDGIDB2 member are checked for deletion
This parameter is not used for the Global Index if it is
implemented above the IOA Access Method.
PORTION
REPLIST
CTVGICL Activation
// EXEC CTVGICL
MODE={PROD|TEST} DO={DELPATH|DELRPT|DELVAL}
[TRACE=YES|NO] [DELPATH=path] [VAL=index_value]
[FROMPATH=pathprefix] [TOPATH=pathprefix]
[FROMVAL=valueprefix] [TOVAL=valueprefix]
[JOBNAME=jobnamprefix] [REPORT=repnamprefix] [AGE=period]
[USER=(list of user prefixes)] [DB2TABLE=DB2_table_name]
[PORTION=portion] [REPLIST=NO]
Return Codes
Table 5-37
Code
Description
The utility ended with a warning. For further information, see the
specific warning message.
5-73
Table 5-37
Code
Description
An error occurred during the process. For details, see the error
messages for each input file.
16
A severe error occurred during the process. For details, see the
error messages for each input file.
Examples
Example 1
// EXEC CTVGICL
//SYSIN DD *
DO=DELRPT MODE=PROD FROMPATH=STATE
TOPATH=STATE TRACE=YES
//
For the Global Index implemented above the IOA Access Method. In
Production mode, delete report entries from the path beginning with the
prefix STATE. Issue trace messages during the utility run.
Example 2
// EXEC CTVGICL
DO=DELPATH DELPATH=INDEXA MODE=PROD
//
For the Global Index implemented above the IOA Access Method. In
Production mode, delete the index path INDEXA and its subpaths.
Example 3
// EXEC CTVGICL
DO=DELRPT MODE=PROD DB2TABLE=CTD.GIR
PORTION=2000 JOBNAME=K06*
//
For the Global Index implemented above DB2. In production mode, delete
report entries for the job names beginning with the prefix K06, from DB2
table CTD.GIR. Commit is issued after every 2000 entries are deleted.
5-74
Example 4
// EXEC CTVGICL
DO=DELRPT MODE=PROD TABLE=CTD.GIR
REPLIST=YES
//
For the Global Index implemented above DB2. In production mode, delete all
report entries according to the list of deleted reports produced by the
CTDDELRP or CTVCLMIG utilities. Commit is issued after every 1000
entries are deleted.
5-75
Index Format
Table 5-38
Format
Description
JOBNAME
JOBID
ID of the job.
SMFID
COMP-CODE
DATE
START-TIME
END-TIME
When the option to define a DDNAMES index for the reports in the initial
decollation is selected, utility CTVJAR creates an index as a subindex in the
new report. For more information, see the discussion about job archiving in
the CONTROL-D and CONTROL-V chapter in the INCONTROL OS/390
and z/OS Administrator Guide.)
The utility determines which reports to consolidate based on input parameters
specified in DD statement SYSIN. The utility also verifies that it is a
JOBSDSN1 decollation.
Note:
PGM=CTVJAR[,MODE=PROD, TEST]
5-76
EXEC Statement
The EXEC statement can contain the following parameters:
Table 5-39
Parameter
Description
MODE
Parameter
Description
PREFIX
FODATE
TODATE
REPNAME
USER
Name of the user for whom the new report are created.
MIGMIS
BKPMIS
PRTMIS
SYNC
5-77
Figure 5-30
CTVJAR Example
//CTVJAR
EXEC PGM=CTVJAR,PARM=PROD
//STEPLIB DD DSN=IOAP.V600.LOAD,DISP=SHR
//DATRACE DD SYSOUT=*,HOLD=YES
//ERRLOG
DD SYSOUT=*,HOLD=YES
//DALOG
DD DISP=SHR,DSN=IOAP.V600.LOG
//DATREE
DD DISP=SHR,DSN=CTDP.V60.PARM(CTDTREE)
//SYSPRINT DD SYSOUT=*,HOLD=YES
//SORTIN
DD UNIT=SYSALLDA,SPACE=(CYL,(20,40))
//SORTOUT DD UNIT=SYSALLDA,SPACE=(CYL,(20,40))
//SORTWK01 DD UNIT=SYSALLDA,SPACE=(CYL,(20,40))
//SYSOUT
DD SYSOUT=*,HOLD=YES
//DAACT
DD DISP=SHR,DSN=CTDP.V600.ACT.E000
//DAACTI
DD DISP=SHR,DSN=CTDP.V600.ACTI.E000
//SYSIN
DD *
REPNAME=MANAGEMENT REPORTS
USER=MGT
PREFIX=CTDP.E3 BKPMIS=(BKP1,BKP2,BKP3) MIGMIS=MIGDASD
PRTMIS=(PRT1,PRT22,PRT56)
//SYSUDUMP DD SYSOUT=*,HOLD=YES
//
5-78
CTVUNMIG Activation
5-79
Parameters
Specify the following parameter in the job that invokes utility CTVUNMIG:
PARM = media-name[,unit-name]
where
Include the migrated files names in the input stream after the SYSIN DD
statement. Each file name must begin in the first column.
Return Codes
Table 5-41
Code
Description
16
5-80
Parameters
The CTVUPGDB utility determines which indexes to add to the Global
Index database, based on the following user-specified selection parameters.
The parameters are specified in DD statement SYSIN.
Table 5-42
Parameter
Description
LOAD
USER
USER=(USERA,M*,D??45)
JOBNAME
The job name or mask of the reports for which indexes are
added. Optional.
JOBID
REPNAME
FODATE
The From ODATE of the report. This is the earliest order date
from which indexes are selected. Optional.
The date contains slashes, and is in the format dd/mm/yy,
mm/dd/yy, or yy/mm/dd, depending on the site standard
defined in the IOAPARM member.The parameter can also be
specified in the format -N, where N is number of days (0
-99999) preceding to the current date.
TODATE
The To ODATE of the report. This is the latest order date from
which indexes are selected. Optional.
The date contains slashes and is in the format dd/mm/yy,
mm/dd/yy, or yy/mm/dd, depending on the site standard
defined in the IOAPARM member. The parameter can also be
specified in the format -N, where N is number of days (0
-99999) preceding to the current date.
5-81
Table 5-42
Parameter
Description
FORCE
TRACE
MAXINDX
STORED
CHKPTID
MIGRATE
5-82
Table 5-42
Parameter
Description
LIST
PATH
main-ixname/sub-index1/sub-index2...
If this parameter is specified, all index paths must be
specified.
If this parameter is not specified, add all index paths for all
levels (that is, with all their sub-indexes). Default.
If the ALT or BASELEN parameter is also specified, the PATH
parameter must be specified before them.
ALT
BASELEN
For Short Value paths, determines the length of the base part
of the index value. Optional.
This parameter determines the length of the Global Index
values that the utility creates in the Index portion of the
Global Index Database. The rest of value is kept, along with
the REPORT KEY, in the DATA portion of the Global Index
Database.
Default: Full index value.
This parameter can only be specified if the PATH parameter is
specified first.
This parameter is not used for the Global Index if it is
implemented above DB2.
SORTNBL
5-83
CTVUPGDB Activation
// EXEC CTVUPGDB
LOAD USER=username [JOB NAME=jobname] [JOBID=jobid] [REPNAME=repname]
[FODATE=dd/mm/yy] [TODATE=dd/mm/yy] [FORCE=YES|NO]
[TRACE=NO|YES|ALL] [MAXINDX=nnnnn] [STORED=NO|YES|ALL]
[CHKPTID=memname] [STORED=NO|YES|ALL] [MIGRATE=NO|YES|ONLY]
[LIST=NO|YES|ONLY] [PATH=path] [ALT=YES|NO] [BASELEN=nnn] [SORTNBL=3000]
Return Codes
Table 5-43
Code
Description
16
Figure 5-33
CTVUPGDB Example 1
A maximum of 100 reports of user MKT that have the job name N54REP1
are processed. All indexes (if any) of the reports are added to the Global
Index database.
Figure 5-34
CTVUPGDB Example 2
5-84
The index path ACCOUNT/SUM is added to the Global Index database for
each report of user MKT that has the job name N54REP1, an ODATE of
22 July 2000, and a report name that begins with ACCOUNT SA.
Figure 5-35
CTVUPGDB Example 3
//STEP01
EXEC CTVUPGDB
//DACTVLST DD DISP=(,PASS),UNIT=SYSDA,DSN=&&DATA,
//
SPACE=(CYL,(100,100),RLSE)
//SYSIN DD *
LOAD
PATH=ACCOUNT/DATE
PATH=ACCOUNT/NAME
LIST=DB2
/*
The list of report entries for the two index paths, ACCOUNT/DATE and
ACCOUNT/NAME, is produced in the temporary flat file. This file can be
used in the next step to load the Global index DB2 table.
5-85
Run the MIGRESET job in the CONTROL-D JCL library at least once, until
the following message is displayed:
BKC495E NO PENDING BACKUP/MIGRATE MISSION FOUND...
Step 2
5-86
Step 2
Perform all the restore requests again, using option R in the History User
Report List of Screen U. The restore mission finishes with the ENDED
NOTOK status.
Note:
Rerun the restore mission from the last step (that is, submit it again
without restarting).
5-87
5-88
24
Chapter 6
CONTROL-O Utilities
6-1
6-2
Copying the Automation Log to a sequential file. The sequential file can
be processed by a report generator utility or restored and displayed later
as an Automation Log file.
Parameter
Description
STARTDATE
STARTTIME
ENDDATE
ENDTIME
FROMDSN
FROMTYPE
TODSN
6-3
Table 6-1
Parameter
Description
TOTYPE
TOVOLUME
TOUNIT
TORECNUM
Copy the entire operational Automation log to another file of the same size:
TODSN
TOVOLUME
TOUNIT
SYS3.MYLOG
WORK02
DISK
Example 2
SYS3.MYLOG
WORK02
DISK
100000
6-4
Example 3
S
SYS3.MYLOG.DTYPE
D
WORK02
DISK
Example 4
Back up part of the operational Automation log to a file on the basis of date
or time limits. (The output file contains only the records selected.) With
CONTROL-M, the date or time can be set using the CONTROL-M AutoEdit
facility.
STARTDATE
STARTTIME
ENDDATE
ENDTIME
TODSN
TOVOLUME
TOUNIT
TORECNUM
001027
150000
001027
200000
SYS3.MYLOG.D2710.F15T20
WORK02
DISK
MINIMAL
Example 5
001020
001021
SYS6.MYLOG.F20T21
S
WORK02
DISK
MINIMAL
6-5
Verify that no users have allocated the Message Statistics file using
CONTROL-O screen OM.
Step 3
Rename the current Message Statistics file (input file for the copy operation),
for example, using ISPF 3.2 or 3.4.
Step 4
4.B
4.C
4.D
4.E
4.F
4.G
4.H
4.I
Step 5
6-6
Example
//COPYST JOB
//COPYFILE EXEC CTOCSF
//DASTF DD DISP=SHR,DSN=old-dsname
//
6-7
The address space being analyzed must be running when this utility
is run.
Parameter
The following parameter must be specified in the EXEC statement that
invokes the CTOCTA JCL procedure.
Table 6-2
CTOCTA Parameter
Parameter
Description
PARM
Return Codes
Table 6-3
Code
Description
other
Operation failed
6-8
Example
If the utility is run to check address space M70TEST, the following output
messages may be generated:
CTO660I
CTO666I
CTO666I
CTO666I
CTO666I
CTO666I
CTO666I
CTO664I
ADDRESS
PROGRAM
PROGRAM
PROGRAM
PROGRAM
PROGRAM
PROGRAM
ADDRESS
SPACE M70TEST
IEAVAR00 FOUND
IEESB605 FOUND
IEFSD060 FOUND
IEFIIC
FOUND
TESTPGM FOUND
IEAVTSDT FOUND
SPACE M70TEST
When determining which program name is specified in the input file for
utility CTOCTA, ignore programs IEAVAR00, IEESB605, IEFSD060,
IEFIIC and IEAVTSDT. These are system programs used by all started tasks
and batch programs. In the above example, TESTPGM is the program name
specified in the input file for utility CTOCTI.
6-9
where OLPREFO is the prefix name of the CONTROL-O PARM library and
is usually resolved automatically from IOASET.
6-10
Input File
Object names and program names used as input for the utility are specified in
sample input file CTOOBJFL located in the CONTROL-O PARM library.
*OBJECT_DETAIL__OBJECT CLASS____AS_NAME_PGMNAME_X
ELD
ETILOADR
PDS MANAGER
PDSMOPR
TEST PDS MANAGER
PDSMANT PDSMOPR X
BB CSA MONITOR
PMGCSWRN
RESOLVE
ASTXA1MN
ENDEAVOR
LDMMAIN
CONTROL-D
CTDMON
TSO
IKTCAS00
PCAUTH
PCAUTH IEAVXMASX
RASP
RASP
IARDINITX
TRACE
TRACE
IEAVETAIX
XCFAS
XCFAS
IXCINJSTX
GRS
GRS
ISGNASIMX
CTOCTI Formats
Columns
Description
columns 01 16
columns 17 32
Object class name. You can use this field to create logical
groups of objects. For a description of the CLASS column, see
the component details chapter of the CONTROL-O/COSMOS
OS/390 and z/OS User Guide. Optional.
columns 33 40
columns 41 48
column 49
Exclude field. Used to indicate that the object in this row is not
managed by COSMOS. Valid values are:
X The program and/or address space in this row is ignored
by the utility.
blank The object is processed by this utility and is included
in the input for the SYSIMAGE facility.
6-11
Before running utility CTOCTI, it is recommended that you modify the input
file in the following ways:
Add rows for objects (started tasks) not listed in the input file. At least an
object name and program name must be specified for each new row.
If a started task that is running in the system is not listed in the input file, it is
listed in the output of the utility. Instead of a specific object name and
description, **UNDEF_OBJECT** is returned.
The program name associated with a specific address space can be
determined using utility CTOCTA (described above).
Return Codes
Table 6-5
Code
Description
The utility ended with errors. For details, see messages issued
by the utility.
Utility Output
The output of utility CTOCTI is a series of messages describing objects
(resources) at your site. These messages are used to trigger the SYSIMAGE
facility and generate an Object database to be used by COSMOS.
6-12
Run utility CTOCTI (not using the SYSIMAGE facility while the rule
CTO659I of CONTROL-O/COSMOS is not loaded or held).
Step 2
Step 3
Edit the input file for utility CTOCTI in the following way:
Step 4
3.A
3.B
3.C
Determine the program name for each started task (using utility
CTOCTA) and specify it in the input file.
When all started tasks have been defined in the input file for utility CTOCTI,
rerun this utility using the SYSIMAGE facility.
The SYSIMAGE facility uses the utility output to create an Object database
that includes all started tasks not excluded using the input file to the utility.
6-13
SORT Parameter
The following parameter can be specified to sort the report data.
Table 6-6
Parameter
Description
SORTBY
Parameter
Description
msg
6-14
Example
Figure 6-2
CTORSTM Example
PAGE
SYSTEM ID
PAGE
SYSTEM ID
2
OS35
, RC=08
6-15
CTORSTM Fields
Field
Description
MESSAGE ID
COUNT
HANDLED
SUPPRESSED
MESSAGE TEXT
HANDLED
SUPPRESSED
6-16
Return Codes
Table 6-9
Code
Description
other
Operation failed
6-17
Return Codes
Table 6-10
Code
Description
other
Operation failed
6-18
Utility CTOTEST is run on each record in the input file. A pair of messages
is generated for each run of the utility. The first message describes the record
being processed. The second message describes the CONTROL-O response
to the input record. A return code (described below) is supplied as part of the
second message.
Parameters
The following parameter must be specified in the EXEC statement that
invokes the CTOTEST procedure.
Table 6-11
Parameter
Description
PARM
6-19
Parameter
Description
DSN
Physical sequential
Record length: 127
Record format: Fixed or Fixed block
where
6-20
Return Codes
The following return codes may be returned by each run of utility CTOTEST.
If an internal error is detected while processing an input record, that record is
ignored and processing continues with the next record of the input dataset.
Table 6-13
Code
Description
12
Other
Internal error.
Example
Below is a sample JCL and input for utility CTOTEST followed by the
messages returned as output.
JCL
// CTOSIM
EXEC PGM=CTOTEST,PARM=N500
// CMDMSGFL DD *
Input File
5$D MODULE(HASPCOMM)
1IEC301A S JOB T56E DSNAME
1IEF403I M70TT123 STARTED
6-21
Output Messages
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
CTO500I INPUT LEN=019 REC=$D MODULE(HASPCOMM)
CTO503I RC000 LEN=000 REC=
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
CTO500I INPUT LEN=025 REC=IEC301A S JOB T56E DSNAME
CTO503I RC000 LEN=000 REC=
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
CTO500I INPUT LEN=024 REC=IEF403I M70TT123 STARTED
CTO503I RC000 LEN=000 REC=
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6-22
Return Codes
Table 6-14
Code
Description
other
Operation failed
6-23
6-24
180
Chapter 7
CONTROL-M/Tape Utilities
7-1
7-2
7-3
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-136
CTTSPL Copies or Moves Media Database Records . . . . . . . . . . . . . . 7-138
Split and Merge Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-138
Data Integrity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-139
Simulation Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-139
Volume Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-140
Recovery from Abends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-140
Undoing Splits and Merges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-140
Activating the CTTSPL Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-141
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-142
Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-143
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-143
CTTSTK Build and Update Stacking Database . . . . . . . . . . . . . . . . . . . 7-145
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-146
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-146
INCLUDE / EXCLUDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-146
Gathering Statistics for Datasets with Non-specific Retention. . . . . . 7-147
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-147
CTTSTKR Stacking Statistics Report Utility . . . . . . . . . . . . . . . . . . . . 7-148
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-148
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-148
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-150
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-150
CTTSYNC Synchronize Automated Tape Libraries with the Media
Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-152
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-153
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-153
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-154
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-154
CTTTPI Tape Initialization, Information Mapping, and Tape Erasure . 7-156
Safe Tape Initialization Function INITT . . . . . . . . . . . . . . . . . . . . . 7-156
Media Information Mapping Function TAPEMAP . . . . . . . . . . . . . 7-157
Safe Tape Erasure Function TAPERAS. . . . . . . . . . . . . . . . . . . . . . 7-159
CTTTPI and I/O Error Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-160
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-161
Passing Parameters using the EXEC Statement . . . . . . . . . . . . . . . . . 7-161
Passing Parameters using DD Statement SYSIN . . . . . . . . . . . . . . . . 7-162
Input Parameters SYSIN DD File . . . . . . . . . . . . . . . . . . . . . . . . . . 7-162
Invoking CTTTPI From Another Program . . . . . . . . . . . . . . . . . . . . . 7-167
Activating Utility CTTTPI From the StorageTek Host Software
Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-168
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-169
Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-170
CTTTRB Synchronize Trace File and Media Database Backup . . . . . . 7-171
Activating the Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-171
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-171
Return Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-172
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-172
7-4
7-5
Overview
Overview
This chapter provides a detailed description of the CONTROL-M/Tape
utilities.
To specify a value that includes blank spaces, the value must be enclosed
in single quotes (for example, This is a value with spaces).
To add a comment to a line, separate it from the code on the line by one
or more blank spaces. For example:
INCLUDE DSNAME=DB2*
Certain utilities accept selection criteria that determine which records are
processed when the utility runs. These selection criteria are specified as
expressions in INCLUDE / EXCLUDE statements that are supplied as
parameters to the utility.
7-6
Overview
Expressions
where
Note:
Only the =, and ! operators can be specified when the key and value are of
type character (meaning, non-numeric).
7-7
Overview
For additional information about masking, see the online facilities chapter in
the appropriate user guide.
INCLUDE Statements
All the expressions in an INCLUDE statement must be true for the statement
to be true (meaning, the relationship between the expressions within one
INCLUDE statement is AND).
EXCLUDE Statements
7-8
Overview
if the INCLUDE statement is false, the record is not selected and the next
record is examined.
7-9
Overview
Figure 7-2
7-10
Overview
The following examples illustrate INCLUDE / EXCLUDE logic. For all but
the last example, assume the following expressions, all of which evaluate to
True.
Table 7-1
Expression
Evaluates To:
Key1=Value1
True
Key2=Value2
True
Key3=Value3
True
Example 1
Example 2
Select all records that match these expressions, using another method:
INCLUDE Key1=Value1
EXCLUDE Key2Value2
EXCLUDE Key3Value3
Example 3
Select all records that match the first expression and either the second or third
expressions:
INCLUDE Key1=Value1
EXCLUDE Key2Value2,Key3Value3
Example 4
7-11
Overview
Example 5
Select all records that match either the second or third expression, but do not
match the first expression:
INCLUDE
EXCLUDE
INCLUDE
EXCLUDE
Key2=Value2
Key1=Value1
Key3=Value3
Key1=Value1
Example 6
The following example utilizes actual values (instead of the terms KeyN and
ValueN).
Select the records of all volumes starting with FD whose dataset name starts
with BACKUP, except for those volumes starting with FD but ending with
102. Furthermore, independent of the preceding selection criteria, select
records created by jobs whose job names start with CTT.
INCLUDE VOLSER=FD*,DSNAME=BACKUP*
EXCLUDE VOLSER=FD?102
INCLUDE CREJBN=CTT*
Utilities
As of version 6.1.00, all CONTROL-M/Tape databases (that is, the Media
and Stacking databases) are managed as IOA Access Method databases.
Therefore, several new IOA Access Method database utilities have replaced
the corresponding previous utilities. Table 7-2 lists the new utilities and the
old utilities which they replace.
Note:
Table 7-2
New Utilities
Old Utilities
Description
IOADBF
CTTDBF and
CTTCRDF
IOADIG
CTTDBID
IOADII
CTTDBII
IOADLD
CTTDBDLD
7-12
Overview
Table 7-2
New Utilities
Old Utilities
Description
IOADPT
CTTDBPRT
IOADUL
CTTDBDUL
For more information on these IOA Access Method database utilities, see
Chapter 2, IOA Utilities.
7-13
Note:
If the Trace file is 100% full, no tape activity can be recorded in it. In
this case, use JCL parameter EXPDT=00000 when the Trace file is
copied to tape.
Note:
CTTACP Activation
//EXEC
CTTACP
//SYSIN
DD
*
COPY
FROM=TRACE|SEQ,TO=TRACE|SEQ
<INCLUDE/EXCLUDE STATEMENTS>
OUTPUT
TYPE=T|C|X|D|F,LINESIZE=size
//
7-14
Parameters
The following parameters can be specified to the utility in the EXEC
statement that invokes the CTTACP JCL procedure:
Table 7-3
Parameter
Description
TRCIN
TRCOUT
Parameter
Description
COPY
INCLUDE /
EXCLUDE
OUTPUT
Note:
7-15
Return Codes
Table 7-5
Code
Description
12
16
20
Examples
Copy a Trace file to a second preformatted Trace file:
Figure 7-4
//EXEC
//SYSIN
COPY
//
CTTACP Example 1
CTTACP,TRCOUT= CTT.BACKUP.TRC
DD
*
FROM=TRACE,TO=TRACE
Copy the Trace file to a sequential variable-blocked file. Only records from
job TAPEJOB are included. The output is in dump format. The line size is
132 bytes.
Figure 7-5
//EXEC
//SYSIN
COPY
INCLUDE
OUTPUT
//
CTTACP Example 2
CTTACP,TRCOUT=CTT.JOB.ACTIVITY
DD
*
FROM=TRACE,TO=SEQ
JOBNAME=TAPEJOB
TYPE=D,LINESIZE=132
7-16
For more information about calculating the trace file size, see the
CONTROL-M/Tape installation chapter of the INCONTROL for
OS/390 and z/OS Installation Guide.
CTTAFR
Parameters
No parameters are specified for this utility.
Return Codes
Table 7-6
Code
Description
12
16
Example
Format the Trace file.
//EXEC
//
CTTAFR
7-17
When the amount of space remaining for the existing index file is
insufficient. In this case:
Delete the index file.
Redefine and format the index file with the required amount of space,
using the IOADBF utility.
Rebuild the index file.
After recovery
7-18
Parameters
The TYPERUN parameter is contained in the EXEC statement.
Table 7-7
Parameter
Description
TYPERUN
Note:
Return Codes
Table 7-8
Code
Description
12
16
7-19
Table 7-8
Code
Description
24
Unsuccessful sort.
28
32
40
Index is not empty. Before running the utility, format the index
using the IOADBF utility.
44
Example
//EXEC
//
CTTBIX,TYPERUN=B
7-20
Parameters
Parameters are supplied to the utility by invoking a JCL procedure.
Table 7-9
Parameter
Description
DBPREFT
The high level qualifier of the dataset trace file. The default is the
value of the ICE variable &DBPREFT, set during ICE installation
step 3.1.
Note: The full name of the newly-created trace file is
&DBPREFT..TRC.
TRCUNITT
TRCVOL
The volume on which the file resides. The default is the value of
the ICE variable &TRCVOL, set during ICE installation step 5.3.
TRCBLKS
The number of blocks that the data file contains. The default is
the value of the ICE variable &TRCBLKS, set during ICE
installation step 5.3.
To calculate the required number of records, see the topics on
Media Database and Stacking Database calculations in the
CONTROL-M/Tape chapter of the INCONTROL for OS/390 and
z/OS Installation Guide.
TRCBLK
The block size of the newly-created trace file. The default is the
value of the ICE variable &TRCBLK, set during ICE installation
step 5.3.
7-21
Return Codes
Table 7-10
Code
Description
12
16
Example
//EXEC CTTCTRC,DBUNITT=3390,TRCBLKS=1700
7-22
Parameters
The following parameter can be specified to the utility in the EXEC
statement that invokes the CTTDBIB JCL procedure:
7-23
Table 7-11
CTTDBIB Parameters
Parameter
Description
DBRPEFT
The high level qualifier of the database files. The default in the
high-level qualifier of the CONTROL-M/Tape database
installation.
Note:
Return Codes
Table 7-12
Code
Description
12
16
Other
Example
//EXEC CTTDBIB
//SYSIN DD DSN=CTT.PROD.PARM(KEYSTK),DISP=SHR
7-24
CTTDLD
DD
*
MODE=ADD
FIRST=firstvol,LAST=lastvol,MEDIA=type,
SCRATCH=Y|N,VENDOR=vendor,RENAME=prefix
//
DELETE mode:
//EXEC
//SYSIN
TYPERUN
RANGE
//
CTTDLD
DD
*
MODE=DELETE
FIRST=firstvol,LAST=lastvol
CONVERT mode:
7-25
//EXEC
//SYSIN
TYPERUN
RANGE
CTTDLD,INP=source-dataset
DD
*
MODE=CONVERT
FIRST=firstvol,LAST=lastvol,MEDIA=type,
VENDOR=vendor,RENAME=prefix
//
Note:
CTTDLD Jobs
Job
Description
CONVTMDB
CONVC4MD or
CONVC5MD
CONVLCTL
CONVRMDB
To browse these jobs, use ICE minor option 3 (Tailor Job) under major option
7 (Housekeeping).
Parameters
Table 7-14
Parameter
Description
7-26
Table 7-14
Parameter
Description
TYPERUN
RANGE
MEDIA
SCRATCH
VENDOR
RENAME
Return Codes
Table 7-15
Code
Description
12
16
Greater than
16
7-27
Example 1
Add 3400 type media non-scratch volumes numbered K00100-K00500, made
by IBM.
//EXEC
//SYSIN
TYPERUN
RANGE
CTTDLD
DD *
MODE=ADD
FIRST=K00100,LAST=K00500,MEDIA=3400,
SCRATCH=N,VENDOR=IBM
//
Example 2
Delete volumes numbered K00100-K00500.
//EXEC
//SYSIN
TYPERUN
RANGE
//
CTTDLD
DD *
MODE=DELETE
FIRST=K00100,LAST=K00500
Example 3
Convert 3480 type volumes numbered K00100-K00500 to
CONTROL-M/Tape.
//EXEC
//SYSIN
TYPERUN
RANGE
//
CTTDLD,INP=tape.convert
DD *
MODE=CONVERT
FIRST=K00100,LAST=K00500,MEDIA=3480
Example 4
If you are consolidating two tape libraries and both libraries contain tapes
with the same volsers, you can rename the volsers for one set of tapes so that
no conflict appears in the Media Database.
7-28
In this example, active 3480 type volumes made by IBM with volsers
FX0001-FX0100 are converted to CONTROL-M/Tape, renamed and added
to the Media Database.
Volsers FX0001-FX0100 are renamed MA0001-MA0100. The SL-names
(the internal labels of the volumes) remain FX0001-FX0100.
// EXEC
//SYSIN
TYPERUN
RANGE
CTTDLD,INP=TAPE.CONVERT
DD *
MODE=CONVERT
FIRST=FX0001,LAST=FX0100,MEDIA=3480,
VENDOR=IBM,RENAME=MA
//
7-29
7-30
Parameters
Utility CTTGVL receives parameters in the standard method (Register 1
points to a list of addresses). The following parameters are passed to the
utility.
Input Parameters
Table 7-16
Parameter
Description
DATASET
JOBNAME
STACKID
Output Parameters
Table 7-17
Parameter
Description
VOLSER
LABEL
7-31
Return Codes
Table 7-18
Code
Description
12
16
Example
This utility must be called from an application program using one of the
following methods:
DC
DC
DC
DS
DS
CL44MY.DSN
CL8MYJOB
CY
CL6123456
H01
Dataset name
jobname
Stacking indicator
Volume serial number
Label
7-32
Note:
7-33
//EXEC
//SYSIN
TYPERUN
CTTIDB
DD *
MODE=CHECK[,USEDAYS=n]
Parameters
The following parameter is supplied using DD statement SYSIN:
Table 7-19
CTTIDB Parameter
Parameter
Description
TYPERUN
Return Codes
Table 7-20
Code
Description
12
16
32
Greater than
32
7-34
Example
In the following example, the CTTIDB utility checks the logical integrity of
the Media database and issues the appropriate error messages. Volumes that
have the IN USE status for more than six days are also reported.
//EXEC
//SYSIN
TYPERUN
CTTIDB
DD *
MODE=CHECK,USEDAYS=6
7-35
The CTTMER utility is used together with the CTTSPL utility in the split
and merge process. Before using the CTTMER utility, see Split and Merge
Processing on page 7-138.
After running the CTTMER utility, BMC Software recommends that you run
the CTTVTM utility in SLOTBLD mode to rebuild the slot definitions. After
completion of the CTTVTM utility, run the CTTIDB utility to check the
integrity of the target Media Database.
CTTMER,MRGIN=repdata-file
DD *
MODE=NORMAL|SIMULATE|RSIMULAT[,DBGLEVEL=nnn]
7-36
Parameters
Table 7-21
CTTMER Parameters
Parameter
Description
repdata-file
TYPERUN
7-37
Example
In this example utility CTTMER merges all records in the extract file
(CTT.V600.REPDATA) into the Media Database.
//EXEC
//DAIN
TYPERUN
/*
CTTMER,MRGIN=CTT.V600.REPDATA
DD *
MODE=NORMAL
Return Codes
Table 7-22
Code
Description
Initialization problem.
12
16
20
24
28
Greater than
28
7-38
Note:
7-39
CTTMUP
DD *
MODE=NORMAL|SIMULATION[,RULEINFO=YES|NO][,
CHECK=YES|NO][,APPLY=GROUP][,DBGLEVEL=nnn]
<CONTROL STATEMENTS>
Parameters
The following parameters can be specified for utility CTTMUP.
Note:
7-40
Table 7-23
CTTMUP Parameters
Parameter
Description
TYPERUN
Control Statements
Control statements specify the update function to be performed, the fields to
be updated and the update values.
This topic lists valid control statement functions for Media Database updates,
Stacking Database updates, and Trace updates, followed by information on
specifying fields and values.
7-41
Statement
Description
VOLADD
VOLUPD
VOLDEL
VOLSCR
Expire all the datasets in the volume and change the status of
the volume to scratch.
VOLSER Volume serial number. Mandatory.
DEFERRED Choose deferred (or immediate) scratch.
Optional. Possible values are:
Y (Yes) Perform deferred scratch.
N (No) Perform immediate scratch. Default.
VOLBIX
GRPSCR
Expire all datasets of all the volumes in the group and change
the status of those volumes to scratch.
VOLSER Volume serial number of one of the volumes in
the group.
DEFERRED Choose deferred (or immediate) scratch.
Optional. Valid values are:
Y (Yes) Perform deferred scratch.
N (No) Perform immediate scratch. Default.
7-42
Table 7-24
Statement
Description
GRPBIX
Rebuild the indexes of all the volumes and of all the datasets
in the group. One of the volumes in the group must be
identified by one of two fields (either field is mandatory):
VOLSER Volume serial number of a volume in the group.
or
DVLRBA Internal database record identifier of a volume
in the group.
If DVLRBA is used to identify the volume, VOLSER can also
be specified for verification.
DSNUPD
DSNUPDN
DSNADD
7-43
Table 7-24
Statement
Description
DSNDEL
DSDELL
Delete L-type key for a volume. Two fields are mandatory for
this function:
DSVOLSER Datasets volume serial number.
DSLABEL Datasets label number.
DSNEXT
RECDEL
RECUPD
ENDUPD
Statement RECUPD selects a records from the Media
Database for update. It must be the first statement specified.
This statement includes the following parameters:
RBA Update internal database record identifier.
VER Verify existing data before updating the record.
REP Replace existing data with new data.
7-44
Table 7-24
Statement
Description
ENDUPD Identifies the end of the RECUPD function. It
must be the last statement in this function.
An unlimited number of paired VER and REP statements can
follow the RECUPD statement. These statements are
formatted like the VER and REP statements of MVS utility
AMASPZAP:
Data is provided in both the VER and REP statements, as
follows:
offset Offset of the data from the beginning of the record
(four digits in hexadecimal format, from 0000 through
01CC).
data Record data for verification or replacement (in
hexadecimal ZAP format).
Example
This example updates the volume record with the statement
RBA=00000104. Two status bytes are verified on offset 0005
and status IN-USE then set.
RECUPD
VER
REP
ENDUPD
VOLSCRF
RBA=00000104
0005 8000
0005 8002
Statement
Description
STKADD
STKUPD
7-45
Table 7-25
Statement
Description
STKDEL
Statement
Description
TRCUPDQ
This function is intended for use with datasets that have a specific retention
date. Datasets that have a non-specific retention type (for example, MVS
Catalog, Permanent) cannot be extended using this function. When a datasets
retention is extended, the retention date is added to the number of specified
days.
Note:
This function can also be used to unscratch datasets. When DSNEXT is used
against a scratch dataset, the dataset becomes active. If the volume itself was
also scratch, the entire volume and its datasets become active. The new
retention date becomes the current date plus the number of days specified.
VOLBIX Function
This function is intended for use only when the CTTIDB utility detected
errors with V-indexes (volume indexes). Do no use this function for L-index
problems.
7-46
GRPBIX Function
Be sure that you have corrected all V-indexes before using this function.
This function corrects problems of L-indexes and D-indexes. It can be
applied for a single volume as well as for a multi-volume group.
VOLUPD Function
VOLSCRF Function
This function is intended for use only after integrity errors occurred while
trying to scratch records using the VOLSCR or GRPSCR function.
This function affects single volumes only. To scratch a multi-volume group,
specify this function for each volume separately.
7-47
CTTMUP Fields
Field
Description
Date Fields
Time Fields
Format is hhmmss.
Numeric Fields
Embedded
Blanks
Quotation
Marks ( or )
If the value begins and ends with either single or double quotes,
the quotation marks are interpreted as markers of the beginning
and end of the value. To include a quote mark in a string (value),
use the other type of quote mark to mark the beginning and end
of the string. For example, a single quote (apostrophe) can only
be included in the value if the value is enclosed in double quotes
().
Null Values
Retention
Criteria Fields
Fields with
Predefined
Valid Values
Status Bits
VOLUPD.... ,VOLIND=+PVLT
To turn off the above status bit, include the following:
VOLUPD.... ,VOLIND=-PVLT
7-48
Field
Description
LBLNUM
Last label number on the volume. This value cannot be less than
the value of ACTIVEDS (number of active datasets on the
volume). If not specified, LBLNUM defaults to the value of
ACTIVEDS.
Return Codes
Table 7-29
Code
Description
12
16
I/O error
20
24
28
Example
Example 1
Convert scratch volume DDD020 to active status and add dataset FILE7 to
the volume.
//EXEC
//SYSIN
TYPERUN
VOLUPD
DSNADD
CTTMUP
DD *
MODE=NORMAL
VOLSER=DDD020,ACTIVEDS=1,VOLSTAT=ACTIVE
DSVOLSER=DDD020,DSLABEL=1,DSNAME=FILE7,
CREDT=990622,CRETM=142500,CREJBN=JOB1
7-49
Example 2
Rebuild a chain of two volumes. The first volume, PRD001, has two datasets
on it. The second dataset reached the end of the first volume and continued
on the second volume, PRD002.
//JOB NAME
//CTTMUP
//SYSIN
TYPERUN
VOLUPD
VOLUPD
DSNADD
DSNADD
JOB ....
EXEC CTTMUP
DD *
MODE=NORMAL,RULEINFO=YES,CHECK=NO
VOLSER=PRD001,VOLSTAT=ACTIVE,VOLSEQ=1,
ACTIVEDS=2,LBLNUM=2,MEDIA=3480,
LOCATION=MAINLIB,FIRSTVOL=PRD001,
NEXTVOL=PRD002,PREVVOL=
VOLSER=PRD002,VOLSTAT=ACTIVE,VOLSEQ=2,
ACTIVEDS=1,LBLNUM=2,MEDIA=3480,
LOCATION=MAINLIB,FIRSTVOL=PRD001,
NEXTVOL=,PREVVOL=PRD001
DSVOLSER=PRD001,DSLABEL=1,
DSNAME=PROD.BACKUP.G0001V00,VOLSNUM=1
DSVOLSER=PRD001,DSLABEL=2,
DSNAME=PROD.BACKUP.G0002V00,VOLSNUM=2
//
Considerations
This example assumes that PRD001 and PRD002 are defined in the
Media Database and are in SCRATCH status. If these volumes are not
defined in the Media Database, you must change the first two control
cards from VOLUPD to VOLADD.
LBLNUM is set to 2 for both volumes because the highest label number
on both of volumes is label 2.
7-50
Example 3
EXEC CTTMUP
DD *
MODE=NORMAL,CHECK=NO
DSNAME=ACCT.JAN1,JOBNAME=JOB1,STATUS=STK
DSNAME=ACCT.FEB2,JOBNAME=JOB2,
MAXSIZE=20480,MINSIZE=1024
//
7-51
Trace records are read starting with the first record after the Media
Database backup record. Recovery continues until the last trace record is
reached. When the process is finished, the MDB returns to the condition
it was in before it was damaged.
In situations where no MDB backup has been performed, the recovery
can be started from the first trace record.
To prevent unpredictable results, the CONTROL-M/Tape environment
must be inactive while the physical recovery process is running.
7-52
Warning!
This utility updates the database using the tracked RBA record
from the Trace file. To prevent a possible integrity error in the
database, you must perform the following steps in sequence after
running the CTTRCV utility:
Run the IOADIG utility with the FUNC parameter set to W.
Rebuild the index with the CTTBIX utility.
Parameters
Utility parameters are supplied using DD statement SYSIN:
7-53
Table 7-30
Parameter
Description
RECOVER
7-54
Table 7-30
Parameter
Description
FROMREC Starting point of the recovery. Can only (and
must) be specified when TYPE is set to PHYSICAL.
LASTBKP The recovery starts from the point where
the Media Database was last backed up.
FIRSTREC The recovery starts from the first Trace
record. This option is useful for new sites that have not
yet performed any Media Database backups.
CHECKACT Check if CONTROL-M/Tape is active before
starting the recovery. When recovery is performed, the
CONTROL-M/Tape Real-time environment must not be
active (that is, it must be down or suspended). In simulation
mode, this parameter has no effect.
Y (Yes) If CONTROL-M/Tape is active, recovery is|
not started.
N (No) Recovery is started regardless of whether
CONTROL-M/Tape is active.
Warning: If N (No) is specified when CONTROL-M/Tape is
active, Media Database integrity can be lost and
unpredictable results can occur.
Use this value to initiate a recovery in a test environment on a
test Media Database while the production environment is still
active.
RECAT In logical (roll back) recovery, recatalog datasets
that were uncataloged by utility CTTRTM.
Y (Yes) Recatalog all datasets that were uncataloged.
Note: The same catalog environment that existed for the
CTTRTM utility is required by the CTTRCV utility.
N (No) Do not recatalog datasets.
FORCEIn logical (roll back) recovery, indicates whether a
check is performed to verify that the current contents of the
Media Database match the operation that is reversed.
Y (Yes) Perform the reversal operation without
performing the check.
Warning: Specifying Y (Yes) can cause unpredictable results
and the loss of Media Database integrity.
L (Logical)Perform the check. The changes for the
Media Database records that pass this check (and
therefore match the operation being reversed) are rolled
back. Records that do not pass the check are not
affected.
N (No)Perform the reversal operation only if all checks
were completed successfully.
7-55
Table 7-30
Parameter
Description
INCLUDE /
EXCLUDE
Return Codes
Table 7-31
Code
Description
12
16
24
28
32
Examples
Example 1
CTTRCV
DD *
RECOVER TYPE=PHYSICAL,FROMREC=LASTBKP
7-56
Example 2
Reverse all changes performed by user M27A from July 19th, 13.40.00, to
July 22nd, 12.24.45:
//EXEC
//SYSIN
CTTRCV
DD *
RECOVER TYPE=LOGICAL,RECAT=YES
INCLUDE
JOBNAME=M27A,DATE=20000719,TIME>134000
INCLUDE JOBNAME=M27A,DATE>20000719
EXCLUDE DATE>20000721
INCLUDE JOBNAME=M27A,DATE=20000722,TIME<122445
7-57
7-58
The primary key and the primary fields are determined as follows:
In the DISTRIB report, the primary key is the volser of the volume (or
the volser of the first volume in a multi-volume chain) and the primary
fields are the fields that have the same value for all volumes in the chain
(for example, From Location and To Location) and the fields extracted
from the dataset record that determined the vaulting pattern.
In the SCRATCH report, the primary key is the volumes volser (or the
first volumes volser in a multi-volume chain) and the primary fields are
the fields extracted from the expiration dataset record.
Parameters
Utility parameters are supplied using DD statement SYSIN:
7-59
Extract Parameters
EXTRACT PATH=VOLUME|
VOLUME/FIRSTDATASET|
VOLUME/ALLDATASETS|
DATASET|
DATASET/FIRSTVOLUME|
DATASET/ALLVOLUMES
<INCLUDE/EXCLUDE statements>
The syntax
EXTRACT PATH=rectype
Value
Description
VOLUME
VOLUME/
FIRSTDATASET
VOLUME/
ALLDATASETS
DATASET
DATASET/
FIRSTVOLUME
DATASET/
ALLVOLUMES
7-60
REPORT NAME=GENERAL,TITLE=text,FOLD=YES|NO,
PAGESIZE=p,LINESIZE=s,MARGINS=m-n,
SUMMARY=YES|NO,OUTDD=ddname
FIELDS field 1/options-1,field 2/options-2,...,
field n/options-n,ID=P|S
SORTBY field 1/options-1,field 2/options-2,...,
field n/options-n
ATTR
FIELD=name,LENGTH=t,TITLE=text,EDIT=mask
BREAK FIELD=name,COLUMN=c,SUMTITLE=text,
EDIT=numeric mask
7-61
Table 7-33
Parameter
Description
REPORT
7-62
Table 7-33
Parameter
Description
FIELDS
SORTBY
7-63
Table 7-33
Parameter
Description
Example 1
SORTBY LOCATION /BRK (or /B)
POOL/BRK/DSC,MEDIA/ASC
Output is sorted by vault (LOCATION) in ascending order (the
default) by pool (POOL) within a vault in descending order
and by media (MEDIA) within a pool in ascending order. A
page break is inserted each time the vault or pool changes.
Example 2
SORTBY LOCATION /BRK/RSP,
MEDIA/BRK/RSR,EXPDT/DSC
Output is sorted by vault (LOCATION) in ascending order (the
default) by media (MEDIA) within a vault in ascending order
(by default) and by expiration date (EXPDT) within a media in
descending order. A page break is inserted for every change
in vault and media and the page number (and, by default, the
row number) is also reset each time the vault changes. The
row number is reset each time the media changes.
ATTR
Volume
Serial
Number
7-64
Table 7-33
Parameter
Description
EDIT=mask Field format, as specified through a mask.
The mask must be enclosed in apostrophes. Parameter
EDIT cannot be specified for character and hexadecimal
fields. Valid mask formats:
Numeric Format For numeric fields only. The mask can
consist of Zs and 9s and commas, where 9 represents any
digit, Z represents a digit that is suppressed if its value is a
leading zero and comma is a separator between digits.
When specifying a numeric format, the following rules
apply:
A 9 cannot precede a Z in the mask.
A comma cannot be the first or last character of the
mask.
Example
Assume number 1234 is being edited (and b indicates
blank)
Mask Specified Result
ZZ,ZZ9
b1,234
Z,999
1,234
999999
001234
ZZZ,ZZZ
bb1,234
Date Format
For Date fields. Valid mask combinations can have no more
than one day symbol, one month symbol and one year
symbol.
Valid symbols:
DD Day (values 1 31).
MM Month (values 1 12).
MMM Month (values Jan Dec).
YY Year (last two digits, meaning, 00 99).
YYYY 4-digit year (for example, 2000).
Symbols can be optionally separated by one or more
separation characters: /, ., -, blank, and so on.
Example
Assume the date being formatted is August 23, 2000.
Mask Specified
Result
DD/MM/YY
23/08/00
YYYY.MM.DD
2000.08.23
MM-DD-YYYY
08-23-2000
DD MMM YYYY
23 Aug 2000
MMM DD YYYY Aug 23 2000
YY/MM
00/08
7-65
Table 7-33
Parameter
Description
Boolean Format
For Boolean fields (meaning, fields that contain a True or
False, or Yes or No condition). The specified FIELD is
checked for a true or false condition in the record.
The mask can contain either one value or two values
separated by a slash (/). A null value can be specified on
either side of the slash.
When one mask value is specified, the value is printed in the
report only if the FIELD checks true in the record. (If the
FIELD checks false, the mask value is not printed; blanks
are printed instead.)
When two values are specified, the first value is printed in the
report if the FIELD checks true in the record. The second
value is printed if the field checks false.
Examples
(1) ATTR FIELD=SCRATCH,
TITLE=Scratch,EDIT=Yes or No
(2) ATTR FIELD=ACTIVE,
TITLE=Type,EDIT=Active or Scratch
(3)ATTR FIELD=VAULTED, TITLE=V,EDIT=v
(4) ATTR FIELD=EDM, TITLE=Edm,EDIT=/No
The following table shows the results of Boolean editing for
these examples.
Example
Field Tested
(1)
SCRATCH
(2)
ACTIVE
(3)
VAULTED
(4)
EDM
7-66
Table 7-33
Parameter
Description
BREAK
7-67
Table 7-33
Parameter
Description
EDIT=numeric mask Numeric format of %COUNT and
%COUNTP variables. Optional. The default is ZZ,ZZ9. For
more information, see the Numeric format example for the
EDIT parameter of the ATTR statement, described in this
table.
Example
REPORT NAME=DISTRIB,SUMMARY=YES
FIELDS ...
SORTBY
TOLOC/BRK/RSR/RSP,
FROMLOC/BRK (or /B)
TOSLOT,FROMSLOT,
VOLSER
BREAK
FIELD=TOLOC,
SUMTITLE=Total Volumes Moved To %FIELD is
%COUNT, EDIT=Z,ZZ9
BREAK
FIELD=FROMLOC,
SUMTITLE=Total Volumes Moved From %FIELD is
%COUNT, EDIT=Z,ZZ9
ATTR ...
Special Fields
The following table contains a list of derived fields that can be included in
the GENERAL report. These fields do not exist in the Media Database
records, but their values are derived from either volume or dataset records, as
indicated, where:
V indicates the source is a volume record.
D indicates the source is a dataset record.
ROWID is a calculated field and therefore no source is indicated.
These fields cannot be subparameters of INCLUDE / EXCLUDE statements.
Table 7-34
Field Name
Source
Type
Default Size
in Bytes
DSEXPDTA
Character
36
DSPOOL
Character
15
Description
7-68
Table 7-34
Field Name
Source
Type
Default Size
in Bytes
DSSTAT
Character
12
DSTATX
Hexadecimal
POOL
Character
15
Numeric
ROWID
Description
VOLSTAT
Character
12
VSTATX
Hexadecimal
Return Codes
Table 7-35
Code
Description
12
16
20
24
28
32
36
40
44
48
BRK not specified for the preceding field in the SORTBY list.
52
7-69
Table 7-35
Code
Description
56
60
64
68
72
76
80
84
88
92
96
100
104
108
Insufficient memory.
116
200
Sample Reports
The reports listed below can be created using utility CTTRPT. These reports
are located in the IOA SAMPLE library.
Some of these sample reports contain question marks (??) where
customization is necessary. Replace the question marks with the desired
values and use the appropriate job to produce the report.
7-70
Reports
Table 7-36
Report
Description
CTTRFSCR
CTTRINV
CTTRINVT
CTTRSCRD
CTTRDELV
CTTRCLN
CTTRRTNP
CTTRLACV
CTTRDCRE
CTTRMOVW
CTTRCHKI
CTTRUTIL
CTTRLAVJ
Lists all volumes that were last accessed by a certain job since a
specified date.
CTTRWDCP
CTTROUTL
CTTRLRTV
Lists all volumes with high retention dates (for example, after
year 2001).
CTTRM10V
Lists all multi-volume datasets that span more than ten volumes.
CTTRMACV
Lists the most active volumes (accessed more than ten times
since they became active).
CTTREDM
CTTRRCLV
CTTRVUPD
CTTRDUPD
CTTRM25D
CTTRVBOX
7-71
Table 7-36
Report
Description
CTTRBXLC
CTTRNRTR
Lists all borrowed volumes that have not yet been returned.
The above reports are produced using the following jobs (that are located in
the JCL library):
Table 7-37
CTTRPT Jobs
Job
Description
REPFSCR
REPINV
REPSJOB
Example 1
Extract all datasets from location VAULT1 and generate a report showing all
VAULT1 datasets and their volumes sorted by their pool name (DSPOOL)
that is derived from dataset volser.
7-72
Figure 7-7
CTTRPT Example 1
A sample of the output report from the above example is illustrated below:
7-73
Figure 7-8
BMC SOFTWARE,INC.
CONTROL-M/TAPE REPORT
(VER 6.1.00)
POOL-NUMBER-1
First
Volume Dataset Name
Ds
Create
Create
Record Record
Seq. Job
Date
Length Format
Move
Vol
Slot
Volser
Date
Seq.
No.
------ ------------------------------------- ------------------ ------ -----58 016475 FDRABR.VTSO006.C1004900
27 ZCOBKUPD 13 Jun 00
0 U
012517
23 Jun 2000
55
74
015692
23 Jun 2000
56
163
015646
23 Jun 2000
57
162
016024
23 Jun 2000
58
177
59 016475 FDRABR.VESAD1A.C1002800
016024
23 Jun 2000
015722
23 Jun 2000
016048
23 Jun 2000
012771
23 Jun 2000
28 ZCOBKUPD 13 Jun 00
58
59
60
61
60 016475 FDRABR.VVSAM00.C1001300
012771
23 Jun 2000
010096
23 Jun 2000
018862
23 Jun 2000
018839
23 Jun 2000
012914
23 Jun 2000
016314
23 Jun 2000
016296
23 Jun 2000
016211
23 Jun 2000
61 016475 FDRABR.VSCLM02.C1003500
016211
23 Jun 2000
016201
23 Jun 2000
016127
23 Jun 2000
016337
23 Jun 2000
016322
23 Jun 2000
015072
23 Jun 2000
62 016475 FDRABR.VVSAM12.C1006800
015072
23 Jun 2000
015062
23 Jun 2000
011488
23 Jun 2000
011035
23 Jun 2000
010970
23 Jun 2000
010967
23 Jun 2000
63 017244 CA.BKUPMSTR.G0502V00
017244
23 Jun 2000
013076
23 Jun 2000
018149
23 Jun 2000
015278
23 Jun 2000
019308
23 Jun 2000
013099
23 Jun 2000
64 018042 TS63.CATALOG.VWGL507.BAC
018042
23 Jun 2000
018137
23 Jun 2000
013684
23 Jun 2000
011951
23 Jun 2000
011932
23 Jun 2000
29 ZCOBKUPD 13
61
62
63
64
65
66
67
68
30 ZCOBKUPD 13
68
69
70
71
72
73
31 ZCOBKUPD 13
73
74
75
76
77
78
1 CALDPBK 12
1
2
3
4
5
6
1 ZTSVSMB4 13
1
2
3
4
5
Jun 00
Jun 00
Jun 00
Jun 00
Jun 00
0 U
177
167
178
90
0
90
16
223
222
96
190
187
184
0
184
183
181
193
192
148
0
148
147
44
31
29
28
8,287
113
110
114
112
115
111
32,756
9
10
7
5
61
VB
VBS
7-74
BMC SOFTWARE,
INC.
CONTROL-M/TAPE REPORT
(VER 6.1.00)
POOL-NUMBER-1
First
Volume Dataset Name
Ds
Create
Create
Record Record
Seq. Job
Date
Length Format
Move
Vol
Slot
Volser
Date
Seq.
No.
------ ------------------------------------- ------------------ ------ -----64 018042 TS63.CATALOG.VWGL507.BAC
1 ZTSVSMB4 13 Jun 00 32,756 VBS
011257
23 Jun 2000
6
40
010885
23 Jun 2000
7
25
010870
23 Jun 2000
8
24
017991
23 Jun 2000
9
209
017509
23 Jun 2000
10
203
014339
23 Jun 2000
11
136
015050
23 Jun 2000
12
145
015097
23 Jun 2000
13
149
65 018228 TS63.CATALOG.VMVSCAT.BAC
018228
23 Jun 2000
66 018288 TS63.CATALOG.VWGL83A.BAC
018288
23 Jun 2000
018280
23 Jun 2000
67 018358 TS63.CATALOG.VWGL514.BAC
018358
23 Jun 2000
67
Example 2
Extract all volumes located in VAULT1 that were created by job ZCOIBKUP
during June 2000.
7-75
Figure 7-9
CTTRPT Example 2
The following is a sample output produced by the above example. Note the
following about the output:
1. The page number, date and time are not printed unless the LINESIZE
specified in the REPORT statement is at least 127.
2. During printing, if there is insufficient room on the current page for
secondary lines, the primary line is reprinted as part of the page header
on the next page.
3. A field specified with option /BRK in a SORTBY statement is shown in
the page header following the report title and any slashes (/) specified in
the TITLE definition are suppressed to blanks.
7-76
Figure 7-10
BMC SOFTWARE,
Type:
ACTIVE
Row
Id
Volser
CONTROL-M/TAPE REPORT
(VER 6.1.00)
Inventory Report
---------------Pool Name: POOL-NUMBER-1
Location:
Volume
Status
VAULT1
Move
Date
Vol
Slot
Volume
Seq.
No.
Expiration
Ds
Create
Create
Block
Dataset
Dataset Name
Seq.
Job
Date
Count
Expiration
---------------------------- ----------------------------------------------1
010222
Vaulted
Jun 20-2000
2
427
21 Jun 2000
FDRABR.VPROD02.C1005204
6 ZCOIBKUP 14 Jun 00
0 2000-Jun-21
FDRABR.VPROD01.C1008804
5 ZCOIBKUP 14 Jun 00
0 2000-Jun-21
FDRABR.VSAS001.C1006504
4 ZCOIBKUP 14 Jun 00
0 2000-Jun-21
FDRABR.VTSO006.C1004804
3 ZCOIBKUP 14 Jun 00
0 2000-Jun-21
FDRABR.VTSO003.C1015904
2 ZCOIBKUP 14 Jun 00
999 2000-Jun-21
2
010372
Vaulted
FDRABR.VTSO003.C1015904
FDRABR.VTSO002.C1015904
Jun 20-2000
2 ZCOIBKUP
1 ZCOIBKUP
1
433
14 Jun 00
14 Jun 00
21 Jun 2000
999 2000-Jun-21
999 2000-Jun-21
011938
Vaulted
FDRABR.VWGLE00.C1035504
FDRABR.VWGLE1C.C1027404
FDRABR.VMVS89C.C1005304
FDRABR.VMVS89D.C1005304
FDRABR.VMVSR1A.C1028204
FDRABR.VWGL800.C1006704
Jun 20-2000
17 ZCOIBKUP
16 ZCOIBKUP
15 ZCOIBKUP
14 ZCOIBKUP
13 ZCOIBKUP
12 ZCOIBKUP
14
14 Jun
14 Jun
14 Jun
14 Jun
14 Jun
14 Jun
487
00
00
00
00
00
00
21 Jun 2000
0 2000-Jun-21
0 2000-Jun-21
0 2000-Jun-21
0 2000-Jun-21
0 2000-Jun-21
0 2000-Jun-21
011954
Vaulted
FDRABR.VWGL514.C1041704
FDRABR.VWGLE13.C1031304
FDRABR.VMVSRES.C1018704
FDRABR.VWGLE00.C1035504
Jun 20-2000
20 ZCOIBKUP
19 ZCOIBKUP
18 ZCOIBKUP
17 ZCOIBKUP
15
14 Jun
14 Jun
14 Jun
14 Jun
492
00
00
00
00
21 Jun 2000
0 2000-Jun-21
0 2000-Jun-21
0 2000-Jun-21
0 2000-Jun-21
012016
Vaulted
FDRABR.VWGL800.C1006704
FDRABR.VSCLM03.C1001304
Jun 20-2000
12 ZCOIBKUP
11 ZCOIBKUP
13
506
14 Jun 00
14 Jun 00
21 Jun 2000
0 2000-Jun-21
0 2000-Jun-21
012191
Vaulted
FDRABR.VPROD04.C1016204
FDRABR.VPROD02.C1005204
Jun 20-2000
7 ZCOIBKUP
6 ZCOIBKUP
3
529
14 Jun 00
14 Jun 00
21 Jun 2000
0 2000-Jun-21
0 2000-Jun-21
012271
Vaulted
FDRABR.VSCLM03.C1001304
Jun 20-2000
11 ZCOIBKUP
9
539
14 Jun 00
21 Jun 2000
0 2000-Jun-21
012313
Vaulted
FDRABR.VSCLM03.C1001304
Jun 20-2000
11 ZCOIBKUP
12
544
14 Jun 00
21 Jun 2000
0 2000-Jun-21
013315
Vaulted
FDRABR.VPROD06.C1016204
FDRABR.VPROD05.C1015904
FDRABR.VPROD04.C1016204
Jun 20-2000
9 ZCOIBKUP
8 ZCOIBKUP
7 ZCOIBKUP
4
551
14 Jun 00
14 Jun 00
14 Jun 00
21 Jun 2000
0 2000-Jun-21
0 2000-Jun-21
0 2000-Jun-21
10
014347
Vaulted
FDRABR.VSCLM03.C1001304
Jun 20-2000
11 ZCOIBKUP
11
568
14 Jun 00
21 Jun 2000
0 2000-Jun-21
11
014743
Vaulted
FDRABR.VSCLM03.C1001304
Jun 20-2000
11 ZCOIBKUP
10
572
14 Jun 00
21 Jun 2000
0 2000-Jun-21
12
016465
Vaulted
FDRABR.VSCLM01.C1008904
Jun 20-2000
10 ZCOIBKUP
5
583
14 Jun 00
21 Jun 2000
0 2000-Jun-21
7-77
Type:
ACTIVE
Row
Id
Volser
Inventory Report
---------------Pool Name: POOL-NUMBER-1
Volume
Status
Location:
VAULT1
Move
Date
Vol
Slot
Volume
Seq.
No.
Expiration
Ds
Create
Create
Block
Dataset
DataSet Name
Seq. Job
Date
Count
Expiration
---------------------------- ----------------------------------------------12
016465
Vaulted
Jun 20-2000
5
583
21 Jun 2000
FDRABR.VPROD06.C1016204
9 ZCOIBKUP 14 Jun 00
0 2000-Jun-21
13
017248
Vaulted
Jun 20-2000
6
587
21 Jun 2000
FDRABR.VSCLM01.C1008904
10 ZCOIBKUP 14 Jun 00
0 2000-Jun-21
14
018377
Vaulted
Jun 20-2000
8
596
21 Jun 2000
FDRABR.VSCLM03.C1001304
11 ZCOIBKUP 14 Jun 00
0 2000-Jun-21
FDRABR.VSCLM01.C1008904
10 ZCOIBKUP 14 Jun 00
0 2000-Jun-21
15
018393
Vaulted
Jun 20-2000
7
596
21 Jun 2000
FDRABR.VSCLM01.C1008904
10 ZCOIBKUP 14 Jun 00
0 2000-Jun-21
Total number of volumes in VAULT1 :
POOL-NUMBER-1 Volumes:
Number of ACTIVE
73 ,
Volumes:
15
POOL-NUMBER-1 Datasets:
581
221
7-78
7-79
Parameters
Table 7-38
Parameter
Description
TYPERUN
7-80
Table 7-38
Parameter
Description
SYNCHLVL Instructions for handling conflicts (for
example, when an SMF record indicates creation of a
dataset that overwrites an existing dataset) between the
Media Database and the SMF records. Optional.
MATCH If a conflict occurs, the conflict is described in
the utility report. The Media Database is not updated with
the conflicting information. Default.
FORCE If a conflict occurs, the Media Database is
modified to reflect the changes described in the SMF
record.
X98000 Instructions for handling datasets for which
LABEL=EXPDT=98000 was specified. Optional.
SKIP Do not process datasets specified with
LABEL=EXPDT=98000. Default.
UPDATE Process all datasets regardless of their
EXPDT specification.
INCLUDE /
EXCLUDE
7-81
Table 7-38
Parameter
Description
REPORT
FIELDS
SORTBY
ATTR
7-82
Table 7-38
Parameter
Description
BREAK
Note: For a description of the parameters for these statements, see the FIELDS,
SORTBY, ATTR and BREAK statements in CTTRPT Database Extraction and
Report Utility on page 7-58.
Example
The following example recovers all tape datasets accessed by jobs with
names prefixed by ABC. Volumes and datasets that are not defined in the
Media Database are automatically defined. Conflicts with the Media
Database are reported as errors.
//EXEC
CTTRSM
//DASMFIN DD DISP=SHR,DSN=N00.ACCUM.SMFRECS
//SYSIN
DD *
TYPERUN MODE=SIMULATION,DYNDS=Y,DYNVOL=Y
INCLUDE CREJBN=ABC*
REPORT
NAME=SMFRCV
FIELDS
DSNAME,DSVOLSER,DSLABEL,STATUS
7-83
Vaulted volumes.
Volumes with a status of Pend-Vault.
Volumes that have been recalled from a vault.
Volumes with a status of Act-Use.
Deleted volumes.
EDM controlled volumes.
Volumes not in the currently active library (meaning, volumes with a
status of Act-Out).
Note:
7-84
Scratch Report
Utility CTTRTM can produce a Scratch report at the end of processing. The
Scratch report contains a list of all volumes that have expired (become
scratch) as a result of this utility run.
Note:
Utility CTTRTM adds the following special pool names in the POOLNAME
field of certain volume records in the Scratch report:
Table 7-39
Pool
Description
EXTERNAL
EXT-DEL
EXT-DUP
External volumes that are not deleted from the Media Database
but whose SL-NAME and VOLSER are different.
DUPLICATE
VOL
The special pool name is written over the previous name in field
POOLNAME (if one existed).
Using utility CTTTPI, re-initialize scratched volumes with different
SL-NAMEs and VOLSERs. Set the SL-NAME to the value of the VOLSER
as listed in the EXT-DUP and DUPLICATE VOL pools.
Use parameters MAXDSNO and MAXVOLNO of utility CTTRTM to
indicate a maximum number of datasets and/or volumes that can be scratched
during a run of the utility. Before scratch is performed, the utility checks if
the maximum specified (using one of these parameters) was exceeded.
If a specified maximum is exceeded, no changes are made to any datasets or
volumes. An error message is issued and a scratch report is produced
describing all potential scratches were the maximum not specified.
RECALC Report
If utility CTTRTM is used to recalculate retention periods (meaning, the
MODE parameter is set to RECALC in the TYPERET statement) a
RECALC report can optionally be generated.
7-85
MODE=NORMAL
NAME=SCRATCH
fields
fields
7-86
where fields are the same fields that were specified in the FIELDS and
SORTBY statements in the original run of utility CTTRTM.
Note:
CTTRTM Exits
Exit
Description
CTTX006
CTTX008
Parameter
Description
CTLGWAIT
7-87
Table 7-41
Parameter
Description
CYCLECNT
EXPDTYPE
GRACECAT
GRACECYC
MODE
RTNTYPE
7-88
Table 7-41
Parameter
Description
SMSINTR
TESTRUL
7-89
Parameters
Utility parameters are supplied using DD statement SYSIN:
Note:
Table 7-42
Parameter
Description
TYPERUN
7-90
Table 7-42
Parameter
Description
RESTART Specifies whether to enable Automatic
Restart mode when the utility is run after an abend or
cancellation of the previous run of the utility.
Valid values are:
Y (Yes) Enable Automatic Restart mode. Default.
N (No) Disable Automatic Restart mode.
LIST Specifies whether diagnostic messages
CTT301I, CTT302I, CTT493I and CTT494I are be
produced. The messages are sent to SYSPRINT.
Valid values are:
N (No) None of these messages are produced.
Y (Yes) Messages CTT301I, CTT302I and CTT493I
are produced. Default.
FULL All of these diagnostic messages are produced.
MAXDSNO Maximum number of datasets that can be
scratched by this run of the utility. Optional. A value from
1 through 999999 can be specified.
If this limit is exceeded, the utility stops, a message is
issued, no changes are made to the Media Database,
and the Scratch report (if requested) is produced
describing all dataset and/or volume scratches that were
to be performed (if the maximum had not been
exceeded).
Default: Any number of datasets can be scratched by the
utility (that is, no limit is assumed).
MAXVOLNO Maximum number of volumes that can be
scratched by this run of the utility. Optional. A value from 1
through 999999 can be specified.
If this limit is exceeded, the utility stops, a message is
issued, no changes are made to the Media Database and
the Scratch report (if requested) is produced describing
all dataset and/or volume scratches that were to be
performed (if the maximum had not been exceeded).
Default: Any number of volumes can be scratched by the
utility (that is, no limit is assumed).
Note: A Scratch report is only produced by utility CTTRTM if
a REPORT control statement describing the report was
specified.
7-91
Table 7-42
Parameter
Description
TYPERET
7-92
Table 7-42
Parameter
Description
Basic Scheduling parameters are checked when rules are
loaded and not when datasets are created or retention
information is updated. Therefore, when running the
CTTRTM utility with MODE set to RECALC, CONVERT, or
CA1CONV, the rules applied may differ from the rules
normally applied at dataset creation. For more information,
see the online facilities chapter in the CONTROL-M/Tape
for OS/390 and z/OS User Guide.
UNCTLG Specifies whether to uncatalog datasets after
scratching the dataset records from the Media Database.
Optional. Valid values are:
YES Uncatalog the datasets. Default.
NO Do not uncatalog the datasets.
UPDVOL Specifies whether to copy the retention
information from the dataset records to the volume where
the datasets reside. The highest retention period is stored
in the volume record. Applies only if MODE is set to
RECALC or CONVERT. Valid values are:
YES Copy retention information to the volume record.
NO Do not copy the retention information to the
volume record. Default.
Setting UPDVOL to NO can significantly improve
performance time when running the utility in CONVERT
or RECALC mode.
However, accurate retention information is only
available using inquiry of dataset records in the Media
Database (that is, an inquiry of the volume records may
not yield accurate retention information).
INCLUDE /
EXCLUDE
With few exceptions, the parameters and options of the REPORT, FIELDS,
SORTBY, ATTR and BREAK statements are identical to those found in the
CTTRPT utility. For a complete description of these parameters and options, see
the CTTRPT utility on page 7-58. Differences between the parameters and options
of the CTTRTM and CTTRPT utilities are noted where applicable.
7-93
Table 7-42
Parameter
Description
REPORT
FIELDS
Fields to print in the report. The fields are printed in the order
they are specified. The fields that can be specified for each
report type are as follows:
Fields of the SCRATCH Report
MEDIA Media type.
POOL Pool name.
VOLSER Volume serial number.
SL-NAME Standard label name of the volume.
UNAME Unit name.
FIRSTVOL First volser in a multi-volume chain.
DSNAME Name of the first dataset in the volume.
CREDS Creation date of the first dataset in the volume.
EXPDS Expiration date of the first dataset in the volume.
EXPDT Expiration date of the volume.
LACCDT Last access date of the volume.
LOCATION Location.
CHKINDT Check-in date.
IOERR Number of input or output errors.
LCLNDT Last clean date.
VOLSTAT Statuses of the volume.
7-94
Table 7-42
Parameter
Description
Fields of the RECALC Report
Each of the following fields can be specified for each dataset
in a RECALC report:
VOLSER Volume serial number.
LABEL Dataset label number.
VOLSNUM Number of volumes on which the dataset
resides.
CREDT Creation date.
CRETM Creation time.
READDT Date the dataset was last opened for READ
access.
READTM Time the dataset was last opened for READ
access.
WRITEDT Date the dataset was last opened for WRITE
access.
WRITETM Time the dataset was last opened for WRITE
access.
DSSTAT Dataset status.
LASTACC Type of last access (meaning, CREATE,
READ or WRITE).
SMSCL SMS management class.
CREUSER User ID that created the dataset.
CREJOBID Creating Job ID.
JCLEXPDT Dataset expiration date as specified in the
JCL.
Retention Type Fields for Report RECALC
The following fields describe the retention types specified for
each dataset and the and/or relationships between them.
Fields prefixed by OLD indicate retention types before the
utility was run. Fields prefixed by NEW indicate retention
types after the utility was run.
OLDEXDT1 First expiration criterion before
recalculation.
OLDXDTR1 Relation between the first and second old
expiration dates.
OLDEXDT2 Second expiration criterion before
recalculation.
OLDXDTR2 Relation between second and third old
expiration dates.
OLDEXDT3 Third expiration criterion before
recalculation.
NEWEXDT1 First expiration criterion after recalculation.
NEWXDTR1 Relation between first and second new
expiration dates.
NEWEXDT2 Second expiration criterion after
recalculation.
NEWXDTR2 Relation between second and third new
expiration dates.
NEWEXDT3 Third expiration date after recalculation.
7-95
Table 7-42
Parameter
Description
SORTBY
ATTR
BREAK
Note: For a description of the options of these statements, see the FIELDS,
SORTBY, ATTR, and BREAK statements of the CTTRPT utility in Table 7-33 on
page 7-62.
Return Codes
Table 7-43
Code
Description
12
16
20
24
28
32
36
40
44
48
Insufficient storage.
52
56
7-96
Examples
In the following example, retention management is performed according to
the current retention specifications in the Media Database. Report SCRATCH
is printed, listing volser and media type and is sorted according to pool name.
The list for each media type starts on a new page.
Example 1
//EXEC
//SYSIN
TYPERUN
TYPERET
REPORT
FIELDS
SORTBY
//
CTTRTM
DD *
MODE=NORMAL
MODE=REGULAR
NAME=SCRATCH
POOL,VOLSER,MEDIA
POOL,MEDIA/B,VOLSER
Example 2
//EXEC
//SYSIN
TYPERUN
TYPERET
INCLUDE
REPORT
FIELDS
SORTBY
//
CTTRTM
DD *
MODE=NORMAL
MODE=CONVERT
DSNAME=BKP*
NAME=SCRATCH
EXPDT,MEDIA,VOLSER,POOL
EXPDT
In the following example, the utility is used to produce the scratch report
from the last finished run of utility CTTRTM.
7-97
Example 3
//EXEC
//SYSIN
TYPERUN
REPORT
FIELDS
SORTBY
//
CTTRTM
DD *
MODE=NORMAL
NAME=SCRATCH
fields
fields
Example 4
TYPERUN
TYPERET
REPORT
FIELDS
FIELDS
ATTR
ATTR
ATTR
ATTR
ATTR
ATTR
ATTR
ATTR
ATTR
ATTR
ATTR
MODE=NORMAL
MODE=RECALC
NAME=RECALC
VOLSER/C4/L6,LABEL/C12/L3,DSNAME/C17/L44,
OLDEXDT1/C63/L10,OLDXDTR1/C75/L1,
OLDEXDT2/C78/L11,OLDXDTR2/C91/L1,
OLDEXDT3/C94/L10,ID=P
NEWEXDT1/C63/L10,NEWXDTR1/C75/L1,
NEWEXDT2/C78/L11,NEWXDTR2/C91/L1,
NEWEXDT3/C94/L10,ID=S
FIELD=OLDXDTR1,TITLE= ,LENGTH=1
FIELD=OLDXDTR2,TITLE= ,LENGTH=1
FIELD=NEWXDTR1,TITLE= ,LENGTH=1
FIELD=NEWXDTR2,TITLE= ,LENGTH=1
FIELD=OLDEXDT1,TITLE=OLD-
FIELD=NEWEXDT1,TITLE=NEW-
FIELD=OLDEXDT2,TITLE=EXPIRATION-
FIELD=NEWEXDT2,TITLE=EXPIRATION-
FIELD=OLDEXDT3,TITLE=DATA
FIELD=NEWEXDT3,TITLE=DATA
FIELD=LABEL,TITLE=LBL,EDIT=999
7-98
PAGE 1
First
Volume
-----B21002
B21002
B21003
B21003
LBL
--001
002
001
002
DATASET
NAME
-------------------------------------------M27.BACKUP.BD1.D971111
M27.BACKUP.BD2.D971111
M27.BACKUP.NBD3.D971112
M27.BACKUP.NBD4.D971112
OLD-
EXPIRATION-
NEW---------Catalog
Cycl+0003
O
A
EXPIRATION----------01/04/2000
Catalog
01/04/2000
Cycl+0003
Catalog
Cycl+0003
DATA
DATA
----------
25/05/2000
Catalog
25/05/2000
Catalog
25/05/2000
Cycl+0005
Cycl+0003
A
A
Catalog
Catalog
25/05/2000
Cycl+0005
CHKINE
001
N89.CHKIN.SET
01/01/2000
23/09/1999
CHKINF
001
N89.CHKIN.SET
01/01/2000
23/09/1998
CHKING
001
N89.CHKIN.SET
01/01/2000
23/09/1998
CHKINH
001
N89.CHKIN.SET
01/01/2000
24/09/1998
7-99
Analyze free (available) space in the tape library and associated costs.
7-100
Utility Logic
Utility CTTSBD searches the Media Database for datasets and volumes that
satisfy selection criteria specified in INCLUDE / EXCLUDE statements.
Selected volumes are sorted according to the volser of the first volume in
each input volume chain. Each dataset on each selected volume chain is then
copied to a new volume or volume chain. Various parameters are used to
control the actions taken by utility CTTSBD. For example:
7-101
Execution Considerations
Run utility CTTRTM after running utility CTTSBD to scratch newly freed
volumes. Utility CTTVTM can also be run after running utility CTTSBD to
update vault information effected by the CTTSBD run. For more information,
see Batch Stacking and Vault Management on page 7-104.
Note:
Resource Requirements
Resource requirements can help you decide when is the best time to run
utility CTTSBD. The duration of resource consumption depends primarily on
the number of volumes selected for processing by utility CTTSBD. Below is
a description of the various resources used by this utility.
Table 7-44
Resource
Description
Disk
processing
Tape
processing
Memory
Requirements
7-102
Exit CTTX011
CONTROL-M/Tape Exit CTTX011 enhances the functionality of utility
CTTSBD by allowing placement of output files to be dependent on stacking
criteria that cannot be specified using utility parameters (for
example, security constants).
Information passed to this exit describes:
This exit examines the information provided and does one of the following:
For more information about this exit, see member CTTX011 in the IOA
SAMPEXIT library.
Retention
When an output dataset is written by utility CTTSBD, it is subjected to
CONTROL-M/Tape rules for retention and vaulting. When the dataset is
successfully copied, retention of the output dataset can be modified according
to the setting for utility parameters OUTRET and OUTCAT.
It is recommended that you run utility CTTRTM after running utility
CTTSBD to scratch newly freed volumes. It is not necessary to specify mode
RECALC for this run of CTTRTM.
Note:
7-103
7-104
Dataset Record
When a dataset is copied, CONTROL-M/Tape assigns various attributes to it.
For example:
Volume Record
No volume information from the input volume records is copied to the output
volume records. Output volume records are not modified by utility CTTSBD
and contain information relevant to only the output volumes.
Stacking Logic
Utility CTTSBD augments the CONTROL-M/Tape Dynamic Dataset
Stacking facility by allowing multiple pre-existing datasets to be copied and
stacked according to specified criteria.
Datasets are placed on output volumes according to stacking parameters and
runtime parameters specified by the user.
Output dataset size is calculated according to the known size of input datasets
and runtime information about output volumes. The output dataset size is
used to determine whether there is sufficient space in a given volume chain to
stack the dataset.
Output datasets are stacked only on volumes that became active during the
current run of utility CTTSBD. If no appropriate volume is found, the dataset
is written on a scratch volume.
7-105
Dataset Groups
A dataset group is a collection of datasets for which stacking statements can
be specified.
All statements specified for dataset groups are applied using input dataset
names. Prefixes and/or suffixes (parameters OUTPREF and OUTSUFF)
added to dataset names do not affect application of dataset group stacking
statements during the current run of the utility. However, these prefixes may
affect future runs of the utility.
7-106
Example
Utility CTTSBD selects all datasets from group ACCT and group NEW.
The following output datasets are created by this run of utility CTTSBD:
Table 7-45
CTTSBD Datasets
Input Dataset
Name
Input
Dataset
Group
Output Dataset
Name
Output
Dataset
Group
ACCT.JAN00
ACCT
NEW.ACCT.JAN00
ACCT
ACCT.FEB00
ACCT
NEW.ACCT.FEB00
ACCT
NEW.ACCT.NOV99
NEW
NEW.ACCT.NOV99
NEW
NEW.ACCT.DEC99
NEW
NEW.ACCT.DEC99
NEW
Note that the group name assigned to each input dataset is automatically
assigned to the corresponding output dataset (regardless of the output dataset
name).
7-107
If the first volume chain is not suitable, the second one is considered, and
so on. Utility CTTSBD considers each chain created during this run (in
the order in which they were created) as a possible location for the
current dataset until either a suitable volume chain is found or all chains
have been considered.
7-108
Masking
Mask characters are supported for many of the parameters of utility
CTTSBD. The ability to use mask characters is indicated in the description of
the relevant parameters. The following mask characters can be used:
Table 7-46
CTTSBD Masks
Mask
Description
Examples
Table 7-47
Example
Description
JBN?
J?N?
JBN*
*BN
Invalid mask.
jobname,STOP
where jobname is the name of the job or started task that is executing utility
CTTSBD.
7-109
Reports
Utility CTTSBD produces a variety of reports detailing information relevant
to the run of the utility.
Expiration dates listed in this report for input datasets are the
expiration dates after the datasets have been processed by utility
CTTSBD. The original expiration date for these datasets is listed
in the Input Volume Inventory (described above).
7-110
You can generate additional reports from the Media Database using utility
CTTRPT. For more information, see CTTRPT Database Extraction and
Report Utility on page 7-58.
Simulation Reports
Utility CTTSBD can be run in simulation mode. This mode can be used to
experiment with various stacking configurations (meaning, dataset group
definitions) without effecting dataset location in the tape library.
In simulation mode, utility CTTSBD calculates output volume capacity
according to the value specified for parameter OUTVOLMB. A very large
value can be specified for parameter OUTVOLMB to indicate virtually
unlimited capacity for output volumes. This is useful for determining how
many logical sets of output files are produced by a run of utility CTTSBD.
Multiple runs of utility CTTSBD in simulation mode can be used to compare
the results of batch stacking with various combinations of input volumes.
The reports produced are described above.
Note:
Unstacking
Utility CTTSBD can unstack volume chains containing multiple datasets.
Unstacking is the process of copying each dataset to a different scratch tape,
without stacking additional datasets on the output volumes.
Input datasets are unstacked by specifying stacking statements (in dataset
group definitions) that prohibit each dataset in a specified group from
coexisting on a volume with any other dataset or by limiting the number of
datasets that can be stacked on a single volume.
For more information, see Example 2 on page 7-128.
7-111
In all other cases, input and output datasets remain in the state they were
in at time of failure (meaning, the abend or system crash).
This recovery logic ensures that at least one copy of each dataset is always
retained and, if necessary, cataloged. It may be necessary to scratch a single
unneeded output dataset created by an incomplete run of utility CTTSBD.
During recovery, CTTSBD must process no more than one dataset - the
dataset that was being processed at time of abend. Datasets processed prior to
the abend require no further processing.
Note:
7-112
Parameter
Description
DYNSTK
MEDIA
MODE
RTNTYPE
STKMODE
For more information on the above installation parameters, see the topic
about specifying stacking parameters in the CONTROL-M/Tape chapter of
the INCONTROL for OS/390 and z/OS Installation Guide.
7-113
Preparation Steps
The following steps must be performed before the first run of utility
CTTSBD at your site:
1. Allocate and format utility CTTSBDs Checkpoint-Restart dataset using
batch job CTTSBF in the CONTROL-M/Tape JCL library.
2. Implement security considerations.
CONTROL-M/Tape utility CTTSBD reads and writes datasets in your
sites library. Relevant Media Database records are subsequently updated.
Therefore, the user ID associated with the job or started task that
executes the utility must be authorized to:
Read selected input datasets.
Create and write the output datasets (whose names may or may not
be the same as the names of the input datasets).
Read and update Media Database records.
Consult your security administrator to ensure that the required authorization
is defined for the user that runs utility CTTSBD.
7-114
CTTSBD
DD *
MODE=NORMAL|SIMULATION[,NUMVOL=n][,
TIMELIM=n],INUNIT=xxxx,OUTUNIT=xxxx,
OUTRET=RULE|SAME|nnnn,COPYATTR=YES|NO[,
CHAINRET=ONE|ANY][,OUTPREF=xxx|NONE][,
OUTSUFF=xxx|NONE]OUTCAT=YES|NO|RECAT[,
COPYEXPF=YES|NO][,OUTMVLIM=n][,MAXLABEL=n][,
VAULTED=YES|NO|ONLY],INRET=nnnn|SAME[,
OUTVOLMB=nnnnnn][,MAXERR=n][,CARTCOST=n][,
PROCESS=CHAIN|DATASET][,DBGLEVEL=n]
[INCLUDE/EXCLUDE statements]
/*
//CTTSBGRP
GROUP
DD *
NAME=groupname[,OUTMVLIM=n][,
MAXLABEL=nnnn][,OUTPREF=xxx|NONE][,
OUTSUFF=xxx|NONE][,INUNIT=xxxx][,
OUTUNIT=xxxx]
DATASET [DSNAME=dsname-mask][,
CREJBN=jobname-mask]
DATASET ...
[WITHGRP NAME=SAME|mask]
...
[NOTWGRP NAME=SAME|mask|OTHER]
...
[NOTWJOB NAME=SAME|mask]
...
[NOTWDSN NAME=SAME|mask]
...
GROUP ...
...
Parameters
Parameters specified for utility CTTSBD are arranged in the following way:
7-115
Parameter
Description
TYPERUN
7-116
Table 7-49
Parameter
Description
OUTUNIT Unit name or unit address to be used by utility
CTTSBD for allocation of each output dataset. A name of
up to eight characters can be specified. Mandatory.
This parameter can be overridden for specific datasets
using parameter OUTUNIT in a dataset group definition.
OUTRET Indicates retention information to be used
for the output dataset. Mandatory. Valid values are:
nnnn The specific number of days to retain output
datasets. A number from 1 through 9999 can be
specified.
SAME Copy retention information (for example,
retention type and expiration date) from input dataset.
Fields RTNFROM, JCLEXPDT, DSEXPTYP, and
DSEXPDT are copied from the input dataset record. If
the expiration date of the input file is known to
CONTROL-M/Tape when the dataset is copied, the
output dataset is set to expire on that same date.
Retention of an input dataset with retention type DAYS
is calculated according to creation date. The output
dataset is created on a later date.
However, if utility CTTSBD is not run, the output dataset
expires on the date of the input dataset.
RULE Apply CONTROL-M/Tape rules to determine
retention of the newly created output dataset.
COPYATTR Indicates whether certain attributes of an
input dataset are copied to the corresponding output
dataset. Mandatory. Valid values are:
Y (Yes) Copy dataset attributes (for example, creation
date, creating job and creating program) from the input
dataset to the output dataset. This information replaces
the attributes assigned by CONTROL-M/Tape to the
newly created dataset.
The following fields are copied from the input dataset
record:
ACCOUNT
CREDDN
CREJOBID
CREUAD
DSUSECT
READCC
READDT
READSTEP
WRITECCL
WRITEDT
WRITESTP
CRECC
CREDT
CRESTEP
CREUSER
DUSRDATA
READCPU
READJBN
READTM
WRITECPU
WRITEJBN
WRITETM
CRECPU
CREJBN
CRETM
DSEXCP
LASTACCS
READDDN
READPGM|
READUAD
WRITEDDN
WRITEPGM
WRITEUAD
7-117
Table 7-49
Parameter
Description
CHAINRET Determines whether utility CTTSBD forces a
uniform retention type on output volume chains.
Valid values are:
ONE All datasets placed on a given output chain
must have the same retention type (for example,
specific date or CATALOG). An output dataset is added
to an existing chain only if its retention type is identical
to that of datasets already in the chain.
ANY Datasets with different retention types can
reside on the same output volume chain. Default.
OUTPREF Prefix to be added to the names of output
datasets. A period is inserted between the new prefix and
the original dataset name. Valid values are:
xxx Prefix to be added (1 to 20 characters). A period
can be specified as part of the OUTPREF value.
NONE Add no prefix to the dataset name. Default.
This parameter can be overridden for specific datasets
using parameter OUTPREF in a dataset group definition.
Note: If a new dataset name exceeds 44 characters, utility
CTTSBD stops processing the current input volume chain.
OUTSUFF Suffix to be added to output dataset names.
A period is inserted between the original dataset name and
the new suffix. Valid values are:
xxx Suffix to be added (1 to 20 characters). A period
can be specified as part of the OUTSUFF value.
NONE Add no suffix to the dataset name. Default.
This parameter can be overridden for specific datasets
using parameter OUTSUFF in a dataset group definition.
Note: If a new dataset name exceeds 44 characters, utility
CTTSBD stops processing the current input volume chain.
OUTCAT Indicates whether the output dataset must be
cataloged. Mandatory. Valid values are:
Y (Yes) The action taken depends on whether the
input and output datasets have the same name.
If the input dataset and the output dataset have the
same name (meaning, no prefix or suffix was added)
catalog the output dataset. If the input dataset was
cataloged, uncatalog it.
If the input and the output datasets do not have the
same name, catalog the output dataset. If the input
dataset was cataloged, it remains cataloged. If the
output dataset name was already cataloged, the utility
stops processing the current input volume chain.
N (No) Do not catalog the output dataset.
RECAT Catalog the output dataset only if the input
dataset was cataloged. Uncatalog the input dataset.
7-118
Table 7-49
Parameter
Description
COPYEXPF Specifies whether input datasets previously
marked as expired by CONTROL-M/Tape are copied during
this run of utility CTTSBD. Optional. Valid values are:
Y (Yes) Copy all datasets to output volumes.
N (No) Do not copy datasets marked as expired.
Default.
Note: If an expired dataset is copied by utility CTTSBD, its
status is changed to ACTIVE (meaning, it is unscratched).
OUTMVLIM Specifies a maximum number of volumes
for multi-volume chains created by utility CTTSBD.
Optional. A value from 1 through 20 can be specified.
Default: 1
Parameter OUTMVLIM in a dataset group definition can
override this parameter for specific datasets.
Note: Datasets can be stacked on volumes (or multi-volume
chains) created in a given run of utility CTTSBD even after
they have been dismounted. If the specified limit is exceeded
during the writing of a multi-volume dataset (for example, due
to inaccurate information about dataset length) utility
CTTSBD continues writing the dataset on as many volumes
as required.
MAXLABEL Specifies a maximum number of datasets to
be stored in an output volume chain created by utility
CTTSBD. A value from 1 through 9999 can be specified.
Default: 100
This parameter can be overridden for specific datasets
using parameter MAXLABEL in a dataset group definition.
Note: Datasets can be stacked on volumes (or multi-volume
chains) created in a given run of utility CTTSBD even after
they have been dismounted.
VAULTED Specifies if selected input volumes that are in
a vault or are scheduled to be vaulted, are processed by
utility CTTSBD. Valid values are:
YES Process vaulted (and to-be-vaulted) volumes.
NO Do not process vaulted (or to-be-vaulted)|
volumes. Default.
ONLY Process only vaulted (and to-be-vaulted)
volumes.
INRET Indicates retention for input datasets. This
parameter specifies how long input datasets are retained
after they are copied. Mandatory. Valid values are:
nnnn Retain input datasets nnnn days before
scratching them. A number from 0 through 9999 can be
specified.
SAME Do not modify type or duration of retention for
input datasets.
Note: If either YES or RECAT is specified for parameter
OUTCAT and the retention type of the input dataset is
CATALOG, the input dataset is expired when it is uncataloged
by utility CTTSBD.
To retain these input datasets for a longer period, you must
indicate a specific retention period using parameter INRET.
7-119
Table 7-49
Parameter
Description
OUTVOLMB Indicates the capacity (in megabytes) of an
output volume. This parameter is most useful for prediction
of utility results when running in simulation mode.
A value from 1 through 1000000 can be specified.
Default: 200
A very large value can be used during simulation to
determine how many logical sets of output datasets are
created by a run of utility CTTSBD. For more information,
see Simulation Reports on page 7-111.
MAXERR Maximum number of allowable severe runtime
errors. Normally when the program encounters a severe
error, utility CTTSBD abandons the current input volume
chain and skips to the next input volume chain. This
parameter can be used to specify a maximum number of
abends that can be encountered during the run of utility
CTTSBD. If the specified number of abends is exceeded,
the utility shuts down. A value from 0 through 100 can be
specified. Default: 1
Note: If MAXERR is set to 0, utility CTTSBD shuts down
when the first severe error is encountered.
CARTCOST Cost of a single volume (cartridge) in the
tape library. This value includes media, slot space,
automated tape library, and management costs. A value
from 1 through 1000000 can be specified. Default:20
This parameter can be used to estimate savings resulting
from a run of utility CTTSBD at your site.
PROCESS Instructions for handling datasets that exist
on the same input volume chain as a dataset that matches
an INCLUDE / EXCLUDE statement. Valid values are:
CHAIN The INCLUDE / EXCLUDE statement applies
to all datasets in the same input volume chain (meaning,
either all or none of the datasets are processed).
Default.
If one or more datasets in an input volume chain match
and INCLUDE statement, all datasets in the chain are
selected.
If one or more datasets in an input volume chain were
rejected by the INCLUDE / EXCLUDE statements, no
datasets in the chain are processed.
DATASET Only datasets that match the specified
INCLUDE selection criteria and are not rejected by
subsequent EXCLUDE statements are processed.
7-120
Table 7-49
Parameter
Description
The following examples describe how parameter PROCESS
can influence the processing of an input volume chain.
All examples below apply to an input volume chain containing
the following datasets:
SYS1 Begins on volume VOL001 and ends on VOL002.
SYS2 Begins on volume VOL002 and ends on VOL003.
SYS3 Resides on VOL003.
Example 1
The following INCLUDE / EXCLUDE statements are
specified:
INCLUDE VOLSER=*
EXCLUDE DSNAME=SYS1
The results are as follows:
If PROCESS is set to CHAIN, none of the datasets are
processed by the utility.
If PROCESS is set to DATASET, only SYS2 and SYS3
datasets are processed by the utility.
Example 2
The following INCLUDE / EXCLUDE statements are
specified:
INCLUDE VOLSER=
INCLUDE DSNAME=SYS3
EXCLUDE DSNAME=SYS1
The results are as follows:
If PROCESS is set to CHAIN, none of the datasets are
processed by the utility.
If PROCESS is set to DATASET, only datasets SYS2 and
SYS3 are processed by the utility.
Example 3
The following INCLUDE / EXCLUDE statements are
specified:
INCLUDE VOLSER=VOL003
The results are as follows:
If PROCESS is set to CHAIN, all datasets (SYS1, SYS2
and SYS3) are processed by the utility.
If PROCESS is set to DATASET, only SYS2 and SYS3
datasets are processed by the utility.
DBGLEVEL
7-121
Table 7-49
Parameter
Description
INCLUDE /
EXCLUDE
BLKSIZE
CREDT
DCHANGED
DSEXPTYP
DSVOLSER
VOLSNUM
BLOCKCT
CREJBN
DSCSIZE
DSLABEL
DUSRDATA
MEDIA
LOCATION
VFREEKB
VOLODESC
VOLSER
LACCDT
USERDATA
VOLEXPDT
VOLOWNER
VUSEDKB
7-122
Field
Description
VOLGROUP
VOLPCT
VOLSBAGE
Example
INCLUDE
VOLPCT<5,DSNAME=ACCT.*
Selects all datasets on volume chains in which the last (or only) volume is
less than 5 percent full and contains a dataset with a prefix of ACCT.
Dataset groups are groups of datasets for which special stacking information
is specified. A group name is assigned to each dataset in a sequential
matching process. Each dataset is assigned the group name of the first group
whose description matches the attributes of the dataset. The group name
assigned to each dataset remains assigned to the dataset for the duration of
the current run of utility CTTSBD.
Dataset groups and relevant information are defined in the file referenced by
DD statement CTTSBGRP.
Each dataset group is defined by a GROUP statement followed by one or
more DATASET statements. Many additional statements can be added in any
order to determine how datasets in the group are stacked.
7-123
Table 7-51
Parameter
Description
GROUP
7-124
Table 7-51
Parameter
Description
OUTPREF Prefix to be added to the names of output
datasets in this group. A period is inserted between the
new prefix and the original dataset name. Valid values:
xxxPrefix to be added (1 to 20 characters). A period can
be specified as part of the OUTPREF value.
NONEAdd no prefix to the dataset name.
If a value is specified for OUTPREF in the group
definition, that value overrides the OUTPREF value
specified in the TYPERUN statement of utility CTTSBD.
OUTSUFF Suffix to be added at the end of output
dataset names in this group. A period is inserted between
the original dataset name and the new suffix.
xxxSuffix to be added (1 to 20 characters). A period can
be specified as part of the OUTSUFF value.
NONEAdd no suffix to the dataset name.
If a value is specified for OUTSUFF in the group definition,
that value overrides the OUTSUFF value specified in the
TYPERUN statement of utility CTTSBD.
INUNIT Unit name to be used by utility CTTSBD for
allocation of each input dataset in this group. A name of up
to eight characters can be specified.
If a value is specified for INUNIT in the group definition,
that value overrides the INUNIT name specified in the
TYPERUN statement of utility CTTSBD.
OUTUNIT Unit name to be used by utility CTTSBD for
allocation of each output dataset in this group. A name of
up to eight characters can be specified.
If a value is specified for OUTUNIT in the group definition,
that value overrides the OUTUNIT name specified in the
TYPERUN statement of utility CTTSBD.
DATASET
7-125
Table 7-51
Parameter
Description
WITHGRP
NOTWGRP
NOTWJOB
Specifies a job (or jobs) that create datasets that are not
stacked with the datasets in the current dataset group.
jnameJob name or mask. Datasets in the current group
are not stacked with datasets created by the specified jobs.
Specify a jobname or mask from 1 through 8 characters in
length.
SAMEDo not stack a dataset in the current group with
other datasets that have the same creating job name.
NOTWDSN
7-126
Return Codes
Table 7-52
Code
Description
12
16
20
24
28
32
40
48
Insufficient storage.
52
56
Examples
Example 1
This example copies all datasets residing on chains whose last volume is less
than 5% utilized. The datasets are divided into three dataset groups that are
stacked separately:
7-127
TYPERUN MODE=NORMAL,INRET=2,
OUTRET=SAME,OUTPREF=NONE,
OUTSUFF=NONE,COPYEXPF=NO,
OUTMVLIM=3,MAXLABEL=100,
VAULTED=NO,CARTCOST=10,
INUNIT=460,OUTUNIT=461,
MAXERR=30,OUTCAT=RECAT,
COPYATTR=YES,CHAINRET=ANY,
OUTVOLMB=200
INCLUDE DSNAME=*,VOLPCT<5
GROUP NAME=SYS
DATASET DSNAME=SYS*
WITHGRP NAME=SAME
GROUP NAME=ACCT
DATASET DSNAME=ACCT*
WITHGRP NAME=SAME
GROUP NAME=ALL
DATASET DSNAME=*
WITHGRP NAME=SAME
Example 2
This example unstacks all multi-volume chains that contain at least one
dataset beginning with a prefix of ACCT and whose last volumes are less
than 10% utilized.
TYPERUN MODE=NORMAL,INRET=2,
OUTRET=SAME,OUTPREF=NONE,
OUTSUFF=NONE,COPYEXPF=NO,
OUTMVLIM=1,MAXLABEL=1,
VAULTED=NO,CARTCOST=10,
INUNIT=460,OUTUNIT=461,
MAXERR=30,OUTCAT=RECAT,
COPYATTR=YES,CHAINRET=ANY,
OUTVOLMB=200
INCLUDE DSNAME=ACCT*,VOLSEQ>1,VOLPCT<10
7-128
The sites standard group definitions can be included in this file. Unstacking
is indicated by setting parameter MAXLABEL to 1 (specified in the
TYPERUN Statement) and there is therefore no need for additional group
definitions.
GROUP NAME=ANY
DATASET DSNAME=*
Example 3
This example stacks all datasets with the prefix ACCT and makes sure that
no two datasets with the same name are written to the same output volume
chain.
TYPERUN MODE=NORMAL,INRET=2,
OUTRET=SAME,OUTPREF=NONE,
OUTSUFF=NONE,COPYEXPF=NO,
OUTMVLIM=3,MAXLABEL=100,
VAULTED=NO,CARTCOST=10,
INUNIT=460,OUTUNIT=461,
MAXERR=30,OUTCAT=RECAT,
COPYATTR=YES,CHAINRET=ANY,
OUTVOLMB=200
INCLUDE DSNAME=ACCT*
GROUP NAME=ACCT
DATASET DSNAME=ACCT*
NOTWDSN NAME=SAME
Example 4
7-129
TYPERUN MODE=SIMULATION,INRET=SAME,
OUTRET=7,OUTPREF=TST3590,
OUTSUFF=TST,COPYEXPF=YES,
OUTMVLIM=20,MAXLABEL=999,
VAULTED=NO,CARTCOST=1,
INUNIT=3480,OUTUNIT=3590,
MAXERR=30,OUTCAT=YES,
COPYATTR=YES,CHAINRET=ANY,
OUTVOLMB=30000
INCLUDE DSNAME=*
7-130
Run this utility before implementing the Dynamic Dataset Stacking facility.
Review rules created by the utility and, if appropriate, add them to a rule
table that is listed in CONTROL-M/Tape Rule Table member RULLIST in
the CONTROL-M/Tape PARM library.
After implementing the Dynamic Dataset Stacking facility, run utility
CTTSCA periodically (for example, once a month) to check for new dataset
contentions. How often this utility is run depends on the number of tape
mounts performed daily at your site.
7-131
CTTSCA,RULELIB=rule-library,
RULEMEM=rule-table-name
//DASMFIN
DD DISP=SHR,DSN=smf=flat-file
//SYSIN
DD *
TYPERUN LEVEL={ALL|JOB}[,JOBPREF=prefix][,
DURATION=nn]
RULEINFO CREFULE={YES|NO},RULEPREF=prefix[,
CONTSEAR=Y|N][,MODE=PROD|TEST][,
PRIORITY=nn]
INCLUDE/EXCLUDE STATEMENTS
REPORT NAME=CONFLICT
FIELDS ...
[SORTBY ...]
[ATTR ...]
[BREAK ...]
//
Parameters
The following parameters are supplied using the EXEC statement:
Table 7-53
Parameter
Description
RULELIB
RULEMEM
7-132
Table 7-54
Parameter
Description
TYPERUN
7-133
Table 7-54
Parameter
Description
RULEINFO
INCLUDE /
EXCLUDE
SMF records that describe tape access are used as input for
utility CTTSCA. The SMF records to be processed by the
utility can be filtered by one or more INCLUDE / EXCLUDE
statements. For more information about INCLUDE /
EXCLUDE statements, see Record Selection Logic
(INCLUDE / EXCLUDE Statements) on page 7-6. Optional.
Values that can be specified in INCLUDE / EXCLUDE
statements of utility CTTSCA are listed in the appendix that
discusses logical field names for the CONTROL-M/Tape
Repository in the INCONTROL for OS/390 and z/OS
Administrator Guide.
If no INCLUDE / EXCLUDE statement is specified for utility
CTTSCA, all SMF records describing actions on tape
datasets are processed by the utility.
7-134
Table 7-54
Parameter
Description
REPORT
FIELDS
SORTBY
ATTR
7-135
Table 7-54
Parameter
Description
BREAK
Note: For a description of the options of these statements, see the FIELDS,
SORTBY, ATTR, and BREAK statements in CTTRPT Database Extraction and
Report Utility on page 7-58.
Return Codes
Table 7-55
Code
Description
12
16
Sort error occurred. For more information about the error, see
the SYSOUT file.
20
Example
The following example requests detection of all possible contentions,
creation of preventive rules and a contention report.
//SYSIN
DD *
TYPERUN LEVEL=ALL
RULEINFO CRERULE=YES,RULEPREF=NEWR,CONTSEAR=Y
REPORT
NAME=CONFLICT
FIELDS
CPUID1/C3,JOBNAME1/C12,DSNAME1/C23,
DATE1/C69,TIME1/C78,DURATION/C87,
CRERULE1/C98,REASON1/C107,RULENAM1/C119,ID=P
FIELDS
CPUID2/C4,JOBNAME2/C13,DSNAME2/C24,
DATE2/C69,TIME2/C78,
CRERULE2/C98,REASON2/C107,RULENAM2/C119,ID=S
/*
7-136
PAGE
CpuId 1
Jobname 1
Dataset 1
Open
Date 1
CpuId 2 Jobname 2 Dataset 2
Open
Date 2
-------- ---------- --------------------------------------------- -------MVSP
DFHSM
DFHSM.HMIGTAPE.DATASET (GDG)
12/10/00
MVSP
UH56VPM0
HZ.PROD.RDADLSQC.SEQ
12/10/00
Open
Time 1
Open
Time 2
-------08:12:36
08:10:10
Possible
Rule 1
Contention Created?
Duration
Rule 2
Created?
---------- -------00:03:34
NO
YES
Reason 1
Reason 2
---------TOLERATED
Rule
Name 1
Rule
Name 2
-------NEWR0001
MVSP
MVSP
DFHSM
DFHSM
DFHSM.HMIGTAPE.DATASET (GDG)
DFHSM.BACKTAPE.DATASET (GDG)
NO
YES
TOLERATED
MVSP
MVSP
UC95VPM0
DFHSM
HZ.PROD.RDADLSQC.SEQET
DFHSM.HMIGTAPE.DATASET (GDG)
NO
YES
TOLERATED
MVSP
MVSP
UC95VPM0
DFHSM
HZ.PROD.RDADLSQC.SEQET
DFHSM.BACKTAPE.DATASET (GDG)
NO
YES
TOLERATED
MVSP
MVSP
PMS6105M
UC95VPM0
MS.PROD.MGSRT.SEQSEQET
HZ.PROD.RDADLSQC.SEQET
YES
YES
MVSP
MVSP
PMS6105M
DFHSM
MS.PROD.MGSRT.SEQSEQET
DFHSM.HMIGTAPE.DATASET (GDG)
NO
YES
TOLERATED
MVSP
MVSP
PMS6105M
UC95VPM0
MS.PROD.MDSRT.SEQSEQET
HZ.PROD.RDADLSQC.SEQET
NO
YES
TOLERATED
NEWR0002
NEWR0003
NEWR0004
NEWR0005
NEWR0006
NEWR0007
NEWR0008
7-137
Table 7-56
CTTSPL Functions
Function
Description
MOVE
Moves selected records to the extract file and deletes them from
the source Media Database.
COPY
7-138
Utility CTTMER merges the extracted Media Database records into the
Media Database in the target system. Utility CTTMER uses the extract
file created by CTTSPL as input.
If utility CTTSPL is being used to move (not copy) Media Database records,
the selected records are deleted from the source Media Database.
If the target Media Database is in a different site, the extract file (REPDATA)
produced by utility CTTSPL must be transferred to the target site.
Data Integrity
Utilities CTTSPL and CTTMER do not check Media Database integrity.
It is highly recommended that utility CTTIDB be used to check the integrity
of the source Media Database before execution of utility CTTSPL. To avoid
transfer of data errors to the target Media Database, integrity errors detected
by utility CTTIDB must be fixed in the source Media Database before
execution of utility CTTSPL.
It is also recommended that utility CTTIDB be used after the split and merge
process to check the integrity of the:
Source Media Database after running utility CTTSPL (if the MOVE
function was specified).
Simulation Mode
Utilities CTTSPL and CTTMER can be executed in simulation mode. In this
mode, no Media Database updates are performed. In simulation mode,
messages are sent to the utility log to record the updates that had been
performed on the Media Database if the utility were running in normal mode.
If the last run of the utility abended, simulation mode is not allowed. If an
attempt is made to run the utility in simulation mode, the utility is terminated
and an appropriate message is displayed.
7-139
A special restart simulation mode is available for utility CTTMER. For more
information, see the description of the MODE parameter in CTTMER
Merge Records Into the Media Database on page 7-36.
Note:
Volume Status
Utilities CTTSPL and CTTMER do not check volume status. Volume records
are split and merged regardless of volume status. For some volumes (for
example, those with a status of VAULTED or PENDING-VAULT) this can
result in inaccurate slot definitions.
To correct this problem, it is necessary to run utility CTTVTM in SLOTBLD
mode to rebuild the Slot Definition Records. Utility CTTVTM is run against
both the source Media Database and the target Media Database after
completion of the split and merge process.
7-140
Table 7-57
CTTSPL Functions
Function
Description
Splits
If utility CTTSPL was run with the MOVE function, use utility
CTTMER to merge the extracted records from the extract
(REPDATA) file back into the source Media Database. Specify the
source Media Database as the target Media Database.
Note: If the extract file no longer exists but the extracted records
have been merged into the target Media Database, they can be
extracted (copied or moved) from the target Media Database into
another extract file and then merged back into the source Media
Database.
If utility CTTSPL was run with the COPY function, the source
Media Database is unchanged and there is no need to undo
anything.
Merges
To remove records that have been merged into the target Media
Database, use utility CTTSPL with the MOVE function to extract
the necessary Media Database records from the target Media
Database. The selection statements passed to the utility must
include only the volumes added previously by utility CTTMER.
CTTSPL Activation
//EXEC
CTTSPL
//SYSIN DD *
EXTRACT PATH=ALL
<INCLUDE/EXCLUDE statements>
/*
//DAIN
DD *
TYPERUN FUNCTION=COPY|MOVE[,MODE=NORMAL|SIMULATE][,
DBGLEVEL=XXX]
/*
7-141
Parameters
Table 7-58
CTTSPL Parameters
Parameter
Description
EXTRACT
PATH=ALL
INCLUDE /
EXCLUDE
TYPERUN
7-142
Examples
Example 1
In this example, utility CTTSPL extracts the records for all volumes
beginning with VOL. The records for the volumes and their associated
datasets are removed (deleted) from the source Media Database and placed in
the extract file (REPDATA) to be used later as input for utility CTTMER.
//EXEC
CTTSPL
//SYSIN DD *
EXTRACT PATH=ALL
INCLUDE VOLSER=VOL*
/*
//DAIN
DD *
TYPERUN FUNCTION=MOVE
Example 2
In this example, utility CTTSPL extracts the records of all datasets beginning
with MY.FILE. The records for these datasets and the associated volumes are
copied (not deleted) from the source Media Database and placed in the
extract file (REPDATA) to be used later as input for utility CTTMER.
//EXEC
CTTSPL
//SYSIN DD *
EXTRACT PATH=ALL
INCLUDE DSNAME=MY.FILE*
/*
//DAIN
DD *
TYPERUN FUNCTION=COPY
/*
Return Codes
Table 7-59
Code
Description
Initialization problem.
12
Extract failed.
7-143
Table 7-59
Code
Description
16
Split failed.
20
Greater than
20
7-144
Media Database
Purpose
Advantages
Disadvantages
7-145
Parameters
Utility parameters are supplied using DD statement SYSIN:
Table 7-61
CTTSTK Parameters
Parameter
Description
TYPERUN
INCLUDE / EXCLUDE
The scope of the utility can be limited by one or more INCLUDE /
EXCLUDE statements. The subparameters that can be specified in
INCLUDE / EXCLUDE statements are listed in the appendix that discusses
logical field names for the CONTROL-M/Tape Repository in the
INCONTROL for OS/390 and z/OS Administrator Guide.
For additional information on INCLUDE / EXCLUDE Statements, see
Record Selection Logic (INCLUDE / EXCLUDE Statements) on page 7-6.
7-146
Return Codes
Table 7-62
Code
Description
12
16
20
24
7-147
Parameters
Table 7-63
Parameter
Description
INCLUDE /
EXCLUDE
7-148
Table 7-63
Parameter
Description
REPORT
FIELDS
Fields to print in the report. The fields are printed in the order
specified. Available fields:
JOBNAME Name of the job that created the dataset.
DSNAME Name of the dataset.
STATUS Whether the dataset is stackable.
UNIT Unit name on which the dataset was created.
DENSITY Density with which the dataset was recorded.
OBSERVE Number of observations of the dataset that
were used to determine statistics for the dataset.
MAXSIZE Maximum dataset size in Kilobytes (KB).
MINSIZE Minimum dataset size in Kilobytes (KB).
TOTSIZQ Sum of the square of dataset size for all
previous observations in Kilobytes (KB).
STDDEV Standard deviation (in Kilobytes) of dataset size
for all observations.
AVGSIZEa Average dataset size in Kilobytes (KB).
PREDICTD Predicted dataset size in Kilobytes (KB).
AVGSIZEU Average uncompressed dataset size in
Kilobytes.
PREDICTU Average predicted uncompressed dataset
size in Kilobytes.
LIFEOBS Total number of observations of the dataset
(including observations that were not used to calculate
dataset statistics). This field is relevant only for datasets
with nonspecific retention (for example, CATALOG or LAST
ACCESS).
LIFESPAN Average life span of the dataset in days. This
field is relevant only for datasets with nonspecific retention
(for example, CATALOG or LAST ACCESS).
7-149
Table 7-63
Parameter
Description
SORTBY
ATTR
BREAK
Note: For a description of the options of these statements, see the FIELDS,
SORTBY, ATTR, and BREAK statements in CTTRPT Database Extraction and
Report Utility on page 7-58.
a
Return Codes
Table 7-64
Code
Description
12
16
Example
The following example extracts stacking statistics information and produces
reports for datasets that:
//EXEC
CTTSTKR
//SYSIN DD *
INCLUDE OBSERVE<15,MAXSIZE<70
REPORT NAME=STACKING
FIELDS JOBNAME,DSNAME,STATUS,DENSITY,MAXSIZE,
MINSIZE,TOTSIZQ,OBSERVE,AVGSIZE
/*
7-150
Figure 7-13
PAGE
Jobname
Dataset name
Stackable?
Density
Maximum Minimum
Size(KB) Size(KB)
-------M27EXIT
M27S
M27STK
M27SVC
N22SB05
N22SB05
N22SB05
N22SB05
N22T01
N22T01
N22T01
N22T01
N65CHAIN
N65DFDSS
N70STACK
N70STACK
N70STACK
N89GENER
N89GENER
N89GENER
N89GENE1
-------------------------------------------M27.NEW.DIMENS
M27.TRY1
M27.TRY1
M27.SVC
N22.SB.F001
N22.SB.F002
N22.SB.F003
N22.SB.F004
N22.SB.F001
N22.SB.F002
N22.SB.F003
N22.SB.F004
N65.TRY.DS
N65.TRY.DFDSS
N70.STACK.DSN1
N70.STACK.DSN2
N70.STACK.DSN3
N89.EXPDT.Y2000.FILE1
N89.NON.SPECIFIC
N89.PERM.FILE1
N89.ACCT.CAT3
---------YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
-------BPI38KE
BPI38KE
BPI38KE
BPI38K
BPI38KE
BPI38KE
BPI38KE
BPI38KE
BPI38K
BPI38K
BPI38K
BPI38K
BPI38KE
BPI38KE
BPI38KE
BPI38KE
BPI38KE
BPI38K
BPI38K
BPI38K
BPI38K
------2
2
2
2
28
67
28
67
28
67
28
67
2
5
2
2
2
7
7
7
7
------2
2
2
2
28
67
28
67
28
67
28
67
2
5
2
2
2
7
7
7
7
Total
Square
Size
-----4
4
4
4
784
4489
784
4489
784
4489
784
4489
4
25
8
52
4
49
49
49
49
Observations
------1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
13
1
1
1
1
1
Average
Size
(KB)
------1
1
1
1
3
6
3
6
3
6
3
6
1
1
1
1
1
1
1
1
1
7-151
Check and update the status (that is, SCRATCH or ACTIVE) of volumes
in the automated tape library database according to their statuses as
indicated in the Media Database.
7-152
CTTSYNC Activation
//EXEC
CTTSYNC
//SYSIN DD *
TYPERUN UPDATE=MDB|RDB|BOTH,MODE=NORMAL|SIMULATION
<INCLUDE/EXCLUDE STATEMENTS>
//
Parameters
The following parameters are supplied using DD statement SYSIN:
Table 7-65
Parameter
Description
TYPERUN
7-153
Table 7-65
Parameter
Description
INCLUDE /
EXCLUDE
Return Codes
Table 7-66
Code
Description
12
16
20
24
Example
The following example searches for volumes in the Media Database with a
volser prefixed by V001 and then checks the automated tape library database
to determine if these volumes are in the automated tape library. If an
In ATL indication in the Media Database is incorrect, it is updated
accordingly.
7-154
Figure 7-15
CTTSYNC Example
//EXEC
CTTSYNC
//SYSIN DD *
TYPERUN UPDATE=RDB
INCLUDE VOLSER=V001*
//
7-155
CTTTPI Functions
Function
Description
Safe Tape
Initialization
(INITT)
Media Information
Mapping
(TAPEMAP)
CTTTPI,V=volser,[U=unitname|devnum,]F=INIT
This command invokes the utility with the single control statement:
INITT SER=volser,NUMBTAPE=999
When invoked in this manner, the utility first checks that the specified target
volume serial number is either not in the Media Database or is in the Media
Database with scratch status.
7-156
If the target volume serial number passes the first check, the utility requests
that the operator mount the physical volume. Once the volume is mounted,
the utility reads it to verify that it is not an active volume in the Media
Database.
If both the specified target volume and the physical mounted volume pass the
checks, the desired label is written on the mounted volume.
If the specified volser is numeric, the utility requests successive volumes in
ascending order until stopped or canceled by the operator.
The utility issues messages (for example, CTT289A) and sometimes prompts
the operator for a reply or decision.
If CONTROL-O or CONTROL-O/PC is installed at your site, responses to
the messages can usually be automated.
Depending on specified parameters, the Media Database can be updated by
the utility.
CTTTPI,[V=volser,][U=unitname|devnum,]F=MAP
This command invokes utility CTTTPI with the single control statement:
TAPEMAP SER=volser
7-157
The TAPEMAP function produces a report that contains a single line for each
of the following elements:
Table 7-68
CTTTPI Elements
Element
Description
VOL1
Volume label.
HDR1
First part (and sometimes the only part) of a header label that
describes a standard label dataset.
HDR2
DATA BLOCKS
EOF1
EOF2
EOV1
EOV2
Tape Mark
I/O Error
7-158
where
This command invokes the utility with the following single control statement:
TAPERAS SER=volser,NUMBTAPE=999
When invoked in this manner, the utility first checks that the specified target
volume serial number is either not in the Media Database or is in the Media
Database with scratch status.
If the target volume serial number passes the first check, the utility requests
that the operator mount the physical volume. Once the volume is mounted,
the utility reads it to verify that it is not an active volume in the Media
Database.
The mounted volume is erased only if the volser of the mounted volume
matches the volser specified in the JCL for the utility.
If the specified volser is numeric, the utility requests successive volumes in
ascending order until stopped or canceled by the operator.
The utility issues messages (for example, CTT289A) and sometimes prompts
the operator for a reply or decision. If CONTROL-O or CONTROL-O/PC is
installed at your site, responses to these messages can usually be automated.
Depending on specified parameters, the Media Database can be updated by
the utility.
7-159
7-160
where
U Tape drive to be allocated for use by the utility. Valid values are a
generic or esoteric unit name or a specific device number.
7-161
7-162
Table 7-69
Parameter
Description
TYPERUN
7-163
Table 7-69
Parameter
Description
PROMPT Mounted volumes are read and the operator
is requested to approve the initialization of the mounted
volume.
MDBUPDAT Controls updates to the Media Database
record of the specified target volume. Optional. Valid for
function INITT only. Cannot be used in SIMULATION
mode. Valid values are:
Y (Yes) If the volume is already in the Media
Database, the information in its record is reset,
including volume statistics and information regarding
scratch datasets that have resided on the volume.
Default.
The value of the last job to access the volume is
changed to *CTTTPI*.
If the volume is not in the Media Database and
ADD is set to Y (Yes), the volume record is added
to the Media Database.
N (No) No changes are made to the Media Database
as a result of the initialization process.
If MDBUPDAT is set to N, parameter ADD is
ignored.
ADD Controls the handling of specified volume serial
numbers that are not in the Media Database. Optional.
Valid for function INITT only. Cannot be used in
SIMULATION mode. Valid values are:
N (No) A volume record is not added to the Media
Database. Default.
Y (Yes) A volume record is added to the Media
Database.
E (External) A volume record is added to the Media
Database and marked External.
P (Prompt) The operator is prompted to decide
whether to add a record to the Media Database.
INITT
7-164
Table 7-69
Parameter
Description
NUMBTAPE Maximum number of tapes to be initialized.
Optional.
After the first specified volume is processed, the numeric
suffix of the volume serial number (if one exists) is
repeatedly incremented by one to generate additional serial
numbers, until the number of tapes initialized equals the
value of NUMBTAPE or until a volume is initialized with a
volser whose suffix is all 9s. NUMBTAPE must be an
integer between 1 and 9999. The default is 1.
OWNER Owner identification to be recorded on the
volume label. Maximum: 10 alphanumeric characters. (This
parameter is identical to the OWNER parameter in IBM
utility IEHINITT.) Optional.
LABTYPE Type of label to create. Optional. (This
parameter is identical to parameter LABTYPE in IBM utility
IEHINITT.) If this parameter is omitted, an IBM standard
label is created. Otherwise, the following value is valid:
ALCreate an ANSI standard label.
ACCESS Protection character for ANSI standard label.
This parameter is identical to the ACCESS parameter of
the IBM utility IEHINITT. Optional.
DDNAME DD name for the tape drive to be used by
CTTTPI. The DD name must start with the characters
CTTTPI. The default value is CTTTPITP. Optional.
MEDIA Volume media name to be recorded in the Media
Database for volumes being added to the Media Database
as part of the initialization process. The media must be
defined in member CTTPARM. If no value is specified, the
media name is derived from the device type of the
assigned tape drive (for example, MEDIA=3480). Optional.
VENDOR Media vendor name to be recorded in the
Media Database for volumes being added to the Media
Database as part of the initialization process. Optional.
VERSION When the LABTYPE parameter is set to AL,
the VERSION parameter indicates whether the format will
be Version 3 or Version 4. This parameter is identical to the
VERSION parameter of the IBM utility IEHINITT. Optional.
ERASE Indicates whether to erase all data on the tape
from after the label until the physical end-of-tape. Valid
values are:
Y (Yes) Erase the data on the tape.
N (No) Do not erase the data on the tape.
Note: Because the ERAS function physically writes a
random pattern of data until the physical end of the tape, a
run of the CTTTPI utility in which ERASE is set to Y (Yes)
can be a time-consuming process.
7-165
Table 7-69
Parameter
Description
TAPERAS
TAPEMAP
7-166
Table 7-69
Parameter
Description
Note: Processing a volume with STOP set to N may
cause unexpected operational problems, such as a tape
running off a reel or unusual I/O errors.
Set STOP to N only in a test environment where unexpected
problems cannot disrupt production.
MODE Controls both the extent of the report produced
by the TAPEMAP function and the way in which this
function reads the tape.
E (Extended) Produces a report on all datasets that
exist on the volume including datasets that exist after
the logical end of data, as discussed in the TAPEMAP
subparameter STOP. When operating in this mode, utility
CTTTPI physically reads every byte on the volume. This
mode is therefore time-consuming. Default.
S (Standard) Produces a report on all datasets that
exist on the volume up to the logical end of data. The
utility scans the datasets on the volume, it does not
physically read the data. This mode is therefore quicker
than Extended mode.
When MODE is set to S, the STOP subparameter is
ignored and field LARGEST BLOCK produced by utility
CTTTPI is set to zero.
Linkage and parameter passing conventions for utility CTTTPI are the
same as for IBM utilities. For more information, refer to the IBM Utilities
Manual.
When constructing jobs that invoke CTTTPI, copy the DD statements from
the CTTTPI JCL procedure as follows:
Table 7-70
Statement
Description
SYSIN
Input Stream.
SYSPRINT
7-167
Table 7-70
Statement
Description
DAMDB
DAMDI
DALOG
DATRC
CTTTPITP
7-168
Return Codes
Upon completion, CTTTPI returns one of the following return codes (in
register 15):
Table 7-71
Code
Description
Successful completion.
12
16
20
24
28
32
36
40
44
48
52
56
60
64
68
72
7-169
Examples
Example 1
Example 2
7-170
CTTTRB,PARM=BKP=START|END
Parameters
Utility parameters are supplied in the JCL PARM library:
Table 7-72
CTTTRB Parameters
Parameter
Description
BKP
Run the utility before backup of the Media Database and the Trace file. In
this run, set parameter BKP to START. This run of the utility marks the most
recently filled record in the Trace file.
Step 2
Perform the necessary backups. Any local site backup procedures can be
used to perform this task.
Step 3
After the backup has been successfully completed, run utility CTTTRB with
parameter BKP set to END. This run marks all Trace file records before the
record marked in the previous run of the utility (Step 1 above).
7-171
Return Codes
Table 7-73
Code
Description
12
16
Example
//EXEC
//EXEC
...
//EXEC
CTTTRB,PARM=BKP=START
PGM=ADRDSSU
CTTTRB,PARM=BKP=END
7-172
7-173
Table 7-74
Parameter
Description
VLTBYDS1
SLOTRNG1
CYCLECNT
EXPDTYPE
7-174
7-175
Parameters
Utility parameters are supplied using DD statement SYSIN:
Table 7-75
Parameter
Description
TYPERUN
7-176
Table 7-75
Parameter
Description
TYPEVLT
INCLUDE /
EXCLUDE
7-177
Table 7-75
Parameter
Description
REPORT
FIELDS
Fields to print in the report. The fields are printed in the order
they are specified.
The following fields can be printed on the Distribution report:
MEDIA Media type.
POOL Pool name.
VOLSTAT Status(es) of the volume.
VOLSER Volume serial number.
SL-NAME Standard label name of the volume.
VOLCNT Number of volumes in a multi-volume chain.
FIRSTVOL First volser in a multi-volume chain.
FROMLOC From vault location of the volume.
TOLOC To vault location of the volume.
FROMSLOT From slot number in the vault.
TOSLOT To slot number in the vault.
NEXTLOC Next location in the vault pattern.
NEXTLCDT Date the volume is moved to the next
location in the vault pattern.
BOXID Name of the box in which the volume resides.
EXPDT Expiration date.
LBLTYP Label type.
DSNAME Dataset name.
VOLSEQ Volume sequence number.
LOCSEQ Sequence number of the location in the vault
pattern.
CREJBN Creating jobs name.
CREDT Creation date.
CRETM Creation time.
Note: For a description of the options of the FIELDS
statement, see the FIELDS statement in CTTRPT
Database Extraction and Report Utility on page 7-58.
SORTBY
Sort order of the output fields with the options that can be
applied to each field. For more information, see the FIELDS
parameter in this table. Optional.
Note: For a description of the parameters and options of the
SORTBY statement, see the SORTBY statement in CTTRPT
Database Extraction and Report Utility on page 7-58.
7-178
Table 7-75
Parameter
Description
ATTR
BREAK
Return Codes
Table 7-76
Code
Description
12
16
20
24
28
32
36
40
Insufficient storage.
44
Authorization failed.
48
52
56
7-179
Examples
Example 1
The report is sorted according to the location from which each volume is
being moved (FROMLOC). The report is then sorted according to the
destination (TOLOC) and the volser name (VOLSER). A page break is
inserted after each FROMLOC location listed in the report (meaning, each
group of volumes from a specific location begins a new page).
Example 2
The location of all volumes whose volume serial numbers start with DIV1 is
modified. The volumes are assigned new slot numbers. Rule definitions are
reloaded to recalculate the vaulting patterns.
//EXEC
CTTVTM
//SYSIN DD*
TYPERUN MODE=NORMAL
TYPEVLT MODE=RECALC,RESLOT=YES
INCLUDE VOLSER=DIV1*
REPORT
NAME=DISTRIB
FIELDS
MEDIA,VOLSER,POOL,FROMLOC,TOLOC
SORTBY
FROMLOC/B,VOLSER,POOL
//
7-180
30
Index
Subparameter Qualifier 3-123
Operator
IOABLCAL Utility 2-5
Symbols
2-5, 5-41
$INDEX Records
CTVDELI Utility 5-66
CTVJAR Utility 5-76
$SIGN Parameter
Testing AutoEdit Syntax 3-7
$SYSDATA Records
CTVJAR Utility 5-76
%%$SIGN
Testing AutoEdit Syntax 3-7
%%RESOLVE OFF
AutoEdit Statement 3-16
%COUNTP Parameter
CTTRPT Utility 7-67
%FIELD Parameter
CTTRPT Utility 7-67
* Character
Job Scheduling 3-68
Subparameter Qualifier 3-125
* Operator
IOABLCAL Utility 2-5
+ Operator
IOABLCAL Utility 2-5
> 2-5
> Symbol
Prefixing 5-41
>W Operator 2-5
? Character
Numerics
3490 Tape Cartridge
CTTTPI Utility 7-160
A
ABFBKP File
CTBABI Utility 4-3
CTBFRM 4-21
ACCESS Parameter
CTTTPI Utility 7-165
ACCOUNT Parameter
CTDSMFRP Utility 5-41
ACT Parameter
CTBDBVIG utility 4-19
Activating CTMCND Utility 2-20
Active Balancing File
Formatting 2-36
Initialization 4-3
Active Jobs File
Changing Size 3-53, 3-63
Cleaning 3-53
Compressing 3-52
CTMRAFL Report 3-77
Active Library
Adding Volumes 7-25
Active Missions File
Changing Size 5-7
Compressing 5-6
Index
B
Backup
Automation Log 6-3
MDB and Trace File 7-171
Retention and Volser (CTD) 5-55
BASELEN Parameter
CTVUPGDB Utility 5-83
Batch Stacking
CTTSBD Utility 7-104, 7-106
BKP Parameter
CTTTRB Utility 7-171
BKPFROM Parameter
CTDUPBKP Utility 5-58
BKPMIS Parameter
CTDUPBKP Utility 5-58
CTVJAR Utility 5-77
BKPRESET Utility 5-4
BKPTO Parameter
CTDUPBKP Utility 5-58
BLKSIZE Parameter
IOADBF Utility 2-29
BLOCK Field
CTBVXRF Report 4-31
BLOCKS Parameter
CTBVXRF Utility 4-30
BOXLIM Parameter
CTTVTM Utility 7-176
BREAK Parameter
CTTRTM Utility 7-96
BREAK Statement
CTTRPT Utility 7-67
CTTRSM Utility 7-83
CTTSCA Utility 7-136
CTTSTKR Utility 7-150
CTTVTM Utility 7-179
BUFL Parameter
IOADBF Utility 2-29
Building
Manual Conditions File 2-60
Stacking Statistics File 7-145
C
C Parameter
Utility CTBJAFIG 4-28
CA-1
Compatibility 7-88
Conversion of Retention Information 7-92
Conversion Utility 7-26
CAB Control Block
Emergency Disconnect Utility 2-12
CA-DISPATCH
Converting using CTDUPBKP Utility 5-55
Calendar
CONFCAL Calendar 3-130
DCAL Calendar 3-130
WCAL Calendar 3-130
Calendar Creation
IOABLCAL Utility 2-4
Calendar Facility
Generation 3-17
Calendar Generation
CTMBLDAE Utility 3-16
Calendar Name / Job Name Cross Ref
CTMXRF Utility 3-133
Calendar Option
Primary Option Menu 2-4
Calendar/Job Name Report
CTMXRF Utility 3-130
CALENDR Field
Job Flow Report 3-92
CALL Command
CTTGVL Utility 7-31
CALLIB Parameter
CTMBLDAE Utility 3-17
CALMEM Parameter
CTMBLDAE Utility 3-17
CATALOG Retention
CTTSTK Utility 7-147
Cataloging
Datasets (Utility CTTRCV) 7-55
CATEGORY Parameter
CTDSMFRP Utility 5-41
CTDUFUPD Utility 5-50
CTMTBUPD Utility 3-118
CA-TLMS
Compatibility 7-88
Conversion of Retention Information 7-92
Conversion Utility 7-26
CCIFRES DD Statement
CTDCCFRS Utility 5-14
CCIFRES Utility
NEW Parameter 5-15
UPD Parameter 5-15
CDAM
Deleting Files 5-17
CDAM File
CTVJAR Utility 5-76
CHANGETO Parameters
CTDUPBKP Utility 5-59
Character Prefixing
Prefixing 5-41
CHARS Parameter
CTDUFUPD Utility 5-51
CHART Parameter
CTMRFLW Report 3-87
CHECK Parameter
CTTMUP Utility 7-41
CHKINDT Field
SCRATCH Report 7-94
CHKPTID Parameter
CTVUPGDB Utility 5-82
CLASS Parameter
CTDUFUPD Utility 5-50
Cleaning
Active Jobs File 3-53
Global Indexes 5-71
History User Report List 5-20
Migrated Report List 5-64
CLEANUP Function
CTMCAJF Utility 3-49
Cleanup Utility 3-113
CMD Parameter
IOATEST Utility 2-67
COLUMN Parameter
CTTRPT Utility 7-67
Combinatorial Logic
IOABLCAL Utility 2-5
Commands
JES3 2-65
LIST 3-7
SUBMIT 3-7
SUBSCAN 3-7
COMP-CODE Field
CTVJAR Parameter 5-76
Compiling
Rule Definitions (CTB) 4-4
COMPRESS Function
CTMCAJF Utility 3-49
Compressing
Active Jobs File 3-52
Active Missions File 5-6
Index
Index
Description 5-36
Summary 1-6
CTDSMFRP Utility 5-41
Description 5-41
Example 5-41
PaperUsage Report 5-41
Summary 1-6
CTDUFUPD Utility
Description 5-45
Example 5-52
Parameters 5-48
Summary 1-6
CTDUFUPDUtility
Work Flow 5-51
CTDULD Utility 5-54
Description 5-54
Summary 1-6
CTDUPBKP Utility 5-55
Backup Retention and Volser Info 5-55
Converting from CADISPATCH 5-55
DD Statement RECVOL 5-55
NEWBKP Parameter 5-60
NEWMIG Parameter 5-60
Summary 1-6
CTMAESIM
Invoking from a batch JCL 3-9
Invoking from another program 3-9
CTMAESIM Utility
Description 3-5
LIST Command 3-7
Summary 1-3
CTMAS
CTMRSTR Utility 3-111
CTMBGRP Utility 3-13
Group Scheduling Table 3-34
Group Scheduling Tables 3-13
Summary 1-3
CTMBLDAE Utility
CTMRCAL Calendar 3-78
Example 3-18
Summary 1-3
CTMBLT Utility
Called From Another Program 3-30
General Parameters 3-23
Job Scheduling 3-29
Job Scheduling Parameters 3-24
Parameter Syntax 3-23
Special Parameters 3-24
Summary 1-3
CTMCAJF Utility 3-49
Active Jobs File 3-49
Summary 1-3
CTMJDS Procedure
CTMRJDS Report 3-136
CTMJOB
CNTERCRD 3-66
Dynamic Insertion Facility 3-68
CTMJOB Utility
Description 3-65
Example 3-72
Formats 3-67
Parameter Syntax 3-68
Summary 1-3
CTMJSA Utility 3-74
Description 3-74
Summary 1-3
CTMJTXRF Utility 3-131
Job Name / Table Name Xref Report 3-131
CTMRAFL Report
Comparison with CTMRPFL 3-104
Description 3-77
CTMRCAL Utility 3-78
Description 3-78
Example 3-79
Summary 1-3
CTMRELRS Utility 3-80
Description 3-80
Example 3-82
Summary 1-3
CTMRES 3-83
CTMRFLW Report
Comparison with CTMRPFL 3-104
Description 3-85
Example 3-91
JCL 3-86, 3-89
LINESIZE Parameter 3-88
MAXCARDS Parameter 3-88
PAGESEQ Parameter 3-88
PAGESIZE Parameter 3-88
Parameters 3-86
TABLES Parameter 3-88
CTMRJDS Report
Dataset Cross Reference 3-136
CTMRLR Program
Example 3-82
Quantitative Resource Release 3-80
CTMRNSC Report
Description 3-98
Example 3-100
JCL 3-98
Parameter 3-98
CTMROGR Report
Description 3-100
JCL 3-102
Parameters 3-101
CTMRPFL Report
Description 3-104
CTMRPLN Report
Comparison with CTMRPFL 3-104
Description 1-4, 3-106
IGNORE CALENDAR Parameter 3-107
JCL 3-107
JOBSDD DD Name 3-106
Parameters 3-106
REPEND Parameter 3-106
REPSTART Parameter 3-106
RETYPE Parameter 3-106
SORTBY Parameter 3-106
TABLES Parameter 3-107
CTMRSTR Utility 3-111
Description 3-111
Summary 1-4
CTMSCH DD Statement 3-126, 3-132
CTMSIM Utility 1-4
Summary 1-4
CTMSLC Utility
Control Statement Syntax 3-113
Definition of Old Job 3-113
Generally 3-113
NORMAL Mode 3-114
SIMULATION Mode 3-114
Summary 1-4
CTMTAPUL Utility
Summary 1-4
CTMTBUPD Utility 3-116
Job Scheduling Table Update 3-116
Summary 1-4
Update Parameters 3-118
CTMXREF Utility
Control Statements 3-132
CTMXRF Report
Condition Name Cross Ref 3-134
CTMXRF Utility 3-132
Calendar Name / Job Name Cross Ref 3-133
Description 3-130
Due Out Time / Job Name Cross Ref 3-134
From Time / Job Name Cross Ref 3-134
JCL 3-132
Job Name / Table Name Cross Ref 3-133
Job Name Cross Ref 3-134
Library Name / Job Name Cross Ref 3-135
Resource Name / Job Name Cross Ref 3-133
Schedule Tag / Job Name Cross Ref 3-134
Until Time / Job Name Cross Ref 3-134
CTOALOCP Utility 6-3
Back Up Automation Log 6-3
CTOCOLBF Job
Variable Databae Column File 2-36
CTOCSF Utility 6-6
Copy Statistics File 6-6
Summary 1-7
CTOCSFJ Member
Message Statistics 6-6
CTOCTA Utility 6-8
Check Address Space 6-8
Summary 1-7
CTOCTI Utility 6-10
Generate SYSIMAGE Input 6-10
Summary 1-7
SYSIMAGE Facility 6-12
CTODBSBF Job
Variable Database Definition File 2-36
CTOMVDSC Job
Emergency ON MVALERT Disconnect 6-17
CTOMVDSC Utility 6-17
Emergency ON MVALERT Disconnect 6-17
CTOOBJFL File
CONTROL-O PARM Library 6-11
CTORSTM Utility 6-14
Message Statistics Report 6-14
Summary 1-7
CTOSMDSC Job
Emergency ON SMS Disconnect 6-18
CTOSMDSC Utility 6-18
Emergency ON SMS Disconnect 6-18
Summary 1-7
CTOTEST Utility 6-19
Simulate CTO Environment 6-19
Summary 1-7
CTOUSDSC Job
Emergency USS Support Disconnect 6-23
CTOUSDSC Utility 6-23
Index
Summary 1-9
CTTRRCLV Report
CTTRPT Utility 7-71
CTTRRTNP Report
CTTRPT Utility 7-71
CTTRSCRD Report
CTTRPT Utility 7-71
CTTRSM Utility 7-79
Description 7-79
Summary 1-8
CTTRTM Utility 7-84
Condition Codes 7-96
CTTSBD Utility 7-103
Examples 7-97
Parameters 7-90
Retention Management 7-30, 7-84
Summary 1-8
CTTRUTIL Report
CTTRPT Utility 7-71
CTTRVBOX Report
CTTRPT Utility 7-71
CTTRVUPD Report
CTTRPT Utility 7-71
CTTRWDCP Report
CTTRPT Utility 7-71
CTTSBD Utility 7-100
Description 7-100
Parameters 7-115
Summary 1-8
CTTSBGRP DD Statement
CTTSBD Utility 7-123
CTTSCA Utility 7-131
Description 7-131
Summary 1-8
CTTSPL Utility 7-138
CTTMER Utility 7-36
Extract MDB Info 7-138
Summary 1-8
CTTSTK Utility 7-145
Build/Update STK File 7-145
Summary 1-8
CTTSTKR Utility 7-148
Description 7-148
Summary 1-8
CTTSYNC Utility 7-152
Description 7-152
Summary 1-8
CTTTPI Utility 7-156
Activation 7-161
Examples 7-170
Invoking 7-167
Return Codes 7-169
StorageTek Robot Support 7-168
Summary 1-9
Tape Init/Erase/Mapping 7-156
CTTTPITP DD Statement
CTTTPI Utility 7-168
CTTTRB Utility 7-171
Backup MDB and Trace File 7-171
Summary 1-8
CTTVTM Utility 7-173
CTTSBD Utility 7-104
Examples 7-180
Summary 1-8
Vault Management 7-173
CTTX006 User Exit
CTTRTM Utility 7-87
CTTX008 User Exit
CTTRTM Utility 7-87
CTTX011 User Exit
CTTSBD Utility 7-103
CTVCLMIG Utility 5-64
Clean Migrated Report List 5-64
Summary 1-6
CTVDELI Utility 5-66
Deleting DASD Index Files 5-66
Summary 1-6
CTVGICL Utility 5-71
Clean Global Indexes 5-71
Summary 1-6
CTVJAR Utility 5-76
Description 5-76
Summary 1-6
CTVUNMIG Utility 5-79
Summary 1-6
CTVUNMIG Utiltiy
Description 5-79
CTVUPGDB Utility
Example 5-84
Global Index Database 5-81
Parameters 5-81
Return Codes 5-84
Summary 1-7
CYCLE Type Retention
CTTSBD Utility 7-103
CYCLECNT Parameter
Index
D
D Parameter
IOADBF Utility 2-28
DA34F DD Statement
IOAOPR Utility 2-65
DAALPPRM DD Statement
CTOALOCP Utility 6-3
DABCLIN DD Statement
IOABLCAL Utility 2-5
DACAL DD Statement
Calendar Library 3-78
DACMD DD statement
CTBVXRF Utility 4-30
DACOPPRM DD Statement
CTDCAMF Utility 5-6
CTMCAJF Utility 3-49, 3-62
DACRSIN DD Statement
IOACLCND Utility 2-13
DAFILE DD statement
IOADBF Utility 2-29
DAFLWPRM DD Statement
CTMRFLW Report 3-87
DAINPRM DD Statement
CTMBLT Utility 3-22, 3-33
CTMTBUPD Utility 3-126
DAJOB DD Statement
CTMJOB Utility 3-65, 3-72
DALCPPRM DD Statement
IOACPLOG Utility 2-25
DALOG DD Statement
CTMBGRP Utility 3-14
CTTTPI Utility 7-168
IOACPLOG Utility 2-26
DALOGCUR DD Statement
IOACPLOG Utility 2-25
DALOGSEQ DD Statement
Copy IOA Log 2-25, 2-26
DAMDB DD Statement
CTTTPI Utility 7-168
DAMDI DD Statement
10
DBREPB Parameter
CTBJAFDL Utility 4-26
DBREPI Parameter
CTBJAFCP Utility 4-23
DBREPO Parameter
CTBJAFCP Utility 4-23
DCAL
Calendar 3-130
DCAL Parameter
CTMTBUPD Utility 3-119
DD Statement
DA34F 2-65
DABCLIN 2-5
DACAL 3-78
DACHK 3-68
DAFLWPRM 3-87
DAINPRM 3-22, 3-33
DANSCPRM 3-98
DAOGRPRM 3-101
DAPLNJOB 3-79
DAPLNPRM 3-106
DAPRINT 3-33
DARELIN 3-81
DASIM 3-5
DATABERR 3-33
DD Statement RECVOL
CTDUPBKP Utility 5-55
DDNAME Parameter
CTTTPI Utility 7-165, 7-166
ORDER Record 3-68
DDNAMES Index
CTVJAR Utility 5-76
DDSRBA Keyword
CTTMUP Utility 7-43
DDSTAT DD Statement
CTMJOB Utility 3-72
Deallocation
Quantitative Resource 3-80
DECFROM Parameter
CTDUPBKP Utility 5-58
DECTIME Parameter
CTDUFUPD Utility 5-49
DECTO Parameter
CTDUPBKP Utility 5-58
Deleting
CDAM Files 5-17
CTB Variables 4-17
DASD Index Files 5-66
Index
11
12
E
EDIT Parameter
CTTRPT Utility 7-65
ENABLE Parameter
IOADBSR Utility 2-41
END Parameter
IOAVERFY Utility 2-73
ENDDATE Parameter
CTOALOCP Utility 6-3
END-TIME Field
CTVJAR Parameter 5-76
ENDTIME Parameter
CTMRSTR Utility 3-111
CTOALOCP Utility 6-3
ENDUPD Statement
CTTMUP Utility 7-45
Enqueue Manager
CTMRELRS Utility 3-80
ERASE Parameter
CTTTPI Utility 7-165
ERASELBL Parameter
CTTTPI Utility 7-166
Erasing
Information on a Tape 7-159
EXCLUDE Statement
CTTSBD Utility 7-121
CTTSCA Utility 7-134
CTTSTKR Utility 7-148
CTTSYNC Utiility 7-154
Syntax 7-6
EXCLUDE Statements
Format (CTT) 7-8
Record Selection (CTT) 7-7
EXEC Statement
F
FIELD Parameter
CTTRPT Utility 7-64
FIELDS Parameter
CTTRSM Utility 7-82
CTTRTM Utility 7-94
CTTSCA Utility 7-134
CTTSTKR Utility 7-148
FIELDS Statement
CTTRPT Utility 7-63
CTTVTM Utility 7-178
File Definition
IOA Access Method 2-29
FILE Parameter
CTBJAFCP Utility 4-23
CTBJAFIG Utility 4-28
CTDUFUPD Utility 5-48
CTDUPBKP Utility 5-58
FIRST Parameter
CTTDLD Utility 7-27
FIRSTVOL Field
SCRATCH Report 7-94
FODATE Parameter
CTVJAR Utility 5-77
Index
13
14
G
G Option
Table List Screen 3-85
GEN Parameter
CTMBLDAE Utility 3-17
GENER Parameter
CTDUPBKP Utility 5-59
General Job scheduling definition
Parameter Tables 3-40
Generations
CTB Variables 4-11
Global Index Database
CTVUPGDB Utility 5-81
Global Indexes
Cleaning 5-71
Global Parameter
CTMBLT Utility 3-24
Graphic Format Parameters
CTMRAFL Report 3-77
Graphic Jobflow
Table List Screen 3-85
Greater Than Character 5-41
GROUP Dependent
Job Flow Report 3-92
Group File (CTB)
Copying 4-14
Formatting 2-36
Rebuilding 2-36
Group Output
CTMRFLW Report 3-94
GROUP Parameter
CTBDBVCG Utility 4-12
CTBDBVCP Utility 4-15
CTBDBVDL Utility 4-17
CTMAESIM Utility 3-5
CTMBGRP Utility 3-14
H
HANDLED Field
Message Statistics Screen 6-16
History Report List
Cleaning 5-20
CTDCCU Utility 5-18
CTDDELRP Utility 5-25
History User File
Backup Utility 5-55
I
ID Field
Message Statistics Screen 6-16
ID Parameter
CTTRPT Utility 7-63
IFASMFDP Utility
CTTRSM Utility 7-79
IGNORE CALENDAR Parameter
CTMRPLN Report 3-107
IGNORE Statement
CTMJOB Utility 3-66
IOACLCND Utility 2-14
IOALDNRS Utility 2-61
IGNORE TAG Logic
CTMJOB Utillity 3-70
IGNORE TAG Parameter
CTMJOB Utility 3-69
ORDER Record 3-69
Index
15
Integrity
Access Method Index 2-49
IOA Access Method 2-46
Media Database 7-41, 7-139
Rule Activity File (CTB) 4-28
Variable Files (CTB) 4-19
INTERVAL Parameter
CTMROGR Report 3-101
CTMTBUPD Utility 3-119
IOADBSR Utility 2-41
INTERVAL-TYP Parameter
CTMTBUPD Utility 3-119
INTOGRP Parameter
ORDER Record 3-68
Inventory Report
Vault Management 7-173
IOA
Rebuild Index 2-37
IOA Access Method
File Definition 2-29
Index Integrity 2-49, 5-34
Index of CTD Files 5-34
Integrity 2-46
Loading Files 2-51
Printing Files 2-54
Recovery 2-43
Sorting Files 2-40
Unloading Files 2-56
IOA Log
Copying 2-25
IOA Log File
Log File 3-101
IOA Utilities
Summary 1-2
IOABLCAL Utility 2-4, 3-78
Calendar Creation 2-4
CTMRCAL Calendar 3-78
Example 2-7
Logic 2-5
Summary 1-2
IOACABJ Job
Emergeny CAB Control Block Disconnect
2-12
IOACABPR Utility 2-12
Emergeny CAB Control Block Disconnect
2-12
Summary 1-2
IOACCND Utility
16
Description 2-23
IOACLCND Utility 2-13
Description 2-13
IOACLRES Utility 2-17
Description 2-17
Summary 1-2
IOACND
Activating CTMCND Utility 2-20
IOACND Utility 2-17
Description 2-17
Manage Conditions/Resources 2-17
Summary 1-2
IOACOLBI Job
IOADBIB Utility 2-39
IOACPLOG Utility 2-25
Copy Log File 2-25
Summary 1-2
IOADBF Utility 2-28, 4-3
Description 2-28
Summary 1-2
IOADBIB Utility 2-37
Description 2-37
Rebuild IOA Index 2-37
Summary 1-2
IOADBSBI Job
IOADBIB Utility 2-38
IOADBSR Utility 2-40
Sort Access Method Files 2-40
Summary 1-2
IOADCPY Utility 2-43
Access Method File Recovery 2-43
Summary 1-2
IOADIG Utility 2-46
Access Method File Integrity 2-46
Summary 1-2
IOADII Utility 2-49
Access Method Index Integrity 2-49
Summary 1-2
IOADLD Utility 2-51
Load Access Method Files 2-51
Summary 1-2
IOADPT Utility 2-54
Print Access Method Files 2-54
Space Management 2-35
Summary 1-2, 1-5
IOADUL Utility 2-56
Summary 1-2
Unload Access Method Files 2-56
J
JCL
CTMRFLW Report 3-86, 3-89
CTMRNSC Report 3-98
CTMROGR Report 3-102
CTMRPLN Report 3-107
JCL Library Mode
Parameters 3-5
JCL LIBRARY Parameter
AutoEdit Simulation 3-5
JES Command
IOAOPR Utility 2-65
JES3
Command Prefix 2-65
JES3 Command
IOAOPR Utility 2-65
JESCHAR Command Prefix
IOAOPR Utility 2-65
Job
Index
17
K
KEEPDSN Parameter
CTDDELRP Utility 5-27
KEYFROM Parameter
IOADPT Utility 2-54
KEYLEN Parameter
IOADBF Utility 2-31
KEYTO Parameter
IOADPT Utility 2-54
18
KEYxxx Members
PARM library 7-24
L
LABEL Parameter
CTTGVL Utility 7-31
LABTYPE Parameter
CTTTPI Utility 7-165
LACCDT Field
SCRATCH Report 7-94
Laser Printer
Specified as IMPACT 3-88
LAST ACCESS Retention
CTTSTK Utility 7-147
LAST Parameter
CTTDLD Utility 7-27
LBLNUM Parameter
CTTMUP Utility 7-49
LCLNDT Field
SCRATCH Report 7-94
LENGTH Parameter
CTTRPT Utility 7-64
LIB Parameter
CTBVXRF Utility 4-30
Library Name / Job Name Cross Ref
CTMXRF Utility 3-135
LIBRARY Parameter
CTMAESIM Utility 3-5
CTMBLT Utility 3-26, 3-34
Library/Job Name Report
CTMXRF Utility 3-130
LINECNT Parameter
CTMRFLW Procedure 3-86
LINESIZE Parameter
CTMRFLW Report 3-88
CTTRPT Utility 7-62, 7-149
LINK Command
CTTGVL Utility 7-31
LIST Command
CTMAESIM Utility 3-7
LIST Parameter
CTTRTM Utility 7-91
IOAVERFY Utility 2-70
LOAD Parameter
CTVUPGDB Utility 5-81
Loading
M
M Parameter
IOADBF Utility 2-28
IOADBSR Utility 2-40
Maintenance
Active Jobs File 3-49
Manual
JCL Override 3-132
MANUAL COND Field
Job Flow Report 3-92
Manual Conditions List
Building 2-60
Manual IN Condition
JCL_OVERIDE Prefix 3-132
Manual Update
Media Database 7-39
Stacking Statistics 7-40
Mapping
Media Information 7-157
MARGINS Parameter
CTTRPT Utility 7-62, 7-149
Mask Characters
INCLUDE/EXCLUDE Statements 7-8
Masking
CTDUFUPD Utility 5-46
CTTSBD Utility 7-109
MAXCARDS Parameter
CTMRFLW Report 3-88
MAXDAYS Parameter
CTMTBUPD Utility 3-119
MAXINDX Parameter
Index
19
20
N
N (New) Parameter
Conditions Resources 3-122
NAME Parameter
CTTRPT Utility 7-62
New Parameter
CCIFRES Utility 5-15
NEWAJF File Statement
CTMCAJF Utility 3-62
NEWBKP Parameter
CTDUPBKP Utility 5-60
NEWEXDTn Field
CTTRTM Utility 7-95
NEWG Parameter
ORDER Record 3-69
NEWMIG Parameter
CTDUPBKP Utility 5-60
NEWNAME Parameter
CTTMUP Utility 7-43
NEWXDTRn Field
CTTRTM Utility 7-95
Night Schedule Report
CTMRNSC Report 3-98
Sample 3-100
NJE NODE Parameter
CTMAESIM Utility 3-5
JES Node Identification 3-5
NJE-NODE Parameter
CTMTBUPD Utility 3-119
NODUP Parameter
ORDER Statement 3-68
NOPRINT Parameter
CTBJAFDL Utility 4-26
NOREPORT Parameter
CTDDELRP Utility 5-27
NOSYS Parameter
CTVCLMIG Utility 5-64
NOLOCATE Utility 5-64
NOTRST Parameter
CTDDELRP Utility 5-27
NOTWD Parameter
CTDDELRP Utility 5-26
NOTWDSN NAME Parameter
CTTSBD Utility 7-126
NUMBTAPE Parameter
CTTTPI Utility 7-165, 7-166
NUMERR Parameter
CTTTPI Utility 7-166
NUMGEN Parameter
CTBDBVCG Utility 4-12
CTBDBVCP Utility 4-15
O
O (Old) Parameter
Conditions Resources 3-122
ODATE
CTMAESIM Utility 3-6
CTMJOB Utility 3-68
ODATE Parameter
AutoEdit Simulation 3-137
CTDUFUPD Utility 5-50
ORDER Record 3-68
ODATEOPT Parameter
CTMJOB Utility 3-68
ODOPT Parameter
CTMJOB Utility 3-68
OLDAJF File Statement
CTMCAJF Utility 3-52
OLDEXDTn Field
CTTRTM Utility 7-95
OLDQNAME Parameter
CTBDBCP Utility 4-5, 4-6
OLDXDTRn Field
CTTRTM Utility 7-95
ON MVALERT
Emergency Disconnect Utility 6-17
ON SMS
Emergency Disconnect Utility 6-18
Operator Commands
F CONTROLO,STARTSTATS 6-7
F CONTROLO,STOPSTATS 6-6
Option 8
Primary Option Menu 2-4
Option G
Table List Screen 3-85
Options
Graphic Jobflow 3-85
Table List 3-85
ORDER Parameter
User Daily Job (CTM) 3-68
ORDER Statement
CTMJOB Utility 3-66
Format 3-67
OUTDD Parameter
CTTRPT Utility 7-62, 7-149
OUTLIB Parameter
CTMBLDAE Utility 3-17
OUT-TABLE Parameter
CTMBGRP Utility 3-14
OVERLIB Parameter
CTMAESIM Utility 3-6
CTMTBUPD Utility 3-119
Overnight Execution Graph
CTMROGR Report 3-100
OWNER Parameter
CTMAESIM Utility 3-5
CTMTBUPD Utility 3-119
CTTTPI Utility 7-165
P
P Parameter
Conditions Resources 3-122
PAGEDEF Parameter
CTDUFUPD Utility 5-50
PAGESEQ Parameter
CTMRFLW Report 3-88
PAGESIZE Parameter
CTMRFLW Report 3-88
CTTRPT Utility 7-62, 7-149
PaperUsage Report
CTDSMFRP Utility 5-41
Parameter Table
PostProcessing 3-44
Scheduling Criteria 3-42
PARM Parameter
CTMRCAL Utility 3-78
CTOCTA Utility 6-8
CTOTEST Utility 6-19
PARMLIB Parameter
IOADBSR Utility 2-40
PATH Parameter
CTVGICL Utility 5-71
CTVUPGDB Utility 5-83
Permanent Report List
Copy from Active 5-11
Copy to Active 5-22
Index
21
Physical Recovery
Media Database 7-52
POD-API applications
CTVUPGDB Utility 5-81
POOL Field
SCRATCH Report 7-94
PostProcessing Parameter
Parameter Table 3-44
PREDESR Parameter
CTMRFLW Procedure 3-86
Prefix Field
ACCOUNT 5-41
CATEGORY 5-41
REPNAME 5-41
USER 5-41
PREFIX Parameter
CTDCCU Utility 5-17
CTVJAR Utility 5-77
Prefixing
5-41
CTDUFUPD Utility 5-46
Prerequisite Condition
Adding/Deleting/Verifying 2-17
Cross Reference 3-85, 3-95
Deleting 2-13
IOACND Utility 2-17
Job Flow Report 3-85
PREVENT-NCT2 Parameter
CTMTBUPD Utility 3-119
Primary Key
CTTRPT Utility 7-58
PRIMARY Parameter
CTDUPBKP Utility 5-60
PRINT Parameter
CTBJAFDL Utility 4-26
CTDUFUPD Utility 5-48
PRINT_LIMIT Parameter
CTDUFUPD Utility 5-48
PRINTER Parameter
CTMRFLW Report 3-88
Printing
IOA Access Method Files 2-54
PRINTSYS Parameter
CTDUPBKP Utility 5-61
PRIORITY Parameter
CTMTBUPD Utility 3-119
PROTECT Parameter
CTTTPI Utility 7-163
22
PRTMIS Parameter
CTVJAR Utility 5-77
Q
Quantitative Resource
Adding/Deleting/Modifying 2-17
Changing 3-97
Cross Reference 3-85, 3-97
Job Flow Report 3-85
Release 3-80
R
RBAOFF Parameter
IOADUL Utility 2-57
RBAOFS Parameter
IOADBSR Utility 2-41
RDR=INTRDR Parameter
CTMAESIM Utility 3-7
Rebuilding
Access Method Variable File (CTB) 2-36
CTB Index 4-8
Group File (CTB) 2-36
IOA Index 2-37
Report File (CTB) 2-36
Rule Activity File (CTB) 2-36
RECALC Report
CTTRTM Utility 7-85, 7-95
RECAT Parameter
CTTRCV Utility 7-55
RECDEL Statement
CTTMUP Utility 7-44
Record Selection Logic
INCLUDE/EXCLUDE Statements
CTT Utilities 7-6
Recovery
CTTRTM Utility 7-86
CTTTPI Utility 7-160
MDB from Trace File 7-52
Split/Merge Process (CTT) 7-140
RECUPD Statement
CTTMUP Utility 7-44
RELATION Parameter
CTMTBUPD Utility 3-119
REMARK Parameter
REPSTART Parameter
CTMRNSC Report 3-98
CTMROGR Report 3-101
CTMRPLN Report 3-106
REPTYPE Parameter
CTDSMFRP Utility 5-41
CTMRPLN Report 3-106
RES file 3-83
RESIDENT Parameter
CTVDELI Utility 5-67
RESLOT Parameter
CTTVTM Utility 7-177
Resource Name / Job Name Cross Ref
CTMXRF Utility 3-133
Resource Utilization
Forecasting 3-80
IOACND Utility 2-17
Simulation 3-80
Resources
Updating 3-124
Resources/Job Name Report
CTMXRF Utility 3-130
RESTART Parameter
CTTRTM Utility 7-91
CTTVTM Utility 7-176
RESTORED Parameter
CTDDELRP Utility 5-27
RETDAYS Parameter
CTMTBUPD Utility 3-119
Retention
CTTSBD Utility 7-103
Retention Management
CTTRTM Utility 7-84
Retention Period
CTDCLHIS Utility 5-20
Migrated Report List 5-64
Retention, Non-specific
CTTSTK Utility 7-147
RETGENS Parameter
CTMTBUPD Utility 3-119
RETPD Parameter
CTDUPBKP Utility 5-60
RETRO Parameter
CTMTBUPD Utility 3-119
Return Code
CTVUPGDB Utility 5-84
RMM
Conversion Utility 7-26
Index
23
S
SAC
Schedule Adjustment for Conversion 3-120
SCHDMAX= Control Statement 3-126, 3-132
Schedule Library Cleanup Utility 3-113
Schedule Tag / Job Name Cross Ref
CTMXRF Utility 3-134
SCHEDULE TAG Field
Utility CTMBGRP 3-13
SCHEDULE TAG Parameter
Group Entity 3-5
Schedule Tag/Job Name Report
CTMXRF Utility 3-130
Scheduling Calendar
IOABLCAL Utility 2-4
Scheduling Criteria
Parameter Table 3-42
Scheduling Definition
Reports 3-77, 3-93
Scheduling Information
24
SORTBY Statement
CTTRPT Utility 7-63
CTTRTM Utility 7-96
CTTSCA Utility 7-135
CTTSTKR Utility 7-150
CTTVTM Utility 7-178
Utility CTORSTM 6-14
Sorting
Access Method Files 2-40
SPACE Parameter
IOADBF Utility 2-32
Split/Merge Process
Description (CTT) 7-138
Merge Utility 7-36
SPY281I Message
CTMJSA Utiility 3-74
SPY28GI Message
CTMJSA Utiility 3-74
SQFILE Parameter
IOADLD Utility 2-52
IOADUL Utility 2-57
ssname Parameter
CTOTEST Utility 6-20
STACKID Parameter
CTTGVL Utility 7-31
Stacking Logic
CTTSBD Utility 7-105
Stacking Statistics File
Build/Update Utility 7-145
Rebuild Index 7-23
Update Utility 7-40
STARTDATE Parameter
CTOALOCP Utility 6-3
STARTSTATS Command
CTO Message Statistics 6-7
START-TIME Field
CTVJAR Parameter 5-76
STARTTIME Parameter
Utility CTOALOCP 6-3
START-WHEN-OVER Parameter
IOADBSR Utility 2-41
STAT Date Reference
IOACLCND Utility 2-13
IOACLRES Utility 2-17
STAT Parameter
CTMPARM Member 3-74
Statistics
Media Database 7-33
Index
25
26
SYSIMAGE Facility
CTOCTI Utility 6-11
Input Generation 6-10
SYSIN DD Statement
CTMBGRP Utility 3-14
CTTTPI Utility 7-162, 7-167
SYSPRINT DD Statement
CTMAESIM Utility Results 3-7
CTMBGRP Utility 3-14
CTMJOB Utility 3-72
CTTTPI Utility 7-167
SYSTEM-ID Parameter
CTMTBUPD Utility 3-120
T
Table List Screen
Graphic Jobflow Option 3-85
TABLE Parameter
CTMBLT Utility 3-27
Testing AutoEdit Syntax 3-6
TABLES Parameter
CTMRFLW Report 3-88
CTMRPLN Report 3-107
Tape Erasure 7-159
TAPE Field
Job Flow Report 3-92
Tape Initialization 7-156
Tape Mapping 7-157
Tape Pool
CTDCLHIS Utility 5-20
TAPEMAP Function
CTTTPI Utility 7-166
TAPERAS Function
CTTTPI Utility 7-166
TASKTYPE Parameter
CTMTBUPD Utility 3-120
TERM Parameter
IOATEST Utility 2-68
TESTRUL Parameter
CTTPARM Member 7-89
TEXT Field
Message Statistics Screen 6-16
Time/Job Name Report
CTMXRF Utility 3-130
TIMEFROM Parameter
CTMTBUPD Utility 3-120
TRCBLK Parameter
CTTCTRC Utility 7-21
TRCBLKS Parameter
CTTCTRC Utility 7-21
TRCIN Parameter
CTTACP Utility 7-15
TRCOUT Parameter
CTTACP Utility 7-15
TRCSIZE Parameter
CTTPARM Member 7-17
TRCUNITT Parameter
CTTCTRC Utility 7-21
TRCUPDQ Statement
CTTMUP Utility 7-46
TRCVOL Parameter
CTTCTRC Utility 7-21
TYP Field
Job Flow Report 3-92
Message Statistics Screen 6-16
TYPE Parameter
IOADBF Utility 2-32
TYPE ParameterCTDUFUPD Utility 5-49
TYPERET Parameter
CTTRTM Utility 7-92
TYPERUN Parameter
CTTSCA Utility 7-132
TYPERUN Statement
Syntax 7-6
TYPEVLT Statement
CTTVTM Utility 7-177
TYPRUN=SCAN Statement
CTMAESIM Utility 3-7
U
UDEST Parameter
CTDUFUPD Utility 5-50
UNAME Field
SCRATCH Report 7-94
UNCTLG Parameter
CTTRTM Utility 7-93
UNIT Parameter
IOADBF Utility 2-32
IOADCPY Utility 2-44
UNITD Parameter
IOADBF Utility 2-32
Unloading
Index
27
V
VARIABLE Field
CTBVXRF Report 4-31
Variable Generations
CTBDBVCG Utility 4-11
VARIABLE Parameter
CTBDBVCG Utility 4-12
CTBDBVCP Utility 4-15
CTBDBVDL Utility 4-18
Vault Management
CTTSBD Utility 7-104
CTTVTM Utility 7-173
VAULTED Parameter
28
W
W Operator 2-5
X
XRF Parameter
CTMXRF Utility 3-130
Index
29
30
OWNERSHIP OF THE PRODUCT. BMC or its Affiliates or licensors retain all right, title and interest to and in the BMC Product and all intellectual
property, informational, industrial property and proprietary rights therein. BMC neither grants nor otherwise transfers any rights of ownership in the
BMC Product to You. BMC Products are protected by applicable copyright, trade secret, and industrial and intellectual property laws. BMC
reserves any rights not expressly granted to You herein.
CONFIDENTIAL AND PROPRIETARY INFORMATION. The BMC Products are and contain valuable confidential information of BMC
("Confidential Information"). Confidential Information means non-public technical and non-technical information relating to the BMC Products
and Support, including, without limitation, trade secret and proprietary information, and the structure and organization of the Software. You may not
disclose the Confidential Information to third parties. You agree to use all reasonable efforts to prevent the unauthorized use, copying, publication
or dissemination of the Product.
WARRANTY. Except for a Trial License, BMC warrants that the Software will perform in substantial accordance with the Documentation for a
period of one year from the date of the order. This warranty shall not apply to any problems caused by software or hardware not supplied by BMC
or to any misuse of the Software.
EXCLUSIVE REMEDY. BMCs entire liability, and Your exclusive remedy, for any defect in the Software during the warranty period or breach of the
warranty above shall be limited to the following: BMC shall use reasonable efforts to remedy defects covered by the warranty or replace the
defective Software within a reasonable period of time, or if BMC cannot remedy or replace such defective copy of the Software, then BMC shall
refund the amount paid by You for the License for that Software. BMCs obligations in this section are conditioned upon Your providing BMC prompt
access to the affected Software and full cooperation in resolving the claim.
DISCLAIMER. EXCEPT FOR THE EXPRESS WARRANTIES ABOVE, THE PRODUCT IS PROVIDED "AS IS." BMC, ITS AFFILIATES AND
LICENSORS SPECIFICALLY DISCLAIM ALL OTHER WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. BMC DOES NOT WARRANT THAT THE
OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR FREE, OR THAT ALL DEFECTS CAN BE CORRECTED.
DISCLAIMER OF DAMAGES. IN NO EVENT IS BMC, ITS AFFILIATES OR LICENSORS LIABLE FOR ANY SPECIAL, INDIRECT,
INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES RELATING TO OR ARISING OUT OF THIS AGREEMENT, SUPPORT, AND/OR
THE PRODUCT (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, LOST COMPUTER USAGE TIME, AND DAMAGE OR LOSS OF USE
OF DATA), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, AND IRRESPECTIVE OF ANY NEGLIGENCE OF BMC OR
WHETHER SUCH DAMAGES RESULT FROM A CLAIM ARISING UNDER TORT OR CONTRACT LAW.
LIMITS ON LIABILITY. BMCS AGGREGATE LIABILITY FOR DAMAGES IS LIMITED TO THE AMOUNT PAID BY YOU FOR THE LICENSE TO
THE PRODUCT.
SUPPORT. If Your order includes support for the Software, then BMC agrees to provide support (24 hours a day/7 days a week) ("Support"). You
will be automatically re-enrolled in Support on an annual basis unless BMC receives notice of termination from You as provided below. There is a
free support period during the one year warranty period.
(a) Support Terms. BMC agrees to make commercially reasonable efforts to provide the following Support: (i) For malfunctions of supported
versions of the Software, BMC provides bug fixes, patches or workarounds in order to cause that copy of the Software to operate in substantial
conformity with its then-current operating specifications; and (ii) BMC provides new releases or versions, so long as such new releases or versions
are furnished by BMC to all other enrolled Support customers without additional charge. BMC may refuse to provide Support for any versions or
releases of the Software other than the most recent version or release of such Software made available by BMC. Either party may terminate Your
enrollment in Support upon providing notice to the other at least 30 days prior to the next applicable Support anniversary date. If You re-enroll in
Support, BMC may charge You a reinstatement fee of 1.5 times what You would have paid if You were enrolled in Support during that time period.
(b) Fees. The annual fee for Support is 20% of the Softwares list price less the applicable discount or a flat capacity based annual fee. BMC may
change its prices for the Software and/or Support upon at least 30 days notice prior to Your support anniversary date.
VERIFICATION. If requested by BMC, You agree to deliver to BMC periodic written reports, whether generated manually or electronically, detailing
Your use of the Software in accordance with this Agreement, including, without limitation, the License Capacity. BMC may, at its expense, audit
Your use of the Software to confirm Your compliance with the Agreement. If an audit reveals that You have underpaid fees, You agree to pay such
underpaid fees. If the underpaid fees exceed 5% of the fees paid, then You agree to also pay BMCs reasonable costs of conducting the audit.
EXPORT CONTROLS. You agree not to import, export, re-export, or transfer, directly or indirectly, any part of the Product or any underlying
information or technology except in full compliance with all United States, foreign and other applicable laws and regulations.
GOVERNING LAW. This Agreement is governed by the substantive laws in force, without regard to conflict of laws principles: (a) in the State of
New York, if you acquired the License in the United States, Puerto Rico, or any country in Central or South America; (b) in the Province of Ontario,
if you acquired the License in Canada (subsections (a) and (b) collectively referred to as the "Americas Region"); (c) in Singapore, if you acquired
the License in Japan, South Korea, Peoples Republic of China, Special Administrative Region of Hong Kong, Republic of China, Philippines,
Indonesia, Malaysia, Singapore, India, Australia, New Zealand, or Thailand (collectively, "Asia Pacific Region"); or (d) in the Netherlands, if you
acquired the License in any other country not described above. The United Nations Convention on Contracts for the International Sale of Goods is
specifically disclaimed in its entirety.
ARBITRATION. ANY DISPUTE BETWEEN YOU AND BMC ARISING OUT OF THIS AGREEMENT OR THE BREACH OR ALLEGED BREACH,
SHALL BE DETERMINED BY BINDING ARBITRATION CONDUCTED IN ENGLISH. IF THE DISPUTE IS INITIATED IN THE AMERICAS
REGION, THE ARBITRATION SHALL BE HELD IN NEW YORK, U.S.A., UNDER THE CURRENT COMMERCIAL OR INTERNATIONAL, AS
APPLICABLE, RULES OF THE AMERICAN ARBITRATION ASSOCIATION. IF THE DISPUTE IS INITIATED IN A COUNTRY IN THE ASIA
PACIFIC REGION, THE ARBITRATION SHALL BE HELD IN SINGAPORE, SINGAPORE UNDER THE CURRENT UNCITRAL ARBITRATION
RULES. IF THE DISPUTE IS INITIATED IN A COUNTRY OUTSIDE OF THE AMERICAS REGION OR ASIA PACIFIC REGION, THE
ARBITRATION SHALL BE HELD IN AMSTERDAM, NETHERLANDS UNDER THE CURRENT UNCITRAL ARBITRATION RULES. THE
COSTS OF THE ARBITRATION SHALL BE BORNE EQUALLY PENDING THE ARBITRATORS AWARD. THE AWARD RENDERED SHALL
BE FINAL AND BINDING UPON THE PARTIES AND SHALL NOT BE SUBJECT TO APPEAL TO ANY COURT, AND MAY BE ENFORCED IN
ANY COURT OF COMPETENT JURISDICTION. NOTHING IN THIS AGREEMENT SHALL BE DEEMED AS PREVENTING EITHER PARTY
FROM SEEKING INJUNCTIVE RELIEF FROM ANY COURT HAVING JURISDICTION OVER THE PARTIES AND THE SUBJECT MATTER OF
THE DISPUTE AS NECESSARY TO PROTECT EITHER PARTYS CONFIDENTIAL INFORMATION, OWNERSHIP, OR ANY OTHER
PROPRIETARY RIGHTS. ALL ARBITRATION PROCEEDINGS SHALL BE CONDUCTED IN CONFIDENCE, AND THE PARTY PREVAILING IN
ARBITRATION SHALL BE ENTITLED TO RECOVER ITS REASONABLE ATTORNEYS FEES AND NECESSARY COSTS INCURRED
RELATED THERETO FROM THE OTHER PARTY.
U.S. GOVERNMENT RESTRICTED RIGHTS. The Software under this Agreement is "commercial computer software" as that term is described in
48 C.F.R. 252.227-7014(a)(1). If acquired by or on behalf of a civilian agency, the U.S. Government acquires this commercial computer software
and/or commercial computer software documentation subject to the terms of this Agreement as specified in 48 C.F.R. 12.212 (Computer Software)
and 12.211 (Technical Data) of the Federal Acquisition Regulations ("FAR") and its successors. If acquired by or on behalf of any agency within
the Department of Defense ("DOD"), the U.S. Government acquires this commercial computer software and/or commercial computer software
documentation subject to the terms of this Agreement as specified in 48 C.F.R. 227.7202 of the DOD FAR Supplement and its successors.
MISCELLANEOUS TERMS. You agree to pay BMC all amounts owed no later than 30 days from the date of the applicable invoice, unless
otherwise provided on the order for the License to the Products. You will pay, or reimburse BMC, for taxes of any kind, including sales, use, duty,
tariffs, customs, withholding, property, value-added (VAT), and other similar federal, state or local taxes (other than taxes based on BMCs net
income) imposed in connection with the Product and/or the Support. This Agreement constitutes the entire agreement between You and BMC and
supersedes any prior or contemporaneous negotiations or agreements, whether oral, written or displayed electronically, concerning the Product
and related subject matter. No modification or waiver of any provision hereof will be effective unless made in a writing signed by both BMC and
You. You may not assign or transfer this Agreement or a License to a third party without BMCs prior written consent. Should any provision of this
Agreement be invalid or unenforceable, the remainder of the provisions will remain in effect. The parties have agreed that this Agreement and the
documents related thereto be drawn up in the English language. Les parties exigent que la prsente convention ainsi que les documents qui sy
rattachent soient rdigs en anglais.
Notes
*15840*