Control-M For OS/390 and z/OS: CA-7 Conversion Guide
Control-M For OS/390 and z/OS: CA-7 Conversion Guide
Control-M For OS/390 and z/OS: CA-7 Conversion Guide
Supporting
CONTROL-M for OS/390 and z/OS Version 6.1.00
3
4 CONTROL-M for OS/390 and z/OS CA-7 Conversion Guide
Contents
About This Guide 11
About the Conversion Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Conventions Used in This Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Contents 5
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
JOB2 - Create the Applications List, Calendar Libraries, and Calendar Names List
Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
JOB3 - Create CONTROL-M Scheduling Tables and CMEM Rules . . . . . . . . . . . . . . 50
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
JOB4 - Convert JCL Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
JOB5 - Convert Virtual Resource Management Components . . . . . . . . . . . . . . . . . . . . 61
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
JOB6 - Update CONTROL-M Scheduling Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
JOB7 Create CONTROL-M Group Scheduling Tables . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
JOB8 - Convert CA-DRIVER Procedures and JCL Libraries (Optional). . . . . . . . . . . . 66
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Contents 7
43. This item number is not currently in use.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
44. DEP-JOB=? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
45. DONT SCHEDULE BEFORE/AFTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
46. # HLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
47. # NOX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
48. # MSG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
49. # VER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
50. This item number is not currently in use.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
51. DPROC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
52. (D)STEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
53. (D)GOTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
54. (D)SET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
55. (D)IF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
56. DATA, DEND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
57. (D)NEST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
58. (D)ABORT/DFLUSH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
59. Variable Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
60. Date Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
61. Attribute Functions (L’, T’) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Unique CONTROL-M Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
CATEGORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
DO SYSOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
MAXWAIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Index 197
Tables 9
10 CONTROL-M for OS/390 and z/OS CA-7 Conversion Guide
About This Guide
This conversion guide reviews basic concepts relevant to converting from CA-7 and
CA-11 to CONTROL-M and CONTROL-M/Restart, and provides step-by-step
instructions on how to use the CA-7 to CONTROL-M conversion tool.
Appendix B – Messages
Description of the CTMUTIL program, which may be useful during and after the
conversion process
Index
■ builds CONTROL-M CMEM Rule Table definitions based on CA-7 data set
triggering events
■ converts CA-7 (scheduled) override statements, Batch Terminal Steps, and CA-11
U11RMS Steps in JCL libraries to CONTROL-M format
■ provides a set of independent utilities that can be very useful during and after the
conversion process
■ issues messages about problems and errors encountered in the CA-7 definitions
The conversion tool is delivered in source format. If special requirements exist, the
conversion tool can be tailored locally.
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
The commands, instructions, procedures, and syntax illustrated in this guide
presume that the keyboards at your site are mapped in accordance with the EBCDIC
character set. Certain special characters are referred to in this documentation, and
you must ensure that your keyboard enables you to generate accurate EBCDIC hex
codes. This is particularly true on keyboards that have been adapted to show local or
national symbols. You should verify that
$ is mapped to x'5B'
# is mapped to x'7B'
@ is mapped to x'7C'
If you have any questions about whether your keyboard is properly mapped,
contact your system administrator.
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
Most screens contain a command line, which is primarily used to identify a single
field where commands, or options, or both, are to be entered. These fields are usually
designated COMMAND, but they are occasionally identified as COMMAND/OPT or
COMMAND/OPTION.
Option field headings appear in many screens. These headings sometimes appear in
the screen examples as OPTION, or OPT, or O.
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
■ An ellipsis ( . . . ) indicates that you can repeat the preceding item or items as many
times as necessary.
■ Square brackets ( [ ] ) around an item indicate that the item is optional. If square
brackets ( [ ] ) are around a group of items, this indicates that the item is optional,
and you may choose to implement any single item in the group. Square brackets
can open ( [ ) and close ( ] ) on the same line of text, or may begin on one line of text
and end, with the choices being stacked, one or more lines later.
■ Braces ({ }) around a group of items indicates that the item is mandatory, and you
must choose to implement a single item in the group. Braces can open ( { ) and
close ( } ) on the same line of text, or may begin on one line of text and end, with the
choices being stacked, one or more lines later.
Screen Characters
■ calls, such as
CALL ’CBLTDLI’
Variables
Special elements
NOTE
Notes provide additional information about the current subject.
WARNING
Warnings alert you to situations that can cause problems, such as loss of data, if you
do not follow instructions carefully.
Related Publications
CONTROL-D User Guide
A comprehensive listing and explanation of all IOA and INCONTROL messages and
codes.
Describes utilities designed to perform specific administrative tasks that are available
to INCONTROL products.
■ IBM publications:
— JCL Reference
— System Codes
— System Messages (Volumes 1-5)
— Linkage Editor and Loader
— Using Datasets
— Utilities
— Assembler H Language Reference
— Assembler H Programmers Guide
1 Conceptual Overview
This chapter includes the following topics:
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Application Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Job Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Job Triggering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Job Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Prose Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Virtual Resource Management (VRM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
CONTROL-M Calendars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
CONTROL-M/Restart Automated Rerun and Restart Processing . . . . . . . . . . . . 26
CONTROL-M Scheduling Table Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Production Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Production Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
New Day Processing and Schedule Scan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
DEMAND[H] and POST Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Workload Balancing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
JCL Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Special Override Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
CA-DRIVER Procedures and JCL Libraries. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Network Communications Facility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
CONTROL-M Event Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Overview
This conceptual overview is intended for production control personnel who are
familiar with CA-7 and CONTROL-M terminology.
■ Application Definition
Logic used by the conversion tool for converting components of CA-7 application
definitions to corresponding CONTROL-M components
■ Production Control
Issues important to daily production management, such as the New Day
procedure, on-demand and temporary job scheduling, and workload balancing
■ JCL Processing
Logic used by the conversion tool to convert CA-7 and CA-11 scheduled JCL
override statements and steps, as well as JES statements, to CONTROL-M format.
CONTROL-M support for the CA-7 Special Override library is also described.
■ CA-DRIVER
Logic used by the conversion tool to convert the CA-DRIVER components used to
automate JCL and control card setup
■ Customization
Describes additional methods of customizing the conversion
Application Definition
In CA-7, defining an application requires the use of numerous definition screens.
These screens include:
■ the Job Definition (JOB) screen, used to define data related to CPU jobs
■ the Job Scheduling (SCHD, JOB) screen, used to define the scheduling information
of a job
■ the Job Triggering (SCHD, JTRG) screen, used to define jobs that trigger other jobs
■ the Dataset Triggering (SCHD, DTRG) screen, used to define data set events that
trigger jobs
Job Definition
In CA-7, job definition is performed using the Job Definition (JOB) screen that
contains information relevant to a specific job. Each job definition is a separate entity
in the CA-7 database. CA-7 job definitions can specify JCL member names that differ
from the name of the job. CA-7 forces the submitted job name to match the name of
the defined job.
Scheduling
In CA-7, after application jobs are defined as described in the preceding section,
scheduling information is specified using the CPU Job Scheduling Parameter Edit
(SCHD,JOB) screen. The schedule is determined by the first job of the application,
referred to as the “head-of-tree” job. The remainder of the application jobs are
associated with the head-of-tree job by means of “triggering,” which is discussed in
the following section.
A CA-7 scheduled job can be defined with a number of different schedule IDs. Each
schedule ID can define different scheduling dates, execution environments, sets of
jobs, JCL statements, and so on.
The conversion tool creates a Group scheduling table for each CA-7 job grouping.
The Group Entity in the Group scheduling table is used to define sets of basic
scheduling criteria to be applied to a Group of job scheduling definitions. Each set of
basic scheduling criteria in the Group Entity is assigned a unique label, specified in
the SCHEDULE TAG parameter, which is used for referencing that set of criteria. For
more information, including details regarding the SCHEDULE TAG parameter, see
“36. SCHID” on page 125. For more information on Group scheduling, see the
CONTROL-M for OS/390 and z/OS User Guide.
Job Triggering
In CA-7, job triggering is usually performed after the schedule IDs are defined, as
described in the preceding section. Triggering defines the execution sequence of the
application jobs. The CA-7 Job Triggering (SCHD,JTRG) screen is used to define a list
of triggered jobs for a specific job. Job triggering can be limited to a specific
schedule ID. SCHID=000 means that the triggered job is initiated by a job with any
schedule ID. By default, the schedule ID of a job is passed to the triggered job unless
otherwise specified in the TRGID parameter.
Conditions are entities in their own right, since they are not related to specific jobs. A
condition exists after it is added, and does not exist after it is deleted. When a
condition is added, that condition is satisfied for all jobs specifying it as an IN
condition. Conditions can be listed, added and deleted using the IOA Conditions
screen (Screen 4).
The conversion tool converts CA-7 job triggering, starting from the head-of-tree job,
into CONTROL-M IN and OUT conditions, to establish the same application tree
structure. The conversion tool takes into account the CA-7 schedule ID, as shown in
the SCHID parameter, and the Triggering schedule ID, as shown in the TRGID
parameter, when building an application tree structure that it converts to a
CONTROL-M scheduling table.
Job Connections
In CA-7, the next stage of an application definition is to define specific job
connections, which are prerequisite conditions, using the Job Predecessor/Successor
(JOBCONN) screens. CA-7 distinguishes between various types of job connections.
For example, a JDEP connection is an automatic dependency between one job and the
completion of another job, while a USR connection is a descriptive text connection
that requires manual operator intervention before the connected job can execute.
In CONTROL-M, job connections are implemented using the same IN and OUT
prerequisite condition mechanism discussed in “Job Triggering” on page 23.
Prose Information
In CA-7, documentation is specified in the documentation (PROSE) screens.
If Virtual Resource Management is used at your site, the conversion tool converts the
resource information and places it into CONTROL-M scheduling tables. For more
information, see “JOB5 - Convert Virtual Resource Management Components” on
page 61 and “25. Virtual Resource Management” on page 115
CONTROL-M Calendars
In CA-7, Base calendar definitions must be assembled and link-edited into load
modules. In CONTROL-M, calendar definitions are simply created online using the
IOA Calendar facility (Screen 8).
■ when you specify CA-7 Base calendars in JOB1, as discussed in “Step 3 - Modify
and Run the JOB0 Member” on page 74
■ when a CA-7 job has the SCHDMOD CURRENT indicator set in its scheduling
information
CA-11 performs the typical functions of rerun and restart systems. However, to
realize the full functionality of CA-11, manual modification is required for JCL
members that are to be restarted.
■ manual modification of the JCL of the job, by changing the PARM of the U11RMS
step or inserting a //*CA-11 comment statement, or
■ DO IFRERUN
■ DO RERUN
■ PREVENT-NCT2
■ AUTO-ARCHIVE, SYSDB, MAXDAYS, and MAXRUNS
The conversion tool searches the CA-7 LJOB report for head-of-tree jobs, and tracks
the triggering data in order to build the entire application job tree. A head-of-tree job
is either
■ a job that is scheduled, that is, a job that contains scheduling information, or
■ a job that is not scheduled or triggered by another job
If a head-of-tree job is scheduled, the tree of this job is called a scheduled tree.
Otherwise, it is called an independent tree, usually defined in CA-7 for special
purpose or on-demand execution. These trees can contain one or more jobs based on
triggering information. All CA-7 job trees are converted to CONTROL-M Group
scheduling tables with the head-of-tree job name assigned to the CONTROL-M
scheduling table.
NOTE
The conversion tool does not necessarily place the converted jobs into the job
scheduling table in alphabetical order. An on-line CONTROL-M SORT command can
be used to sort jobs in scheduling tables if necessary.
Production Control
In CA-7, numerous online transactions are required to achieve production control.
These transactions access CA-7 queues in order to assist in tracking and controlling
the daily production environment. Example transaction types include:
Under CONTROL-M, production tracking and control is performed using one screen
– the Active Environment screen (Screen 3).
Production Management
CA-7 manages production jobs using a set of queue files. When a production job is to
be executed, it is loaded into the Request Queue where its prerequisites are handled.
After all prerequisite conditions are satisfied, the job is moved to the Ready Queue
where it waits to be submitted for execution based on physical resource availability,
such as initiator, tape drives, and priority. When job execution starts, the job is moved
to the Active Queue where CA-7 monitors its execution. Additional CA-7 queues
manage statistics, JCL decks, and so on.
In CONTROL-M, production tracking and control is managed using a single file, the
Active Jobs file (AJF). When a job is scheduled or FORCEd (demanded),
CONTROL-M loads its definition to the AJF. The AJF is then used to track and control
the life cycle of the job. Access to the AJF is provided using the Active Environment
screen (Screen 3), which enables you to monitor, track, and control the entire life cycle
of a job. Using this screen, you can see the status of the job, “hold” the job in order to
modify its definition, “free” the job for execution, view the sysout of the job, browse
the Log information relating to the job, display predecessor and successor job chains
and network dependencies, perform deadline scheduling tasks, and carry on a
variety of other activities.
The following example illustrates how the CA-7 scheduling method is converted to
the CONTROL-M scheduling method.
The above example assumes that your logical business date changes at 8:00 A.M. You
want to take a job scheduled in CA-7 to begin at 4:00 A.M. on March 15th, and convert
it to be run as a CONTROL-M job. The conversion tool converts this CA-7 job to a
CONTROL-M job that begins at 4:00 A.M. on the March 14th logical business day.
NOTE
CONTROL-M enables you to define logical workdays that begin at a time best suited
to the scheduling requirements of your organization, without being subject to the
limits that might be imposed by strict adherence to calendar days.
The conversion tool handles this difference automatically. For more information, see
“Step 13 - Customize CONTROL-M and Install User Exits” on page 85
In batch mode, DEMANDs and POSTs are executed in order to control production
flow based on prior step condition codes or any other user requirement. CA-7
provides JCL procedures such as SASSTRLR for this function. The batch mode can
also be executed from within batch jobs or started tasks that are not controlled by
CA-7.
In CONTROL-M, the FORCE (F) line command in Screen 2 operates similarly to the
CA-7 DEMAND command. The CONTROL-M ADD COND command in Screen 4 is
comparable to the CA-7 POST command. These two CONTROL-M commands can be
executed in the CONTROL-M online environment as well as in batch mode. In batch
mode, CONTROL-M provides the CTMJOB and IOACND utilities to order or force
jobs and add conditions for which other jobs are waiting.
The conversion tool converts POST commands in a CA-7 Batch Terminal Step to a
CONTROL-M step containing an ADD COND, with a condition name based on the
POST type. For more information, in particular on DEPJOB, NW (network), and USR
type POST condition names, see “19. DEP-JOB” on page 112, “22. NWK” on page 114,
and “23. USER REQUIREMENTS” on page 114.
For more information on the format of IN and OUT conditions related to the
DEMAND[H] and POST commands, see “19. DEP-JOB” on page 112.
Workload Balancing
In CA-7, the Workload Balancing facility dynamically balances CPU work based on
user-defined processing objectives. The Workload Balancing facility analyzes jobs
awaiting execution, and sets priorities for jobs submitted based on the following
criteria:
The conversion tool converts the following CA-7 Workload Balancing entities to
CONTROL-M RESOURCE and PRIORITY parameters:
■ initiators
■ class barriers
■ class and priority specified in the CA-7 JCL # RES override statement
■ class and priority specified in the CA-7 DEMAND[H] command
■ tape drives, class, and priority specified in the CA-7 Job Definition screen
Tape drives, class, and priority specifications coded in the CA-7 Job Definition screen
serve as initial Workload Balancing values. These initial values can be overridden by
values specified in
Tape drives specified in CA-7 JCL batch RESCHNG commands and # RES override
statements are converted to input parameters for the CTMRELRS utility, to change
Quantitative resources.
The RESCHNG command and the # RES JCL override statement are discussed in
“Command RESCHNG and # RES JCL Override Statement” on page 32.
Class Barriers
CA-7 Class Barriers establish the maximum number of jobs that can be submitted
concurrently in an associated job class. For more information on how class barriers
are converted to CONTROL-M Resources, see “12. CLASS, # RES and DEMAND[H]”
on page 104.
DEMAND[H] Commands
You can also use the DEMAND[H] command to change the high-water Workload
Balancing resource requirements of a job. For more information, see Table 11 on
page 94.
For example, the CA-7 Workload Balancing module contains the following macros:
WLBPDEF MODNAME=xxx
TAPE1 NAME=TAPE1,MXTAL=25
TAPE2 NAME=TAPE2,MXTAL=15
INITR TOTAV=10
CLBARR BARA=5,BARB=1,BAR2=3
WLBEND
NOTE
You can use CONTROL-M Exit CTMX004 to assign weights to Quantitative
resources, to fine-tune the scheduling algorithm.
JCL Considerations
CA-7 provides the capability to specify special scheduled JCL override statements.
These override statements enable you to perform the following functions:
These functions are specified by the CA-7 JCL # statements and are converted to
CONTROL-M AutoEdit statements, job scheduling definition parameters, or
CONTROL-M batch utilities. For more information on how each of these statements
is converted, see the component conversion summary in Chapter 4, “Conversion
Details.”
In addition, CA-7 commands can also be included in JCL Batch Terminal steps. For
details of how they are converted, see “DEMAND[H] and POST Commands” on
page 30, and “Command RESCHNG and # RES JCL Override Statement” on page 32.
If you are also converting from CA-11, the CA-11 U11RMS JCL steps and comment
statements are analyzed for restart and rerun information. These steps and statements
are incorporated into CONTROL-M/Restart Job Scheduling parameters. For more
information, see “31. CA-11 U11RMS Step” on page 123.
Standard JES JCL statements such as ROUTE PRINT are also processed by the
conversion tool. For more information, see “42. JES ROUTE PRINT” on page 130.
You can obtain the same functionality in CONTROL-M using the CTMIMACI REXX
procedure in the IOA CLIST library.
Using the CTMIMAC1 procedure, JCL is dynamically copied from the MEMLIB
library to the CONTROL-M OVERLIB library, if no member by that name already
exists, and is then edited using option J in the CONTROL-M Status screen (Screen 3).
If the rerun of the job ended OK, the JCL member can optionally be deleted from the
OVERLIB library by the DELOVRER CONTROL-M installation parameter, which
performs the function formerly provided by CONTROL-M Exit CTMX015O.
■ the discussion of the OVERLIB parameter in the CONTROL-M for OS/390 and z/OS
User Guide
In CONTROL-M, the JCL Setup and AutoEdit facility is used to automate the changes
to the JCL prior to the job submission. The AutoEdit facility consists of a simple
language that, once included into the job stream, eliminates the need to change the
JCL again.
The conversion tool scans CA-7 JCL libraries for members containing either of the
following JCL statements:
// EXEC procname
// EXEC PROC=procname
When these statements are encountered, the conversion tool searches the converted
CA-DRIVER procedure library for a member name matching the procname (procedure
name). If the member name is found in the converted procedure library, the EXEC
card is replaced with CONTROL-M AutoEdit %%INCLIB and %%INCMEM control
statements that copy the converted procedure member to the current job stream.
If the member name is not found in the converted procedure library, the EXEC card
remains unchanged.
For more information, see “40. MAINID” on page 129 and Step 14(5) in Chapter 3,
“Conversion Steps.”
When the CA-7 Dataset Triggering screen (DB.2.6) shows that a CA-7 data set trigger
event is occurring, the conversion tool creates a CMEM rule for the DATASET event
with the following information:
The action is performed at the end of the step in which the event occurs only if the
step completes successfully.
NOTE
For CMEM to monitor DATASET events for a job or started task, the JOB card in the
JCL of the job or started task must contain the MSGLEVEL=(1,1) parameter, and the
IEF403I or IEF125I message must appear in the Job log.
For additional information regarding the CMEM facility, see the CONTROL-M for
OS/390 and z/OS User Guide.
Customization
To customize the way in which the conversion process operates, consider using the
following options:
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
JOB0 - Produce the CA-7 LJOB, LSCHD, Base Calendar and Job-to-Resource Reports
42
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
JOB1 - Produce the updated CA-7 LJOB Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
JOB2 - Create the Applications List, Calendar Libraries, and Calendar Names List
Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
JOB3 - Create CONTROL-M Scheduling Tables and CMEM Rules . . . . . . . . . . . . . . 50
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
JOB4 - Convert JCL Members. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
JOB5 - Convert Virtual Resource Management Components . . . . . . . . . . . . . . . . . . . 61
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
JOB6 - Update CONTROL-M Scheduling Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
JOB7. Create CONTROL-M Group Scheduling Tables . . . . . . . . . . . . . . . . . . . . . . . . . 64
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Overview
This chapter describes in detail the components of the conversion process from the
perspective of jobs, programs, and data sets. A familiarity with the conversion
process will help you understand the conversion logic and the installation and
operation steps discussed in Chapter 3, “Conversion Steps.”
Description
JOB0 produces the CA-7 LJOB, LSCHD, Base Calendar, and Job-to-Resource Cross
Reference reports, and writes the reports to disk for subsequent use.
This job may require several hours for processing, due to the manner in which CA-7
communicates with Batch Terminals.
Input
The following commands are executed to obtain the information needed by the
conversion tool:
NOTE
For CA-7 Release 2.9 and earlier, specify LIST=ALL instead of LIST=NODD.
3. The CA-7 PRINT commands are used to retrieve Base calendar information from
the CA-7 database.
Use one PRINT command for each CA-7 Base calendar identified in the CALBLK
statement of the CA-7 Initialization file. The form of the command is
PRINT,YEAR=yy,SCAL=xx
where
NOTE
Multiple PRINT statements can be specified for the same calendar, each for a
different year. In addition, CA-7 Base calendars can be non-standard periodic
calendars.
4. For CA-7 Release 3.0 or earlier, if the CA-7 Virtual Resource Management facility is
installed, the LXRSC command must be used to produce the Job-to-Resource Cross
Reference report.
For CA-7 Release 3.1 and later, the commands RM.2 followed by
LIST,RM.2,RSRC=* are used to produce this report.
Output
1. The LJOB report file
Default file name: CTM.CA7.REPORT
File characteristics: sequential; record length 133; block size 23408
Description
JOB1 produces an updated CA-7 LJOB report and writes the report to disk for
subsequent use.
Parameters
The number of jobs contained in the LJOB report must be specified in the JCL PARM
parameter of the EXEC statement of STEP5 in this job. This value must be equal to, or
greater than, the number of jobs to be processed.
NOTE
The REGION parameter must be set to 0K in the EXEC statement. Because
approximately 1.5 KB of virtual storage above-the-line is required by the program for
each job in the LJOB report, the user must ensure that this job is not limited by the
amount of above-the-line storage available to it (such as when using the IEFUSI SMF
exit).
Input
1. The LJOB report file created by JOB0
NOTE
For performance reasons, any JCL libraries that do not contain DEMAND
commands should be removed from this file for the duration of JOB1 only. For
details of these commands, see “28. DEMAND[H] and POST” on page 120.
Output
1. The updated LJOB report file.
Default file name: CTM.CA7.LJOBO
File characteristics: sequential; record length 80; block size 23440
Description
JOB2 reads the LJOB report file created by JOB1 and produces a list of all defined
head-of-tree job names that are used as a basis for CONTROL-M scheduling table
names.
JOB2 reads the LSCHD and Base Calendar reports created by JOB1, and produces the
CONTROL-M Calendar library and the Calendar Names List file. For more
information, see “CONTROL-M Calendars” on page 25.
The Calendar Names List file is used in JOB3 to assign calendar names to the
CONTROL-M DCAL scheduling parameter when any of the following events occur:
Input
1. The LJOB report file created by JOB1
Example
For calendar AA, B01=25, E01=23, B02=26, E02=21, B03=23, E03=29, and so on.
Column: ----1----2----3----4----5----6
Code: //SYSIN DD *
252326212329... AA
NOTE
For non-standard calendars, if the gap between the first day of two consecutive,
non-standard calendar months exceeds a regular calendar month, the non-standard
calendars must be manually converted. However, a dummy entry must still be made
in the SYSIN file for this calendar.
Output
1. The Message Report file
Record Layout
An editor can be used to modify only the scheduling table names (columns 41
through 48), and the SCHDMOD CURRENT indicator. When editing, it is
important to ensure that the scheduling table names remain unique, valid PDS
member names.
WARNING
Do not delete any records from this file.
3. The CONTROL-M Calendar library containing the Base calendars and Auxiliary
CONTROL-M calendars, including SCHDMOD CURRENT calendars
Default library name: CTM.V600.CALENDAR
Library characteristics: PDS; record length 80; block size 3120
where
■ x is ,T,...,Z
■ y is A-Z
■ nnnnnn is CA-7 DSNBR, the database schedule member number that was
assigned to the schedule when it was added to the CA-7 database
For more information on Auxiliary calendars, see “13. SCAL” on page 105.
4. The Calendar Names List file containing a list of calendar names and related
information, sorted by job name, schedule ID, and system name
Default file name: CTM.V600.CALNAMES
File characteristics: sequential; record length 30; block size 9030
This file is for internal system use only. Do not modify it.
Record Layout
Description
JOB3 does the following:
For every CA-7 job, JOB3 extracts all information relevant to the conversion.
The JCL member for each job is read in order to process CA-7 or JCL override
control statements that may affect the scheduling process, such as JCL job class,
DEMAND[H], and # SCC.
JOB3 also produces a cross-reference file that contains all converted CA-7 job
names and associated CONTROL-M scheduling table names.
JOB3 activates the CTMCA702 program. The source code for this program resides
in the conversion SOURCE library, and can be tailored locally.
NOTE
The CTMCA706 program is called to scan the CA-7 JCL members. Local modification
may be required if the DEMAND[H] statement is not used in the standard CA-7
manner.
Parameters
The number of jobs contained in the LJOB report must be specified in the JCL PARM
parameter of the EXEC statement of STEP2 in this job. This value must be equal to, or
greater than, the number of jobs to be processed.
NOTE
The REGION parameter in the EXEC statement must be set to 0K. Because
approximately 1.5 KB of virtual storage above-the-line is required by the program for
each job in the LJOB report, the user must ensure that this job is not limited by the
amount of above-the-line storage available to it (such as when using SMF exit
IEFUSI).
Input
1. The LJOB report file (created by JOB1)
3. The SCHDYONLY and Periodic Base Calendar Name file (created by JOB2)
A. The conversion tool determines which JCL libraries to access using the
following Initialization File statement:
JCL,DSN=dsname,INDEX=nnn[,ALT=mmm]
where dsname must reference the data set names of the copies of the JCL
libraries. For more information, see “Step 2 - Copy CA-7 and CA-11 JCL and
CA-DRIVER Libraries and Initdeck” on page 73.
If no JCL library names are found in the CA-7 Initdeck, JCL library processing is
bypassed. The copied JCL libraries must be cataloged.
CA-7 jobs are contained within specific JCL libraries. The library names are used
in specifying the CONTROL-M MEMLIB parameter, as described in “2. JCLID”
on page 99. When converting job definitions of jobs in libraries with many
members, you may be able to improve performance by avoiding mass
allocations and deallocations. You can do so by programming the conversion
tool to specify GENERAL as the value of the MEMLIB parameter, rather than
the CA-7 JCL library name.
To do this, you should change the Initialization File statement in relation to each
of these JCL libraries, by doing the following, in order:
■ Instead of the statement set out at the beginning of this section, use the
following statement:
JCL,DSN=dsname,INDEX=nnn[,ALT=mmm],GENERAL
B. The conversion tool determines which job entry subsystem (JES) is in use at the
site using the following Initialization File statement:
CPU, HOST=JESn,...
where n is 2 or 3
RESTART,RMS=xxx,PROCRMS=procname,STEPRMS=stepname,
PARMRMS=parm
5. Dynamically allocated CA-7 and CA-11 JCL libraries (derived from the CA-7
Initdeck Initialization File statements), used to process CA-7 and/or CA-11 control
statements
7. JCL Job Class Translation Table containing a list of all JCL job classes for which
Quantitative resource statements are to be created
This file is only needed if the JCL job classes in the JOB statement are to be
converted into CONTROL-M Quantitative resources. For more information, see
“&JOBCLAS” on page 152.
The layout of each record in the Job Class Translation Table is as set out in Table 6.
■ $ (Dollar sign)
■ The first column of the Translation Table must be in ascending alphabetic order.
■ An asterisk (*) in the first position of the first row indicates that the JCL job class
must be used as the resource name for any JCL job class that is not listed in the
table, or for which no user text is specified in the table.
■ A dollar sign ($) in the second position, including after the asterisk in the first
row if desired, indicates that a $ sign is appended to the resource name. For the
significance of the $ mask character, see the description of the RESOURCE
conversion parameter in the CONTROL-M for OS/390 and z/OS User Guide.
The layout of each record in the CPUID Translation Table is shown in Table 7.
Output
1. The CONTROL-M Intermediate Scheduling Table library
Default library name: CTM.V600.SCHEDULE
Library characteristics: PDS; record length 80; block size 3120
3. A global cross-reference file for all jobs and intermediate scheduling tables, which
can be used to determine the names of the scheduling tables in which a specific job
resides
Default file name: CTM.CA7.XREF
File characteristics: sequential; record length 80; block size 3120
NOTE
The CONTROL-M CTMXRF utility can be used to create an updated
cross-reference file on the final scheduling tables created in JOB7.
5. A file containing JCL for the New Day procedure, which must be customized
Default file name: CTM.V600.DAILY
File characteristics: sequential; record length 80; block size 3120
6. An Include library, containing all job names for which the JCL member name
differs from the job name
Default file name: CTM.V600.INCLIB
File characteristics: PDS; record length 80; block size 3120
7. The CONTROL-M CMEM rule table, containing data set triggering events
Default file name: CTM.V600.CMEM
File characteristics: sequential; record length 80; block size 9040
NOTE
This file must be specified as a member within a CONTROL-M CMEM rule table
library. The member contains a CONTROL-M rule table specifying ON
DSNEVENT rules.
10. A file from which appended scheduling tags are added to job scheduling
definitions when CA-7 basic scheduling criteria are too complex to correspond to a
single CONTROL-M scheduling tag
Default file name: CTM.CA7.DATAG
File characteristics: sequential; record length 60; block size 23460
11. A file containing utility control statements for the CTMBLT utility
These statements are used to create to create the CONTROL-M Intermediate
Scheduling Table library (described earlier in this list of Output files)
File characteristics: sequential; record length 80; block size 27920
Description
JOB4 converts JCL members from CA-7 and CA-11 format to CONTROL-M format.
For details of how the override statements and other CA-7 and CA-11 components in
the JCL member are converted to CONTROL-M equivalents, see Chapter 4,
“Conversion Details.”
JOB4 converts CA-7 JCL Batch Terminal steps to equivalent CONTROL-M JCL steps.
For more information, see the discussion of DEMAND and POST in “DEMAND[H]
and POST Commands” on page 30, and “28. DEMAND[H] and POST” on page 120.
JOB4 activates the CTMCA707 program to modify the copied JCL libraries.
NOTE
The CTMCA709 program is called to perform modifications to the JCL members
containing CA-7 Batch Terminal Steps. Local modification may be required if the
CA-7 Batch Terminal Step is not used in the standard CA-7 manner.
Input
1. Dynamically allocated copies of CA-7 and/or CA-11 JCL libraries
The Batch Terminal Parameter file provides information on how the conversion
tool is to convert CA-7 Batch Terminal Steps. The format of the Batch Terminal
Parameter control statements is:
BTERM=batch-terminal-name[,PARM=parm-parameters]
One Batch Terminal Parameter control statement is required for each Batch
Terminal PROC used in the CA-7 JCL libraries. A maximum of 10 control
statements is allowed.
The value of the parm-parameter subparameter can be set by one of the following
methods:
■ Specify the JCL PARM parameter designation used in the CA-7 Batch Terminal
procedure. The default is PARM=PARM
■ Indicate that the CA-7 Batch Terminal procedure is issuing a CA-7 DEMAND or
POST command, use the JCL PARM parameter, and display symbolic variables
for various subparameters of the command.
The type of CA-7 command, and the symbolic variable names, are specified in the
control statement, using the following syntax:
PARM=(command-type[,variable-1][,variable-2])
where
— DE – a DEMAND command
— PU – a POST command with a user-defined requirement
— PJ – a POST command with a predecessor job dependency requirement
■ variable-1 is the symbolic variable name of the JOB parameter value in the
command. The default variable name is JOB.
— Where the command-type specified is DE, variable-2 is the symbolic variable name
of the SCHID parameter value. The default variable name is SCHID. If the
SCHID variable is not found in the JCL, a symbolic schedule ID of 000 is
assigned.
When Batch Terminal Procedures are specified using DE as the value for
command-type, you must incorporate the demanded jobs into a CONTROL-M
scheduling table, and specify the appropriate IN conditions in their job
scheduling definitions.
— Where the value of command-type is set to PU, variable-2 is the symbolic variable
name of the USR parameter value. The default variable name is USR
— Where the value of command-type is set to PJ, variable-2 is the symbolic variable
name of the DEPJOB parameter value. The default variable name is DEPJOB.
Example
Suppose a site has six types of Batch Terminal Procedures in the CA-7 JCL
libraries.
A. The BTERM1 procedure specifies all CA-7 Batch Terminal Commands using one
of the following SYSIN DD statements:
B. The BTERM2 procedure specifies a CA-7 Batch Terminal command using the
JCL EXEC PARM parameter, as follows:
D. The BTERM4 procedure specifies symbolic variables for the job name (JOB) and
schedule ID (SCHID) parameters of the CA-7 DEMAND command, as follows:
E. The BTERM5 procedure specifies symbolic variables for the job name (JOB) and
user-defined requirement (USR) parameters of the CA-7 POST command, as
follows:
For example, define the CTMUTIL procedure with the symbolic parameter ID as
follows:
The contents of the DABTERM file for the above example must be coded as
follows:
BTERM=BTERM1
BTERM=BTERM2
BTERM=BTERM3,PARM=P
BTERM=BTERM4,PARM=(DE,JOBNM,SCH)
BTERM=BTERM5,PARM=(PU,JOBN,USREQ)
BTERM=BTERM6
NOTE
The conversion tool is delivered with two Batch Terminal programs or
procedures named SASSTRLR and U7SVC. These names can be modified to
conform to local naming conventions at the site.
When the second form of the PARM parameter is specified, both variable-1 and
variable-2 must appear on the same JCL line as the batch-terminal-name.
Output
1. JCL libraries in CONTROL-M format
Description
JOB5 converts CA-7 virtual job resources into CONTROL-M Control and
Quantitative resources and manual IN conditions. JOB5 reads the Job-to-Resource
Cross Reference report that associates each resource with the jobs that use it.
CONTROL-M Control and Quantitative resources and manual IN conditions are
added to the job scheduling definition of each relevant job.
The following CA-7 virtual resources, and no others, are supported by the
conversion:
■ exclusive
■ shared
■ corequisite
■ resource count
For more information, see Table 17 on page 95 and “25. Virtual Resource
Management” on page 115.
NOTE
Users of CA-7 Release 3.0 and earlier should execute this job only if the CA-7
Resource Management facility and the LXRSC command are installed.
JOB5 activates the CTMCA710 program to convert the CA-7 virtual resources.
Input
1. The file containing the Job-to-Resource Cross Reference report that was created by
JOB0
Output
1. Modified CONTROL-M scheduling tables containing Control and Quantitative
resources and manual IN conditions
2. A message file
Description
JOB7 creates CONTROL-M Group scheduling tables from the Intermediate
Scheduling Tables created in JOB3. The tables are processed by merging tables that
belong to the same application and converting them to CONTROL-M Group
scheduling format. When the &DEMAND conversion parameter is set to CA7, as
discussed in “&DEMAND” on page 148, the resultant library is further divided into
the libraries shown in Table 8.
When the &DEMAND conversion parameter is set to CTM, STEP3 must be deleted
from JOB7.
Parameters
The expected maximum number of lines in any Group scheduling table must be
specified in the JCL PARM parameter of the EXEC statements in STEP2 and STEP3 in
this job. This number must be approximately 2 to 3 times the maximum number of
lines of the largest scheduling table. The default is 40000.
Input
1. The Application List file created by JOB2
Output
1. The CONTROL-M Group Scheduling Table library
Default library name: CTM.V600.NEWSCHED
Library characteristics: PDS; record length 80; block size 3120
NOTE
Review the members in this library carefully.
The conversion tool generally attempts to combine like-named jobs in a table with
different scheduling IDs into the same job scheduling definition with multiple
schedule tags. However, in some instances, minor differences in job scheduling
parameters prevent this from being done. In this case, you may want to modify
these job scheduling definitions and combine them using multiple schedule tags.
In addition, a set of schedule tags with different names may have the same Basic
Scheduling parameters. You may choose to retain only one of these tags in the
Group Entity, delete the rest, and rename all occurrences of the deleted tags in the
job scheduling definitions to the name of the retained tag.
Description
JOB8 converts CA-DRIVER procedures and JCL members to CONTROL-M format.
For more information, including details of how the CA-7 components in the
CA-DRIVER and JCL members are converted to CONTROL-M equivalents, see
Chapter 4, “Conversion Details.”
Input
1. A list of all CA-DRIVER procedure library names
Output
1. The procedure library in CONTROL-M format
Default name: CTM.CA7.PROCLIB
Library characteristics: PDS; record length 80; block size 3120
For more information on the PROCLIB and PARMLIB output files, see “51. DPROC”
on page 133.
For more information on the DATALIB output files, see “56. DATA, DEND” on
page 136.
3 Conversion Steps
This chapter includes the following topics:
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Pre-Conversion Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Step 1 - Create the Conversion SOURCE and LOAD Libraries . . . . . . . . . . . . . . . . . . 72
Step 2 - Copy CA-7 and CA-11 JCL and CA-DRIVER Libraries and Initdeck . . . . . . 73
Step 3 - Modify and Run the JOB0 Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Step 4 - Modify Parameters in the DEFAULTS Member . . . . . . . . . . . . . . . . . . . . . . . . 75
Step 5 - Modify and Run the ASMLINK Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Step 6 - Modify and Run the JOB1 Member. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Step 7 - Modify and Run the JOB2 Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Step 8 - Modify and Run the JOB3 Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Step 9 - Modify and Run the JOB4 Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Step 10 - Modify and Run the JOB5 Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Step 11 - Modify and Run the JOB7 Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Step 12 - Modify and Run the JOB8 Member (Optional) . . . . . . . . . . . . . . . . . . . . . . . 84
Step 13 - Customize CONTROL-M and Install User Exits . . . . . . . . . . . . . . . . . . . . . . 85
Step 14 - Final Adjustments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Step 15 - Check Conversion Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Step 16 - Customize the New Day Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Overview
Installation and operation of the conversion tool consists of a series of steps.
BMC Software recommends that you first review the contents of Appendix C,
“Planning The Conversion” then read through the remainder of this chapter before
performing the steps. It is important to follow the outlined sequence of the steps to
ensure a successful conversion.
Pre-conversion planning
2 Copy CA-7 and/or CA-11 JCL and CA-DRIVER Libraries and Initdeck.
14 Final adjustments.
NOTE
For all of the jobs which follow, the IEF283I NOT DELETED 8 message can be
ignored for the first (or only) run of the job.
Pre-Conversion Planning
Before beginning the actual conversion process, the following list must be reviewed
for tasks that may need to be performed in preparation for the conversion:
A. Run the UCC7DBVR program to verify that all logical pointers in the CA-7
database are properly set.
■ RQMT
■ TRIG
■ XREF
■ RESANL
2. Simplify the JCL conversion process by running the CA-7 SASSJCLU utility
against the CA-7 JCL Scheduled Override control statements and the scheduled
JCL itself.
3. Ensure that all calendar-oriented schedules are RESOLVEd against the proper Base
Calendar. Without schedule resolution, job schedules cannot be correctly defined
in the LSCHD report. For more information, see “JOB1 - Produce the updated
CA-7 LJOB Report” on page 44.
4. Review any system, CA-7, or CA-11 exits that perform functions that must be
implemented in the CONTROL-M environment.
5. Ensure that all personnel involved in the conversion process have security access
to all required functions, such as authorized CA-7 LOGON IDs, and that they have
authorization to execute the necessary batch jobs.
2. Tailor the following parameters in the member in accordance with your local
conventions.
3. Submit the job for execution. The job must finish with a completion code of 0.
NOTE
Do not APF-authorize the conversion LOAD library.
A sample job for copying the production JCL libraries is provided in the COPYLIBS
member in the conversion SOURCE library.
The new libraries must be sufficiently large to enable update of all the members.
Additional libraries and sequential data sets may need to be copied. For more
information, see “&PNIBTSD” on page 154.
The original CA-7 Initdeck must be copied and the data set names of the JCL libraries
must be modified to reflect the data set names of the copies of the JCL libraries
referred to above.
Edit the JOB0 member in the conversion SOURCE library. Adjust the following
specifications according to your local conventions:
■ the name and location of the LJOB report, specified in the SYSPRINT DD statement
in STEP1
■ the name and location of the LSCHD report, specified in the SYSPRINT
DD statement in STEP2
■ the name and location of the Base Calendar report, specified in the SYSPRINT
DD statement in STEP3
■ the name and location of the Job-to-Resource Cross Reference report, specified in
the SYSPRINT DD statement in STEP4
Submit the job and check the sysout for completion code and error messages. The job
must finish with a condition code of 0.
NOTE
Producing the CA-7 LJOB report may take several hours, depending on the size of the
CA-7 database.
Edit the ASMLINK member to adjust the following specifications in accordance with
your local conventions:
■ the conversion SOURCE library name, set in the SRCLIB parameter, created in
Step 1
■ the conversion LOAD library name, set in the LOADLIB parameter, allocated in
Step 1
■ the IOA SMP/E Distribution LOAD library name, set in the ALOAD parameter
Submit the job and check the sysout for completion code and error messages. In the
link-edit of Steps M5 and M6, a condition code of 4, caused by unresolved external
references, is acceptable. All other steps must complete with a condition code of 0.
NOTE
This step must be re-executed whenever changes are made to the parameters in the
DEFAULTS member, or a source fix is applied to any module. If necessary, an LLA
REFRESH must also be performed after changes are made.
If the high-level assembler Release 2, HLASMR2, is used for assembly and link
processing, use assembly option USING(WARN(2)) to obtain a clean assembly
and suppress the ASMA303 warning message.
Edit the JOB1 member in the conversion SOURCE library. Adjust the following
specifications in accordance with your local conventions:
■ the IOA LOAD library name, specified in the IOALOAD DD statement in STEP0
■ the IOA PARM library name, specified in the IOAPARM DD statement in STEP0
■ the IOA IOAENV library name, specified in the IOAENV DD statement in STEP0
■ the name of the LJOB report file created by JOB0, specified in the DAREPORT
DD statement in STEP0
— Concatenated LJOB reports may be specified. However, verify that the record
indicating the end of the CA-7 Batch Terminal (SLIA-00) is removed from all the
LJOB reports except the last LJOB report in the concatenation.
— Do not concatenate different LJOB reports that may contain jobs of the same
name. Each such LJOB must be converted in a separate conversion process.
— If you want to concatenate multiple LJOB reports, you must first arrange them
in jobname order.
■ the name and location of the updated LJOB report, specified in the DALJOBO
DD statement in STEP0
■ the name and location of the file containing the list of jobs that require Auxiliary
Calendars, specified in the DAJOBSCH DD statement in STEP0
■ the name and location of a work library, specified in the WORK DD statement in
STEP0
The same data set name must also be specified in the SYSINLIB DD statement in
STEP5 (but do not delete the member name)
■ the number of jobs that are contained in the LJOB report, specified in STEP5, the
PARM parameter of the EXEC statement. You must also set the REGION
parameter to 0K in the EXEC statement
Submit the job and check the sysout for completion code and messages. Ignore any
informational or warning messages. Errors with a return code of 12 must be corrected
and the job rerun.
Error (E) level messages with a return code of 8 must be investigated and corrected
wherever possible. However, E level messages rarely prevent the creation of the
updated LJOB report. Some E level messages are unavoidable, such as those referring
to missing calendars, because the calendar library has not yet been created. These
types of E level messages can be safely ignored, and you may continue with the
conversion process. For explanations of each message, see Appendix B, “Messages”
Edit the JOB2 member in the conversion SOURCE library. Adjust the following
specifications in accordance with your local conventions:
■ the IOA LOAD library name, specified in the IOALOAD DD statement in STEP0
■ the IOA PARM library name, specified in the IOAPARM DD statement in STEP0
■ the IOA IOAENV library name, specified in the IOAENV statement in STEP0
■ the name of the LJOB report file created by JOB1, specified in the DAREPORT
DD statement in STEP0
■ the name of the LSCHD report file created by JOB1, specified in the DAREPRT2
DD statement in STEP0
■ the name of the Base Calendar report file created by JOB1, specified in the
DABASCAL DD statement in STEP0
■ the name and location of the Applications List file, specified in the DAOUT1
DD statement in STEP0
■ the name and location of the CONTROL-M Calendar library, specified in the
DACAL DD statement in STEP0
■ the name and location of the Calendar Names List file, specified in the DACALNM
DD statement in STEP0
■ the name and location of the SCHDYONLY and Periodic Calendar Name file,
specified in the DACALS DD statement in STEP0
■ the name of the job list report of the jobs requiring an Auxiliary Calendar created
by JOB1, specified in the DAJOBSCH DD statement in STEP0
■ the CA-7 Periodic Base Calendar Control statements, specified in the SYSIN
DD statement in STEP3
For details of the record layout and content, see “JOB2 - Create the Applications
List, Calendar Libraries, and Calendar Names List Files” on page 46. Specify this
information only if there are nonstandard, periodic, CA-7 Base Calendars
produced in JOB1 in the Base Calendar report.
NOTE
If you allocate files on SMS-managed volumes, you must preallocate files
referenced by the DAOUT1, DACAL, DAJOBSCH, and DACALNM
DD statements before executing the specified job the first time. These files, if they
are PDSs, must not be placed on volumes that have the SMS Management Class
Partial Release attribute specified.
Submit the job and check the sysout for completion code and error messages. The job
must finish with a condition code of 0. Error messages are explained in Appendix B,
“Messages”
An editor can be used to modify the Application List file. For more information,
including details of the record layout, see “JOB2 - Create the Applications List,
Calendar Libraries, and Calendar Names List Files” on page 46.
NOTE
Before performing this step, be sure to check, and if necessary modify, the
Applications List file created in JOB2.
Edit the JOB3 member in the conversion SOURCE library. Adjust the following
specifications in accordance with your local conventions:
■ the IOA LOAD library name, specified in the IOALOAD DD statement in STEP0
■ the IOA PARM library name, specified in the IOAPARM DD statement in STEP0
■ the IOA IOAENV library name, specified in the IOAENV DD statement in STEP0
■ the name of the LJOB report file created by JOB1 and used in JOB2, specified in the
DAREPORT DD statement in STEP0
■ the name of the Applications List file created by JOB2, specified in the DASYSN
DD statement in STEP0
■ the CA-7 Initdeck library and member name, specified in the DAINIT
DD statement in STEP0
■ the name and location of the CONTROL-M Documentation library, specified in the
DADOC DD statement in STEP0
■ the name and location of the intermediate table or jobname Cross-Reference file,
specified in the DAXREF DD statement in STEP0
■ the name and location of the library for JCL INCLUDE members, specified in the
DAINCLIB DD statement in STEP0
■ the name and location of the file containing the JCL for the New Day procedure,
specified in the DADAILY DD statement in STEP0
■ the name and location of the intermediate CONTROL-M scheduling table library,
specified in the DASCHD DD statement in STEP0
■ the name of the SCHDYONLY and Periodic Calendar Name List file created by
JOB2, specified in the DACALS DD statement in STEP0
■ the name of the Calendar Name List file created by JOB2, in the DACALNM
DD statement in STEP0
■ the name and location of the CONTROL-M CMEM Rule Table definitions,
specified in the DACMEM DD statement in STEP0
■ the name and location of the JCL library DSN list, specified in the DAJCLIN
DD statement in STEP0
■ the name and location of the Demanded Job Names file, specified in the
DADMDJNM DD statement in STEP0
■ the name and location of the control input statements for the CTMBLT utility,
specified in the DABLT DD statement in STEP0
■ the number of jobs that are contained in the LJOB report, in STEP2, the PARM
parameter of the EXEC statement in STEP2
The REGION parameter in the EXEC statement must also be set to 0K.
■ the name of the CA-7 Job Class Translation Table, or the actual table contents,
DD statement DAJOBCL in STEP2
For details of the record layout and content, see “JOB3 - Create CONTROL-M
Scheduling Tables and CMEM Rules” on page 50. This information must only be
specified if the JCL Job Classes (in the Job statement) are to be converted into
CONTROL-M Quantitative resources. For more information, see “&JOBCLAS” on
page 152.
■ the name of the CPUID translation table, or the actual table contents, in the
DACPUID DD statement in STEP2
For details of the record layout and contents, see “JOB3 - Create CONTROL-M
Scheduling Tables and CMEM Rules” on page 50. This table need only be specified
if jobs require specific system affinity, which is specified using the CA-7 MAINID
parameter.
■ the name and location of a WORK library, specified in the WORK DD statement in
STEP0. The same data set name must also be specified in the SYSINLIB
DD statement in Step 2, but do not delete the member name.
■ the name and location of the file that causes the creation of additional scheduling
tags in job scheduling definitions, specified in the DATAG DD statement in STEP0
NOTE
If you allocate files on SMS-managed volumes you must, before executing the
specified job for the first time, pre-allocate files referenced by the DAXREF,
DACMEM, DASCHD, DAINCLIB, DADOC, DADAILY, DABLT, and DATAG
DD statements. If they are PDSs, these files must not be placed on volumes that
have the SMS Management Class Partial Release attribute specified.
Submit the job and check the sysout for completion code and error messages. A
condition code of 12 or above causes the job to stop processing. Error messages are
explained in Appendix B, “Messages”
Edit the JOB4 member in the conversion SOURCE library. Adjust the following
specifications in accordance with your local conventions:
■ the IOA LOAD library name, specified in the IOALOAD DD statement in STEP0
■ the IOA PARM library name, specified in the IOAPARM DD statement in STEP0
■ the IOA IOAENV library name, specified in the IOAENV DD statement in STEP0
■ the name of the JCL Library DSN list, created by JOB3, as specified in the DAJCLIN
DD statement in STEP0
■ the name of the Demanded Job Names file, created in JOB3, as specified in the
DADMDJNM DD statement in STEP0
■ the name and location of a WORK library, specified in the WORK DD statement in
STEP0
The same data set name must also be specified in the SYSINLIB DD statement in
STEP2, but do not delete the member name.
For details on how to specify these parameters, see “JOB4 - Convert JCL Members”
on page 56.
WARNING
To prevent changes to the current production environment, use a copy of the CA-7
and/or CA-11 production JCL libraries, and not the actual libraries, as input to this
job. For instructions, see Step 2. JOB4 issues the CTMCA707-00R message, which
requires that the operator confirm that Step 2 has been performed.
Submit the job and check the sysout for completion code and error messages. The job
must finish with a condition code of 0. Error messages are explained in Appendix B,
“Messages”
NOTE
For users of CA-7 Release 3.0 or earlier, perform this step only if your site has
implemented the CA-7 Resource Management facility. Otherwise, skip to Step 11.
Edit the JOB5 member in the conversion SOURCE library. Adjust the following
specifications in accordance with your local conventions:
■ the IOA LOAD library name, specified in the IOALOAD DD statement in STEP0
■ the name of the Job-to-Resource Cross Reference report file, specified in the
DAREPIN DD statement in STEP0
■ the name of the table-jobname Cross Reference file created by JOB3, as specified in
the DAXREF DD statement in STEP0
Submit the job and check the sysout for completion code and error messages. The job
must finish with a condition code of 0. Error messages are explained in Appendix B,
“Messages”
If an Sx37 abend occurs during the execution of this job, compress and optionally
enlarge the library, then rerun the job. The conversion program does not update
scheduling tables that were updated in the previous run.
Edit the JOB7 member in the conversion SOURCE library. Adjust the following
specifications according to your local conventions:
■ the IOA LOAD library name, specified in the IOALOAD DD statement in STEP0
■ the IOA PARM library name, specified in the IOAPARM DD statement in STEP0
■ the IOA IOAENV library name, specified in the IOAENV DD statement in STEP0
■ the name of the Applications List file created by JOB2, specified in the APPLIST
DD statement in STEP0
■ the name of the intermediate CONTROL-M job scheduling table library in JOB3,
specified in the DASCHD DD statement in STEP0
■ the name of the file that causes the creation of additional schedule tags, created by
JOB3, specified in the DATAG DD statement in STEP0
■ the name and location of the CONTROL-M Group scheduling table library,
specified in the CTMSV5 DD statement in STEP0
■ the maximum number of lines in any Group scheduling table, the PARM
parameter of the EXEC statement in STEP2 and STEP3
■ the name and location of the CONTROL-M Group scheduling table library
excluding all demanded jobs, specified in the CTMNDMD DD statement in STEP0
■ the name and location of the CONTROL-M (non-Group) scheduling table library
containing all demanded job streams, specified in the CTMDMD DD statement in
STEP0
NOTE
If you allocate files on SMS-managed volumes, you must, before executing the
specified job for the first time, pre-allocate files referenced by the DASCHD,
CTMNDMD, and CTMDMD DD statements. If they are PDSs, these files must not
be placed on volumes that have the SMS Management Class Partial Release
attribute specified.
Submit the job and check the sysout for completion code and error messages. The job
must finish with a condition code of 0. Error messages are explained in Appendix B,
“Messages”
Tailor the following specifications in the JOB8 member in the conversion SOURCE
library in accordance with your local conventions:
■ the name and placement of the Procedure library, in the DAPROC DD statement in
STEP0
■ the name and placement of the Procedure Default Values library, in the
DAPARAM DD statement in STEP0
■ the name and placement of the Input Statements library, in the DADATA
DD statement in STEP0
WARNING
To prevent changes to the current production environment, use copies of the JCL
libraries, not the CA-7 production JCL libraries, as input to this job. For more
information, see Step 2.
Submit the job for execution, then check the SYSOUT for completion code and error
messages. A condition code of 12 or above causes the job to terminate. Error messages
are explained in Appendix B, “Messages”
If problems or errors are encountered, correct them manually in the CA-7 JCL
libraries, and rerun this job.
2. Check the INCLIB library created by JOB3 to see if any INCLUDE members were
created. Skip this adjustment if the library is empty.
If the INCLIB library contains members, or if you want to force the jobname to be
identical to the JCL member name, you can optionally activate CONTROL-M User
Exit 2 (the job submission exit) to imitate CA-7 submission processing. This exit is
supplied in the CTMX002Q member in the IOA SAMPEXIT library. For details
regarding this user exit, see the CTMX002 member in the same library. If Exit 2 is
currently being used, the supplied exit must be incorporated into the current exit.
3. Set the ONSINDMY parameter in the CTMPARM member in the IOA PARM
library to N. This parameter deactivates the validation check of specifying ON
PGMST statements within DUMMY job definitions.
— If your JCL contains any referbacks in the COND parameter of the type
COND=(1,NE,UCC7RMS.U11STEP), do the following
■ Change the U11STEP step name to IOATEST. This can be done by one of the
following methods:
— change the step name directly in the JCL members, by means of a utility that
can make multiple updates
— use CONTROL-M User Exit 2 (CTMX002) to search the JCL member for
EXEC statements containing the string COND=(1,NE,UCC7RMS.U11STEP),
and, without physically changing the actual JCL member, change that string
on submission to COND=(1,NE,UCC7RMS.IOATEST).
All these parameters are in the CTRPARM member in the IOA PARM library. For
more information on these parameters, see the section on optional wishes with
data in the CONTROL-M/Restart Customization chapter of the INCONTROL for
OS/390 and z/OS Installation Guide.
5. Install User Exit 2 (the Job Submission exit), which is supplied in the CTMX002R
member in the SAMPEXIT library. The exit inserts JES2 and JES3 statements into
the JCL member of a job in order to route jobs to the required CPU using the
following job scheduling definition parameters
SET VAR=%%SYSID=xxx
where xxx is derived from the CA-7 MAINID parameter and the CPUID
translation table supplied by you.
For more information on the CA-7 MAINID parameter, see “40. MAINID” on
page 129.
This exit can be tailored to local requirements. Read the comments in the
CTMX002R member carefully to determine the desired method of implementation.
For details regarding this user exit, see the CTMX002 member.
1. If a CMEM Rule table was built in the CMEM file created in JOB3, follow the
instructions in the CONTROL-M for OS/390 and z/OS User Guide.
2. The CTMXRF CONTROL-M utility must be run with the cross reference statement
XRF=RES, to determine if any Quantitative resources were placed in the newly
created job scheduling definitions. If this is the case, these resources must be added
to the CONTROL-M Resources file using the IOACND utility. For more
information on the IOACND utility, see the INCONTROL for OS/390 and z/OS
Utilities Guide.
3. The CTMXRF CONTROL-M utility may be run with the cross reference statement
XRF=CAL, to produce a Calendar Name-Jobname cross reference report. This
report can be used to determine whether the conversion has created any auxiliary
calendars, and if so, the identity of any auxiliary calendars that have been created.
You can replace any of the existing auxiliary calendars with basic scheduling
criteria by means of the CTMTBUPD utility, which is described in the
INCONTROL for OS/390 and z/OS Utilities Guide.
Example
■ The SJ123456 calendar is defined in the DCAL parameter of the TAG1 schedule
tag in the XYZ group scheduling table.
■ The SJ123456 calendar schedules the job every third working day of the month,
which in the CA-7 Q1 base calendar is a Monday.
NOTE
Any auxiliary calendars that are not replaced must be extended to multi-year
calendars as soon as possible.
5. Review all CA-7 and CA-11 system exits (if any), for example, the CA-11 JES2 or
JES3 interfaces, such as the JES2 Exit 6, the JES3 IATUX03, and the CA-11 SMF
IEFUJV exits. Remove or modify such exits as appropriate.
4 Conversion Details
This chapter includes the following topics:
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Component Conversion Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Component Conversion Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
1. JOB and MEMBER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
2. JCLID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
3. SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
4. JCL-OVRD and # JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
5. VERIFY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
6. MAINT and # MNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
7. HOLD and DEMAND[H] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
8. EXEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
9. PRTY, # RES and DEMAND[H] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
10. COND-CODE, RO and # SCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
11. TYPE1 and TYPE2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
12. CLASS, # RES and DEMAND[H] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
13. SCAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
14. ROLL, INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
15. SBTM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
16. DOTM and LDTM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
17. Scheduling Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
18. Job Triggering and # NTR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
19. DEP-JOB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
20. DEP-JOB=/jobname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
21. DSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
22. NWK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
23. USER REQUIREMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
24. PROSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
25. Virtual Resource Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
26. # JI, # JO, and # JEND, # XI, # XO, and # XEND Statements . . . . . . . . . . . . . . . 117
27. JCL Job Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
28. DEMAND[H] and POST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
29. CA-11 Non-Restartable Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
30. INSERT-RMS and //*CA-11 Comment Statements . . . . . . . . . . . . . . . . . . . . 123
31. CA-11 U11RMS Step . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Overview
This chapter details the conversion of relevant CA-7 and CA-11 components into
corresponding CONTROL-M job scheduling definition parameters and AutoEdit
parameters, and describes the unique CONTROL-M conversion parameters that may
be specified.
NOTE
Item number (Item No.) in the following tables refers to the topic number in this
chapter.
In CONTROL-M, the job name is determined at time of submission and the JCL
member name is specified in the MEMNAME job scheduling definition parameter.
The conversion tool specifies the CA-7 job name in the CONTROL-M MEMNAME
parameter. If the CA-7 job name differs from the CA-7 MEMBER name, such as when
several CA-7 job definitions use a single JCL member, a special JCL INCLUDE
member, with the same name as the CA-7 job name, is created in the INCLIB library
and in the DAINCLIB DD statement, and a warning message is issued. The member
contains a CONTROL-M AutoEdit control statement (%%INCLIB) that copies the JCL
from the member identified in the CA-7 MEMBER parameter. In addition, you can
install the CONTROL-M job submission exit (Exit 2) to simulate CA-7 processing. For
more information, see the description of Exit 2 in the INCLIB library section of
“Step 13 - Customize CONTROL-M and Install User Exits” on page 85.
The conversion tool also uses the CA-7 job name to convert CA-7 job triggers and
connections into CONTROL-M IN and OUT conditions, as detailed in “18. Job
Triggering and # NTR” on page 111.
2. JCLID
The CA-7 JCLID is a number from 000 through 253 that identifies the JCL library for a
particular job. The library names are contained in the user-modified CA-7 Initdeck in
the DSN parameter of the JCL Initialization statements. For more information on
CA-7 Initdeck, see the discussion of the input to JOB3 in “JOB3 - Create CONTROL-M
Scheduling Tables and CMEM Rules” on page 50.
The conversion tool specifies the CA-7 JCL library name in the MEMLIB
CONTROL-M job scheduling definition parameter. If the JCLID of a job does not
correspond to any JCL initialization statements, the MEMLIB parameter is set to
GENERAL.
The JCLID parameter is not required for non-executable jobs, that is, when EXEC is
set to N in the CA-7 JOB screen.
The CA-7 JCLID value 254 indicates use of the CA-7 Special Override library. For
more information on how to obtain the equivalent functionality in CONTROL-M, see
Chapter 1, “Conceptual Overview.”
3. SYSTEM
The SYSTEM parameter in the CA-7 JOB screen is an optional parameter that
associates the job with an application system name.
The conversion tool adds a manual IN condition to the CONTROL-M job scheduling
definition to prevent the automatic submission of the job. The format of the condition
is:
JCL_OVERIDE_jobname
5. VERIFY
The CA-7 VERIFY job definition parameter indicates whether the job requires manual
verification before it can be submitted.
The conversion tool adds a manual IN condition to the CONTROL-M job scheduling
definition to prevent the automatic submission of the job. The format of the condition
is:
VERIFY_JCL_jobname
The conversion tool ignores the DSN connection for MAINT jobs.
The conversion tool adds a manual IN condition to the CONTROL-M job scheduling
definition to indicate that the job is held. The format of the condition is:
HELD_jobname
Setting the TYPE parameter to RES in the DEMAND command indicates that the job
must be scheduled in restart or rerun status, and that the job is to be placed into the
Request Queue with a restart requirement.
The conversion tool adds a manual IN condition to the CONTROL-M job scheduling
definition to indicate that the job has a restart requirement. The format of the
condition is:
RESTART_jobname
8. EXEC
The CA-7 EXEC job definition parameter indicates whether the job must be executed.
If N is specified, the job does not execute, but CA-7 simulates a normal completion.
In CONTROL-M, set the OVERLIB parameter to DUMMY to prevent the job being
submitted.
If EXEC is set to N in the CA-7 job definition, the conversion tool sets the OVERLIB
parameter of the CONTROL-M job scheduling definition to DUMMY.
NOTE
The CONTROL-M OVERLIB parameter, not the MEMLIB parameter, is set to
DUMMY, in order to preserve the original library specification (if any).
If priority values appear in both the # RES and DEMAND[H] statements, that in the
# RES statement takes precedence.
The conversion tool transforms the CA-7 numeric value to an alphanumeric value
while maintaining priority order. This is achieved by converting the two high order
digits of the CA-7 PRTY from 00-25 to A-Z, and not converting the low order digit.
The conversion tool supports CA-7 express priority (when PRTY is set to 255), which
is used to bypass Workload Balancing priority scheduling criteria, by defining the job
as a critical path, that is, by specifying *5 in the CONTROL-M PRIORITY parameter.
For more information, see the CONTROL-M for OS/390 and z/OS User Guide.
The CONTROL-M job scheduling definition enables the user to set condition code
checking at step level as well as job level, using the ON PGMST CODES
post-processing parameters. By default, CONTROL-M considers a job as ENDED OK
if no step condition code is higher than 4.
# SCC COND=(nn,ro,stephame.procstepname)
where
For processing step names in the form *-stepname, see “&SCCGLBL” on page 156.
When the CA-7 job definition indicates default checking, unless you set the value of
the MAXCCOK parameter in CTMPARM to 4095, the conversion tool sets the
following CONTROL-M specification:
CONTROL-M handles tape drive resources, and any other critical computer
resources, as quantitative resources. The CONTROL-M job scheduling definition
RESOURCE parameter specifies the resource name and the quantity used by a job.
The resource names specified in the &TAPE1 and &TAPE2 conversion parameters in
the DEFAULTS member are used by the conversion tool to represent the two CA-7
tape drive types. The CA-7 TYPE1 and TYPE2 C (calculated) amounts are converted
to CONTROL-M job scheduling definition RESOURCE specifications. When a
non-zero tape resource manual override (M) amount is specified, this amount is used
instead of the calculated (C) tape resource amount.
The resources above must be added to the CONTROL-M Resources file with a
quantity corresponding to the MXTAL parameter of the CA-7 workload balancing
TAPE1 and TAPE2 macros.
CLASS_BAR_jobclass
The CA-7 workload balancing job class can also be specified using the value in the
CLASS parameter in the # RES override statement and the value in the CLASS
parameter in the DEMAND[H] command in the JCL member. These override the
value in the CA-7 CLASS parameter.
The above resources must be added to the CONTROL-M Resources file with a
quantity corresponding to the CA-7 class barrier specification, which is defined in the
BARx parameter of the workload balancing CLBARR macro.
13. SCAL
CA-7 calendars are defined for one year only. A CA-7 Base calendar ID has the format
SCALyyxx
where:
A CONTROL-M calendar definition can contain multiple years, and its name can be
from 1 through 8 characters in length.
The following naming convention is used by the conversion tool when converting
CA-7 Base calendars to CONTROL-M calendars:
■ The first six characters are a constant value, as specified in the &CALPREF
conversion parameter. For more information, see “&CALPREF” on page 143.
■ The last two characters are the last two characters of the CA-7 calendar name, that
is, the SCAL=xx that was specified by the PRINT command of JOB1.
A list of all CA-7 job schedule members that have been modified using the
SCHDMOD screen is available in CA7ER789, the CA-EARL CURRENT SCHDMOD
report. For more information, see the CA-7 Management Reporting Guide.
■ the conversion tool encounters a CA-7 SYMETRIC parameter, and the calendar
used for the schedule was created with OPTION set to SCHDYONLY, or the CA-7
SPAN parameter is greater than 45
■ it is determined by the conversion tool that the CA-7 scheduling definition for a
particular Schedule ID cannot automatically be converted to CONTROL-M Basic
Scheduling parameters
■ For all jobs associated with the Schedule ID, the CONTROL-M job scheduling
definitions in the scheduling table are modified as follows:
NOTE
Auxiliary calendars placed into the CONTROL-M Calendar library are 1-year
calendars only, spanning January through December or July through June,
depending on when the CA-7 schedules were RESOLVEd. You must extend these
calendars to multiple years as soon as possible.
For more information, see the discussion of the creation of auxiliary calendars in
the description of the use of the CTMXREF CONTROL-M utility in “Step 14 -
Final Adjustments” on page 87.
where
The CA-7 ROLL schedule definition parameter indicates the action CA-7 is to take
when verifying (resolving) schedule parameters against the CA-7 Base calendar.
2. When ROLL is set to B, the requested schedule day is to be rolled backward to the
previous calendar working day. In such a case, SHIFT is set to < in the
CONTROL-M job scheduling definition.
3. When ROLL is set to F, the requested schedule day is to be rolled forward to the
next calendar working day. In such a case, SHIFT is set to > in the CONTROL-M
job scheduling definition.
4. When ROLL is set to N, the requested schedule day must be kept regardless of the
calendar definition (except for DAILY scheduling). In such a case, SHIFT is set to @
in the CONTROL-M job scheduling definition.
15. SBTM
The CA-7 SBTM schedule definition parameter specifies a submission time
prerequisite. CA-7 does not submit the job before this time.
The CONTROL-M FROM job scheduling definition parameter specifies the earliest
time the job can be submitted.
The conversion tool assigns the value of the CA-7 SBTM parameter to the
CONTROL-M FROM parameter. If no value is set in the CA-7 SBTM parameter, the
conversion tool can optionally use the deadline start time, the STARTM parameter on
the LJOB report. For more information, see “&STARTM” on page 158
NOTE
The CONTROL-M SAC parameter is set when the converted FROM time is between
midnight and the CONTROL-M New Day time, as explained in “New Day
Processing and Schedule Scan” on page 28.
The CONTROL-M DUE OUT job scheduling definition parameter, or the DOTM
parameter of a demanded job, specifies a time by which a job must finish execution.
The conversion tool assigns the value of the CA-7 DOTM parameter to the
CONTROL-M DUE OUT parameter that is used in calculating the time at which a job
must be submitted.
This CA-7 schedule specification means “do not run on DAY ddd WEEK xx.” The
conversion tool converts this schedule combination by specifying the weeks to
schedule the job instead of specifying the weeks not to schedule the job, as shown
in the following example:
If xx is -00, the CONTROL-M DAYS parameter is set to L1, L2, ..., L7 or -L1, -L2, ...,
-L7, depending on whether the week is to be included or excluded; the
CONTROL-M WDAYS parameter is set to the value of the CA-7 DAY.
— a DATES value of ddmm (or mmdd) derived from the julian date ddd specified
in the CA-7 START parameter
— a MAXWAIT value of 99, so the job is never removed from the Active Jobs
File
■ the INTERVAL parameter in the job definition is set to nnn D FROM TRGT,
meaning the job must be recycled every nnn days from the date scheduled for
the current job run
■ the calendar corresponding to the schedule-ID was not created with OPTION
set to SCHDYONLY
and
NOTE
When an online P (Plan) command in Screen 2 is issued for a converted SYMETRIC
job, the calendar plan shows the job as being scheduled on only one date, that
specified in the DATES parameter. In most cases, this does not match the CA-7
schedule (LSCHD) for the job. This is because the conversion tool converts the job
as a cyclic job. Reruns of cyclic jobs are not displayed in response to the Plan
command if the INTERVAL parameter is set to span more than one day.
schedule-table_jobname_OK ODAT
The variable schedule-table is the CONTROL-M scheduling table name. The variable
jobname is the MEMNAME
If there are duplicate job names within the same scheduling table, then the ‘K’ from
‘_OK’ is replaced with the occurrence number of the job, (2 – 9, A – J, L – Z, @).
Every converted job contains an OUT condition of this type, and all triggered jobs
contain this condition as an IN condition. This mechanism ensures that the
CONTROL-M execution flow is the same as in the CA-7 job triggering definitions.
The CA-7 # NTR override statement in the JCL member causes suppression of the job
triggering that is otherwise initiated by successful job completion.
The conversion tool builds CONTROL-M scheduling tables containing all the
application jobs. This means that an entire job tree, based on the CA-7 triggering
information, is contained in one CONTROL-M scheduling table.
19. DEP-JOB
The CA-7 DEP-JOB job connection parameter specifies a predecessor job on which the
job specified in the JOB parameter is dependent. This causes the dependent job to
wait until the job specified in the DEP-JOB parameter has completed OK.
dep-jobname_OK ODAT
where dep-jobname is the CONTROL-M MEMNAME of the job on which the job
specified in the JOB parameter is dependent.
For example, if the CA-7 job connection definition of JOBB states that JOBB is
connected to JOBC using the specification DEP-JOB=JOBC, this means that JOBB is
dependent on JOBC.
The conversion tool converts this CA-7 job connection by specifying the IN condition
JOBC_OK in the CONTROL-M job scheduling definition of JOBB, and specifying the
OUT condition JOBC_OK in JOBC. For alternate naming convention considerations,
incorporating both the predecessor and successor job names, see “&DEPJCND” on
page 150.
When incorporating demanded jobs, as well as jobs triggered by demanded jobs, into
a CONTROL-M job scheduling table definition from a Batch Terminal step, such
as SASSTRLR, in the CA-7 JCL, the IN or OUT condition is built in a modified format,
as follows:
jobname_dep-jobname_sched-id ODAT
where
■ dep-jobname is the name of the JCL member containing the CA-7 DEMAND
command
■ jobname is the job name of the demanded job, that is, the name in the CA-7 JOB
parameter
All values of the CA-7 job connection LEADTM (the satisfaction lead time in hours),
including 99, are ignored, except for the value 00. When a LEADTM of 00 is specified,
the IN and OUT conditions created in the job scheduling definition specify ****
instead of ODAT, to make the condition not dependent on the date.
For more information, see “DEMAND[H] and POST Commands” on page 30.
20. DEP-JOB=/jobname
The CA-7 DEP-JOB job connection parameter can specify a job name preceded by “/”
(slash). This type of job connection is referred to as a negative job dependence, in that
CA-7 prevents the connected job and the job specified in the DEP-JOB parameter
from executing concurrently. The job specified in the DEP-JOB parameter runs only
when the connected job ends (or abends), but it is not triggered by the connected job.
The conversion tool converts this CA-7 job connection by specifying the CONTROL
parameter in the format
EXCLUSIVE_jobname
This CONTROL resource is specified for the connected job with the Exclusive option,
and for the DEP-JOB job with the Shared option.
21. DSN
The CA-7 DSN job connection parameter specifies an input data set name as a
prerequisite for a job. This type of job connection instructs CA-7 to suspend the
execution of a job until the input data set is created.
For example, if the CA-7 job connection definition states that JOBB has an input data
set connection to DSN.OUTFILE, the job is dependent upon the creation of that data
set.
The conversion tool converts this CA-7 DSN job connection by changing it to a job
connection of the CA-7 DEP-JOB type, which specifies in CONTROL-M IN and OUT
conditions the job name that creates the data set in the DSN parameter. The valid
syntax is:
creating-job_DS
For other naming convention considerations relating to the names of both creating
and successor jobs, see “&DEPJCND” on page 150.
A DSN connection is ignored when a CA-7 job definition states any of the following:
22. NWK
The CA-7 NWK job connection parameter is used to specify the network prerequisites
of a job.
The conversion tool converts this CA-7 job connection to a manual IN condition of the
form
NW_jobname
The conversion tool converts this CA-7 connection by specifying a long IN condition
in the CONTROL-M job scheduling definition of the connected job. The format of the
string is
jobname_usertext
The variable jobname is the CONTROL-M MEMNAME of the CA-7 connected job.
The variable usertext is at least the first 30 characters of the USER REQUIREMENTS
parameter
24. PROSE
In CA-7, job documentation (PROSE) optionally describes each job. The PROSE data
is stored in the CA-7 database, and is maintained by means of the PROSE on-line
screens.
The conversion tool converts the CA-7 PROSE data by creating a member in the
CONTROL-M Documentation library for each job that has associated PROSE data.
The types of resources managed by this facility, and the way the conversion tool
converts them to CONTROL-M, are as follows:
A Shared resource connection enables multiple jobs to execute at the same time,
even though they may all use the same resource. An Exclusive resource is used to
indicate that the job requires exclusive use of a resource, so that no other job
requiring the resource can execute until the end of the exclusive use job.
■ Corequisite resources
status_res-name
where:
You must add or delete these manual conditions from the CONTROL-M Resource
file when the resource becomes active or inactive.
All CA-7 virtual resources have a FREE option associated with them that determines
the resource availability at job submission and job or step completion. If you want,
you can reflect the FREE option in the format of the converted resource name, by
specifying the &RESFREE conversion parameter, which is described in “&RESFREE”
on page 156.
26. #JI, #JO, and #JEND, #XI, #XO, and #XEND Statements
The CA-7 override statements # JI, # JO, and # JEND, and similarly, # XI, # XO, and
# XEND, indicate JCL statements that are to be included, or omitted, based on
scheduling criteria.
The conversion tool converts the # JI, # JO, # JEND, # XI, # XO, and # XEND) statements
to corresponding CONTROL-M AutoEdit statements. Only the CA-7 RPT parameter
is ignored. The CA-7 ID parameter is converted to the AutoEdit variable %%SCHID
which, for scheduled jobs, is derived from the first 3 characters of the CONTROL-M
%%$TAG system variable.
The %%$TAG system variable is the Schedule Tag name of the Schedule Tag that
causes the job to be submitted. All Schedule Tag names are of the form
sched-ID_head-of-tree-jobname
The CA-7 BD, ED, OA, OB, BT, and ET parameters are converted to the
system-defined date and time AutoEdit variables %%[O]YEAR, %%[O]JULDAY, and
%%TIME, based on the setting of the CA-7 CV subparameter. %%OYEAR and
%%OJULDAY are the conversion results when CV is set to DO or DL. %%YEAR and
%%JULDAY are the conversion results when CV is set to CU.
NOTE
CA-7 JCL override statements (# NTR, # SCC, and so on) embedded within a # JI or
# JO block are incorporated into the job scheduling definition with a schedule ID
corresponding to the ID parameter of the # JI or # JO statement.
The following examples illustrate how the # JI and # JO override statements are
converted.
Example 1
#JI,ID=(1,5,10,15),BD=97010,ED=97250,OA=0100,OB=1530,
BT=1010,ET=1212
is converted to:
%%IF X%%$TAG NE X
%%SET %%SCHID = %%SUBSTR %%$TAG 1 3
%%ENDIF
%%IF %%SCHID EQ 001
%%GOTO LABEL0001
%%ELSE
%%IF %%SCHID EQ 005
%%GOTO LABEL0001
%%ELSE
%%IF %%SCHID EQ 010
%%GOTO LABEL0001
%%ELSE
%%IF %%SCHID EQ 015
%%GOTO LABEL0001
%%ELSE
%%GOTO LABEL00XX
%%ENDIF
%%ENDIF
%%ENDIF
%%ENDIF
%%LABEL0001
%%IF %%OYEAR.%%OJULDAY GE 97010
%%IF %%OYEAR.%%OJULDAY LE 97250
%%SET %%HHMM = %%SUBSTR %%TIME 1 4
%%IF %%HHMM GE 0100
%%IF %%HHMM LE 1530
%%GOTO LABEL0002
%%ELSE
%%GOTO LABEL00XX
%%ENDIF
%%ELSE
%%GOTO LABEL00XX
%%ENDIF
%%ELSE
%%GOTO LABEL00XX
%%ENDIF
%%ELSE
%%GOTO LABEL00XX
%%ENDIF
%%LABEL LABEL0002
%%IF %%OYEAR.%%OJULDAY EQ 97010
%%SET %%HHMM = %%SUBSTR %%TIME 1 4
%%IF %%HHMM GE 1010
%%GOTO LABEL0003
%%ELSE
%%GOTO LABEL00XX
%%ENDIF
%%LABEL LABEL0003
%%IF %%OYEAR.%%OJULDAY EQ 97250
%%SET %%HHMM = %%SUBSTR %%TIME 1 4
%%IF %%HHMM LE 1212
%%GOTO LABEL0004
%%ELSE
%%GOTO LABEL00XX
%%ENDIF
%%LABEL LABEL0004
.
.
<JCL STATEMENTS>
.
.
%%LABEL LABEL00XX
Example 2
Assume the following CA-7 JCL override statement is in the same JCL member as the
statement in Example 1:
#JO,ID=205-250,BD=97010,ED=98010,CV=CU
It is converted to:
%%IF X%%$TAG NE X
%%SET %%SCHID = %%SUBSTR %%$TAG 1 3
%%ENDIF
%%IF %%SCHID GE 205
%%IF %%SCHID LE 250
%%GOTO LABEL01XX
%%ELSE
%%GOTO LABEL0101
%%ENDIF
%%ELSE
%%GOTO LABEL0101
%%ENDIF
%%LABEL0101
%%IF %%YEAR.%%JULDAY GE 98010
%%GOTO LABEL01XX
%%ELSE
%%GOTO LABEL0102
%%ENDIF
%%LABEL0102
.
.
.
<JCL STATEMENTS>
.
.
.
%%LABEL LABEL01XX
If you specified a value other than ' ' (Blank) for the &JOBCLAS conversion
parameter, which is described in “&JOBCLAS” on page 152, the conversion tool
builds quantitative resource parameters with a quantity of one in the format
JOBCLASS_resource-name[_$]
where
■ resource-name is either the user text specified in the JCL Job Class Translation Table
or the JCL job class
■ $ is a mask character
The exact format of the quantitative resource depends on specifications in the Job
Class Translation Table. For details, see “Step 8 - Modify and Run the JOB3 Member”
on page 79.
CONTROL-M IN conditions are used to specify that a job must wait for the
occurrence of an event before being submitted. A CONTROL-M procedure with the
default name IOACND can be used to add such conditions to the IOA Conditions file.
The way the conversion tool operates depends on the mode set by the &DEMAND
conversion parameter, which is described in “&DEMAND” on page 148. The
conversion tool converts CA-7 DEMAND[H] JCL Batch Terminal step operations to
one of the following:
■ CONTROL-M CTMJOB ORDER commands, to force a job into the Active Jobs file
■ IOACND ADD COND commands that add conditions to the IOA Conditions file.
The CA-7 JCL POST Batch Terminal step operation is converted to CONTROL-M
IOACND JCL steps that add conditions to the IOA Conditions file.
For an overview on DEMAND and POST processing, see “DEMAND[H] and POST
Commands” on page 30. For the format of the converted conditions, see “19.
DEP-JOB” on page 112.
The CONTROL-M DESC parameter of the demanded job scheduling definition is set
to contain the string “DEMANDED-JOB,” and the DESC parameter in jobs triggered
by the demanded job contains the string “DEMANDED-JOB-BRANCH.” DESC also
contains the schedule-ID.
NOTE
The parameters supported in the DEMAND[H] command are: JOB, SCHID, DEPJOB,
DOTM, PRTY, CLASS, and TYPE set to RES. The parameters supported in the POST
command are: JOB, NW, USR, and DEPJOB.
The only Batch Terminal commands converted are those specified as input to
programs and procedures listed in the Batch Terminal input file. For more
information, see “JOB4 - Convert JCL Members” on page 56.
The only Batch Terminal commands converted are those in non-concatenated SYSIN,
CA7DATA, and UCC7DATA DD statements, with or without a stepname
qualification.
Only one Batch Terminal command is recognized in each line, and the command
must begin in column 1. It can appear in any one of the following positions:
■ in a PDS member
■ in a sequential data set
■ instream, for example, following the statements //SYSIN DD * or //SYSIN
DD DATA, or no SYSIN statement at all
If Batch Terminal commands appear in the CA-7 PARM parameter on the EXEC
statement, only one command is converted, and the whole of that command must be
contained in one JCL line.
The CTMUTIL utility is the CONTROL-M equivalent of the CA-7 Batch Terminal
procedure. CTMUTIL serves as the umbrella procedure for invoking IOACND,
CTMJOB and CTMRELRS whenever their functionality is required. For more
information on the CTMUTIL utility, see Appendix D, “The CTMUTIL Conversion
Utility,”
NOTE
In rare cases, the non-restartable step feature may work differently in
CONTROL-M/Restart from the way it works in CA-11. CONTROL-M/Restart first
checks the condition codes, and determines whether a step will run.
If CONTROL-M/Restart determines that the step will not run, it does not continue to
check whether the step contains the CTRNORST DD statement. CA-11, however, first
checks whether the UCC11NR or CA11NR DD statement exists in the step, and
performs step adjustment accordingly. This can cause a job to restart at a different
step when CTRNORST DD statements are utilized than it would if UCC11NR or
CA11NR DD statements were in use.
The CA-11 comment statement //*CA-11 is used to override the setting specified by
the INSERT-RMS parameter. When the &CTR conversion parameter, which is
described in “&CTR” on page 144, is set to either Y or X, and
or
■ a CA-11 comment statement in the JCL of a job, before the first EXEC statement,
specifies
//*CA-11 INSERTRMS=YES
■ AUTO-ARCHIVE
■ SYSDB
■ PREVENT-NCT2
■ When the value of PARM is set to P or F, the DO IFRERUN restart step defaults to
$ABEND or $EXERR, depending on whether the &CTR conversion parameter is
set to Y or X.
■ The procedure name to identify the U11RMS step is determined from the
PROCRMS parameter of the RESTART statement in the CA-7 Initialization file.
If this parameter is not set, a default value of UCC11RMS is used. If this does not
agree with the actual CA-11 usage, which is set out in Table 20 on page 96, you
must insert the correct PROCRMS value in the RESTART statement before running
the conversion.
NOTE
The &CTRCONF conversion parameter determines whether manual confirmations of
restarts, using DO IFRERUN, are required.
When the U11RMS step contains the statement PARM=‘R, PSEUDO=YES’, you
must set up a CONTROL-M/Restart simulation run. For more information, see the
CONTROL-M/Restart User Guide.
The conversion tool adds a manual IN condition to the CONTROL-M job scheduling
definition to prevent the automatic submission of the job. The format of the condition
is:
SUSPEND_jobname
The conversion tool converts CA-7 RESCHNG JCL Batch Terminal Step operations
and # RES override statements to CONTROL-M JCL steps that change quantitative
resources allocated to a job. For more information, see “11. TYPE1 and TYPE2” on
page 104, and “Workload Balancing” on page 31.
RESOURCE quantities for a job, previously determined by the TYPE1 and TYPE2
parameters in the CA-7 job definition, are overridden by the CTMRELRS step.
The same conversion restrictions that apply to the DEMAND and POST commands,
which are described in “28. DEMAND[H] and POST” on page 120, also apply to the
RESCHNG command.
NOTE
Only RESCHNG commands with JOB subparameters that refer to the member in
which the command resides are converted.
35. OWNER
Identifies the CONTROL-M user ID in the job scheduling table.
The &USEROPT conversion parameter specifies the source from which the OWNER
parameter is to be taken. For more information, see “&USEROPT” on page 160.
36. SCHID
The CA-7 SCHID parameter provides a method of varying scheduling requirements,
job triggers, JCL overrides, and so on, for the same job.
Within CONTROL-M, a job in a Group scheduling table can be assigned different sets
of basic scheduling criteria by means of Schedule Tags. For each CA-7 SCHID
assigned to a job, the conversion tool creates a Schedule Tag in the Group Entity of
the Group Scheduling table. The name of the Schedule Tag is in the format
schedule-ID_head-of-tree-jobname[_n]
where n is an integer and indicates that a supplemental schedule tag had to be created
for the same CA-7 scheduling criteria.
This occurs when the CA-7 scheduling criteria are so complex that a single
CONTROL-M schedule tag is insufficient, for example, where the conversion of CA-7
scheduling criteria requires
Each Schedule Tag is then placed into the appropriate job scheduling definition.
NOTE
Schedule Tags are sometimes generated in CONTROL-M jobs even though there is no
corresponding CA-7 SCHID with defined scheduling criteria. This can happen
■ when a triggered job within a CA-7 job definition has a SCHID that is not defined
■ in group scheduling tables containing DEMANDed jobs
The CONTROL-M %%$TAG AutoEdit system variable contains the name of the
Schedule Tag that causes the job to be scheduled. When the CA-7 JCL of a job
contains CA-7 JCL override statements in the format
# JI, ID=. . .
This extracts the first three characters of the CA-7 SCHID Schedule Tag. For an
example, see “26. # JI, # JO, and # JEND, # XI, # XO, and # XEND Statements” on
page 117.
In the following instances, the %%$TAG variable is not used to derive a value for
%%SCHID in the converted JCL:
■ For DEMANDed jobs, a SET VAR %%SCHID AutoEdit variable is used to create
DEMANDed job definitions. The SET VAR %%SCHID AutoEdit variable value is
set from the SCHID parameter contained on the DEMAND JCL Batch Terminal
statement. If there is no CA-7 SCHID parameter, the %%SCHID value is taken
from the schedule ID of the job that invokes the DEMANDed job.
■ When the CA-7 SCHID of a job is changed from nnn to mmm by means of the
statement SCHID=nnn/mmm in the TRIGGERED JOBS section of the LJOB report,
the CONTROL-M SET VAR AutoEdit variable %%CHG_SCHID is set to the
changed SCHID (mmm). In the JCL conversion of the corresponding JCL members,
ensure the proper resolution of %%SCHID by using the following code:
%%RESOLVE NO
%%IF %%CHG_SCHID GE 0
%%SET %%SCHID = %%CHG_SCHID
NOTE
Non-scheduled, single-purpose jobs are created with Schedule Tag names in the form
000_jobname.
The conversion tool specifies the CA-7 Alternate JCL library name using the
CONTROL-M OVERLIB job scheduling definition parameter.
A value of DUMMY overrides the alternate JCL library name specified in the
OVERLIB parameter when EXEC is set to N. For more information, see “8. EXEC” on
page 101.
38. SHOUT
Causes specific messages to be sent by CONTROL-M (“shouted”) to predetermined
destinations on predefined occasions.
The conversion tool uses the start time to set the SHOUT
message to indicate that the job is late when the specified time
has passed. For more details, see the STARTM parameter in
the LJOB report.
Note: If the SHOUT WHEN LATESUB time is equal to the
TIME FROM parameter, which is discussed in “15. SBTM” on
page 108, one minute is added to the SHOUT WHEN
LATESUB time to prevent a “late” SHOUT when the job is
submitted.
WHEN LATE * Send a SHOUT message when a job has not finished executing
by its DUE OUT time, which is discussed in “16. DOTM and
LDTM” on page 109.
WHEN EXECTIME The CA-7 CLOCK-TIME, that is, the weighted average elapsed
> nnn runtime of the job, is used to calculate if a SHOUT WHEN
EXECTIME value, in minutes, has been exceeded.
The CLOCK-TIME of the job is added to the quantity specified
in the &SHOUTX conversion parameter and used in the
CONTROL-M SHOUT WHEN EXECTIME > nnn parameter,
which sends the message %%JOBNAME HAS EXCEEDED
RUN TIME LIMIT.
The &SHOUTT conversion parameter specifies the SHOUT message text for failed
jobs. The default is
The &SHOUTL conversion parameter specifies the SHOUT message text for jobs
submitted late. The default is
The &SHOUTE conversion parameter specifies the SHOUT message text for jobs that
are still executing after their DUE OUT time. The default is
■ %%JOBNAME and %%JOBID are the Auto Edit variables in which the name of the
submitted job and the JES job number are placed
■ %%$MEMNAME is the AutoEdit variable in which the JCL member name of the
job to be submitted is placed
40. MAINID
The CA-7 MAINID parameter specifies on which CPU a job may or may not be
scheduled.
To display a list of all the CA-7 MAINID specifications that are assigned to the CA-7
SUBMIT data sets or internal reader, use the following CA-7 command:
/DISPLAY,CPU=ALL
The user must supply a CPUID translation table (the DACPUID DD statement) that
associates a system ID with each MAINID. For more information, see “JOB3 - Create
CONTROL-M Scheduling Tables and CMEM Rules” on page 50.
The conversion tool converts MAINID in the format SYn or /SYn by using the
system ID associated with n (from the CPU Translation table) to create a %%SYSID
AutoEdit variable in the CONTROL-M SET VAR parameter in the job scheduling
definition.
The JCL of jobs that require system affinity is then modified by Exit 2 (the Job
Submission exit) by inserting one of the following JES statements before the first step:
The %%SYSID AutoEdit variable is resolved from the value supplied by the SET VAR
parameter.
MAINID specifications of the form /SYn, meaning do not schedule on system n, are
only supported for JES3 systems. The %%SYSID AutoEdit variable then takes the
form /system-id.
For additional information, see “Network Communications Facility” on page 35, and
“Step 11 - Modify and Run the JOB7 Member” on page 83.
41. INITR
The total number of initiators available to CA-7 is indicated in the TOTAV parameter
of the CA-7 INITR Workload Balancing macro.
SYSOUT OP N new-dest
where
■ N specifies that the held output destination of the job is to be changed to new-dest
■ new-dest is the first eight characters of the destination parameter specified on the
JES ROUTE PRINT statement
The JES ROUTE PRINT statement is deleted from the JCL run stream.
44. DEP-JOB=?
The CA-7 DEP-JOB job connection parameter can be used to specify a job name
preceded by ? (question mark). This type of job name indicates a conditional job
dependency. Conditional job dependencies work as follows.
The CONTROL-M Maybe Jobs feature can be used to simulate this “conditional
handling” of predecessor prerequisites. For more information, see the discussion of
Maybe Jobs in the CONTROL-M for OS/390 and z/OS User Guide.
The conversion tool facilitates use of the Maybe Jobs feature by creating IN conditions
in the following format:
?jobname-OK ODAT
This format enables the ADDMNCND KSL utility script to use the special character
“?” (hexadecimal 6F) to recognize conditions of this type. For more information on
the ADDMNCND utility script, see the Keystroke Language chapter of the
CONTROL-M for OS/390 and z/OS User Guide.
The conversion tool converts DONT SCHEDULE BEFORE and DONT SCHEDULE
AFTER parameters to CONTROL-M DEFINITION ACTIVE FROM and DEFINITION
ACTIVE UNTIL values in the relevant job scheduling definitions.
Dates are converted into the Gregorian format using a 2-digit year. The precise date
format that is applied depends on the value specified for the IOA DATETYP
installation parameter.
Upon conversion, the values in CA-7 DONT SCHEDULE BEFORE and DONT
SCHEDULE AFTER parameters are inserted into the DEFINITION ACTIVE FROM or
DEFINITION ACTIVE UNTIL parameters respectively of both the job being
converted and any of its dependent jobs which do not already have any values
specified in those parameters.
46. #HLD
The CA-7 JCL # HLD override statement specifies that the job must be held.
The conversion tool converts the # HLD override statement to the following JCL
IOATEST utility step:
This step causes the job to wait for an operator reply until the HOLD can be removed.
47. #NOX
The CA-7 # NOX override statement in the JCL member indicates that the job must
not be executed.
The conversion tool converts the # NOX override statement to the following JCL and
AutoEdit statements:
and at the end of the member adds the following AutoEdit statement:
This has the effect of turning the job into a dummy job.
48. #MSG
The CA-7 # MSG override statement in the JCL member is used to send messages to
the CA-7 Master Station at job submission time.
The conversion tool converts the # MSG override statement to the following JCL
IOANOTE utility step:
// EXEC IOANOTE,PARM=‘message-text’
The first 48 bytes of the message text are placed into the PARM parameter.
49. #VER
The JCL CA-7 # VER override statement specifies that the job requires manual
verification.
The conversion tool converts the # VER override statement to the following JCL
IOATEST utility step:
// EXEC IOATEST,
// PARM=’WTOR=JOB %%JOBNAME REQUIRES MANUAL VERIFICATION’
This causes the job to wait for any operator reply after the manual verification has
been satisfied.
51. DPROC
The CA-DRIVER procedure definition statement DPROC is used to start a procedure
that consists of all the statements following the DPROC statement. A default value
can be optionally defined for each variable.
The conversion tool creates one member for every CA-DRIVER procedure and places
these members in a special CONTROL-M library called PROCLIB.
The CONTROL-M %%SET AutoEdit control statement is used to set values for
user-defined variables. The conversion tool converts each default value that is
assigned to a variable in the DPROC statement into an appropriate CONTROL-M
%%SET AutoEdit control statement.
■ In CA-DRIVER, default values can be specified in the EXEC statement, for the
variables of the procedure. If values are specified in both the DPROC statement
and the EXEC statement, the values on the EXEC statement override the DPROC
default values.
In order to create a unique member name for every EXEC statement with default
values, the conversion tool uses three CONTROL-M AutoEdit variables:
The conversion tool establishes the connection between the default values member
and the converted procedure by adding the CONTROL-M %%INCLIB and
%%INCMEM AutoEdit control statements after all the CONTROL-M %%SET
AutoEdit control statements that were created from the CA-DRIVER DPROC
command.
■ The %%INCLIB and %%INCMEM control statements copy the PARMLIB default
values member created from the EXEC statement.
52. (D)STEP
The CA-DRIVER procedure (D)STEP command is used to assign a name to a control
statement. Naming a control statement enables branching to the statement from (D)IF
or (D)GOTO commands.
53. (D)GOTO
The CA-DRIVER procedure (D)GOTO command is used to stop procedure
expansion, branch forward and backward to another control statement, and continue
expansion from that point.
54. (D)SET
The CA-DRIVER procedure (D)SET commands are used to change the value of a
variable during conditional expansion.
55. (D)IF
The CA-DRIVER (D)IF procedure command is used for conditional forward and
backward branching.
The conversion tool creates a member in a special library called DATALIB. The
member contains the statements between the EXEC and DEND statements. The name
assigned to this member is the job name, with a suffix of an ascending number
appended to it.
The conversion tool establishes the connection between the statements in the member
and the converted procedure by converting the CA-DRIVER DATA statement to the
CONTROL-M %%INCLIB and %%INCMEM AutoEdit control statements. These
control statements copy the statements in the member. The %%INCLIB statement
specifies the name of the DATALIB library. The %%INCMEM statement specifies the
%%MEMNAME AutoEdit variable.
57. (D)NEST
The CA-DRIVER (D)NEST procedure commands are used to call another
CA-DRIVER procedure, which can, in turn, call another procedure.
58. (D)ABORT/DFLUSH
The CA-DRIVER (D)ABORT/DFLUSH procedure commands are used to completely
terminate the procedure expansion.
The variable date definitions shown in Table 28 depend on the site date format
standard.
NOTE
These variables are defined in the DAYMONTH AutoEdit Global Definition member.
You must edit this member to choose the proper format. For more information, see
item 6 under “Step 14 - Final Adjustments” on page 3-87.
The CA-DRIVER Attribute functions that are supported are listed in Table 30:
The DEFAULTS parameter member in the conversion SOURCE library contains these
unique parameter settings, and must be reviewed and modified to specify your local
CONTROL-M preferences. For more information about these parameters, see
Appendix A, “Conversion Parameters” and the CONTROL-M for OS/390 and z/OS
User Guide.
CATEGORY
This CONTROL-M parameter specifies the CONTROL-D report decollating mission
category that must be scheduled under CONTROL-D when the job is scheduled
under CONTROL-M. This option is only available if CONTROL-D is installed at your
site. For more information, see the description of the D-CAT parameter in the
CONTROL-M for OS/390 and z/OS User Guide.
For example, if the character string is //*CTDMC=, the following statements in the
CA-7 JCL
//*CTDMC=XYZ
//*CTDMC=DAILY
jobname-usertext ODAT+
The variable jobname is the CONTROL-M MEMNAME of the job, and the variable
usertext is specified in the &CTDCOND conversion parameter.
For example, if the value specified in &CTDCOND is '-ENDED-OK' and the job
scheduling definition of the ABC job has a CATEGORY parameter, then the OUT
condition
ABC-ENDED-OK ODAT+
DO SYSOUT
This CONTROL-M parameter specifies how the job output is to be handled.
The conversion tool can be instructed to specify various actions using the
CONTROL-M DO SYSOUT facility.
The &FROMC conversion parameter specifies which of the held sysout classes must
be requeued. For more information on this parameter, see “&FROMC” on page 151.
MAXWAIT
This CONTROL-M parameter specifies the number of extra days a job must wait to be
executed in the Active Jobs file until it is disregarded. This 2-digit parameter accepts
values in the range from 00 through 98, or 99, and is specified in the &MAXWAIT
conversion parameter, which is described in “&MAXWAIT” on page 154. The default
value is 03.
However, this does not apply when CA-7 SYMETRIC schedules are being converted.
For more information, see “17. Scheduling Information” on page 109.
A Conversion Parameters
CONTROL-M conversion parameters are defined in the DEFAULTS member in the
conversion source library. These conversion options must be modified to fit your
local site requirements, and are described in Table 31 in alphabetical order.
When many jobs run more than once each day, this parameter
is useful for cleaning “used” conditions from the IOA
Conditions file, so that a condition that triggered a successful
job run does not trigger subsequent job runs.
Warning! Do not set &DELCOND to A or Y if different jobs
wait for the same IN conditions, or these jobs will be
prevented from executing.
■ CTM. Default.
■ CA7
Default: 10000
&FROMC Which of the held sysout classes must be requeued. Specify ‘ ’
(blank) if all held sysouts must be requeued.
Default: ‘ ’ (Blank)
Default: INITIATOR
&JESRPRT Specifies whether JES ROUTE PRINT JCL statements are to be
converted to CONTROL-M SYSOUT post-processing
parameters. Valid values are:
Since not all users utilize all the above variables in their
CA-DRIVER procedures, this conversion parameter enables
you to choose whether to create the corresponding SET VAR
parameters in the job scheduling definitions, thereby
preventing clutter in the job scheduling definitions. The choice
is indicated by coding a positional Y (Yes) or N (No) value in
the &L2VARS parameter.
Default: &L2VARS=NNNNNNNNNN
For more information, see “13. SCAL” on page 105, and “JOB2
- Create the Applications List, Calendar Libraries, and
Calendar Names List Files” on page 46.
■ N (No) – The deadline start time is used only when the job
has no prerequisite IN conditions, accompanied by a
warning message, CTMCA705-06W; otherwise, the
CONTROL-M FROM TIME is left blank. Default.
&SUPMSG Whether messages are suppressed in JOB3. Valid values are:
B Messages
This list contains only messages produced by the components of the conversion tool.
Messages issued by other CONTROL-M components are described in the
INCONTROL for OS/390 and z/OS Messages Manual.
CTMyyyaa-nnx
CTM indicates that the message pertains to CONTROL-M. The variables in the
message are:
Item Explanation
yyy 3-character identifier of the conversion tool component that produced
the message. Examples:
■ CA7—CTMCA7aa-nnx
■ CA-DRIVER—CTMDRyaa-nnx
aa 2-character identifier for the component that produced the message.
nn 2-character numeric identifier for the message.
x 1-character alphabetic identifier for the severity of the message. Valid
values are:
■ R – Action
■ E – Error
■ I – Information
■ S – Severe
■ W – Warning
Explanation: A description of the cause of the message, and other related information.
System Action: System action when this message is issued.
User Response: Recommended actions to correct the problem.
CTMCA701-01S
Explanation: Beginning at the jobname job, the CA-7 LJOB report is not sorted in job
name order.
System Action: The step terminates with a return code of 12. The rest of the job is
flushed.
User Response: Do the following:
1. Ensure that all CA-7 LJOB reports are concatenated in sorted job name order, or
that all multiple CA-7 LJOB commands in the CA-7 Batch Terminal program are in
sorted job name order and do not overlap.
CTMCA702-00W
Explanation: No CA-7 JCL control statements were found in the CA-7 Initdeck file.
System Action: JOB3 bypasses all JCL checking and processing.
CTMCA702-01W
Explanation: The jobname CA-7 job name differs from its JCL member name.
In CONTROL-M, jobs are identified by their JCL member names, and the conversion
tool uses the JCL member name as the job identifier. When the CA-7 job name differs
from its JCL member name, the conversion tool creates an INCLUDE member in the
library referenced by the DAINCLIB DD statement.
User Response: Consider installing CONTROL-M Exit 2. For more information, see
“Step 12 - Modify and Run the JOB8 Member (Optional)” on page 84.
Explanation: The Applications List file (the DASYN DD statement) contains duplicate
occurrences of the tablename CONTROL-M scheduling table name. Since scheduling
table names are also PDS member names, they must be unique.
User Response: Do the following:
1. Replace duplicate occurrences of tablename in the Applications List file with unique
scheduling table names
2. Rerun JOB3.
CTMCA702-04E
CONTROL-M SCHEDULING TABLE NAME tablename NOT A VALID PDS MEMBER NAME
1. Replace tablename in the Applications List file with a valid PDS member name.
2. Rerun JOB3.
CTMCA702-05W
Explanation: The CA-7 job definition for the jobname job states that the JCL member of
the Override library must be used for the next run of jobname. However, the
conversion uses the JCL member from the original library (identified by the CA-7
JCL ID).
User Response: Check modifications of the JCL in the Override library. The
CONTROL-M AutoEdit facility can be used to perform JCL modifications.
CTMCA702-06W
Explanation: Triggering networks are not supported and are not converted.
■ The DASYSN DD statement in JOB3 does not point to the correct file.
■ An error occurred when JOB2 was creating the Application List file.
■ You may have modified the LJOB command in JOB1 (LJOB,JOB=*) to produce only
a subset of all the CA-7 jobs, which may have been insufficient to produce an
Application List file in JOB2.
User Response: Do the following:
1. Check that DASYSN points to the correct file, correct the JCL, and rerun JOB3.
CTMCA702-08W
Explanation: The jobname job contains a DSN-type job connection. The dsn data set
that creates the connection can be created by more than one job.
User Response: You must manually define IN prerequisite conditions, OUT
prerequisite conditions, or both, to connect the creating jobs to the jobname job in the
respective CONTROL-M job scheduling definitions.
System Action: The dsn connection is ignored.
CTMCA702-09E
Explanation: The CA-7 job definition for the jobname job contains a job-level condition
code that uses an unknown relational operator.
System Action: The condition code is ignored by the conversion tool.
User Response: Do either of the following:
■ Correct the relation operator in the RO parameter of the CA-7 database, and rerun
JOB1 and JOB3.
CTMCA702-10E
Explanation: A problem occurred while the conversion tool was analyzing relevant
lines in the CA-7 Initdeck member. The conversion tool uses the CA-7 Initdeck in
order to extract the CA-7 JCL library names, determine the job entry subsystem to
which JCL is submitted (JES2 or JES3), and so on.
User Response: Correct the specification of the DAINIT DD statement in the JCL of
JOB3 and rerun the job.
CTMCA702-11S
Explanation: The conversion tool found the jobname job twice in the LJOB report.
Since job names are unique in the CA-7 database, the error is probably due to a
problem in the DAREPORT DD statement in the JOB3 JCL member.
1. Correct the specification of the DAREPORT DD statement in the JCL of JOB3, and
rerun JOB3.
2. Make sure that you have not concatenated multiple LJOB reports that contain jobs
of the same name. If this is the case, each LJOB must be separately converted.
CTMCA702-17S
Explanation: JOB1 and JOB3 contain a parameter that specifies the maximum number
of jobs that can be handled. In the case of JOB1, this parameter is in the PARM
parameter in the EXEC statement of STEP5. In the case of JOB3, it is in the PARM
parameter in the EXEC statement of STEP2. The CA-7 LJOB report contains more jobs
than the value specified in that parameter.
User Response: Increase the relevant PARM value or values, and rerun JOB1, JOB3, or
both JOB1 and JOB3, as appropriate.
JOB jobname SCHEDULE ID schid CONTAINS DOTM/STARTM BEFORE NEWDAY TIME, AND
SUBTM IS AFTER
Explanation: The jobname CA-7 job definition for schedule ID schid specifies either
DOTM or STARTM between midnight and the CONTROL-M New Day Start time
(that is, the start of the new logical workday), but the SUBTM time is after the New
Day Start time.
Generally, SHOUT WHEN LATE messages are issued at the start time of the job.
However, when the submission time is after the New Day Start time, the SHOUT
WHEN LATE message is only issued after the New Day Start time.
CTMCA705-01W
JCL MEMBER memname NOT FOUND IN lib – WILL NOT BE EXECUTED, RC=nn
Explanation: During the conversion process the JCL member of each job is read in
order to extract additional information. The specified JCL member could not be
found in the lib library, or in its alternate JCL library, if one was specified using the
ALT parameter of the JCL Initialization Statement.
For an explanation of the return code nn, see the CTMCA799-03S message.
System Action: The CONTROL-M job scheduling definition is created, but the job
cannot run if the JCL member cannot be found.
User Response: Determine whether the job is needed. If it is needed, create a JCL
member for the job.
CTMCA705-02S
SYSTEM sysname SCHID schid NOT FOUND IN APPLS TABLE – PROCESSING STOPS
Explanation: While trying to assign the CONTROL-M scheduling table name to a job,
its CA-7 system name and schedule ID could not be located in the Applications List
file. This error indicates that the Applications List file was probably incorrectly
modified manually.
System Action: The job stops processing.
User Response: Correct the Applications List file and rerun JOB3.
CTMCA705-03E
Explanation: The conversion tool could not find the jobname job in the LJOB report.
■ The jobname job, which appears as a dependent (successor) job of the trigjob job in
the LJOB report, does not itself appear in the LJOB report.
System Action: The conversion tool cannot define the jobname job.
User Response: Determine whether the jobname job is needed. If it is needed, do one of
the following:
■ Check and correct the CA-7 database (for the jobname job) and rerun JOB1 and
JOB3.
CTMCA705-04I
CTMCA705-05E
TOO MANY LEVELS FOR JOB TREE STARTING WITH JOB jobname SCHEDULE ID schid
Explanation: As supplied, the conversion tool can handle job trees of up to 255 levels.
The specified job tree contained too many levels.
This usually means that a recursive job tree has been defined in the CA-7 database for
the CA-7 jobs. The recursive job can be defined by triggering, or by a DEMAND from
the JCL.
User Response: Verify that there is no recursive job tree in the CA-7 database.
CTMCA705-06W
Explanation: The jobname CA-7 job definition for the schid schedule ID contains no
prerequisite conditions.
Since CONTROL-M submits jobs at the earliest possible time, this job is submitted
immediately after the New Day procedure.
CTMCA705-07S
Explanation: When the CA-7 job name differs from its JCL member name, the
conversion tool creates an INCLUDE member in the library referenced by the
DAINCLIB DD statement. This message indicates that an error occurred when the
program tried to obtain the name of the library.
System Action: The program terminates.
User Response: Verify that the DAINCLIB DD statement is pointing to a correctly
allocated PDS.
CTMCA705-08I
Explanation: This information message indicates that a JCL INCLUDE member has
been written to the INCLIB library pointed to by the DAINCLIB DD name.
CTMCA705-09E
1. Check the JCL DEMANDs or the TRIGGERED JOBS definition within the
application structure. If jobname is a non-recursive JCL DEMAND job, consider
increasing the value of &JOBMXOC.
Explanation: The conversion tool could not find a calendar in the Calendar Names
List file (created by JOB2) to supply the proper calendar name in the DCAL
parameter of the CONTROL-M job scheduling definition.
Most likely, the CA-7 job schedule was not RESOLVEd. Therefore, no schedule day
calendar was available for display in the LSCHD report, produced in JOB0, to be used
in the CONTROL-M DCAL parameter. This leads to improper Basic Scheduling
parameters being created in the job scheduling definition.
Alternatively, you can manually update the CONTROL-M job scheduling definition
to conform to the CA-7 scheduling definition parameters.
CTMCA705-11W
Explanation: The conversion tool found that the jobname job of the schid schedule ID is
either triggering or demanding itself. To prevent such looping, the conversion tool
ignores this recursive definition.
User Response: Use the CONTROL-M TASKTYPE cyclic job scheduling definition to
accomplish this task. To prevent the job from being continually resubmitted, it is
recommended that the cyclic job either delete the prerequisite conditions that
triggered its operation, or set a TIME UNTIL parameter.
CTMCA705-12W
Explanation: In a CA-7 # SCC JCL override statement in the jobname job, the
conversion tool encountered a relational operator, ro, that is not supported by
CONTROL-M.
System Action: The job continues processing, but the # SCC statement is ignored.
PHASE 2
Explanation: The CA-7 conversion tool is entering a second phase, converting any
CA-7 jobs that were not processed during the main conversion phase.
Normally, if the CA-7 database (the LJOB report) was maintained as required, you do
not see any further messages after this message. If there are any further messages, the
probable reason is that the CA-7 database contains “orphan” job definitions or
“broken” triggering structures. Conditions of those types are normally indicated by
occurrences of the CTMCA705-O3E message during the main conversion phase.
CTMCA705-24S
Explanation: The number of calendars produced in JOB2 exceeds the value specified
in the &MAXCALS conversion parameter.
System Action: The job stops processing.
User Response: Do the following:
CTMCA706-01E
Explanation: While processing the jobname job in a CA-7 or CA-11 JCL library, the
conversion tool encountered an invalid PARM parameter in a CA-11 U11RMS step.
System Action: The PARM parameter is not converted, but the job continues
processing.
User Response: Do the following:
1. Correct the PARM parameter. For more information, refer to the CA-11 User Guide.
2. Rerun JOB3.
CTMCA706-03E
Explanation: While processing the jobname job in a CA-7 or CA-11 JCL library, the
conversion tool encountered an invalid JOB or SCHID or DEPJOB parameter in a
CA-7 DEMAND[H] statement.
The JOB or DEPJOB parameter may contain a jobname exceeding eight characters, or
the SCHID may contain a non-numeric schedule-id, or a schedule-id exceeding eight
digits.
System Action: The DEMAND statement is not processed, but the job continues
processing.
User Response: Correct the DEMAND statement and rerun JOB3.
CTMCA707-00R
HAVE YOU ENSURED THAT PROD JCL LIBRARIES WILL NOT BE MODIFIED (SECT3/STEP2)
(Y/N)?
Explanation: This query is always issued by JOB4 to force verification that Step 2
(described in “Step 2 - Copy CA-7 and CA-11 JCL and CA-DRIVER Libraries and
Initdeck” on page 73) has been carefully followed, so that copies of the Production
JCL libraries are converted to CONTROL-M format and not the actual Production
JCL libraries. For more information, see “&PNIBTSD” on page 154.
System Action: If the reply is N, the program terminates without processing the JCL
libraries. If the reply is Y, normal JCL library conversion is performed.
User Response: Reply Y (Yes) or N (No) as appropriate.
CTMCA709-01E
■ An in-stream POST command did not specify one or more of the following
parameters:
■ The Batch Terminal SYSIN DD statement does not specify in-stream data, and the
JCL DSN parameter could not be found in the SYSIN DD statement.
■ An in-stream ADDRQ or D=dsn command was specified, but these are not
supported.
■ For errors involving SYSIN (only), the explanation is contained in the message
immediately preceding this message.
System Action: The cmd command is not converted, or is only partially converted.
CTMCA709-02W
Explanation: While processing the jobname job in a CA-7 or CA-11 JCL library, the
conversion tool encountered an unsupported PARM parameter in a CA-7 Batch
Terminal step.
User Response: Examine the PARM parameter to determine if any manual actions are
necessary to incorporate the unsupported feature in CONTROL-M.
System Action: The PARM parameter is nullified by placing a blank at the end of the
PARM statement.
CTMCA710-01E
CTMCA710-03I
Explanation: Informational message indicating that the tbl scheduling table in the
scheduling table library has been updated with new resources or conditions.
CTMCA710-04E
Explanation: The tbl scheduling table, which requires a resource or condition update,
could not be found in the scheduling libraries pointed to by the DASCHD
DD statement.
The Job-to-Resource Cross Reference report may not agree with the LJOB report.
User Response: Ensure that the Resource Cross Reference report and the LJOB report
are synchronized, and rerun JOB5.
Explanation: The Cross Reference file contains no data. The error may be due to one of
the following:
■ The DAXREF DD statement in JOB5 does not point to the correct file.
■ An error occurred when JOB3 was creating the Cross Reference file.
1. Check the Cross Reference file created by JOB3 and make any necessary
corrections.
2. Rerun JOB3.
3. Rerun JOB5.
CTMCA710-12E
■ The DAREPIN DD statement in JOB5 does not point to the correct file.
■ The &REL conversion parameter in the DEFAULTS member was incorrectly
specified.
■ there are no processable resources contained in the DAREPIN file. Only the
following types of resource are supported:
— exclusive
— shared
— corequisite
— resource count resources.
System Action: The job stops processing.
User Response: Do the following:
CTMCA799-02E
If the message is issued by JOB1 or JOB3, it is possible that the PARM value on the
EXEC statement is too high. In some cases, the name of the member (memname) and
DD name (ddname) for which the function failed are displayed in the message.
CTMCA799-03S
CTMCA799-04E
Explanation: JCL Library lib contains more members than are specified in the
&DIRMAX DEFAULTS member parameter.
System Action: The library is not processed.
User Response: Do the following:
CTMCA799-06E
Explanation: The memname JCL member contains more lines than are specified in the
&LINMAX DEFAULTS member parameter.
System Action: The job continues processing, but the specified member is skipped.
CTMCA799-08I
CTMCA799-09I
Explanation: This information message indicates that the memname JCL member, or a
member (memname) pointed to by the SYSIN statement in a JCL member, has been
modified. Note that lines may have been deleted without conversion from the
memname member because their function was not supported by the converted
CONTROL-M utility.
CTMCA799-13S
Explanation: The input list (the DAJCLIN DD statement) may contain up to 256
library names. This maximum has been exceeded.
User Response: Split the input list into different runs of the job.
CTMCA799-18S
Explanation: The job could not find the CTMMEM CONTROL-M installation
parameters load module.
System Action: The program terminates.
User Response: Check that the IOA LOAD library is specified in the STEPLIB
DD statement, then rerun the job.
CTMCA7V5-11E
Explanation: When the &DELCOND option in the DEFAULTS member is set to “A”,
the conversion can create a maximum of 600 OUT conditions in a group entity to
delete conditions. This message indicates that this group scheduling table already
contains 600 defined OUT conditions and no additional conditions will be added to
the table.
System Action: The program continues executing.
User Response: Manually split the group scheduling table into multiple tables,
thereby reducing the number of OUT conditions in each table.
CTMCA7V5-12S
Explanation: The maximum number of lines in a group entity has been exceeded.
System Action: The program terminates with a return code of 12.
User Response: Increase the value of the &MAXGENT parameter in the DEFAULTS
source member, then rerun the ASMLINK and JOB7 jobs. The value of the
&MAXGENT parameter should be approximately 5% of the number specified in the
PARM of the EXEC statement in STEP2 of JOB7.
CTMDRPRC-05E
Explanation: Either the conversion tool does not support the CA-DRIVER feature
specified (statement), or an error was encountered while attempting to convert a JCL
or CA-DRIVER procedure statement in the memname member in a JCL or
CA-DRIVER procedures library.
CTMDRPRC-06E
Explanation: The conversion tool does not support the CA-7 CAJUTIL0 or
CAICHERL report utilities specified in a JCL or CA-DRIVER procedure member.
System Action: The JCL or CA-DRIVER procedure member (memname) containing the
unsupported option is not converted.
User Response: You can manually complete the procedure member conversion, if
required. For CONTROL-M reporting options, see the discussion of reporting
facilities in the INCONTROL for OS/390 and z/OS Utilities Guide.
CTMDRPRC-07S
1. Increase the value of the AREASIZE parameter, which specifies the maximum
number of bytes for GETMAIN, in the CTMDRPRC program.
3. Rerun JOB8.
CTMDRV01-09I
CTMDRV02-08I
Explanation: This information message indicates that the conversion of the JCL
procedure libraries has ended.
1. Check previous messages of JOB8 in the Conversion messages file (the DAMSG
DD statement).
3. Rerun JOB8.
CTMDRV02-12E
In CA-DRIVER, default values can be specified for the procedure variables in the
EXEC statement. The conversion tool creates a member that contains a CONTROL-M
Auto-Edit %%SET control statement for each default value. The name assigned to this
member is the job name with a suffix of an ascending number appended to it. For
more information, see Chapter 4, “Conversion Details.”
The member name length exceeded the maximum allowed, which is 8 characters.
CTMDRV02-13E
CTMDRV02-14E
This appendix outlines the key Business Integrated Scheduling (BIS) functions and
environmental metrics required to determine the initial level of effort associated with
the migration of business processing to CONTROL-M.
Include in this list those who support the current environment and who require
training or retraining and/or mentoring, such as operators, production control
administrators, product administrators, production analysts, application support
and programming personnel, security administrators, and so on.
— CA-7
— CONTROL-M
— the conversion utilities
3. Identify the exact release or version number of CA-7 that you are currently using.
Obtain sufficient information to respond to the issues raised in this section. Record
the answers carefully, because they will be of importance during and after the
conversion to CONTROL-M.
■ What resources, such as tape drives, initiators, and so on, do you use at your site?
■ What MVS images, that is, CPUs, LPARs, and Sysplexes, will be available to
CONTROL-M when running production jobs?
— coupling facility
— shared spool
— NJE
— some other method
Are the systems managed separately or collectively? Is there job flow between
systems?
— how many?
— how are they managed?
3. Consider the typical application flows at your site. The following are useful
questions to ask:
■ Which are the three key applications, in terms of size, complexity, or value to
your business?
4. List any products you use to support production scheduling, such as console
automation, job restart products, and so on.
If you think that CONTROL-M will not make some product redundant, obtain as
much information as possible about that product, to enable you to decide how the
product will interface with CONTROL-M.
5. List all your applications, interfaces, user or system exits, reports, and similar
material, that
— operators, system programmers, and other third parties have customized, and
Include interfaces used to submit jobs from an internal front-end process, as well
as any interface used to issue commands and/or perform tasks using batch utility
programs.
Consider whether you can use CONTROL-M to implement these functions and/or
features.
6. Do you manually schedule any jobs or their logical successors on demand, instead
of allowing the system to schedule jobs? If you do,
■ list each job and record the way you deal with it
■ consider whether CONTROL-M can be used to schedule these jobs
automatically
8. Consider your job concurrency requirements, and the way you meet those
requirements. Examples of questions to ask are the following:
■ Do you use job triggering, so that the completion of one job causes another job to
be submitted or ordered?
■ Do you use job dependencies, meaning that one job (the “waiting job”) does not
start until another has finished, even though the waiting job is submitted or
ordered in some other way?
■ Do you use negative job dependencies, meaning that if a job fails, another job
starts?
9. How do you manage such resources as tape drives, initiators, and so on?
10. Consider the following questions about the jobs your systems currently perform:
11. How many jobs use JCL automation features? Identify the type of automation
used.
12. How many jobs are scheduled using data set triggering?
Are the proposed solutions acceptable in all cases? If not, identify alternative
solutions, such as the use of the supplied user exits.
2. Is there any aspect of the way you use CA-7 that may not be reflected in the reports
and parameter files used by the conversion program?
3. Prepare the names to be used for libraries, table names, job names, conditions,
resources, and so on, in the output of the conversion, in order to reflect the way
you want the CONTROL-M environment to appear to users.
4. Consider whether at this stage you are converting the entire production
environment, or just one application? If you are only converting one application,
determine
Consider whether you can yet identify any other pitfalls ahead, and if so, how to
avoid the problems they appear to present.
The CTMUTIL utility is used to invoke the IOACND IOA utility, and the CTMJOB,
and CTMRELRS CONTROL-M utilities. For a detailed description of these utilities,
see the INCONTROL for OS/390 and z/OS Utilities Guide.
In JOB4, the CTMUTIL utility replaces the CA-7 Batch Terminal steps in the
converted CA-7 JCL libraries. It provides the equivalent functionality.
— to add conditions to the IOA Conditions file, using the command ADD COND
condition_name ODAT
— to force jobs into the CONTROL-M Active Jobs file, using the command ORDER
DD=DMD MEM=demanded_job FORCE
You must set up a JCL procedure with the procedure name CTMUTIL for invoking
the CTMUTIL utility program. The procedure must include the following
DD statements:
The files to which these DD statements refer can be determined directly from the
existing CONTROL-M IOACND, CTMJOBPR and CTMRELRS procedures, which
can be found in the IOA PROCLIB library.
The DMD DD statement must point to the library containing the tables consisting of
demanded jobs, as head-of-tree, and the jobs triggered by the demanded jobs
produced in JOB7, STEP3.
SYSIN is the file containing the ADD COND, ORDER and CHANGE RESOURCE
commands. It can be coded as DDNAME=SYSIN, or it can be omitted from the
procedure.
Product Conversion
CA-7/NCF CA-7/NCF is totally replaced by native CONTROL-M
support. For more information, see “Network
Communications Facility” on page 35.
CA-7/RPT An automatic conversion tool to convert CA-7/RPT to
CONTROL-D is available. Contact your BMC Software
representative for additional information.
CONTROL-D For details of the support the conversion tool provides in
interfacing existing CONTROL-D (Output Management
System) installations to CONTROL-M, see “CATEGORY” on
page 140, “&DCTGRY” on page 147, and “&CTDCOND” on
page 144.
CA-LIBRARIAN CONTROL-M supports JCL libraries in CA-LIBRARIAN or
and CA-PANVALET format. However, during the conversion
CA-PANVALET process, these libraries must be in partitioned data set format.
For more information, see “Step 2 - Copy CA-7 and CA-11 JCL
and CA-DRIVER Libraries and Initdeck” on page 73, and
“Step 13 - Customize CONTROL-M and Install User Exits” on
page 85.
With the CA-7 and/or CA-11 and CA-7/RPT conversion tools, a complete migration
from all CA-7 related products to INCONTROL products can be accomplished
automatically.
F Problem Reporting
Please supply all the information requested below when reporting a problem related
to the conversion tool.
■ Version number of CONTROL-M (for example, 6.1.00) and the OS/390 or z/OS
operating system (for example OS/390 2.10)
■ Release number of CA-7 (for example, 3.1) from which you are converting
■ The full text of all Job Log messages, in addition to all error messages in the error
files (DAMSG, SYSPRINT, and so on)
If an abend has occurred, send the symptom dump to BMC Software Customer
Support, and have a full dump (SYSUDUMP) available for use by BMC Software
Customer Support staff.
Ensure that whenever a change is made to the DEFAULTS member or a source fix is
applied, all the programs are reassembled and relinked.
Index
Symbols
# HLD JCL Override Statement 100 %%IF Control Statement
# JCL Override Statement 99 IF/DIF Commands 136
# JEND JCL Override Statement 117 %%INCLIB AutoEdit Command 98
#JI Block 117 CA-DRIVER Procedure 35
#JI Override Statement 117 CADRIVER Procedure 136
# JO Block 117 %%INCMEM AutoEdit Command
# JO JCL Override Statement 117 CA-DRIVER Procedure 35
# MNT JCL Override Statement 100 CADRIVER Procedure 136
# NOX 127 %%JOBID AutoEdit Variable 129, 157
# NOX JCL Override Statement 117, 132, 133 %%JOBNAME 157
#NTR JCL Override Statement 111, 117 %%JOBNAME AutoEdit Variable 129, 157
#RES JCL Override Statement 31, 101, 104, 128 %%JOBNAMX AutoEdit Variable
CLASS Field 104 CADRIVER EXEC Statement 134
PRTY Field 101 %%JULDAY AutoEdit Variable 117
Workload Balancing 32 %%LABEL AutoEdit Control Statement 117
#S, RO Value 102 %%LABEL Control Statement
# SCC JCL Override Statement 102, 156 IF/DIF Commands 136
#VER JCL Override Statement 133 STEP Command 135
# XEND JCL Override Statement 117 %%MEM# AutoEdit Variable
#XI JCL Override Statement 117 CADRIVER EXEC Statement 134
# XO JCL Override Statement 117 %%MEMNAME AutoEdit Variable
$ Mask Character 53 CADRIVER EXEC Statement 134
$ABEND Value CADRIVER Procedure 136
DO IFRERUN Parameter 123, 144 %%MINUS Function
$EXERR Value SET/DSET Commands 135
DO IFRERUN Parameter 123, 144 %%MONTH AutoEdit Variable 137, 138
%%$TAG AutoEdit System Variable 126 %%OJULDAY AutoEdit Variable 117
%%$TAG AutoEdit Variable 117 %%OUTDATE AutoEdit Variable 137, 138
%%BLANK Control Statement %%OUTDAY AutoEdit Variable 137, 138
SET/DSET Commands 135 %%OUTMON AutoEdit Variable 137, 138
%%ELSE AutoEdit Control Statement 117 %%OYEAR AutoEdit Variable 117
%%ELSE Control Statement %%PLUS Function
IF/DIF Commands 136 SET/DSET Commands 135
%%ENDIF AutoEdit Control Statement 117 %%SCHID AutoEdit Variable 117, 126
%%ENDIF Control Statement %%SET Control Statement
IF/DIF Commands 136 CADRIVER Procedure 134
%%FROM Variable SET/DSET Command 135
DONT SCHEDULE BEFORE/AFTER Fields 131 %%SYSID AutoEdit Variable 53, 86, 130
%%GOTO AutoEdit Control Statement 117 %%TIME AutoEdit Variable 117
%%GOTO Control Statement %%TO Variable
GOTO/DGOTO Commands 135 DONT SCHEDULE BEFORE/AFTER Fields 131
IF/DIF Commands 136 %%WDAY AutoEdit Variable 137, 138
STEP/DSTEP Commands 135 %%YEAR AutoEdit Variable 117
%%GROUP AutoEdit Variable 137, 139 &ALLMSG Conversion Parameter 143
%%IF AutoEdit Control Statement 117 &C_DATE CADRIVER Parameter 137, 138
&C_DAY CADRIVER Parameter 137, 138
Index 197
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Index 199
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Product Interface 193 Conditions/Resources File 23, 31, 111, 113, 115, 120, 130,
CATEGORY Parameter 144 147
Conversion Details 140 Conditions/Resources Screen 23
CATLG Disposition 36 CONDCODE Field
CA7 Conversion Details 102
Job Name 98 CONFCAL
Job Triggers 98 Calendar 108
MEMBER Name 98 Connected Job 113, 114
Simulation 101 Connection
CADRIVER Procedure DSN 113
%%SUBSTR AutoEdit Function 137 Job 112, 113
ABORT/DABORT Commands 137 JOB REQUIREMENTS 114
DATA/DEND Commands 136 Control Resources 62
DPROC Parameter 133 Overview 25
EXEC Statement 134 CONTROL-D 144, 147
GOTO/DGOTO Commands 135 Product Interface 193
IF/DIF Commands 136 Report Decollating Mission 140
NEST/DNEST Commands 136 CONTROL-M/Restart
SET/DSET Commands 135 &CTR Conversion Parameter 144
STEP/DSTEP Commands 135 CA-11 Conversion 122
Variable Parameters 137 Confirmation 146
CAEARL CURRENT SCHDMOD Report 106 EXCLUDE DSN Statements 146
CHANGE RESOURCE Statement 32 Implementation 56
checking conversion results 88 Installation Parameters 145
CLASS Job Scheduling Parameters 34
Conversion Details 104 Parameter 123
Field 143 PREVENT NCT2 Processing 145
Field (JCL) 120 Rerun/Restart Processing Overview 26
Parameter (JCL) 152 Simulation Facility 27
Class Barriers 31, 104 Simulation Run 124
Resources 143 Statements 144
Support 143 Step 26
Workload Balancing 32 CONTROL-Parameter
CLASS CA-7 parameter 104 EXCLUSIVE_jobname 113
CLBARR Macro 105 Conventions Used in This Guide 13
CLOCKTIME Field 128 Conversion
CMEM CA-DRIVER 66
Conversion 129 Check Results Using Conversion Step 15 88
Events 154 Component Summary 93
File 87 Components 91
Overview 36 Conceptual Overview 19
Rule Creation by Conversion Job3 50 Detail Summary 93
Rule Definition 22, 80 Details 91
Rule Table 80, 87 Job1 42, 44
Codes (Messages) Job2 46
Descriptions 163 Job3 50
CODES Parameter 102 Job4 56
Command Type 57 Job5 61
Concatenating LJOB Reports 76 Job6 63
Concurrent Job Runs 104, 113 Job7 64
COND= JCL Statement 102 LOAD Library 76, 77
Condition Code Checking LOAD Library Name 75, 79, 81, 82, 83
Job Level 102 Parameters 93, 143
Step Level 102 Pre-Conversion Planning 71
Conditional Job Dependency Process Flow 39
DEPJOB=? Field 131 Source Library 140
SRC Source Library Name 75
Index 201
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Index 203
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
H Step 148
Utility 32, 87
Head-Of-Tree Job 22 IOAENV
Definition 27 Library Name 76
Head-of-Tree Job 24, 158 IOALOAD DD Statement
Held Sysout Classes 151 JOB8 84
High-Water 32
HLDCLASS Parameter 141
HOLD Field
Conversion Details 100
J
Japanese
Date Format 138
I JCL
Automation 35
ID= Subparameter 126 CA-DRIVER Procedure 35
IEF125I Message 37 Considerations Overview 33
IEF403I Message 37 CONTROL-M JCL Steps 56, 124
IF Command Conversion 154
CADRIVER Procedure 136 Conversion of JCL Libraries 66
STEP/DSTEP Commands 135 GROUP= JOB Statement 160
IF Logic Capability 117 INCLUDE Member 98
IN Conditions 23, 37, 98, 111, 120, 147, 148 Include Members 79
creating job data set 114 Initialization Statements 99, 127
depjobname_OK 112 JCL Conversion Report 60
jobname_depjobname_schedid 112 JCL Library DSN List 56, 80, 81
INCLIB Library 85, 98 Job Class 52, 80
Include Library 54 Job Class Conversion Details 120
INCLUDE Members 85 Job Class Parameter 152
Independent Tree 27 Job Class Translation Table 52, 120
Initdeck JOB Statement 160
Copy Using Conversion Step 2 73 Job Stream 53
File (CA-7) 154 Libraries (CONTROL-M) 60
File (CA7) 99 Library 127
Initialization File (CA-7) 51 Library Copy 73
Library Name (CA-7) 79 Library Name 99
Member Name (CA-7) 79 Max Lines in Member 152
Initialization File (CA-7) 21 Member Conversion 56, 81
Initiator Control 152 Member Name 98
Initiators 31, 130 NOTIFY= JOB Statement 160
INITR Macro Override Statement # JI,ID=... 126
Conversion Details 130 Override Statements 33, 50
Input Data Set PARM= Field 44, 50
Creation 113 USER= JOB Statement 160
Name 113 JCL Repository Facility 34
INSERT-RMS JCLGRP
Field 155 &USEROPT Conversion Parameter 160
INSERTRMS Field 125
Conversion Details 122 JCLID Field
Interfacing Other Products 193 Conversion Details 99
Intermediate Scheduling Table JCLUGRP
Library 80 &USEROPT Conversion Parameter 159
IOA LOAD JCLUSER
IOALOAD DD Statement 76, 79, 81, 82, 83 &USEROPT Conversion Parameter 159, 160
IOALOAD Parameter 75 Field 125
Library Name 75, 76, 79, 81, 82, 83 JCLOVRD Field
IOACND Conversion Details 99
Procedure 120 JDEP Connection 24
Index 205
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Index 207
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
R SCALyyxx 47
SCHD Screen 21, 22, 23
Ready Queue 28 SCHDMOD CURRENT 106
REGION=0K 44, 50, 77, 80 Indicator 25, 156
Relational Operator 102 Processing 46
Release Sysouts 155 SCHDMOD Screen 106
Report Decollating Mission 140 SCHDYONLY 49, 106, 110
Category 147 Periodic Calendar Name File 78, 80
Request Queue 28, 29, 100, 109 Schedule ID 23, 47, 106
Requeue Schedule Scan
Held Sysout Classes 151 New Day Processing and 28
MSGCLASS Sysouts 159 Overview 28
Sysout 141 SCHEDULE TAG Field 23
Reroute MSGCLASS Sysouts 159 SCHEDULE TAG Parameter 117, 125
Rerun scheduleIDheadoftreejobname 117, 125
Processing 26, 123 Scheduled Tree 27
RESANL Analyze Command 71 Scheduling
RESCHNG Command 31 Conversion Details 109
Conversion Details 124 Date 24
Workload Balancing 32 Definition 106
Resource Indicator 124
Availability 28 Overview 22
CLASS 104 Scheduling Table 24, 25, 79, 98, 111, 125
Management 25 Creation by Conversion Job3 50
Management Components - Conversion 61, 82 Creation Overview 27
Management Facility 82, 115 Customize New Day Procedure Using Conversion
Management Overview 25 Step 16 89
Quantity 125 Libraries 61, 82, 83
RESOURCE Parameter 31, 53, 104 List File 79
Sharing 104, 113, 115 Name 46
Restart Scheduling Tables
Confirmation 146 Update Using Conversion Job6 63
Parameters 56 SCHID
Processing 26, 123 =000 Value 23
Requirement 101 DEMAND Command Value 112
RETAIN (SMS) Disposition 36 Field 23, 125
RO Field SCHPREVD parameter 85
Conversion Details 102 SCRATCH (SMS) Disposition 36
ROLL Field 105 Security Access 71
ROUTE PRINT Statement 34 SET Command
RQMT Analyze Command 71 CADRIVER Procedure 135
RSRC Screen 21, 25 SET VAR Parameter 53, 130
RUN HANDLER 123 SET=%%SYSID 86
Setup Time 109
Shared Option 113
S Shared Resource Control 116
SHIFT Parameter 107, 108
SAC Parameter 85 SHOUT
Sample Exit 2 53 Conversion Details 127
SASSBTRM Procedure Name 74 Destination For Failed Jobs 157
SASSJCLU Utility (CA-7) 71 Facility 157
SASSTRLR Procedure Name 60 WHEN EXECTIME 157
Satisfaction Lead Time 113 WHEN LATE 157
SBTM Field WHEN LATESUB 157, 158
Conversion Details 108 WHEN NOTOK 157
SCAL 156 Simulate Job Execution 101
Conversion Details 105 Simulation and Forecasting Facility 148
Index 209
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
User ID 125
User Option Table Macro 21
USER REQUIREMENTS Field
Conversion Details 114
USERID Parameter 125
USEROPT Conversion Parameter 159
UserDefined Prerequisites 114
USR 30
Connection 24
USR ID Field 160
Utilities
CTMRFLW 88
CTMROGR 88
CTMRPLN 88
CTMXRF 87, 88
General 191
IOACND 87
V
Variable Parameters
CADRIVER Procedure 137
Variable-1 57
VERIFY Field
Conversion Details 133
Volume INCLUDE/EXCLUDE List 146
VTAM Node Definitions 35
W
WDAYS
Parameter 109
WEEKLY Field 109
WLB Command 33
WORK DD Statement 77, 80, 81
Work Library 77, 80, 81
Work Unit Name 78
Workload Balancing
Macro INITR 130
Macro TAPE1 158
Macro TAPE2 158
Macros 21
MXTAL Parameter 104
Overview 31
Priority Scheduling Criteria 102
X
XEQ Statement 34
XQ Transaction 28
XREF Analyze Command 71
This Agreement (“Agreement”) is between the entity or individual entering into this Agreement (“You”) and BMC Software Distribution, Inc., a Delaware
corporation located at 2101 CityWest Blvd., Houston, Texas, 77042, USA or its affiliated local licensing entity (“BMC”). “You” includes you and your Affiliates.
“Affiliate” is defined as an entity which controls, is controlled by or shares common control with a party. IF MORE THAN ONE LICENSE AGREEMENT
COULD APPLY TO THE PRODUCT, THE FOLLOWING ORDER OF LICENSE AGREEMENT PRECEDENCE APPLIES: (1) WEB BASED LICENSE
AGREEMENT WITH BMC, (2) WRITTEN LICENSE AGREEMENT WITH BMC, (3) SHRINK-WRAP LICENSE AGREEMENT WITH BMC PROVIDED WITH
THE PRODUCT, AND (4) THIS ELECTRONIC LICENSE AGREEMENT WITH BMC. In addition to the restrictions imposed under this Agreement, any other
usage restrictions contained in the Product installation instructions or release notes shall apply to Your use of the Product.
PRODUCT AND CAPACITY. “Software” means the object code version of the computer programs provided, via delivery or electronic transmission, to You.
Software includes computer files, enhancements, maintenance modifications, upgrades, updates, bug fixes, and error corrections.
“Documentation” means all written or graphical material provided by BMC in any medium, including any technical specifications, relating to the
functionality or operation of the Software.
“License Capacity” means the licensed capacity for the Software with the pricing and other license defining terms, including capacity restrictions, such as tier
limit, total allowed users, gigabyte limit, quantity of Software, and/or other capacity limitations regarding the Software. For licenses based on the power of a
computer, You agree to use BMC's current computer classification scheme, which is available at http://www.bmc.com or can be provided to You upon
request.
ACCEPTANCE. The Product is deemed accepted by You, on the date that You received the Product from BMC.
LICENSE. Subject to the terms of this Agreement, as well as Your payment of applicable fees, BMC grants You a non-exclusive, non-transferable, perpetual
(unless a term license is provided on an order) license for each copy of the Software, up to the License Capacity, to do the following:
A. install the Software on Your owned or leased hardware located at a facility owned or controlled by You in the country where You acquired the license;
B. operate the Software solely for processing Your own data in Your business operations; and
C. make one copy of the Software for backup and archival purposes only (collectively a “License”).
If the Software is designed by BMC to permit you to modify such Software, then you agree to only use such modifications or new software programs for Your
internal purposes or otherwise consistent with the License. BMC grants You a license to use the Documentation solely for Your internal use in Your operations.
LICENSE UPGRADES. You may expand the scope of the License Capacity only pursuant to a separate agreement with BMC for such expanded usage and
Your payment of applicable fees. There is no additional warranty period or free support period for license upgrades.
A. disassemble, reverse engineer, decompile or otherwise attempt to derive any Software from executable code;
B. distribute or provide the Software to any third party (including without limitation, use in a service bureau, outsourcing environment, or processing the
data of third parties, or for rental, lease, or sublicense); or
C. provide a third party with the results of any functional evaluation or benchmarking or performance tests, without BMC's prior written approval, unless
prohibited by local law.
TRIAL LICENSE. If, as part of the ordering process, the Product is provided on a trial basis, then these terms apply: (i) this license consists solely of a non-
exclusive, non-transferable evaluation license to operate the Software for the period of time specified from BMC or, if not specified, a 30 day time period
(“Trial Period”) only for evaluating whether You desire to acquire a capacity-based license to the Product for a fee; and (ii) Your use of the Product is on an AS
IS basis without any warranty, and BMC, ITS AFFILIATES AND RESELLERS, AND LICENSORS DISCLAIM ANY AND ALL WARRANTIES
(INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NON-INFRINGEMENT) AND HAVE NO LIABILITY WHATSOEVER RESULTING FROM THE USE OF THIS PRODUCT UNDER THIS TRIAL
LICENSE (“Trial License”). BMC may terminate for its convenience a Trial License upon notice to You. When the Trial Period ends, Your right to use this
Product automatically expires. If You want to continue Your use of the Product beyond the Trial Period, contact BMC to acquire a capacity-based license to
the Product for a fee.
TERMINATION. This Agreement shall immediately terminate if You breach any of its terms. Upon termination, for any reason, You must uninstall the
Software, and either certify the destruction of the Product or return it to BMC.
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. 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 Products are and contain valuable confidential information of BMC (“Confidential
Information”). Confidential Information means non-public technical and non-technical information relating to the 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. BMC’s 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. BMC's 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. BMC’S 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 Software’s 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, perform an audit, at your
facilities, of 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 BMC’s 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 ARBITRATOR’S 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 PARTY’S 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 BMC’s 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 BMC’s 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 présente convention ainsi que les documents qui s’y rattachent soient rédigés en anglais.