Documente Academic
Documente Profesional
Documente Cultură
Version 6.0.00
March 1, 2001
Copyright © 2001 BMC Software, Inc., as an unpublished work. All rights reserved.
BMC Software, the BMC Software logos, and all other BMC Software product or service names are registered trademarks
or trademarks of BMC Software, Inc. All other registered trademarks or trademarks belong to their respective companies.
You can obtain technical support by using Response Online™ (comprehensive information from the Web) or Response On
Demand™. To expedite your inquiry, please see “Before Contacting BMC Software,” below.
Response Online
You can obtain technical support from BMC Software 24 hours a day, seven days a week by accessing the technical support
Web site at http://www.bmc.com/support.html. From this site, you can
• read overviews about support services and programs that BMC Software offers
• find the most current information about BMC Software products
• search a database for problems similar to yours and possible solutions
• order or download product documentation
• report a problem or ask a question
• subscribe to receive e-mail notices when new product versions are released
• find worldwide BMC Software support center locations and contact information, including e-mail addresses, fax
numbers, and telephone numbers
Response On Demand
In the USA and Canada, if you need technical support and do not have access to the Web, call 800 537 1813. Outside the
USA and Canada, please contact your local support center or your local sales office for assistance.
iii
iv CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Contents
Contents v
Contents
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
JOB3: Convert JCL Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
JOB4: Convert OPC JCL RECOVER Directives . . . . . . . . . . . . . . . . . . . 2-17
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
vi CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Contents
Index
Contents vii
Contents
viii CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Tables
Tables ix
Tables
x CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
xiv
This conversion guide reviews basic concepts relevant to converting from the
OPC/A and OPC/ESA products to CONTROL-M and CONTROL-R, and
provides step-by-step instructions on how to use the conversion tool.
Note: Throughout this guide, the term OPC is used to refer to information
that is relevant to both the OPC/A and OPC/ESA products. If a
particular feature is unique to a specific release of OPC, this is so
indicated.
Index
xii CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Conventions Used in This Guide
• Issues messages about problems and errors found in the OPC definitions
The conversion tool is delivered in source code format and may be locally
tailored to fit specific requirements.
Keys that appear on the standard keyboard are identified in boldface, for
example, Enter, Shift, Ctrl+S (a key combination), or Ctrl S (key
sequence).
Field, File, Function, Job, Member, Mission, Option, Report, and User
Names
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.
Screen Characters
JCL calls, code examples, control statements, and system messages are
shown in a font that emulates characters as they appear on the screen.
Examples of this are:
• calls, such as
CALL ’CBLTDLI’
Variables
xiv CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
10
This overview is intended for production control personnel who are familiar
with OPC terminology. Experience with CONTROL-M is recommended.
The conversion tool creates one schedule tag, which contains basic
scheduling criteria in the Group Entity for each normal run cycle defined in
the OPC application. The OPC Period name is specified as the schedule tag
name. OPC applications not containing run cycles are converted with a
schedule tag name $TAGDFLT, which contains default values for the basic
scheduling parameters. All jobs in the Group table refer to schedule tags
defined in the Group Entity, using the generic schedule tag name ‘ * ’.
The Group Entity also controls the runtime scheduling criteria of the entire
application, by specifying CONTROL-M FROM and UNTIL times derived
from the OPC arrival and deadline times.
1-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Application Definition and CONTROL-M Group Scheduling
Data Dependencies
When an OPC application utilizes Offset-based run cycles, you are given the
opportunity of converting OPC calendar and period information into
CONTROL-M basic scheduling parameters to reduce the number of
calendars that must be defined to CONTROL-M. For more information and
examples, see JOB1 in Chapter 2, “Conversion Process Flow,” and Item 8 in
Chapter 4, “Conversion Details.”
1-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
JCL Processing
JCL Processing
1. OPC JCL batch operations that issue the SRSTAT and OPSTAT
commands are converted to equivalent CONTROL-M JCL steps. The
default is IOACND.
1-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
CONTROL-M New Day Processing
The above example assumes that your logical business date changes at 8:00
A.M. You want to take a job scheduled in OPC 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 OPC job to a CONTROL-M job that begins at 4:00 A.M.
on the March 14th logical business day.
For OPC/ESA Version 1, Release 2.1 and later, set the CTMPARM DAYTIME
parameter New Day time to the Work-Day End Time in the OPC/ESA
Calendar that controls most of the work at the site.
For more details on how the conversion tool handles this product difference,
see Step 17 in Chapter 3, “Conversion Steps.”
Catalog Management
The catalog management (CM) function in OPC/ESA (Version 1, Release 2
and later) can be used to automatically delete, uncatalog, or catalog datasets
that have been created or modified in a job or started task that has ended in
error, or requires rerun. In addition, references to relative generation data
group (GDG) numbers are reset.
When converting from a previous release of OPC, you have the opportunity
of utilizing the CONTROL-R PREVENT-NCT2 feature on a global basis, rather
than on a job-by-job basis as in OPC/ESA Release 2, by setting conversion
parameters &CTR and &NCT2 (described in Appendix A) to Y (Yes).
1-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Automatic Event Reporting (AER) Facility
The OPC OPSTAT command in JCL steps can set a “job successfully
completed (C)” status. The conversion program converts this to a
CONTROL-M batch JCL IOACND step, which adds a condition to the IOA
Conditions file. For more information, see Item 25 in Chapter 4, “Conversion
Details.”
CONTROL-M Exit 15 can be used to optionally delete the JCL member from
the OVERLIB library after successful completion of the job.
For more information and installation instructions, see the discussion of the
OVERLIB parameter in the CONTROL-M for OS/390 User Manual, and
source members CTMIMACx in the IOA CLIST library, and sample Exit
CTMX015O in the IOA SAMPEXIT library.
1-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
18
Job Description
JOB0 Produce OPC reports.
JOB1 Extract workstation and application information, build a list of all defined
calendars and periods, and create JCL for adding special resource
prerequisite conditions.
JOB2 Construct CONTROL-M calendars and scheduling table libraries.
JOB3 Convert JCL members and create the CONTROL-M AutoEdit variable
library.
JOB4 Convert OPC JCL RECOVER directives to CONTROL-M ON PGMST
statements in the CONTROL-M job scheduling definitions.
Description
No JCL is supplied in the conversion source library for JOB0. Use the
information below to create and customize your own JOB0. Produce a print
image of the following OPC reports:
• Application Descriptions
• Workstation Descriptions
• Calendars
• Periods (for OPC/A Release 2 and OPC/ESA only)
• Operator Instructions
• JCL Variable Tables (OPC/ESA only)
The reference to these reports in JOB1, JOB2, JOB3, and JOB4 is made by
the following file names. To use other names, tailor the JCL of the job.
Note: In the PGM and PARM parameters of the following examples, in the
place of ***, substitute characters CSY for OPC/A and EQQ for
OPC/ESA.
Produce this report for all applications that are defined to OPC. The report
provides application description data, such as common data, run cycle data,
operation data, and internal operation logic.
2-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
JOB0: Produce OPC Reports
Calendar Report
Produce a Calendar report through the year 2005 by executing the following
JCL:
Note: When OPC calendars are defined, they begin as of the day the
Calendar report is produced. It follows that any corresponding
CONTROL-M calendars only contain working days beginning that
same date. This may have implications if customers use these
calendars when adding or changing basic scheduling parameters of
job scheduling definitions.
For example, you run the Calendar report on May 24, 2001, which is
a working day. In a job scheduling definition utilizing this calendar,
the DAYS parameter is changed to specify D1 (the first working day
of the month). For the month of May in 2001, the job will be
scheduled on the 24th, which may surprise you.
Period Report
Produce the Period report through the year 2005. The report must be
produced for every calendar that is defined to OPC. To produce the report,
execute the following JCL:
2-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
JOB0: Produce OPC Reports
Produce the JCL Variable Table report by executing the following JCL:
Description
JOB1 reads the Workstation Report file, the Period Report files, and the
Application Description Report file created by JOB0, and produces
These calendar names are converted to a new format and are subject to
the same restrictions as the newly-formatted application names. These
restrictions are set out in Item 3 in this job
2-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
JOB1: Extract Workstation and Application Info
Input
Output
3. File containing OPC application names and owner IDs with their
converted names
Default file name: CTM.OPC.APPL.NAMES
File attributes: sequential, record length 133; block size 9044
ISPF EDIT can be used to modify the application names and the
owner ID assigned to each application. The scheduling table names must
be unique. The conversion tool ensures that the scheduling table names
are valid PDS member names by
The following table is an example of the file structure, and shows how
application and owner names are converted. The file contains six fields,
as illustrated in the table.
Table 2-3 Conversion of OPC Files Containing Application Names and Owner IDs
5. File containing OPC calendar names with their converted names (for
offset-based run cycles only).
Default file name: CTM.OPC.CAL.NAMES
File attributes: sequential; record length 236, block size 23,364
Field
Name Position Data
NEW CAL 01–07 CONTROL-M new calendar name.
OLD CAL 09–24 OPC calendar name.
OLD PER 26–33 OPC period name.
PER TYPE 35–42 OPC run cycle type (NORMAL or NEGATIVE).
OFFSETS 44–139 OPC offsets.
R 141 OPC free day rule. Valid values:
• 1–Free days included: Run on the nearest day
before the free day.
• 2–Free days included: Run on the nearest day after
the free day.
• 3–Free days included: Run on the free day.
• 4–Free days included: Do not run at all.
• E–Free days excluded: Only work days are taken
into account.
W/D 143 CONTROL-M DAYS or WDAYS indicator. Valid
values:
• D–Use CONTROL-M DAYS or DCAL parameters.
• W–Use CONTROL-M WDAYS or WCAL
parameters.
CALENDAR 147–154 CONTROL-M calendar name.
2-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
JOB1: Extract Workstation and Application Info
Field
Name Position Data
WDAYS OR 156 CONTROL-M WDAYS or DAYS parameters.
DAYS
M= 221–234 When columns 221–2 specify ‘M=’, then the following
12 columns contain MONTHS specifications (Y, N or
blank).
Example
To schedule every work day (the first line in this Table), the OPC
calendar definition was specified as: NORMAL run cycle with the
period DAY, the free day rule that suppresses the start on a free day
(4), and a run day offset of one (+001).
To schedule “on the 15th of the month except for holidays” (the third
and fourth lines in this Table) , the OPC definition was: NORMAL
run cycle with the period MONTH, the free day rule that schedules
the start even if it is free day (3), and run day offset of 15(+015);
NEGATIVE run cycle with the period HOLIDAY that has the run
days on which the applications are to be suppressed. In
CONTROL-M terms specify: D (DAYS), 15 (15th of the month)
with calendar NOTHOLI (“not holidays”).
6. File containing the OPC application name and/or job name cross
reference report
Default file name: CTM.OPC.XRF
File attributes: sequential; record length 80; block length 8000
2-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
JOB1: Extract Workstation and Application Info
Description
JOB2 reads the Calendar and Period reports created by JOB0, and the
Calendar Period Names file created by JOB1, to update the CONTROL-M
Calendar library. The files created by JOB1 are read by JOB2 to create the
CONTROL-M scheduling tables. JOB2 also creates the CONTROL-M
Documentation library from the Operator Instruction report created by JOB0.
If you are not utilizing rule-based run cycles, delete STEP5 from JOB2.
Input
Output
2. File containing the JCL for the New Day procedure, which must be
customized for the daily runs
Default file name: CTM.V600.DAILY
File attributes: sequential; record length 80, block size 3120
2-12 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
JOB2: Construct CONTROL-M Calendars and Scheduling Table Libraries
Each step in the JCL job stream must end with a condition code of 0. Any
steps in the job stream that do not end successfully must be rerun. If the job
abends on an Sx37 abend, the scheduling library must be compressed and the
job restarted from the abending step.
Description
JOB3 also creates the CONTROL-M AutoEdit variable library from the
OPC/ESA JCL Variable Table report.
Parameters
If the JCL libraries contain special PSS statements that must be converted to
CONTROL-M AutoEdit format, then a JCL PARM parameter must be coded
on the EXEC statement, which executes program CTMOP014, as follows:
Parameter Description
PARM=‘PSS’ The JCL libraries contain both PSS statements and OPC
directives and/or commands.
PARM=‘PSS/’ The JCL libraries contain only PSS statements and no OPC
directives and commands.
Input
2. Dynamically allocated copy of the OPC JCL and PSS JCL and
PARMLIB libraries
2-14 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
JOB3: Convert JCL Members
The OPC Batch parameter file provides program and procedure names
used by the OPC JCL batch jobs that issue the SRSTAT and OPSTAT
commands. The program and procedure names must appear in column 1,
one per record.
The OPC Case Code parameter file supplies the conversion tool with
OPC JCL Case Codes used by the OPC RECOVER directive. The
RECOVER directive uses these case codes to augment system and user
abend codes specified as OPC job and/or step codes.
Case codes are defined in OPC EQQCASEC macros that are link-edited
to create non-executable load module EQQCASEM. For more
information, see the OPC/ESA Customization and Tuning Guide.
• Cases and codes can be from one to five characters in length with at
least one blank or a comma separating the codes for each case.
• Cases must begin in column 1 and the codes may not extend beyond
column 72.
Output
2-16 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
JOB4: Convert OPC JCL RECOVER Directives
Input
Output
2-18 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
20
Step 5 Check and modify conversion tool support for different OPC languages
Step 8 Check and modify application names, owner names and calendar names
Note: The source code for all programs resides in the conversion source
library, and can be locally tailored.
3-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Step 1 - Create the Conversion Source and Load Libraries
Parameter Description
Job statement
INLIB IOA CONV library name
OUTLIB OPC conversion source library name
LOADLIB OPC conversion load library name
UNIT Unit name of DASD device
VOLSER Volser of DASD device
PRODUCT OPC
3. Submit the job for execution. The job must finish with a completion
code of 0.
The new libraries must be sufficiently large to enable update of all the
members.
Additional libraries and sequential datasets may need to be copied. For more
details see conversion parameter &PNIBJSD in Appendix A.
3-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Step 5. Check and/or Modify Conversion Tool Support for Different OPC Language Reports
Member Contents
LR1APPL Titles and/or values that appear in the Application Description report.
LR1WS Titles and/or values that appear in the Workstation Description report.
LR1DOC Titles and/or values that appear in the Operator Instruction report.
LR1RUN Titles and/or values that appear in the Calendar and/or Period reports.
Check if the members listed above support the language and version of your
OPC report. If they do, proceed to the next step (Step 6). Otherwise, modify
the members according to the following instructions.
For each title that you want to add or modify in a different language
If you need to add your language to the list, copy an existing line,
changing the first three characters of the line to the code designated for
your language.
Example
For English, this is the main title in the general information section of the
Period report. The title starts in column 26 of the report.
The table below indicates which languages are fully supported for the various
versions of OPC.
A blank entry in the above table indicates that you must complete some titles
and/or values in the language members (LR1xxx).
3-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Step 6. Modify and Run Member ASMLINK
Modify the JCL of this member according to your local naming conventions:
• Job statement
• IOA MAC library (parameter MAC2)
• Conversion source library (parameter SRCLIB)
• Conversion load library (parameter LOADLIB)
• IOA LOAD library (parameter LOADIOA)
Submit the job for execution and check the sysout for condition code and
error messages. The job must finish with a condition code of 0.
4. Program CTMOP009 to create the job that adds conditions to the IOA
Conditions file; for additional information, see Item 2 under Step 12 in
this chapter
Modify the JCL in member JOB1 of the conversion source library. Adjust the
following specifications according to your local conventions:
1. Job statement
One DD statement is created for each Period report file. Specify only as
many DAPERRP DDs as are necessary, and remove all references to the
unused ones.
— If more than three Period Report files exist, update the backward
references as specified in STEP2 of JOB1, DD statement
DAPERREP
— For OPC/A Release 1, this is the Calendar report file created in JOB0
(in STEP0, DD statement DACALREP)
3-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Step 7. Modify and Run Member JOB1
8. Name and location of the Workstation List file (in STEP0, DD statement
DAWS)
10. Name and location of the Applications and Operations Extract file (in
STEP0, DD statement DAAPPL)
11. Name and location of the application and owner ID file (in STEP0,
DD statement DACHANGE)
12. Name and location of the cross reference file (in STEP0, DD statement
DAXRF)
13. Name and location of the calendar names file (in STEP0, DD statement
CALNAME)
14. Name and location of the IN conditions file (in STEP0, DD statement
DACOND)
15. Name and location of the Special Resource Name file containing special
resources whose names exceed 20 characters (in STEP0, DD statement
RESNAME)
16. Name and location of the CONTROL-M Calendar library (in STEP0,
DD statement DACAL)
Submit the job for execution, and check the sysout for completion code and
error messages. The job must finish with a condition code of 0 or 4.
3-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Step 9. Modify and Run Member JOB2
Modify the JCL in member JOB2 of the conversion source library. Adjust the
following specifications according to your local conventions:
• Job statement
One DD statement is created for each Period report file. Specify only as
many DAPERRP DDs as are necessary and remove all references to
those that are not used.
— If more than three Period Report files exist, update the backward
references as specified in STEP2 of JOB2, DD statement
DAPERREP.
• Name and location of the daily schedule file (in STEP0, DD statement
DADAILY)
• Name and location of the JCL job stream, which is used to execute utility
CTMTBUPD. For details, see the INCONTROL for OS/390 Utilities
Guide (in STEP0, DD statement DATBUPD)
Submit the job for execution and check the sysout for completion code and
error messages. The job must finish with a condition code of 0 or 4.
3-12 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Step 9. Modify and Run Member JOB2
Modify the JCL in member JOB3 of the conversion source library. Adjust the
following specifications according to your local conventions:
• Job statement
• JCL Variable Table Report file created in JOB0 (in STEP0, DD statement
DAREPORT)
• Name and location of the OPC JCL RECOVER directives extract file (in
STEP0, DD statement RECVEXT)
• Indication whether the JCL libraries contain special PSS statements (in
Step 2, the PARM= field of the EXEC statement)
Each name must start on a new line and begin at column one (in STEP2,
DD statement DAJCLIN)
• List of the program and procedure names used in OPC batch steps (in
STEP2, DD statement DABATCH)
• List of OPC JCL Cases and their corresponding Codes (in STEP2,
DD statement CASECODE)
3-14 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Step 10. Modify and Run Member JOB3
Submit the job for execution, and check the sysout for completion code and
error messages. The job must finish with a condition code of 0 or 4.
Modify the JCL in member JOB4 of the conversion source library. Adjust the
following specification according to your local conventions:
• Job statement
• OPC JCL RECOVER directive extract file created in JOB3 (in STEP0,
DD statement RECVEXT)
Submit the job for execution, and check the sysout for completion code and
error messages. The job must finish with a condition code of 0.
If the job terminates abnormally, JOB4 must be rerun using a fresh (backed
up) copy of the CONTROL-M scheduling table library. For more
information, see JOB4 in Chapter 2, “Conversion Process Flow.”
3-16 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Step 12. Add CONTROL-M Quantitative Resources and Conditions
This utility is usually run every day after the New Day processing finishes
executing. To implement daily execution, create a CONTROL-M job
scheduling definition to run this job daily.
3-18 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Step 17. Final Adjustments
3-20 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
32
Note: Item number (Item no.) in the charts below refers to the topic number
in this chapter.
4-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
Item
PSS Special JCL Statements AutoEdit Statements No.
//*%IJ Ignored 30
//*%1V Ignored 30
//*%1S Ignored 30
//*%2V %%SET 31
//*%2S %%SET 31
%Snn — 32
//*%IP %%INCLIB, %%INCMEM 33
%-variables %%-variables 34
1. Job Name
The conversion tool converts the OPC job name to the CONTROL-M
MEMNAME parameter.
For OPC manual operations, that is, for non-computer workstations, when an
OPC job name does not exist, the MEMNAME is formed according to the
following format:
workstation-name#operation-number
3. Owner ID
4. Data Dependencies
4-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
and
5. Operation Dependencies
appl-new-name_job-name ODAT
where appl-new-name is the new application name taken from the application
name file, which is discussed in JOB1 in Chapter 2, “Conversion Process
Flow.” When the job name of an operation cannot be determined or is blank,
job-name is replaced by:
workstation-name#operation-number
Note: If an application waits for the previous run of a job in the same
application ID, the Group Entity waits for this external condition.
6. Manual Workstations
If the manual operation does not have a job name associated with it, the
dummy job schedule name format is:
workstation#operation-number
wstype_workstation-name_application-new-name_operation-number
4-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
Example
workstation-name_SERVER
workstation-name_resource-name
If the CONTROL parameter in OPC for the server resource is NO, the
conversion sets the quantity of this resource to 9999.
The conversion process creates a file that contains OPC RUN CYCLE
information, such as the new calendar name, period, offsets, and free-day rule
for each OPC calendar. The new calendar may be used by CONTROL-M or
can be modified by changing the new name of the calendar. Instead of
creating a calendar for each run cycle, specify run days in CONTROL-M
terms (WDAYS or DAYS). For more information, see the discussion of file
CTM.OPC.CAL.NAMES in JOB1 in Chapter 2, “Conversion Process Flow.”
OPC calendars and periods are translated into CONTROL-M calendars. Final
calendars are calendars that are used by the applications. Temporary
calendars assist the conversion tool in creating additional calendars.
A. For each day that was specified in the period, the conversion tool
adds the OFFSETS that were defined in OPC and marks them in the
CONTROL-M calendar with an appropriate sign. The appropriate
sign is determined by the OPC free day rule, as shown in the
following table.
4-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
Sign Description
+ or - Free days are included. Schedule the start day on the closest work day
after or before the free day.
Y Free days are included. Schedule the start day on the specified free day.
This is a final calendar.
N Free days are included. Do not schedule the start day if it occurs on the
specified free day.
When free days are excluded, only workdays are taken into account
in calculating where to place the appropriate sign.
The temporary calendar names that are created at this stage begin
with $.
B. If a free day rule is run before or after a free day, or is not scheduled
on a free day, utility IOABLCAL is invoked to create a final calendar
by combining the CONTROL-M working day calendar created in
stage 1 with the run cycle calendar created in stage 2.A. For details
of utility IOABLCAL, see the INCONTROL for OS/390 Utilities
Guide.
3. If the application has both NORMAL and NEGATIVE run cycles, the
conversion executes utility IOABLCAL (described in the INCONTROL
for OS/390 Utilities Guide) to create a final calendar, by logically
subtracting all the NEGATIVE calendars created in stage 2 from the
NORMAL calendars.
The conversion tool handles OPC time definitions in the following manner:
• The CONTROL-M FROM and UNTIL time definitions are set according
to the OPC arrival time and/or deadline time of the operation or
application.
The OPC deadline is also used to create the CONTROL-M SHOUT WHEN
LATESUB parameter (described under conversion parameter &SHOUTL in
Appendix A) when the Suppress If Late option (described in Item 28 in
this chapter) is set to Y.
If the OPC Time Dependent MVS Job Option is set to N (No), the
CONTROL-M FROM time is not set.
• If the OPC arrival time is less than New Day time (the CONTROL-M
DAYTIME installation parameter in member CTMPARM), the
CONTROL-M SAC parameter is set to P. For more details, see Step 17 in
Chapter 3, “Conversion Steps.” In addition, if the OPC deadline time is
also greater than the New Day time, the CONTROL-M UNTIL time is
set to blank, unless the OPC Suppress If Late field specifies N, in which
case it is set to the OPC deadline time. For more information, see “28.
Suppress If Late” on page 4-18.
11. Priority
The conversion tool supports OPC urgent priority, that is, operations defined
with priority 9, by defining the job as a critical path, which is accomplished
by specifying *9 in the CONTROL-M PRIORITY parameter. For more
information, see the PRIORITY parameter in the CONTROL-M for OS/390
User Manual.
4-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
The OPC TABLE directive is converted in the same manner as the SEARCH
directive.
The OPC JCL variables contained in the SEARCH and TABLE variable
tables are automatically converted to a CONTROL-M AutoEdit variables
library based on the OPC JCL Variable Tables report. The OPC TABLE ID is
used as the CONTROL-M AutoEdit member name, and the AutoEdit
variable is simply the OPC variable name with %% prefixed to it. The
description of the variable is also placed in the AutoEdit member as a
comment preceding its variable definition.
The OPC JCL BEGIN and END directives are converted to CONTROL-M
AutoEdit statements. These directives are used to either conditionally or
unconditionally include or exclude JCL and/or data statements within the
JCL run-stream. For example, the following OPC directives:
4-12 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
//*%%LABEL LABELmmXX
When the &AUTSCAN conversion parameter is set to Y (Yes), all OPC/ESA &
and % symbols in the OPC/ESA directives and embedded in the JCL stream
(whether in JCL statements or in the data stream, that is, following DD *) are
converted to AutoEdit variables.
Example
//DD1 DD DSN=&ABC&QRS%XYZ
is converted to:
//DD1 DD DSN=%%ABC.%%QRS%%XYZ
Note: The OPC/ESA variables &ODAY and &CDAY are converted to the
CONTROL-M %%ZZZZ and %%CDAY variables respectively. For
these variables to be resolved to the proper day of the week value,
you must specify the SWEEK=MON initialization parameter when
installing IOA (for more information, see the INCONTROL for
OS/390 Installation Guide).
17. SRSTAT
The condition-date is always set to STAT. The same limitations that apply to
OPSTAT also apply to SRSTAT, as described in the note in Item 25 in this
chapter.
The OPC/ESA Started Task option in the Workstation report determines the
setting of the CONTROL-M TASKTYPE parameter. When the Started Task
Option is NO, TASKTYPE is set to JOB. When the Started Task Option is
YES, TASKTYPE is set to STC and the PREVENT-NCT2 parameter is set to N
(for non-DUMMY type jobs only).
4-14 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
19. DESCRIPTION
The Application text or the Operation text from the OPC Application report
is placed in the CONTROL-M DESC parameter. If the OPC job is a DUMMY
job, that is, if the operation number is 0, only the Application text is used.
Otherwise, the Operation text is used and, in addition, the workstation name
and operation number are placed in the DESC parameter starting at
position 42.
The Automatic Submission MVS Job option from the OPC/ESA Application
report specifies whether jobs and/or started tasks automatically start when all
predecessor jobs have been satisfied and all required resources are available.
The CONTROL-M CONFIRM parameter is set to Y (Yes) when the Automatic
Submission option is set to N (No), to force manual confirmation before the
job is submitted.
The Deadline WTO MVS Job option from the OPC/ESA Application report
specifies whether an operator message is issued when the operation passes its
deadline and the operation is in started status, that is, the operation has been
started, but has not been marked as completed within the deadline time. A
CONTROL-M SHOUT WHEN LATE time post-processing parameter is placed
into the job scheduling definition when the Deadline WTO option is set to Y
(Yes) using the deadline time.
The Error Tracking (Control) MVS Job option from the OPC Application
report specifies whether an error in a job and/or started task is to cause the
operation representing the job and/or started task to be marked as E (ended-
in-error). If N (No) is specified, the separation is marked as C (complete)
when the operation ends, regardless of the outcome, except for certain errors
occurring during job submission. For more information, see the OPC/ESA
User Guide.
When &AUTSCAN is set to Y (Yes), the SCAN directive is ignored and all
OPC variables are translated to CONTROL-M AutoEdit variables.
25. OPSTAT
The OPC OPSTAT command provides a method of using the OPC automatic
event reporting (AER) facility to set operation statuses and coordinate tasks.
For example, it may be used to trigger the start of an operation when a
particular step in a job is complete.
4-16 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
The OPC OPSTAT commands in JCL steps are converted to ADD COND
statements in CONTROL-M JCL steps (IOACND) that add conditions to the
IOA Conditions file.
The conversion tool only converts OPSTAT commands that specify the
following subparameters to identify the operation whose status is to be
changed:
Subparameter Description
ADID(applid) Application name. The conversion tool uses the
Application/Owner Name file, discussed under JOB1
in Chapter 2, “Conversion Process Flow,” to find the
new application name corresponding to applid.
JOBNAME(job name) Name of job associated with the operation.
STATUS(C) New operation status to indicate that the operation
has completed successfully. No other status beside C
is supported. If no STATUS subparameter is
specified, STATUS(C) is assumed.
The conversion tool converts the OPSTAT command to the IOACND ADD
COND command with a condition name in the format described in Item 5 in
this chapter.
Note: The conversion tool only converts Batch commands in SYSIN and
SYSTSIN DD statements. The Batch command must be completely
contained on one line, must begin in column one, and can appear in-
stream, that is, following //SYSIN DD *, in a PDS member, or in a
sequential dataset. For more information, see conversion parameter
&PNIBTSD, described in Appendix A. Non-supported Batch
commands in SYSIN and extraneous DD statements in the converted
IOACND steps are deleted.
The Highest Return Code field from the OPC/ESA Application report
specifies the highest acceptable return code from any step in the operation. If
a return code for a step in the job exceeds this value, the operation is set to
ended-in-error status.
If there are multiple schedule tags assigned in a Group Table, the Scheduling
Tag has a suffix of _n, where n is an alphanumeric character, either 2 through
9, or A through G.
The Suppress If Late MVS Job option from the OPC Application report is
used when OPC may not be able to submit or release a job at the appropriate
time, for example, if predecessors have not completed, or if there is a system
outage. This option is used to determine whether the job is to be submitted or
released when it becomes possible, or whether it is not to be submitted or
released at all.
4-18 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
OPC Run Cycle Valid From/To dates specify the date range of the run cycle.
Normally, a run cycle definition is in effect as long as the application to
which it is attached exists. However, it is sometimes desired to limit the
period during which the run cycle definition is valid, by limiting the run
cycle date range. The conversion tool supports this feature by creating a
calendar in the following circumstances:
• the run cycle valid ‘From’ date is after the current date
or
• the run cycle valid ‘To’ date is before the conversion parameter &HIDATE
(described in Appendix A).
When a calendar satisfying the above is created, it is placed into the DCAL
job scheduling definition parameter in the schedule tag associated with the
period definition of the run cycle. The name of the calendar is RCVnnnnn
where nnnnn is a sequence number. The original calendar created for the run
cycle remains in the CONFCAL parameter, unless the Calendar Names file was
edited for this calendar.
OPC Run Cycle Valid From/To dates are always converted to CONTROL-M
AutoEdit variables in the job scheduling SET VAR statements as follows:
%%FROM=run-cycle-valid-fromdate
%%TO=run-cycle-valid-todate
Together with User Exit 1, which is in the conversion source library and is
discussed in Step 17.2 in Chapter 3, “Conversion Steps,” these SET VAR
statements determine the date range within which the job may be submitted.
When a job is associated with more than one normal run cycle, the valid
From/To dates of the first run cycle are used to create the %%FROM and
%%TO SET VAR statements.
The PSS special JCL comment statements //*%IJ, //*%1V, and //*%1S are
ignored by the conversion tool. The ‘ % ’ in column 4 is simply replaced by
an ‘ * ’ to prevent confusion when the conversion tool converts OPC
&-variables to CONTROL-M AutoEdit variables.
The PSS special JCL comment statements //*%2Vnn and //*%2Snn that
define JCL and SYSIN variables are converted to CONTROL-M AutoEdit
%%SET statements.
4-20 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
3. When a logical run date is specified in the variable format code field
(columns 60 through 64) of the PSS comment statement, the %%SET
formed is:
For any variable defined with B (blank) in its validation mask, you must
ensure that the variable value is converted to AutoEdit format using the
%%BLANKn AutoEdit variable.
32. %Snn
33. //*%IP
The PSS special JCL comment statement //*%IP allows for the insertion of
one or several statements from a member of the PSS Parameter library. The
conversion tool converts this statement to the following CONTROL-M
AutoEdit statement:
where:
4-22 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
All PSS %-variables embedded in the JCL stream, whether in JCL statements
or in the data stream, that is, following DD *, are converted to %%AutoEdit
variables.
The OPC JCL RECOVER directive specifies job rerun and/or restart actions
for various situations. This directive contains many parameters and
subparameters. The table shown below summarizes how the conversion tool
converts each parameter to CONTROL-M job scheduling parameters.
Note: The conversion tool may not accept as many parameter values as are
allowed in OPC. For example, OPC allows you to specify up to 40
application IDs for parameters ADDAPPL and RELSUCC, but the
conversion tool supports only 5 in each parameter.
“Note” in the table below refers to the number of the corresponding note
immediately after the table.
NOTES
ON PGMST ANYSTEP
The ON PGMST statement built using the ERRSTEP value serves as the
basis for all other parameters in the RECOVER directive, which is
described in the following note.
4-24 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
The conversion tool modifies both the JCL of the job and the relevant
scheduling definition. This is illustrated by the following example:
Example 1
//jobname JOB
//STEP1 EXEC ...
//STEP2 EXEC ...
//STEPX EXEC ...
//STEPY EXEC ...
//DELSTEP=(STEP1,STEP2,STEPX-STEPY)
//jobname JOB
//* %%IF %%STEP1 NE 1
//STEP1 EXEC ...
//* %%ENDIF
//* %%IF %%STEP2 NE 1
//STEP2 EXEC ...
//* %%ENDIF
//* %%IF %%STEPX NE 1
//STEPX EXEC ...
//STEPY EXEC ...
//* %%ENDIF
In addition, the conversion tool adds the following parameters to the job
scheduling definition:
4-26 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
The conversion tool modifies both the JCL of the job and the relevant
scheduling definition, as illustrated by the following example.
Example 2
In addition, the conversion tool adds the following parameters to the job
scheduling definition:
5. Parameter RESSTEP specifies the name of the job step at which point
the operation must be restarted.
table-name_jobname
4-28 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Component Conversion Summaries
OPC CONTROL-M
Free-day Rule CONFCAL SHIFT DCAL
Before (1) Calendar-id <
After (2) Calendar-id >
No move (3)
Cancel (4) Calendar-id
No free (E) Calendar-id
NOTES
3. When the OPC LAST parameter is specified with ONLY and a non-
specific day (DAY or WORKDAY), the conversion tool converts it to
DAYS=Ln. When a specific day is specified in the OPC DAY parameter
(Sunday, Monday, ...) the conversion tool converts it as follows:
DAYS=L1,L2,L3,L4,L5,L6,L7 And/Or A
WDAYS=n
4. When the OPC ONLY parameter is specified with a specific DAY, the
conversion tool converts it to WDAYS=DmWn
where:
6. Specific weeks, for example, WEEK (1, 4), are not supported, nor is the
WEEK parameter supported in combination with YEAR or MONTH,
except in certain situations, such as when used with OPC parameter
EVERY (referred to in Table 4-13, “Conversion of Rule-based
Parameters,” on page 29).
7. The OPC PERIOD parameter is supported only when no more than one
period name is specified in the rule.
8. You must create the HOLIDAY calendar, based on the applications base
calendar.
4-30 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Unique CONTROL-M and CONTROL-R Parameters
AUTO-ARCHIVE
This CONTROL-R parameter archives the three SYSDATA files of the job
for CONTROL-R use and online viewing. The archive parameters, such as
retention period or archive dataset type, are determined by CONTROL-R
installation parameters.
This parameter has a subparameter, SYSDB, which is set to Y (Yes). Each job
scheduling definition archives the three SYSDATA files to a common
dataset, instead of a unique dataset.
DO SYSOUT
The conversion tool can be instructed to specify various actions, using the
CONTROL-M DO SYSOUT facility.
SHOUT
Situation Description
WHEN NOTOK CONTROL-M sends a SHOUT message when a job fails.
WHEN CONTROL-M sends a SHOUT message when a job has not
LATESUB been submitted by a specified time.
WHEN LATE CONTROL-M sends a SHOUT message when a job is still
executing at a specified time.
The &SHOUT conversion parameter specifies the SHOUT message text for
failed jobs. The default message text is:
The &SHOUTL conversion parameter specifies the SHOUT message text for
late jobs. The default message text is:
When the OPC/ESA Deadline WTO MVS Job Option is set to Y (Yes), a
SHOUT message for jobs that are still executing after a specified (deadline)
time is placed in the job scheduling definition. The message text is:
4-32 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
8
Parameter Description
&APPLMAX Specifies the maximum number of applications that are
defined to OPC. Default: 15000
&AUTSCAN When the OPC VARSUB initialization parameter of the
OPCOPTS statement is set to SCAN, this conversion
parameter may be set to N (No) in order to instruct the
conversion tool to perform the following:
• Process the OPC JCL SCAN directive.
• Translate OPC variables to CONTROL-M AutoEdit
variables in the JCL member. The translation occurs
beginning from the line on which the SCAN appears.
When the OPC VARSUB parameter is set to YES, this
conversion parameter may be set to Y (Yes) to instruct the
conversion tool to perform the following:
• Ignore OPC JCL SCAN directives.
• Always translate OPC variables to CONTROL-M AutoEdit
variables in the JCL member.
However, even if the OPC VARSUB parameter is set to
SCAN, it is recommended that &AUTSCAN be set to Y (Yes),
to avoid problems of unresolved JCL variables in the future.
Default: Y (Yes)
&CALENDAR The calendar name to be used when the name of the
calendar does not appear in the OPC Application Description
report. If an OPC default calendar is not defined in the OPC
Calendar report (usually named DEFAULT), an alternate
calendar name must be specified in this option, to serve as a
default calendar.
Default: DEFAULT
&COMBINE Reserved, not for customer use. (Value must specify ‘N’.)
Parameter Description
&CTMCND Name of the CONTROL-M JCL procedure that adds
conditions. Default: IOACND
&CTR CONTROL-R parameter. Indicates whether CONTROL-R is
being implemented with CONTROL-M. Valid values:
• Y (Yes) – CONTROL-R is implemented with CONTROL-M.
The CONTROL-R parameters (discussed in Chapter 4,
“Conversion Details”) are automatically set in the job
scheduling definition. Default.
• N (No) – CONTROL-R is not implemented with
CONTROL-M. The CONTROL-R parameters are not set.
&DATE Date format in OPC Calendar and Period reports. Valid
values:
• DDMMYY – Default.
• YYMMDD
• MMDDYY
• YYYYMMDD – 4-digit year format.
If you are currently using a date format other than the above,
you must
1. modify the OPC DATEFORM parameter in the
BATCHOPS member of the OPC Installation PARM library
to specify one of the above date formats
2. reproduce the OPC reports
&DATESEP Indicates whether the dates in the Calendar and Period
reports contain a separator character (for example, /) between
the month, day and year fields.
• Y (Yes) – Dates contain a separator character. Default.
• N (No) – Dates do not contain a separator character
&DELCHAR Specifies characters to delete from the OPC application name
when creating CONTROL-M scheduling table names.
In OPC, the application name may not exceed 16 characters
in length, while in CONTROL-M the scheduling table name
may not exceed 8 characters. To reduce the OPC names to 8
characters, the characters to be omitted from the OPC
application names are specified in this conversion parameter.
For names longer than 8 characters, even after the omission
of the characters specified in this parameter, the leftmost
characters in the name are used. This parameter affects all
characters of the application name except the first.
The default specification is the vowels (A, E, I, O, and U) and
the national characters (@, #, and $). If no embedded
characters are to be omitted, specify nulls in this parameter.
Note: Specifying the &DELCHAR does not necessarily
guarantee the creation by the conversion tool of unique
CONTROL-M table names. For more information, see
conversion parameter &TBLUNIQ (in this Table).
A-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Conversion Parameters
Parameter Description
&DELCOND Specifies whether conditions must be deleted from the IOA
Conditions file at successful end-of-job. Valid values:
• Y (Yes) – All IN-conditions (including manual conditions)
must be deleted.
• N (No) – Do not delete conditions. Default.
When many jobs run more than once per 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 specify &DELCOND=Y if different jobs wait
for the same IN conditions. These jobs may be prevented
from executing after the conditions are deleted. For more
information on possible deletion of conditions, see parameter
&SPECCND in this table.
&DIRMAX Maximum number of members contained in OPC JCL library.
Default: 10000
&FROMC Specification as to which of the held sysout classes must be
requeued. Specify ‘ ’ (blank) if all Held sysouts must be
requeued.
Default: blank
When &TOCLASS is blank, this parameter is ignored.
&GLBLMEM Name of the PARMLIB member containing global JCL PSS
variable definitions. An AutoEdit %%INCLIB statement
specifying this member is inserted into all PSS JCL members
that contain PSS variables. Default: PSSGLBL
>ABLE Name in the OPC/ESA GTABLE initialization parameter of the
(for OPC/ESA OPCOPTS statement that specifies the Global variable table
only) name. This name is used as the member name in a
CONTROL-M %%GLOBAL name AutoEdit statement that is
inserted at the beginning of every JCL member utilizing
OPC/ESA variables. Default: GLOBAL
&HHMM Time format in OPC reports. Options:
• HHMM – For hhmm format. Default.
• MMHH – For mmhh format.
Parameter Description
&HIDATE Date (in Julian format – yyddd) used in determining whether a
Run Cycle Valid date range is to create a calendar in a job
scheduling definition Schedule Tag DCAL parameter for the
associated run cycle period. All run cycle valid ‘To’ dates that
precede the &HIDATE value cause calendars to be created
and placed into the DCAL parameter. The &HIDATE value, in
effect, serves as the point after which the run cycle is
considered permanent and no limiting calendar is necessary,
subject to the run cycle valid ‘FROM’ date; for more
information, see Item 29 in Chapter 4, “Conversion Details.”
When a calendar is created, its name has the format
RCVnnnnn, where nnnnn is a sequentially assigned number.
To suppress creation of Run Cycle validity calendars, specify
&HIDATE=00000. Default.
If &HIDATE=* is specified:
• No calendars are created. The conversion uses the run
cycle valid FROM and TO dates to create SETVAR
AutoEdit variables %%FROM and %%TO. For more
information see Item 29 in Chapter 4, “Conversion Details.”
• CONTROL-M User Exit 1 must be installed. This exit
activates date range processing as specified by SETVAR
variables. For more information, see Step 17.2 in
Chapter 3, “Conversion Steps.”
&HISTORY History Active Jobs file feature. Valid values:
• blank – The History Active Jobs file feature is not being
used (Default).
• Dnnn – Retention period is specified in number of days
(nnn).
• Gnn – Retention is specified in number of generations (nn).
&INCLIB Library name to be specified in the CONTROL-M %%INCLIB
AutoEdit statements that are converted from OPC FETCH
directives. Specify the dataset name of the library allocated to
the OPC DD statement EQQJBLIB. Default: CTM.EQQJBLIB
&INCLIBP Library name to be specified in the CONTROL-M %%INCLIB
AutoEdit statements that are converted from OPC RECOVER
ADDPROC statements. Specify the dataset name of the
library allocated to the OPC DD statement EQQPRLIB.
Default: CTM.EQQPRLIB
&INIT Initiator resource name. With this resource you can control
how many jobs can run simultaneously under CONTROL-M.
Specify ‘ ’ to suppress adding this resource to the job
scheduling definition.
Default: INITIATOR
&JOBMAX Specifies the maximum number of JOBS that are defined to
OPC. Default: 41000
&LANG OPC reports language. For additional details, see Step 5 in
Chapter 3, “Conversion Steps.”” Valid values:
• ENG – English (Default)
• SPA – Spanish
• GER – German
• FRN – French
A-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Conversion Parameters
Parameter Description
&LINMAX Maximum lines in a JCL member. Default: 3000
&MANLCND Manual operation parameter. Valid values:
• P – Operation on PRINT workstation must wait for manual
confirmation.
• A – All manual operations, on both PRINT and GENERAL
workstations, must wait for manual confirmation. Default.
• G – Operation on GENERAL workstation must wait for
manual confirmation.
• N – Manual operations, whether on PRINT or GENERAL
workstations, need not wait for manual confirmation, that is,
the operation does not require an IN condition.
Operations that must wait for manual confirmation require IN
conditions.
&MAXCALS The maximum number of calendars to be created due to the
OPC Run Cycle Valid From/To date field. For more
information, see parameter &HIDATE in this table.
Default: 1000
&MAXRRUN The maximum number of automatic reruns to be performed
for non-STC jobs when rerun is required. Default 002
&MAXWAIT When the OPC Suppress if Late Option is set to No, the
number of additional days CONTROL-M leaves the job on the
Active Job File. Default: 01
For more information, see Item 28 in Chapter 4, “Conversion
Details.”
&MEMLIB JCL Library name. Default: GENERAL
For more information, see the CONTROL-M for OS/390 User
Manual).
&NCT2 Automatic setting of the CONTROL-M PREVENT-NCT2
parameter. Valid values:
• Y (Yes) – Sets PREVENT-NCT2 to Y (Yes) for all jobs.
Default.
• N (No) – Sets PREVENT-NCT2 to N (No) for all jobs.
• OPC – For OPC/ESA Version 1, Release 2 and later only.
Sets PREVENT-NCT2 to either Y (Yes) or N (No) based on
the OPC/ESA Catalog Management MVS option setting for
the job; a setting of D – Deferred – is treated as Y (Yes).
For earlier releases of OPC, a setting of ‘OPC’ is treated as
Y (Yes).
For a discussion of catalog management, see Chapter 1,
“Conceptual Overview.”
This parameter is ignored for jobs whose TASKTYPE is STC
(that is, for STCs, PREVENT-NCT2 is always N).
PREVENT-NCT2 is also set to N if &CTR is set to N.
&OVERLIB Name of the CONTROL-M JCL Override Library.
Default: CTM.JCL.OVERLIB
&PARMLIB Library name of the PSS Parameter library that contains
members specified on the //*%IP special JCL comment
statements. Default: CTM.PSS.PARMLIB
Parameter Description
&PNIBTSD Process Non-Instream Batch SYSIN Data indicator. Specifies
whether the conversion program converts OPC batch
commands SRSTAT and OPSTAT that are not contained
instream in the SYSIN DD statement of an OPC batch step,
that is, are pointed to by a sequential dataset or a member of
a partitioned dataset.
Valid values:
• Y (Yes) – Convert the commands.
• N (No) – Do not convert the commands. Default.
At sites where references to batch commands are from within
JCL procedures, meaning the SYSIN DD statement does not
appear in the JCL member being converted, you may run the
JCL conversion (JOB3) against the affected procedure-library.
Note: If &PNIBTSD=Y is specified, in addition to the JCL
libraries defined in the DAJCLIN DD statement of JOB3, you
should copy all PDS and sequential datasets containing OPC
batch commands to preserve the original PDS and sequential
datasets. For more information, see Step 2 in Chapter 3,
“Conversion Steps.”
&REL When conversion parameter &VER is set to E, &REL
(for OPC/ESA specifies the release of the OPC/ESA product from which you
only) are converting: Valid values:
• 1 – OPC/ESA Version 1, Release 1.
• 2 – OPC/ESA Version 1, Release 2 and 3. Default.
• 3.1 – OPC/ESA Version 1, Release 3.1 and later, including
Version 2.
&RELEASE Sysout release indicates whether the sysouts of the job must
be released for printing after they are analyzed by
CONTROL-M. Valid values:
• Y (Yes) – Release sysouts for print. Default.
• N (No) – Do not release sysouts.
&RESMAX Maximum number of OPC special resources whose names
exceed 20 characters. Default: 2000
&RESOURC Workstation resources: Valid values:
• A – Create CONTROL-M Quantitative resources from OPC
workstation server and R1 and R2 resources. Default.
• S – Create CONTROL-M Quantitative resources from OPC
workstation server resources only.
• R – Create CONTROL-M Quantitative resources from OPC
workstation R1 and R2 resources only.
• N – Do not create CONTROL-M server and R1 and R2
Quantitative resources.
For more information, see Item 7 in Chapter 4, “Conversion
Details.”
&SCHMAX Specifies the maximum number of lines in a CONTROL-M
TABLE member. Default: 8000
A-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Conversion Parameters
Parameter Description
&SHOUTD Destination for SHOUT messages. Valid values:
• SYSUSER – Uses the owner ID for each scheduling table,
as specified in the Application Names file created by JOB1.
Default
• OPER – Issues the SHOUT message to the console.
• OPER2 – Issues the SHOUT message to the console, as
highlighted and unrollable.
• TSO-uid – Issues the SHOUT message to a specific TSO
user ID named uid (a maximum of eight characters).
For more information, see parameter SHOUT in the
CONTROL-M for OS/390 User Manual.
&SHOUTL SHOUT message for when a job is late. Specify the text, to a
maximum of 50 characters, for SHOUT WHEN LATESUB
messages. The message is sent when the submission time of
the job, that is, the OPC/ESA deadline time, has passed.
Specify ‘ ’ (blank) to suppress the message.
Default: MEMBER %%$MEMNAME IS LATE!
&SHOUTT SHOUT message for when a job fails. Specify the text, to a
maximum of 50 characters, for SHOUT WHEN NOTOK
messages.
Specify ‘ ’ (blank) to suppress the message.
Default: %%JOBNAME J%%JOBID ENDED NOTOK!
&SPECCND Specifies whether to implement the OPC SPECIAL
RESOURCE (data dependency) availability feature.
Valid values:
• Y (Yes) – Special resource implementation is required. Jobs
that require special resources require IN conditions. For
more information, see Item 4 in Chapter 4, “Conversion
Details.” Special resources in exclusive held status remain
available after the job ends NOTOK, that is, the IN condition
is not deleted. Default
• N (No) – Special resource implementation is not required.
Jobs that require special resources do not require IN
conditions.
• D – Special resource implementation is required but the
resources in exclusive held status are not available after the
job ended NOTOK. The conversion tool places the following
CONTROL-M post-processing parameter in the job
scheduling definition to delete the special (control) resource
from the CONTROL-M Resources file:
ON PGMST ANYSTEP PROCST ANYSTEP CODES
NOTOK
DO COND CONTROL-resource-name STAT -
Parameter Description
&TBLUNIQ The conversion tool does not necessarily guarantee that all
CONTROL-M table names that were created in the
Application Name file are unique. You may manually edit the
Application Name file in response to error messages
CTMOP321E, or you may utilize this conversion parameter to
ensure that the conversion tool automatically creates 8
character CONTROL-M table names uniquely. This is done by
specifying a value of 1–5 in this parameter. This number
represents the number of characters from the OPC
Application ID (after taking into account the effects of the
&DELCHAR conversion parameter) to use as the table name
prefix with the remaining characters formed by a sequential
number suffix.
A value of 0 indicates that this parameter must be ignored.
Note: It is recommended that this parameter be activated only
if the number of CTMOP321E error messages is excessive.
&TOCLASS New output class to which CONTROL-M is to requeue the
JCL MSGCLASS sysouts of the job. Valid values:
• ‘ ’ (blank) – reroute is not required.
• * – if the sysouts of the job are to be requeued to its original
MSGCLASS after they are analyzed by CONTROL-M.
Default: *
&VER Version and release of the OPC product from which you are
converting. Valid values
• 1 – OPC/A Version 1.1
• 2 – OPC/A Version 1.2
• E – OPC/ESA (all versions and releases). Default
&WSMAX Specifies the maximum number of WORKSTATIONS that are
defined to OPC. Default: 50
A-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
10
CTMyyynnx
where CTM indicates that the message pertains to CONTROL-M for OS/390,
and where:
Item Explanation
yyy is a 3-character identifier of the conversion tool component that
produced the message.
nn is a 2-character numeric identifier for the message
x is a 1-character alphabetic identifier for the severity of the message
• A: Action
• E: Error
• I: Information
• S: Severe
• W: Warning.
BCLnnn messages are generated by the utility, not the conversion programs. nnn
represents any message code issued by the utility. All BCL messages are individually
documented and explained in INCONTROL for OS/390 Messages and Codes.
User Response: Check INCONTROL for OS/390 Messages and Codes for the
meaning of the specific message, and perform the corrective action indicated. Then
rerun the job.
For GETMAIN, val is the area that the program attempted to obtain.
For CTMMEM, val is the function attempted and member is the PDS member for
which the function failed.
The meaning of the CTMMEM rcs are explained in the following table:
B-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
CTMOP200E
RC Reason
4 End of file (in GETLINE operation)
8 Insufficient memory to continue
12 Member not found in library
16 Dataset not a library
20 Dataset not fixed format
24 LRECL not 80
28 Dataset in use
32 Internal error, such as insufficient directory blocks, or file not allocated
36 Dataset not found in catalog
40 Dynamic allocation failed, such as insufficient directory blocks
44 Invalid request to CTMMEM
48 Maximum lines or directory entries exceeded
52 Error opening or processing directory, such as insufficient directory
blocks
56 STAE has intercepted an abend. Examples are: Insufficient region, out-
of-space condition, security violation, invalid PDS structure, third party
vendor product (VAM, STOPX37, HIPER-CACHE, ULTIMIZER), RLSE
coded in the JCL SPACE parameter, and so on
60 Member does not exist during save
64 Member already exists
68 Format parameter does not match library type
User Response: If a GETMAIN error occurred, increase the REGION size. For the
other functions, take appropriate action based on the return code.
User Response: Increase the value of &RESMAX and rerun ASMLINK and JOB1.
User Response: Increase the value of &WSMAX and rerun ASMLINK and JOB1.
Operation names for each application are listed in the Application report. An
Operation name is composed of both a workstation ID and an operation code. Any
workstation ID that comprises part of the Operation name for an application must
appear in the Workstation report for that application.
User Response: Check the indicated application in the OPC Application report.
Add the missing workstation definition using OPC, rerun the Workstation Report,
and then rerun JOB1.
Explanation: Either application appl has more than 16 run cycles (if rcycname is
blank) or run cycle (period) rcycname does not exist in the OPC Period reports.
User Response: If rcycname is blank, reduce the number of run cycles to 16 or less.
Otherwise, define run cycle rcycname and produce the Period report again, or delete
the run cycle definition from Application appl. In either case, produce the
Application Detail report again, and rerun JOB1.
B-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
CTMOP308E
User Response: Check the DAEXCEP file for detail error messages, and proceed
accordingly.
User Response: Increase the value coded for &APPLMAX, rerun ASMLINK and
rerun the failing job.
CTMOP310E APPLID: applid1 NOT FOUND IN APPL TABLE. APPL ID: applid2 USED
Explanation: The full 16 character application ID applid1 was not found in the
application table built from the OPC Report.
The probable cause is that old Application ID applid1 in the Application Names
table has been modified (which is not permitted), or applid1 is named as an internal
or external predecessor of an application but was never defined to OPC as an
application.
System Action: The first eight characters of the application ID are used in
constructing a CONTROL-M schedule table name.
User Response: Correct the Application Name file and rerun JOB2, or define
applid1 as an application to OPC and rerun the conversion.
User Response: Increase the value coded for &JOBMAX to a number greater than
the number of records in the cross reference report created in JOB1, and rerun
ASMLINK and the failing job.
User Response: Modify the problematic name in the DACHANGE file and rerun
JOB2.
CTMOP501E text
CTMOP503S APPL ID: appl MATCHING RUN CYCLE FOR THIS APPLICATION DOES
NOT EXIST IN CALENDAR NEW NAME TABLE
Explanation: The Calendar Names file has probably been incorrectly modified.
User Response: Correct the Calendar Names file and rerun the job.
Explanation: Calendar cal has more than 15 negative run cycles associated
with it.
User Response: Edit the Calendar Names file to ensure that calendar cal has no
more than 15 negative run cycles associated with it.
User Response: Modify the problematic name in the application detailed report file
and rerun JOB1.
B-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
CTMOP709E
User Response: Modify the problematic name in the Calendar Names file and rerun
the job.
CTMOP808E COMBINATION OF OLD CALENDAR cal AND OLD PERIOD per DOES
NOT EXIST IN CALENDAR TABLE.
Explanation: A new calendar could not be built for period per because calendar
cal was not found in the Calendar Names file (CALNAME).
The probable cause is that the Calendar Names file has been incorrectly modified.
User Response: Correct the Calendar Names file and rerun the job.
Explanation: A new calendar could not be built by the IOABLCAL utility using
an existing period because calendar cal was not found in the Calendar Names file
(CALNAME). For details, see the INCONTROL for OS/390 Utilities Guide.
The probable cause is that the Calendar Names file has been incorrectly modified.
User Response: Correct the Calendar Names file and rerun the job.
Explanation: New calendar cal could not be built by the IOABLCAL utility
because either the NORMAL or NEGATIVE (that is, one of the negative run cycle
components) calendars used as input to the utility could not be found in the Calendar
Names file (CALNAME).
The probable cause is that the Calendar Names file has been incorrectly modified.
See the discussion of the Calendar Names file in JOB1 in Chapter 2, “Conversion
Process Flow.”
User Response: Correct the Calendar Names file and rerun the job.
Explanation: Member DOCMEM in the DOCLIB library was not created, for
one of the reasons set out in the following table:
User Response: For the first two reasons, manually create the DOCMEM members.
For reason 3, no action is required.
User Response: Increase the value coded for &DIRMAX, rerun job ASMLINK, and
rerun the failing job.
User Response: Increase the value coded for &LINMAX, rerun job ASMLINK and
rerun the failing job.
B-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
CTMOP1501E
The member in which the error occurred and the member line in questions are
displayed in the message.
User Response: Correct the invalid command or manually convert the unsupported
command or directive.
User Response: Ensure that the calendars in the reports are defined for a full year.
The member in which the error occurred and the member line in questions are
displayed in the message.
A typical error situation is where an unsupported PSS JCL comment statement was
encountered.
User Response: Correct the invalid command or manually convert the unsupported
command or directive.
User Response: In the job scheduling definition corresponding to this member, set
the CONFIRM parameter to Y, and define the variables and their default values in SET
VAR parameters. This allows manual intervention to set the proper variable values at
submission time.
B-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
2
Please supply all the information requested below when reporting a problem
related to the conversion process:
5. Any source fixes or zaps applied to the conversion tool. Also, whether
REFRESH LLA was performed after changes were made.
7. The full text of all Job Log messages, in addition to all error messages in
the conversion tool error files (DAPRINT, DAEXCEP, and so on).
8. All changes made to the Application Name List file and the Calendar
Names List file (from JOB1).
9. If an abend has occurred, send a copy of the symptom dump and have a
full dump (SYSUDUMP) available for use by BMC Software technical
support staff use.
C-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
8
Index
Index 1
Index
2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Index
Index 3
Index
4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Index
Index 5
Index
6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Index
Index 7
Index
U
UNTIL Parameter (CTM), Parallel OPC
Concept 4-18
V
Variables, Conversion 1-5
VARSUB OPC Initialization Parameter, SCAN
Value A-1
Verification of Conversion Results 3-17
W
WDAYS Parameter, CONTROL-M 2-9
Work Flow 2-1
Workstation
Maximum Number Defined A-8
OPC Report 2-2, 2-6
Resources 1-3
Servers 4-7
Y
Year, PSS Date Format 4-21
8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide
Notes
*100036480*
*100036480*
*100036480*
*100036480*
*100036480*