48730541-opc-guide

124
iv CONTROL-M ® for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide Version 6.0.00 March 1, 2001

Upload: prashant-tripathi

Post on 28-Mar-2015

291 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 48730541-opc-guide

iv

CONTROL-M® for OS/390OPC/A, OPC/ESA, and Tivoli OPC

Conversion Guide

Version 6.0.00

March 1, 2001

Page 2: 48730541-opc-guide

arks nies.

t , as

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 trademor trademarks of BMC Software, Inc. All other registered trademarks or trademarks belong to their respective compa

Restricted Rights Legend

U.S. GOVERNMENT RESTRICTED RIGHTS. UNPUBLISHED–RIGHTS RESERVED UNDER THE COPYRIGHT LAWS OF THE UNITED STATES. Use, duplication, or disclosure by the U.S. Government is subject to restrictions seforth in FAR Section 52.227-14 Alt. III (g)(3), FAR Section 52.227-19, DFARS 252.227-7014 (b), or DFARS 227.7202amended from time to time. Send any contract notices to Contractor/Manufacturer:

BMC Software, Inc.2101 CityWest Blvd.Houston TX 77042-2827USA

C

Contacting BMC Software

You can access the BMC Software Web site at http://www.bmc.com. From this Web site, you can obtain general information about the company, its products, special events, and career opportunities. For a complete list of all BMSoftware offices and locations, go to http://www.bmc.com/corporate/offices.html.

USA and Canada Outside USA and Canada

Address BMC Software, Inc.2101 CityWest Blvd.Houston TX 77042-2827

Telephone

Fax

(01) 713 918 8800

(01) 713 918 8000

Telephone 713 918 8800 or800 841 2031

Fax 713 918 8000

Page 3: 48730541-opc-guide

se On

support

e the

egin

F

Customer Support

You can obtain technical support by using Response Online™ (comprehensive information from the Web) or ResponDemand™. 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 technicalWeb 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. OutsidUSA and Canada, please contact your local support center or your local sales office for assistance.

Before Contacting BMC Software

Before you contact BMC Software, have the following information available so that a technical support analyst can bworking on your problem immediately:

• product information

— product name— product version (release number)— license number and password (trial or permanent)

• operating-system and environment information

— machine type— operating system type, version, and service pack or program temporary fix (PTF)— system hardware configuration— serial numbers— related software (database, application, and communication) including type, version, and service pack or PT

• sequence of events leading to the problem

• commands and options that you used

• messages received (and the time and date that you received them)

— product error messages— messages from the operating system, such as file system full— messages from related software

iii

Page 4: 48730541-opc-guide

iv CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 5: 48730541-opc-guide

Contents

About This GuideAbout the Conversion Tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiiConventions Used in This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii

Chapter 1 Conceptual OverviewApplication Definition and CONTROL-M Group Scheduling . . . . . . . . 1-2

Job Predecessor and Successor Relationships . . . . . . . . . . . . . . . . . . 1-2Quantitative (Workstation) Resources . . . . . . . . . . . . . . . . . . . . . . . . 1-3Data Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3Run Cycles, Calendars and Periods . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4

JCL Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5CONTROL-M New Day Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7Event-Trigger Tracking (ETT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8Catalog Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8Automatic Event Reporting (AER) Facility . . . . . . . . . . . . . . . . . . . . . . . 1-9Job Completion Checker (JCC) Facility. . . . . . . . . . . . . . . . . . . . . . . . . . 1-9JCL Repository Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10

Chapter 2 Conversion Process FlowJOB0: Produce OPC Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2

Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2Application Description Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2Workstation Description Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3Operator Instruction Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3Calendar Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4Period Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4JCL Variable Table Report (for OPC/ESA Only) . . . . . . . . . . . . . . . 2-5

JOB1: Extract Workstation and Application Info. . . . . . . . . . . . . . . . . . . 2-6Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7

JOB2: Construct CONTROL-M Calendars and Scheduling Table Libraries. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12

Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12

BMC Software, Inc., Confidential and Proprietary Information

Contents v

Page 6: 48730541-opc-guide

Contents

Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12

JOB3: Convert JCL Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16

JOB4: Convert OPC JCL RECOVER Directives . . . . . . . . . . . . . . . . . . . 2-17Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17

Chapter 3 Conversion StepsStep 1 - Create the Conversion Source and

Load Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3Step 2 - Copy OPC and PSS JCL Libraries. . . . . . . . . . . . . . . . . . . . . . . . 3-3Step 3 - Produce OPC Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4Step 4 - Check and/or Modify Parameters in Member DEFAULTS. . . . . 3-4Step 5. Check and/or Modify Conversion Tool

Support for Different OPC Language Reports. . . . . . . . . . . . . . . . . . . . 3-5Step 6. Modify and Run Member ASMLINK. . . . . . . . . . . . . . . . . . . . . . 3-7Step 7. Modify and Run Member JOB1 . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8Step 8. Check and Modify the Application,

Owner, and Calendar Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10Step 9. Modify and Run Member JOB2 . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11Step 10. Modify and Run Member JOB3 . . . . . . . . . . . . . . . . . . . . . . . . . 3-14Step 11. Modify and Run Member JOB4 . . . . . . . . . . . . . . . . . . . . . . . . . 3-16Step 12. Add CONTROL-M Quantitative Resources and Conditions . . . 3-17Step 13. Check Conversion Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17Step 14. Customize the New Day Processing Job. . . . . . . . . . . . . . . . . . . 3-17Step 15. Execute CONTROL-M Utility IOALDNRS. . . . . . . . . . . . . . . . 3-18Step 16. Copy Members SYSTEM and GLOBAL

(for OPC/ESA Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18Step 17. Final Adjustments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19

Chapter 4 Conversion DetailsComponent Conversion Summaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2

1. Job Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-42. Appl ID and Job Grouping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-43. Owner ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-44. Data Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-45. Operation Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-56. Manual Workstations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-67. Workstation Resources, Workstation Servers . . . . . . . . . . . . . . . . . 4-78. Run Cycle (Offset-based) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-89. Calendars, Periods (Offset-based run cycles) . . . . . . . . . . . . . . . . 4-810. Arrival-Time, Deadline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1011. Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1012. Operator Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11

BMC Software, Inc., Confidential and Proprietary Information

vi CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 7: 48730541-opc-guide

Contents

174-184-18-1920-20

-224-23-23-28-3131-31-32

13. SEARCH and TABLE Directives . . . . . . . . . . . . . . . . . . . . . . . . 4-1114. FETCH Directive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1215. BEGIN and END Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1216. & and % Variables (for OPC/ESA Only) . . . . . . . . . . . . . . . . . . . 4-1317. SRSTAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1418. Started Task Option (for OPC/ESA Only) . . . . . . . . . . . . . . . . . . 4-1419. DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1520. Automatic Submission Option (for OPC/ESA Only) . . . . . . . . . 4-1521. DEADLINE WTO Option (for OPC/ESA Only). . . . . . . . . . . . . 4-1522. ERROR TRACKING Option. . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1623. Catalog Management (for OPC/ESA Only). . . . . . . . . . . . . . . . . 4-1624. SCAN Directive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1625. OPSTAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1626. Highest Return Code – HRC (for OPC/ESA Only) . . . . . . . . . . . 4-27. Rule/Period Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28. Suppress If Late . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29. Run Cycle Valid From/To . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430. //*%IJ, //*%1V, //*%1S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31. //*%2V, //*%2S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432. %Snn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2233. //*%IP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434. %-variables (PSS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40. RECOVER Directive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441. ADRULE (Rule-based Run Cycle) . . . . . . . . . . . . . . . . . . . . . . . 4

Unique CONTROL-M and CONTROL-R Parameters . . . . . . . . . . . . . . 4AUTO-ARCHIVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-DO SYSOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4SHOUT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Appendix A Conversion Parameters

Appendix B Messages and Codes

Appendix C Problem Reporting

Index

BMC Software, Inc., Confidential and Proprietary Information

Contents vii

Page 8: 48730541-opc-guide

Contents

BMC Software, Inc., Confidential and Proprietary Information

viii CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 9: 48730541-opc-guide

Tables

Table 2-1 Jobs in the Conversion Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1Table 2-2 File CTM.OPC.APPL.NAMES Record Layout . . . . . . . . . . . . . . . . . . . 2-7Table 2-3 Conversion of OPC Files Containing Application Names and

Owner IDs 2-8Table 2-4 CTM.OPC.CAL.NAMES File Format . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8Table 2-5 Sample CTM.OPC.CAL.NAMES File . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10Table 2-6 JCL Parameters to Convert Special PSS Statements . . . . . . . . . . . . . . . . 2-14Table 3-1 Parameters to be Adjusted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3Table 3-2 The Contents of OPC Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5Table 3-3 Languages Supported for Versions of OPC . . . . . . . . . . . . . . . . . . . . . . . 3-6Table 4-1 Job Schedule Definition Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2Table 4-2 JCL LIbrary Conversions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3Table 4-3 PSS Special JCL Statements Conversion . . . . . . . . . . . . . . . . . . . . . . . . 4-3Table 4-4 CONTROL-M Free Days Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9Table 4-5 Conversion of OPC OPSTAT Commands . . . . . . . . . . . . . . . . . . . . . . . . 4-17Table 4-6 Conversion of the OPC Suppressed If Late Parameter . . . . . . . . . . . . . . 4-19Table 4-7 Conversion of PSS Logical Date Formats . . . . . . . . . . . . . . . . . . . . . . . . 4-21Table 4-8 Conversion of RECOVER Directive Parameters . . . . . . . . . . . . . . . . . . 4-23Table 4-9 Conversion of ERRSTEP Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24Table 4-10 Conversion of JOBCODE Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25Table 4-11 Conversion of RESSTEP Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27Table 4-12 Conversion of Free-day Rule Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-29Table 4-13 Conversion of Rule-based Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29Table 4-14 SHOUT Situations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-32

BMC Software, Inc., Confidential and Proprietary Information

Tables ix

Page 10: 48730541-opc-guide

Tables

BMC Software, Inc., Confidential and Proprietary Information

x CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 11: 48730541-opc-guide

xiv

About This Guide

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.

The guide is divided into the following sections:

Chapter 1 – Conceptual Overview

Overview of basic concepts describing the conversion from OPC to CONTROL-M

Chapter 2 – Conversion Process Flow

Description of the conversion process batch jobs are provided

Chapter 3 – Conversion Installation and Operation Steps

Step-by-step procedure for installing and operating the conversion tool

Chapter 4 – Conversion Details

Definitions of relevant OPC data parameters in relation to corresponding CONTROL-M parameters, and a description of unique CONTROL-M and CONTROL-R options that can be automatically set in the CONTROL-M scheduling tables

BMC Software, Inc., Confidential and Proprietary Information

About This Guide xi

Page 12: 48730541-opc-guide

About the Conversion Tool

g

nd

ion

Appendix A – Conversion Parameters

Various parameters for the conversion process

Appendix B – Messages and Codes

Messages and codes of the conversion process

Appendix C – Problem Reporting

Instructions on reporting problems to BMC Software technical support

Index

About the Conversion Tool

The conversion consists of a sequence of batch jobs. Although these jobs run independently of OPC and CONTROL-M, CONTROL-M must be installed in order to perform the conversion.

The conversion tool performs the following functions:

• Converts OPC application definitions to CONTROL-M Group scheduling tables

• Converts OPC rule-based run cycles to CONTROL-M basic schedulinparameters

• Converts OPC offset-based run cycles, in conjunction with calendar aperiod definitions, to CONTROL-M calendars

• Converts OPC operator instructions to the CONTROL-M documentatlibrary

• Enables the customer to set unique CONTROL-M and CONTROL-R options in the job scheduling definitions

• Creates a CONTROL-M AutoEdit variables library from the OPC/ESAJCL Variable tables report

BMC Software, Inc., Confidential and Proprietary Information

xii CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 13: 48730541-opc-guide

Conventions Used in This Guide

ions

y

, ple,

ard,

• Converts JCL libraries to CONTROL-M format

• Issues messages about problems and errors found in the OPC definit

The conversion tool is delivered in source code format and may be localltailored to fit specific requirements.

Conventions Used in This Guide

Notational conventions used in this guide are explained below.

Standard Keyboard Keys

Keys that appear on the standard keyboard are identified in boldface, forexample, Enter, Shift, Ctrl+S (a key combination), or Ctrl S (key sequence).

Field, File, Function, Job, Member, Mission, Option, Report, and User Names

The names of fields, functions, jobs, members, missions, options, reportsusers, and most files, are shown in standard UPPERCASE font, for examuser DEMO, file CTM.AUTO.OUTLST, mission DEMO1D, and so on.

Command and Parameter Names

The names of the commands and parameters used in the CONTROL-M environment are identified in this UPPERCASE font. Examples: &CTR, DOWN,

HELP, MEMNAME, or UP. The names of commands and parameters used in OPC, and in the products of third parties, are identified in standard UPPERCASE font.

User Entries

In situations where you are instructed to enter characters using the keybothe specific characters to be entered are shown in this UPPERCASE BOLD text, for example, type EXITNAME.

BMC Software, Inc., Confidential and Proprietary Information

About This Guide xiii

Page 14: 48730541-opc-guide

Conventions Used in This Guide

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’

• code examples, such as FOR TABLE owner.name USE option, . . . ;

• control statements, such as //PRDSYSIN DD * USERLOAD PRD(2) PRINT

• system messages, both stand-alone, such as You are not logged on to database database_nameand those embedded in text, such as the message You are not logged on to database database_nameare displayed on the screen

Variables

Variables are identified with italic text. Examples of this are:

• In syntax or message text, such asSpecify database database_name

• In regular text, such asreplace database database_name1 with database database_name2 for the current session

• In a version number, such asEXTENDED BUFFER MANAGER for IMS 4.1.xx

BMC Software, Inc., Confidential and Proprietary Information

xiv CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 15: 48730541-opc-guide

10

Chapter 1 Conceptual Overview

This overview is intended for production control personnel who are familiar with OPC terminology. Experience with CONTROL-M is recommended.

The conversion tool converts OPC application information to appropriate CONTROL-M job scheduling definitions. OPC concepts and parameters are translated to similar CONTROL-M concepts and parameters.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 1 Conceptual Overview 1-1

Page 16: 48730541-opc-guide

Application Definition and CONTROL-M Group Scheduling

e

priate

tion

Application Definition and CONTROL-M Group Scheduling

OPC applications are converted to CONTROL-M Group scheduling tables.

In OPC, job grouping is performed by connecting a group of logically related operations into a single application. In CONTROL-M, logically related jobs are grouped into CONTROL-M Group scheduling tables, and each application is converted to one Group scheduling table.

The conversion tool supports the handling of related jobs as a group by creating them in a special scheduling table called a Group scheduling table. Each Group scheduling table has a special job scheduling definition, called a Group Entity. Group handling criteria for the entire group of jobs are specified in this Group Entity.

For additional information on Group Scheduling, see the discussion of handling of job groups in the CONTROL-M for OS/390 User Manual.

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 entirapplication, by specifying CONTROL-M FROM and UNTIL times derivedfrom the OPC arrival and deadline times.

Job Predecessor and Successor Relationships

OPC predecessor and successor job relationships are translated to approCONTROL-M prerequisite IN and/or OUT conditions.

In CONTROL-M, each OPC operation dependency, that is, job flow, is implemented using prerequisite conditions. A prerequisite condition is a descriptive name given to a specific situation, event, or condition. A prerequisite condition can be defined as an IN condition or an OUT condifor the job. A condition date reference is associated with each condition.

BMC Software, Inc., Confidential and Proprietary Information

1-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 17: 48730541-opc-guide

Application Definition and CONTROL-M Group Scheduling

a e

is ss

ed

erted ,

-M

ce.

tate.

in a

• An IN condition for a job is a prerequisite condition that must exist, infile called the IOA Conditions file, before the job can be executed. Thjob is submitted for execution only if all IN conditions with the requireddate exist in the IOA Conditions file.

• An OUT condition for a job is a prerequisite condition that is added, generally, to the IOA Conditions file upon completion of the job. A job considered to be ended OK if it terminates with a condition code of lethan 5 in all its steps. This is the default.

OPC manual workstation operations (GENERAL and PRINT) are convertto CONTROL-M Manual dummy jobs containing IN conditions.

Quantitative (Workstation) Resources

OPC operations may require a maximum of three different workstation resources: server, resource 1, and resource 2. These resources are convto CONTROL-M Quantitative resource statements. For more informationsee Item 7 in Chapter 4, “Conversion Details.”

Data Dependencies

OPC data dependencies (special resources) are converted to CONTROLControl resources.

In OPC, SHR or EXC allocation status is assigned to each special resourThe resource availability status can be changed from YES to NO by a program. The resource is considered in use by the operation until the operation is rerun and reaches completed status.

In OPC, data dependencies perform the following functions:

• they control parallel execution of operations (jobs). In CONTROL-M, this is implemented by using control resources.

• they validate availability of the resource. In CONTROL-M, resource validity is performed using IN conditions.

In CONTROL-M, Control resources can be used in exclusive or shared sIf a Control resource is used in an exclusive state, then only the job that requires it can use the Control resource. A Control resource that is used shared state can be used to control the parallel execution of jobs.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 1 Conceptual Overview 1-3

Page 18: 48730541-opc-guide

Application Definition and CONTROL-M Group Scheduling

n

Run Cycles, Calendars and Periods

OPC provides two methods for specifying date-based scheduling criteria. In OPC/ESA version 1, release 3 (and later), you may specify rule-based run cycles. This provides you with the ability to define date-based scheduling criteria through a rule-based language. These rules are converted into CONTROL-M basic scheduling criteria. For example the OPC rule:

ONLY(005 007 009) DAY(WORKDAY) MONTH

is converted into the CONTROL-M parameter DAYS=D5,D7,D9 and subparameter DCAL=WORKDAY. The OPC free-day rule is also converted into the CONTROL-M CONFCAL and SHIFT parameters. In all other versions and releases of OPC, scheduling is specified by Offset-based run cycles. In this case, the conversion tool creates CONTROL-M calendars only, based on the OPC offset run cycle, calendars, periods, and free-day rule.

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 iChapter 4, “Conversion Details.”

BMC Software, Inc., Confidential and Proprietary Information

1-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 19: 48730541-opc-guide

JCL Processing

d

nt

ng

ot

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.

2. OPC JCL directives and variables operations are converted to CONTROL-M AutoEdit statements and JCL steps.

A. OPC JCL directives, namely BEGIN, END, FETCH, SEARCH, TABLE, RECOVER and SCAN

• Allow the conditional execution of blocks of JCL statements• Allow the inclusion of external JCL statements• Allow the inclusion of variable tables used to assign initial

values to JCL variables• Enable job rerun and restart• Determine whether OPC/ESA variable substitution is to occur

These OPC directives are converted to equivalent CONTROL-M AutoEdit statements and job scheduling parameters, as follows:

• %%GLOBAL defines a member that contains a set of user-defined variables and their assigned values

• %%LIBSYM defines a library that contains a set of user-definevariables and their assigned values

• %%INCLIB defines a library that is to be included in the currejob stream

• %%IF, %%ELSE, and %%ENDIF provide the CONTROL-M AutoEdit facility with powerful Boolean logic capability

• %%GOTO provides the CONTROL-M AutoEdit facility with GO TO logic, permitting simple inclusion or exclusion of job steps, DD statements, input statements, and so on

• ON PGMST... DO job scheduling parameters define post-processiparameters for job rerun and restart actions

B. The & and % OPC/ESA variables are converted directly to CONTROL-M %% AutoEdit variables and are placed in a CONTROL-M AutoEdit variable library. For more information, seeItem 16 in Chapter 4, “Conversion Details.” ?-variable types are nsupported.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 1 Conceptual Overview 1-5

Page 20: 48730541-opc-guide

JCL Processing

3. PSS (MVS Production Shop Support Program: Job Preparation and Submission) special JCL comment statements and JCL variables are converted to CONTROL-M AutoEdit statements and variables. The special PSS JCL comment statements are converted to %%SET AutoEdit statements and % variables are converted directly to %% AutoEdit variables. For more information, see Items 30 through 34 in Chapter 4, “Conversion Details.”

BMC Software, Inc., Confidential and Proprietary Information

1-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 21: 48730541-opc-guide

CONTROL-M New Day Processing

CONTROL-M New Day Processing

CONTROL-M production jobs are scheduled using New Day processing, performed once each day at a predefined time, according to your local site requirements. CONTROL-M, using New Day processing, presumes that workdays do not always begin at the start of a calendar day. Instead, CONTROL-M enables you to define a logical workday that begins at a specified time. Other scheduling products, such as OPC, begin every workday at the first moment of a new calendar day. The CONTROL-M OPC conversion tool is designed to convert OPC scheduling data so it can be used in CONTROL-M scheduling.

The following example illustrates how the OPC scheduling method is converted to the CONTROL-M scheduling method.

Figure 1-1 New Day Processing Example

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.

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 conversion process automatically.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 1 Conceptual Overview 1-7

Page 22: 48730541-opc-guide

Event-Trigger Tracking (ETT)

to

2 sets in

ity r on

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.”

Event-Trigger Tracking (ETT)

The OPC/ESA ETT facility corresponds to the CONTROL-M CMEM facility. It is your responsibility to manually convert OPC/ESA ETT events corresponding CMEM events by coding the appropriate CMEM rule definitions. For more information see the CMEM chapter in the CONTROL-M for OS/390 User Manual.

Catalog Management

The catalog management (CM) function in OPC/ESA (Version 1, Releaseand later) can be used to automatically delete, uncatalog, or catalog datathat have been created or modified in a job or started task that has endederror, or requires rerun. In addition, references to relative generation datagroup (GDG) numbers are reset.

In CONTROL-M, the equivalent function is performed by setting the CONTROL-R PREVENT-NCT2 parameter. Conversion parameter &CTR must be set to Y (Yes) and conversion parameter &NCT2 must be set to OPC to activate this feature. These conversion parameters are described in Appendix A.)

When converting from a previous release of OPC, you have the opportunof utilizing the CONTROL-R PREVENT-NCT2 feature on a global basis, rathethan on a job-by-job basis as in OPC/ESA Release 2, by setting conversiparameters &CTR and &NCT2 (described in Appendix A) to Y (Yes).

BMC Software, Inc., Confidential and Proprietary Information

1-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 23: 48730541-opc-guide

Automatic Event Reporting (AER) Facility

A ion

f a to

r.

Automatic Event Reporting (AER) Facility

The OPC Automatic Event Reporting facility (AER) can help coordinate a variety of tasks that are not normally seen by OPC. For example, AER can be used to trigger the start of an operation when a particular step in a job is complete, or as acknowledgment that a file has been received across the network. The OPC OPSTAT command provides a portable method of using AER, by enabling the setting or changing of the status of an operation.

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 IOConditions file. For more information, see Item 25 in Chapter 4, “ConversDetails.”

Job Completion Checker (JCC) Facility

You may be utilizing the JCC feature of OPC to scan the sysout dataset ojob or started task to set an error code for an operation. After converting CONTROL-M, you may obtain the equivalent functionality by using CONTROL-M Exit 3 to

• alter the way in which a job in CONTROL-M finishes• turn on an event for the current job• write a message to the CONTROL-M log• extract data from the sysout and write it to an external file for use late

BMC Software, Inc., Confidential and Proprietary Information

Chapter 1 Conceptual Overview 1-9

Page 24: 48730541-opc-guide

JCL Repository Facility

JCL Repository Facility

OPC stores JCL in the JCL repository (JS) dataset when the JCL is edited and saved, or when the job is submitted. This enables you to dynamically make temporary changes to the JCL of a job without changing the original source of the JCL. The same functionality can be obtained in CONTROL-M using REXX procedures CTMIMACx in the IOA CLIST library, where x is 1, 2 or 3.

Using procedure CTMIMACx, JCL is dynamically copied from the MEMLIB library to the OVERLIB library, if no member by that name already exists, and is then edited in option J in the CONTROL-M Status screen (screen 3).

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.

BMC Software, Inc., Confidential and Proprietary Information

1-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 25: 48730541-opc-guide

18

Chapter 2 Conversion Process Flow

This chapter describes in detail the components of the conversion process from the perspective of jobs, programs and datasets.

A familiarity with the conversion process helps in understanding the conversion logic and the installation and operation steps discussed in Chapter 3, “Conversion Steps.”

The process comprises the following primary jobs:

These jobs are described in detail on the following pages.

Table 2-1 Jobs in the Conversion Process

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.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 2 Conversion Process Flow 2-1

Page 26: 48730541-opc-guide

JOB0: Produce OPC Reports

by

rt ta,

JOB0: Produce OPC Reports

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 madethe following file names. To use other names, tailor the JCL of the job.

• File CTM.OPC.APPL.REPORT is the Application Description report.• File CTM.OPC.WS.REPORT is the Workstation Description report.• File CTM.OPC.CAL.REPORT is the Calendar report.• Files CTM.OPC.PERIOD.REPORT are the Period reports.• File CTM.OPC.OI.REPORT is the Operator Instruction report.• File CTM.OPC.JCLVAR is the JCL Variable Table report (OPC/ESA

only).

The following examples specify how to produce these reports.

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.

Application Description Report

Produce this report for all applications that are defined to OPC. The repoprovides application description data, such as common data, run cycle daoperation data, and internal operation logic.

BMC Software, Inc., Confidential and Proprietary Information

2-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 27: 48730541-opc-guide

JOB0: Produce OPC Reports

To produce the report, run the following JCL:

//ADPRT EXEC PGM=***BATCH,PARM=’***ADPRT’,REGION=2048K//* ADD DD STATEMENTS REQUIRED BY THIS UTILITY//SYSIN DD *1100000000//

Workstation Description Report

Produce a report of all Workstation Descriptions by executing the following JCL:

//WSPRT EXEC PGM=***BATCH,PARM=’***WSPRT’,REGION=2048K//* ADD DD STATEMENTS REQUIRED BY THIS UTILITY//SYSIN DD DUMMY,DCB=BLKSIZE=80 (No SYSIN stmts required)

Operator Instruction Report

Produce the Operator Instruction report, in application ID order, by executing the following JCL:

//OIPRT EXEC PGM=***BATCH,PARM=’***OIBAT’,REGION=2048K//* ADD DD STATEMENTS REQUIRED BY THIS UTILITY//SYSIN DD *5/*

BMC Software, Inc., Confidential and Proprietary Information

Chapter 2 Conversion Process Flow 2-3

Page 28: 48730541-opc-guide

JOB0: Produce OPC Reports

Calendar Report

Produce a Calendar report through the year 2005 by executing the following JCL:

//CALPRT EXEC PGM=***BATCH,PARM=’***CLPRC’,REGION=2048K//* ADD DD STATEMENTS REQUIRED BY THIS UTILITY//SYSIN DD *051231/*

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:

//PRTPER EXEC PGM=***BATCH,PARM=’***CLPRP’,REGION=2048K//* ADD DD STATEMENTS REQUIRED BY THIS UTILITY//SYSIN DD *051231DEFAULT//PRTPER EXEC PGM=***BATCH,PARM=’***CLPRP’,REGION=2048K//* ADD DD STATEMENTS REQUIRED BY THIS UTILITY//SYSIN DD *051231XXXXXXX <== REPLACE XXXXXXX WITH YOUR CALENDAR NAME//*

BMC Software, Inc., Confidential and Proprietary Information

2-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 29: 48730541-opc-guide

JOB0: Produce OPC Reports

Note: To prevent the creation of extraneous calendars by the conversion tool, periods that do not have run days beyond the actual conversion date must be deleted prior to producing the Period report and the Application Description report.

The cautionary information regarding the Calendar report contained in the preceding Note is applicable to the Period report, as well.

JCL Variable Table Report (for OPC/ESA Only)

Produce the JCL Variable Table report by executing the following JCL:

//JCLVAR EXEC PGM=EQQBATCH,PARM=’EQQJVPRT’,REGION=4096K//* ADD DD STATEMENTS REQUIRED BY THIS UTILITY//SYSIN DD DUMMY,DCB=BLKSIZE=80

BMC Software, Inc., Confidential and Proprietary Information

Chapter 2 Conversion Process Flow 2-5

Page 30: 48730541-opc-guide

JOB1: Extract Workstation and Application Info

JOB1: Extract Workstation and Application Info

Description

JOB1 reads the Workstation Report file, the Period Report files, and the Application Description Report file created by JOB0, and produces

1. A list of all workstations defined in OPC

2. A list of Quantitative resources that the customer has to add to the CONTROL-M Resources file

3. A list of all application names and owner IDs

These names are converted to a new format. Each newly formatted application name must be unique and valid, so that it can be used as a member name in the CONTROL-M scheduling library. The application names are modified to valid member names, with a maximum of eight characters, starting with an alphabetic or national character, and followed by alphanumeric and/or national characters. The owner ID must also be valid, with a maximum of eight characters, and no embedded blanks. For more details, see conversion parameter &TBLUNIQ, described in Appendix A.

4. Extraction of a file from the Application Description report for creating CONTROL-M scheduling tables and calendars

5. A list of all defined calendars and periods

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

6. An application name or job name cross reference file

7. A JCL job for adding special (CONTROL-M Shared and Exclusive Control) resource prerequisite conditions to the IOA Conditions file

8. The CONTROL-M Calendar library, of calendars based on valid date ranges for run cycles

BMC Software, Inc., Confidential and Proprietary Information

2-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 31: 48730541-opc-guide

JOB1: Extract Workstation and Application Info

ded

ust es

Z,

#

Input

• CTM.OPC.WS.REPORT file created by JOB0

• CTM.OPC.APPL.REPORT file created by JOB0

• CTM.OPC.PERIOD.REPORT files created by JOB0

Output

1. File containing OPC workstation namesDefault file name: CTM.OPC.WSFile attributes: sequential, record length 80; block size 800

2. File containing CONTROL-M Quantitative resources that must be adto the CONTROL-M Resources fileDefault file name: CTM.OPC.QUANTITYFile attributes: sequential, record length 133; block size 1330

3. File containing OPC application names and owner IDs with their converted namesDefault file name: CTM.OPC.APPL.NAMESFile 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 mbe unique. The conversion tool ensures that the scheduling table namare valid PDS member names by

• Deleting embedded blanks• Converting illegal characters to #; only the following are legal: A–

0–9, $, #, @• Converting leading numerics 1 through 9 into A through I and 0 to

Table 2-2 File CTM.OPC.APPL.NAMES Record Layout

Position Data Description

01 16 Original Application name

18 25 New Application name

28 43 Original Owner name

45 52 New Owner ID used by all jobs in the table

55 78 Application text

81 104 Owner text

105 112 Original Calendar name

BMC Software, Inc., Confidential and Proprietary Information

Chapter 2 Conversion Process Flow 2-7

Page 32: 48730541-opc-guide

JOB1: Extract Workstation and Application Info

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.

4. File containing relevant information about applications and operations for creating CONTROL-M scheduling tables and calendarsDefault file name: CTM.OPC.APPLFile attributes: Sequential; record length 236; block size 23,364

5. File containing OPC calendar names with their converted names (for offset-based run cycles only).Default file name: CTM.OPC.CAL.NAMESFile attributes: sequential; record length 236, block size 23,364

Table 2-3 Conversion of OPC Files Containing Application Names and Owner IDs

Old Application

New Application Old Owner New Owner

Application Text Owner Text

CARGO01 CARGO01 130 130 Salary Ship Ship Dep.

ARC/3 ARC#3 SYS 1 SYS1 Archive Proc Archive Dep.

Table 2-4 CTM.OPC.CAL.NAMES File Format (Part 1 of 2)

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.

BMC Software, Inc., Confidential and Proprietary Information

2-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 33: 48730541-opc-guide

JOB1: Extract Workstation and Application Info

f

d

ISPF EDIT can be used to specify different calendar names, and/or specify run days as CONTROL-M WDAYS or DAYS, or no calendar at all (remember that the calendar names must be unique, valid member names). To do so, in column 143 specify D to define DAYS, or W to define WDAYS. In column 147 you may specify the CONTROL-M calendar name to be used. The WDAYS or DAYS parameters are specified in columns 156 through 236. Insert the calendar name, DAYS or WDAYS, in the proper CONTROL-M format. In addition, you may optionally specify CONTROL-M MONTHS by coding M= in columns 221 through 222 followed by 12 month specifications. For more information on these parameters, see the CONTROL-M for OS/390 User Manual.

Example

Assume the OPC calendar contains a DEFAULT calendar, where:

• work days are Monday through Friday

• the OPC periods contain:

— a cyclic period DAY with a length of one day— a cyclic period WEEK with origin date on Monday and a length

of seven days— a non-cyclic period MONTH with origin dates on the first day o

each month— a non-cyclic period HOLIDAY with origin dates of holidays.

Note: If you do not specify the run days in CONTROL-M terms, the Conversion Tool automatically creates a calendar for each different offset-based run cycle. Wherever possible, specify run days in CONTROL-M terms, using basic scheduling parameters.

In this example, three CONTROL-M calendars are created, nameWEEKDAY, FRIDAY, and MONTH15. A sample CTM.OPC.CAL.NAMES file containing these calendars appears in the following table.

WDAYS OR DAYS

156 CONTROL-M WDAYS or DAYS parameters.

M= 221–234 When columns 221–2 specify ‘M=’, then the following 12 columns contain MONTHS specifications (Y, N or blank).

Table 2-4 CTM.OPC.CAL.NAMES File Format (Part 2 of 2)

Field Name Position Data

BMC Software, Inc., Confidential and Proprietary Information

Chapter 2 Conversion Process Flow 2-9

Page 34: 48730541-opc-guide

JOB1: Extract Workstation and Application Info

ay

,

ay s

ird

s

• CONTROL-M Calendar WEEKDAY

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 d(4), and a run day offset of one (+001).

In the CONTROL-M WEEKDAY calendar, this is specified as:W (WDAYS) 2,3,4,5,6 (Monday through Friday).

• CONTROL-M Calendar FRIDAY

To schedule “each week on Friday” (the second line in this Table)the OPC definition was: NORMAL run cycle with the period WEEK, the free day rule that schedules the start even if it is free d(3), and run day offset of five (+005). In CONTROL-M terms this ispecified as: W (WDAYS) 6 (Friday).

• CONTROL-M Calendar MONTH15

To schedule “on the 15th of the month except for holidays” (the thand fourth lines in this Table) , the OPC definition was: NORMAL run cycle with the period MONTH, the free day rule that schedulethe 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 reportDefault file name: CTM.OPC.XRFFile attributes: sequential; record length 80; block length 8000

Note: Do not modify this file.

Table 2-5 Sample CTM.OPC.CAL.NAMES File

New Calendar

Old Calendar

Old Period

Period Type

Off-sets R W/D Calendar

WDAYS or DAYS M=

WEEKDAY DEFAULT DAY NORMAL +001 4 W 2,3,4,5,6

FRIDAY DEFAULT WEEK NORMAL +005 3 W 6

MONTH15 DEFAULTDEFAULT

MONTHHOLIDAY

NORMALNEGATIVE

+015+001

33

D NOTHOLI 15

BMC Software, Inc., Confidential and Proprietary Information

2-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 35: 48730541-opc-guide

JOB1: Extract Workstation and Application Info

7. Sequential file containing JCL, which adds IN conditions to the IOA Conditions fileDefault file name: CTM.V600.CONDFile attributes: sequential; record length 80; block size 3120

The format of the JCL is

//IOACOND JOB ,IOAP,CLASS=A,MSGCLASS=X <=== CHANGE//STEP EXEC IOACONDADD COND xx...xx STAT//

For a complete list of conditions created by the conversion tool, use CONTROL-M utility CTMXRF (XRF=CND), details of which are found in the INCONTROL for OS/390 Utilities Guide).

8. File containing all conversion exception messages (DAEXCEP)

9. Sequential file containing OPC Special Resources whose names exceed 20 characters and the corresponding 20 character CONTROL-M Control resource, which the conversion tool ensures is uniqueDefault file name: CTM.V600.RESNAMEFile attributes: sequential; record length 65; block size 6500

Note: For a complete list of Quantitative and Control resources created by the conversion tool, use CONTROL-M utility CTMXRF (XRF=RES). For details of this utility, see the INCONTROL for OS/390 Utilities Guide.

10. A library containing CONTROL-M calendarsDefault library name: CTM.V600.CALLibrary attributes: PDS, record length 80, block size 3120

BMC Software, Inc., Confidential and Proprietary Information

Chapter 2 Conversion Process Flow 2-11

Page 36: 48730541-opc-guide

JOB2: Construct CONTROL-M Calendars and Scheduling Table Libraries

JOB2: Construct CONTROL-M Calendars and Scheduling Table Libraries

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

1. File CTM.OPC.CAL.REPORT created by JOB02. File CTM.OPC.PERIOD.REPORT created by JOB03. File CTM.OPC.PERIOD.OI created by JOB04. File CTM.OPC.APPL created by JOB15. File CTM.OPC.APPL.NAMES created by JOB16. File CTM.OPC.CAL.NAMES created by JOB17. File CTM.OPC.XRF created by JOB18. File CTM.V600.CAL created by JOB1

Output

1. A library containing CONTROL-M job scheduling tablesDefault library name: CTM.V600.SCHEDULELibrary attributes: PDS, record length 80, block size 3120

2. File containing the JCL for the New Day procedure, which must be customized for the daily runsDefault file name: CTM.V600.DAILYFile attributes: sequential; record length 80, block size 3120

3. A library containing CONTROL-M documentation membersDefault library name: CTM.V600.DOCMEMLibrary attributes: PDS, record length 80, block size 3120

4. File containing all conversion exception messages (DAEXCEP)

BMC Software, Inc., Confidential and Proprietary Information

2-12 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 37: 48730541-opc-guide

JOB2: Construct CONTROL-M Calendars and Scheduling Table Libraries

5. The CONTROL-M calendar library is updated with additional calendars created from the OPC Calendar and Period reports

6. For OPC/ESA Version 1, Release 3 or later, if you utilize rule-based run cycles, STEP5 creates a JCL job stream that contains multiple invocations of utility CTMTBUPD. The JCL job stream created by this job updates basic scheduling parameters in the job scheduling definitions of the CONTROL-M scheduling library. This JCL job stream must be customized, and an appropriate CTMTBUPD procedure must be created. This file can contain multiple jobs that require customization and execution.

For details of utility CTMTBUPD see the INCONTROL for OS/390 Utilities Guide.

Default file name: CTM.V600.TBUPDFile attributes: sequential, record length 80, block size 9040.

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.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 2 Conversion Process Flow 2-13

Page 38: 48730541-opc-guide

JOB3: Convert JCL Members

ers ndard

d to

:

efore

JOB3: Convert JCL Members

Description

JOB3 converts JCL members to CONTROL-M format. For details of how the OPC/ESA JCL directives (//*% OPC statements), OPC commands (SRSTAT and OPSTAT), and PSS statements are converted to CONTROL-M format, see Chapter 4, “Conversion Details.”

JOB3 also creates the CONTROL-M AutoEdit variable library from the OPC/ESA JCL Variable Table report.

Program CTMOP015 is called to perform modifications to the JCL membcontaining OPC Batch Steps. If OPC Batch Steps are not used in the staOPC manner, local modifications may be necessary.

Parameters

If the JCL libraries contain special PSS statements that must be converteCONTROL-M AutoEdit format, then a JCL PARM parameter must be coded on the EXEC statement, which executes program CTMOP014, as follows

Input

1. List of all OPC and PSS JCL library names

Each name is entered on a separate line, beginning in column one. Bentering the dataset names of the JCL libraries, create copies, as described in Step 2 in Chapter 3, “Conversion Steps.”

2. Dynamically allocated copy of the OPC JCL and PSS JCL and PARMLIB libraries

3. File CTM.OPC.JCLVAR.REPORT created by JOB0 (OPC/ESA only)

Table 2-6 JCL Parameters to Convert Special PSS Statements

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.

BMC Software, Inc., Confidential and Proprietary Information

2-14 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 39: 48730541-opc-guide

JOB3: Convert JCL Members

h at

ond

r

4. File CTM.OPC.APPL.NAMES created by JOB1

5. File CTM.V600.RESNAME created by JOB1

6. OPC Batch parameter file

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.

Note: The conversion tool is delivered with OPCBATCH as the batch program and procedure name. If desired, this name may be modified and/or additional names may be added, to conform to the naming conventions followed at your site.

7. OPC Case Code parameter file.

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.

A maximum of 20 Cases can be specified for the Case Code parameter file, and each Case can have a maximum of 10 Codes. The Case Code parameter file must be an 80 byte, card image dataset in the following format:

case1 code11 code12 ... code1ncase2 code21 code22 ... code2n. . .

• Cases and codes can be from one to five characters in length witleast one blank or a comma separating the codes for each case.

• Cases must begin in column 1 and the codes may not extend beycolumn 72.

• Codes for a single case may not continue on a second line.

• Codes must be entered in CONTROL-M format. For example, useabend codes must be entered as Unnnn, where nnnn is a four-figure number.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 2 Conversion Process Flow 2-15

Page 40: 48730541-opc-guide

JOB3: Convert JCL Members

Output

1. JCL libraries in CONTROL-M format

2. A report containing all the JCL conversion exception messages

3. The CONTROL-M AutoEdit variable library (OPC/ESA only)Default file name: CTM.V600.AEVARFile attributes: PDS, record length 80, block size 3120

4. File containing OPC JCL RECOVER directive extract information used to build CONTROL-M ON PGMST job rerun and/or restart statements (in JOB4)Default file name: CTM.V600.RECVEXTFile attributes: sequential, record length 393, block size 3930

BMC Software, Inc., Confidential and Proprietary Information

2-16 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 41: 48730541-opc-guide

JOB4: Convert OPC JCL RECOVER Directives

t

JOB4: Convert OPC JCL RECOVER Directives

JOB4 converts OPC JCL RECOVER Directives to CONTROL-M ON PGMST statements, which control job rerun and/or restart functions.

For more information on how the OPC RECOVER subparameters are converted to CONTROL-M format, see Item 40 in Chapter 4, “ConversionDetails.”

Input

1. File CTM.OPC.APPL.NAMES created by JOB1

2. File CTM.OPC.XRF created by JOB1

3. File CTM.V600.RECVEXT created by JOB3

4. File CTM.V600.SCHEDULE created by JOB2

Output

Updated CONTROL-M job scheduling table library

Note: The CONTROL-M job scheduling table library must be backed upprior to running this job, to enable recovery in case JOB4 does noend successfully, for example, due to an Sx37 abend.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 2 Conversion Process Flow 2-17

Page 42: 48730541-opc-guide

JOB4: Convert OPC JCL RECOVER Directives

BMC Software, Inc., Confidential and Proprietary Information

2-18 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 43: 48730541-opc-guide

20

Chapter 3 Conversion Steps

Installation and operation of the conversion tool consists of the following steps. Read through the remainder of this chapter before performing the steps. To ensure a successful conversion, it is important to follow the outlined steps in sequence.

The following is a summary checklist of the steps:

Step 1 Create the conversion source and load libraries

Step 2 Copy OPC and PSS JCL libraries

Step 3 Produce OPC reports

Step 4 Check and modify parameter in member DEFAULTS

Step 5 Check and modify conversion tool support for different OPC languages

Step 6 Modify and run member ASMLINK

Step 7 Modify and run member JOB1

Step 8 Check and modify application names, owner names and calendar names

Step 9 Modify and run member JOB2

Step 10 Modify and run member JOB3

Step 11 Modify and run member JOB4

Step 12 Add CONTROL-M quantitative resources and prerequisite conditions

Step 13 Check conversion results

Step 14 Customize the New Day procedure

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-1

Page 44: 48730541-opc-guide

Step 15 Run CONTROL-M utility IOALDNRS (for details of this utility, see the INCONTROL for OS/390 Utilities Guide)

Step 16 Copy members SYSTEM and GLOBAL (for OPC/ESA only)

Step 17 Final adjustments

Note: The source code for all programs resides in the conversion source library, and can be locally tailored.

BMC Software, Inc., Confidential and Proprietary Information

3-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 45: 48730541-opc-guide

Step 1 - Create the Conversion Source and Load Libraries

Step 1 - Create the Conversion Source and Load Libraries

1. Run job $$INIT in the IOA CONV library to create the OPC conversion source library and allocate the conversion load library.

2. Tailor the following parameters in the member in accordance with your local site conventions:

3. Submit the job for execution. The job must finish with a completion code of 0.

Step 2 - Copy OPC and PSS JCL Libraries

To prevent changes to the current production environment, create copies of the OPC and PSS JCL production libraries. A sample job that performs this task is provided in the conversion source library in member COPYLIBS.

For CA-PANVALET or CA-LIBRARIAN libraries, use the utilities supplied by CA-PANVALET or CA-LIBRARIAN to create and copy the production JCL libraries into PDS libraries for use by the conversion tool.

The new libraries must be sufficiently large to enable update of all the members.

In addition, the PSS parameter library, containing members specified in PSS //*%IP comment statements, must also be copied.

Additional libraries and sequential datasets may need to be copied. For more details see conversion parameter &PNIBJSD in Appendix A.

Table 3-1 Parameters to be Adjusted

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

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-3

Page 46: 48730541-opc-guide

Step 3 - Produce OPC Reports

b

Step 3 - Produce OPC Reports

Create and submit JOB0 as described in Chapter 2, “Conversion ProcessFlow.” Check the sysout for completion code and error messages. The jomust finish with a condition code of 0.

Step 4 - Check and/or Modify Parameters in Member DEFAULTS

Edit member DEFAULTS in the conversion source library. Adjust the parameters in accordance with your site requirements. For a detailed description of these conversion parameter see Appendix A.

BMC Software, Inc., Confidential and Proprietary Information

3-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 47: 48730541-opc-guide

Step 5. Check and/or Modify Conversion Tool Support for Different OPC Language Reports

for

Step 5. Check and/or Modify Conversion Tool Support for Different OPC Language Reports

The conversion tool may be modified to support any OPC report language and any version of OPC.

Members LR1APPL, LR1WS, LR1DOC, and LR1RUN contain the titles and/or values that appear in the OPC reports and are needed to process the reports in each supported language. You can add the titles and/or values for your language according to the instructions that appear before each title and/or value. The only requirement is to ensure that the contents of the members are valid Assembler instructions.

The following is a list of the contents of each member:

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

• Locate the title and/or value line that needs to be modified

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 your language.

Note: The three-character code designated for your language is thecode specified in conversion parameter &LANG in member DEFAULTS (for more information on this parameter, see Appendix A).

• Replace the title and/or value by substituting the existing ‘ x ’s or title with the title translated into the new language.

Table 3-2 The Contents of OPC Members

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.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-5

Page 48: 48730541-opc-guide

Step 5. Check and/or Modify Conversion Tool Support for Different OPC Language Reports

Example

The following title and/or value appears in member LR1RUN, in Assembler Instruction format:

ENG1PER DC C’PRINTOUT OF THE PERIODS’

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.

To support Spanish language OPC reports, add the following definition:

SPAPER1 DC C’SALIDA IMPRRESA DE LOS PERIODS’

The corresponding Spanish text begins in column 26 of the general information section of the Periods 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).

Table 3-3 Languages Supported for Versions of OPC

Language OPC/A V1.1 OPC/A V1.2 OPC/ESA

English x x x

German x x

Spanish x

French x

BMC Software, Inc., Confidential and Proprietary Information

3-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 49: 48730541-opc-guide

Step 6. Modify and Run Member ASMLINK

so de.

Step 6. Modify and Run Member ASMLINK

Member ASMLINK is used to assemble and link-edit all the conversion programs. This assembly uses the option member described in Step 3 in this chapter.

Re-execute Step 6 whenever a change is made to the parameter or language members (DEFAULTS, LR1xxx), or if any fixes are applied to the conversion source library.

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)

Note: This step must be re-executed whenever changes are made to parameters in member DEFAULTS, to the language members (LR1xxx), or when a source fix is applied to any module. It may albe necessary to perform an LLA REFRESH after changes are ma

Submit the job for execution and check the sysout for condition code anderror messages. The job must finish with a condition code of 0.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-7

Page 50: 48730541-opc-guide

Step 7. Modify and Run Member JOB1

B0

Step 7. Modify and Run Member JOB1

JOB1 executes

1. Program CTMOP001 to create the Workstation list and the Quantitative Resource list

2. Program CTMOP002 to create the Application and Owner ID table, the Applications and Operations Extract file, and the CONTROL-M Calendar library

3. Program CTMOP006 to create the Calendar and Period Names table

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

2. Conversion load library (in STEP0, DD statement CTMLOAD)

3. IOA LOAD library (in STEP0, DD statement IOALOAD)

4. IOA PARM library (in STEP0, DD statement IOAPARM)

5. Workstation Description Report file created in JOB0 (in STEP0, DD statement WSREP)

6. Application Description Report file created in JOB0 (in STEP0, DD statement APPLREP)

7. Period Report files created in JOB0 (in STEP0, DD statements DAPERRP1, DAPERRP2, DAPERRPx, and so on)

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 JO(in STEP0, DD statement DACALREP)

BMC Software, Inc., Confidential and Proprietary Information

3-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 51: 48730541-opc-guide

Step 7. Modify and Run Member JOB1

8. Name and location of the Workstation List file (in STEP0, DD statement DAWS)

9. Name and location of the Quantitative Resource file (in STEP0, DD statement DAOUT)

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.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-9

Page 52: 48730541-opc-guide

Step 8. Check and Modify the Application, Owner, and Calendar Names

Step 8. Check and Modify the Application, Owner, and Calendar Names

Check and modify the Application and Owner ID table (file CTM.OPC.APPL.NAMES) and the Calendars Name table (file CTM.OPC.CAL.NAMES) created in Step 7.

ISPF EDIT may be used

• To modify application names and the default owner assigned to eachapplication

• To modify calendar names and/or to insert run days in CONTROL-M format

For details on the CTM.OPC.APPL.NAMES and CTM.OPC.CAL.NAMESfile structures, see JOB1 in Chapter 2, “Conversion Process Flow.”

BMC Software, Inc., Confidential and Proprietary Information

3-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 53: 48730541-opc-guide

Step 9. Modify and Run Member JOB2

e 3

or

the

Step 9. Modify and Run Member JOB2

JOB2 executes

• Program CTMOP007, to update the CONTROL-M calendars

• Program CTMOP003, to build new CONTROL-M Group scheduling tables

• Program CTMOP012, to create the CONTROL-M Documentation library

• Program CTMOPRUL (for users running OPC/ESA Version 1, Releasor later).

This creates a JCL job stream that executes CONTROL-M utility CTMTBUPD, to update the CONTROL-M Group scheduling library. Fdetails of utility CTMTBUPD, see the INCONTROL for OS/390 Utilities Guide

Modify the JCL in member JOB2 of the conversion source library. Adjust following specifications according to your local conventions:

• Job statement

• Conversion load library (in STEP0, DD statement CTMLOAD)

• IOA LOAD library (in STEP0, DD statement IOALOAD)

• IOA PARM library (in STEP0, DD statement IOAPARM)

• IOA LOG library (in STEP0, DD statement IOALOG)

• Application Description Report file created in JOB0 (in STEP0, DD statement APPLREP)

• Calendars Report file created in JOB0 (in STEP0, DD statement DACALREP)

• Period Report files created in JOB0 (in STEP0, DD statement DAPERRP1, DAPERRP2, DAPERRPx)

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-11

Page 54: 48730541-opc-guide

Step 9. Modify and Run Member JOB2

n

nt

,

t

ility

d

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.

— For OPC/A Release 1, this is the Calendars report file created in JOB0 (in STEP0, DD statement DACALREP, already referred to ithis list).

• Operator Instructions Report file created in JOB0 (in STEP0, DD statement DAOIREP)

• Applications and Operations Extract file created in JOB1 (in STEP0, DD statement DAAPPL)

• Applications and owner names file created in JOB1 (in STEP0, DD statement DACHANGE)

• Calendars names file created in JOB1 (in STEP0, DD statement CALNAME)

• Name and location of the cross-reference file (in STEP0, DD statemeDAXRF)

• Name of the CONTROL-M Calendar library (in STEP0, DD statementDACAL)

• Name and location of the CONTROL-M Scheduling library (in STEP0DD statement DATABLE)

• Name and location of the CONTROL-M Documentation library (in STEP0, DD statement DADOC)

• Name and location of the daily schedule file (in STEP0, DD statemenDADAILY)

• Name and location of the JCL job stream, which is used to execute utCTMTBUPD. 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 anerror messages. The job must finish with a condition code of 0 or 4.

BMC Software, Inc., Confidential and Proprietary Information

3-12 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 55: 48730541-opc-guide

Step 9. Modify and Run Member JOB2

After JOB2 has successfully executed, users running OPC/ESA Version 1, Release 3 or later, and utilizing rule-based run cycles, must execute the JCL job stream generated in the file pointed to by DD DATBUPD, to update the Group scheduling library. These jobs must finish with a condition code of 0.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-13

Page 56: 48730541-opc-guide

Step 10. Modify and Run Member JOB3

ent

ent

(in

in

P2,

n

Step 10. Modify and Run Member JOB3

JOB3 executes program CTMOP014 to convert the JCL libraries to CONTROL-M format and to create the CONTROL-M AutoEdit variable library (OPC/ESA only).

Modify the JCL in member JOB3 of the conversion source library. Adjust the following specifications according to your local conventions:

• Job statement

• Conversion load library (in STEP0, DD statement CTMLOAD)

• IOA LOAD library (in STEP0, DD statement IOALOAD)

• IOA PARM library (in STEP0, DD statement IOAPARM)

• JCL Variable Table Report file created in JOB0 (in STEP0, DD statemDAREPORT)

• Application and owner names file created in JOB1 (in STEP0, DD statement DACHANGE)

• Special resource names files created in JOB1 (in STEP 0, DD statemRESNAME)

• Name and location of the CONTROL-M AutoEdit variable library (in STEP0, DD statement LIBSYM)

• Name and location of the OPC JCL RECOVER directives extract file STEP0, DD statement RECVEXT)

• Indication whether the JCL libraries contain special PSS statements (Step 2, the PARM= field of the EXEC statement)

For details, see JOB3 in Chapter 2, “Conversion Process Flow”

• List of names of the copied JCL libraries

Each name must start on a new line and begin at column one (in STEDD statement DAJCLIN)

• List of the program and procedure names used in OPC batch steps (iSTEP2, DD statement DABATCH)

• List of OPC JCL Cases and their corresponding Codes (in STEP2, DD statement CASECODE)

BMC Software, Inc., Confidential and Proprietary Information

3-14 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 57: 48730541-opc-guide

Step 10. Modify and Run Member JOB3

nt

e a .

nd

• Name and location of a work library (specified in STEP0, DD statemeWORK); the same dataset name must also be specified in STEP2, DD statement SYSINLIB (but do not delete the member name)

For OPC/A, DD statement DAREPORT must be specified as a DUMMY file.

To prevent changes to the current production environment, you should uscopy of JCL libraries, and not the OPC and PSS production JCL libraries

Submit the job for execution, and check the sysout for completion code aerror messages. The job must finish with a condition code of 0 or 4.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-15

Page 58: 48730541-opc-guide

Step 11. Modify and Run Member JOB4

n

,

nd

ed

Step 11. Modify and Run Member JOB4

JOB4 executes program CTMOP017, which converts OPC JCL RECOVER directives to CONTROL-M ON PGMST statements for job rerun and/or restart purposes.

Modify the JCL in member JOB4 of the conversion source library. Adjust the following specification according to your local conventions:

• Job statement

• Conversion load library (in STEP0, DD statement CTMLOAD)

• IOA LOAD library (in STEP0, DD statement IOALOAD)

• Application and owner names file created in JOB1 (in STEP0, DD statement DACHANGE)

• Application ID and/or jobname cross reference file created in JOB1 (iSTEP0, DD statement DAXREF)

• OPC JCL RECOVER directive extract file created in JOB3 (in STEP0DD statement RECVEXT)

• CONTROL-M scheduling library created in JOB3 (in STEP4, DD statement DASCHD)

Submit the job for execution, and check the sysout for completion code aerror messages. The job must finish with a condition code of 0.

If the job terminates abnormally, JOB4 must be rerun using a fresh (backup) copy of the CONTROL-M scheduling table library. For more information, see JOB4 in Chapter 2, “Conversion Process Flow.”

BMC Software, Inc., Confidential and Proprietary Information

3-16 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 59: 48730541-opc-guide

Step 12. Add CONTROL-M Quantitative Resources and Conditions

s es

sion

that

n ow

ted

s in

Step 12. Add CONTROL-M Quantitative Resources and Conditions

1. Use the CTM.OPC.QUANTITY file created in JOB1, described in Chapter 2, “Conversion Process Flow,” and discussed in Step 7 in thichapter, to add Quantitative Resources to the CONTROL-M Resourcfile through CONTROL-M screen 4.

2. Run the CTM.V600.COND JCL (job IOACOND) created in JOB1 (discussed in Step 7 in this chapter, and Item 4 in Chapter 4, “ConverDetails”) to add conditions to the CONTROL-M Resources file.

Step 13. Check Conversion Results

Enter the CONTROL-M environment, order one of the scheduling tables was just created, and run the job. You may also use the graphic job flow (Option 2G) to access the job flow of any OPC application as it appears iCONTROL-M, and the Plan option (option P in the Job List screen) to sha calendar of the days a job is scheduled.

Note: If you experience error message IOAE33E (Insufficient storage) when trying to view a job scheduling table online, simply split the job scheduling table into multiple tables.

Step 14. Customize the New Day Processing Job

Customize the CONTROL-M New Day Processing job. Use the JCL creaby JOB2 in the file pointed to by DD statement DADAILY.

Note: OPC applications in P (pending) status are specified as commentthe DAJOB DD statement.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-17

Page 60: 48730541-opc-guide

Step 15. Execute CONTROL-M Utility IOALDNRS

Step 15. Execute CONTROL-M Utility IOALDNRS

Execute IOA utility IOALDNRS to create and load the CONTROL-M Manual Conditions list (screen 7), which lists the conditions that must be added manually. For details of utility IOALDNRS, see the INCONTROL for OS/390 Utilities Guide.

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.

Step 16. Copy Members SYSTEM and GLOBAL (for OPC/ESA Only)

1. Copy member SYSTEM from the conversion source library into the library specified by conversion parameter &INCLIB (described in Appendix A).

This member contains the translation of OPC/ESA system variables to CONTROL-M AutoEdit format.

2. After creating the CONTROL-M AutoEdit variable library (JOB3), place the GLOBAL table member (named in conversion parameter &GTABLE, described in Appendix A) into the library specified in the DAGLOBAL DD statement of the CONTROL-M procedure.

To utilize the full potential of CONTROL-M, users converting the OPC/ESA JCL variable tables may want to implement the CONTROL-M Parameter Prompting Facility, described in the CONTROL-M for OS/390 User Manual, as an alternative to utilizing the AutoEdit variable library created in JOB3.

BMC Software, Inc., Confidential and Proprietary Information

3-18 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 61: 48730541-opc-guide

Step 17. Final Adjustments

is

d

Step 17. Final Adjustments

1. Ensure that parameter SCHPREVD (member CTMPARM in the IOA PARM library) is set to Y.

Parameter SCHPREVD operates on jobs scheduled between midnight and the CONTROL-M CONTDAY procedure time. It shifts these jobs to the previous day, to avoid date discrepancies. It is only operative when the CONTROL-M job scheduling parameter SAC is set. For more information, see the discussion of CONTROL-M New Day processing in Chapter 1, “Conceptual Overview.”

2. If conversion parameter &HIDATE (described in Appendix A) is set to ‘ * ’, ensure that CONTROL-M User Exit 1, the job submission exit, installed. This exit is supplied, with its documentation, in member CTMX001 in the IOA SAMPEXIT library.

If Exit 1 is currently being used, the supplied exit must be incorporateinto the current exit.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 3 Conversion Steps 3-19

Page 62: 48730541-opc-guide

Step 17. Final Adjustments

BMC Software, Inc., Confidential and Proprietary Information

3-20 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 63: 48730541-opc-guide

32

Chapter 4 Conversion Details

This chapter details the conversion of relevant OPC parameter definitions and JCL to corresponding CONTROL-M job scheduling definition and AutoEdit parameters, and also describes unique CONTROL-M and/or CONTROL-R parameters that may be specified for the conversion.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-1

Page 64: 48730541-opc-guide

Component Conversion Summaries

Component Conversion Summaries

The tables below list OPC fields and JCL directives and parameters that are found in application definitions, and the corresponding CONTROL-M statements to which they are converted. Following the tables is a detailed explanation of how each field is converted.

Note: Item number (Item no.) in the charts below refers to the topic number in this chapter.

Table 4-1 Job Schedule Definition Conversion (Part 1 of 2)

OPC FieldCONTROL-M Job Scheduling Definition Parameter

Item No.

Jobname MEMNAME 1

Appl ID Scheduling table name, GROUP, APPL

2

Owner ID OWNER 3

Data dependencies (special resource)

IN condition (manual), CONTROL resource

4

Operation dependencies IN condition, OUT condition 5

Manual (GENERAL and PRINT) workstation type

IN condition (manual) 6

Workstation resource (R1,R2) Quantitative RESOURCE 7

Workstation servers (PS) Quantitative RESOURCE 7

Run Cycle (Offset-based) DAYS,WDAYS, DCAL,WCAL,CONFCAL

8

Calendars, periods DCAL 9

Arrival time, Deadline FROM or UNTIL time, DESC, SHOUT WHEN LATESUB

10

Priority PRIORITY 11

Run Cycle Valid From/To DCAL, SET VAR 29

Operator instructions DOCMEM, DOCLIB 12

Started task option (for OPC/ESA only)

TASKTYPE 18

Application/Operation text DESC 19

Automatic Submission option (for OPC/ESA only)

CONFIRM 20

Deadline WTO option (for OPC/ESA only)

SHOUT WHEN LATE 21

Time Dependent option FROM time 10

Suppress if Late option UNTIL time, MAXWAIT, RETRO 28

Error Tracking (Control) Option ON PGMST 22

BMC Software, Inc., Confidential and Proprietary Information

4-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 65: 48730541-opc-guide

Component Conversion Summaries

Catalog Management (for OPC/ESA Release 2 and above only)

PREVENT-NCT2 23

Highest Return Code (for OPC/ESA Release 2.1 and above only)

ON PGMST 26

Rule/Period Name SCHEDULE TAG 27

ADRULE (Rule-based run cycle) (for OPC/ESA Release 3 and later only)

Basic scheduling parameters 41

Table 4-2 JCL LIbrary Conversions

JCL Directives and VariablesAutoEdit and Control Statements

Item No.

SEARCH* and TABLE %%LIBSYM, %%MEMSYM, %%GLOBAL

13

FETCH %%INCLIB, %%INCMEM 14

BEGIN/END %%IF,%%GOTO,%%ELSE,%%ENDIF

15

SCAN — 24

& and %-variables (for OPC/ESA only)

%%-variables 16

SRSTAT command IOACND ADD or DELETE 17

OPSTAT command IOACND ADD 25

RECOVER directive ON PGMST...DO 40

Table 4-3 PSS Special JCL Statements Conversion

PSS Special JCL Statements AutoEdit StatementsItem 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

Table 4-1 Job Schedule Definition Conversion (Part 2 of 2)

OPC FieldCONTROL-M Job Scheduling Definition Parameter

Item No.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-3

Page 66: 48730541-opc-guide

Component Conversion Summaries

1. Job Name

The conversion tool converts the OPC job name to the CONTROL-M MEMNAME parameter.

In CONTROL-M, the job scheduling definition parameter MEMNAME contains the JCL member name. The job name is determined at time of submission.

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

2. Appl ID and Job Grouping

The conversion tool converts each OPC application to one CONTROL-M group scheduling table. The CONTROL-M scheduling table name is created from the OPC application ID, which may be changed manually during the conversion process. Scheduling tables are members of a partitioned dataset (PDS) library. Therefore, all application names must be unique and valid PDS member names. For more information, see conversion parameters &DELCHAR and &TBLUNIQ in Appendix A.

The OPC application ID (unchanged) is also used to determine the CONTROL-M GROUP and APPL job scheduling parameters. For more information on Group Scheduling, see Chapter 1, “Conceptual Overview.

3. Owner ID

An owner ID is assigned to each application. This field may be used for security in CONTROL-M. The CONTROL-M OWNER is the OPC application owner ID. During the conversion process, you can change theowner ID, as described in JOB1 in Chapter 2, “Conversion Process Flow.

4. Data Dependencies

Resources in OPC are converted under CONTROL-M to both

BMC Software, Inc., Confidential and Proprietary Information

4-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 67: 48730541-opc-guide

Component Conversion Summaries

s is

rted

rce

n be o

on nk,

• Control resources in the format resource-name where resource-name is taken from the special resource name defined in OPC. The held statuthe same as required in OPC: S (shared) or E (exclusive). Special resources with names containing more than 20 characters are conveto unique 20 character Control resource names

and

• IN conditions, when conversion parameter &SPECCND, described in Appendix A, is set to Y. The condition name is the same as the resouname. This condition is present in the CONTROL-M Resources file whenever the resource is available. As in OPC, the first time you useCONTROL-M after installation, you must inform the system that the resource is available. Step 12.2 in Chapter 3, “Conversion Steps,” carun to automatically add all the prerequisite conditions that are used tspecify resource availability.

Whenever the resource becomes unavailable because a job ends NOTOK, CONTROL-M automatically deletes the prerequisite IN condition that represents the special resource. This occurs only if theresource is exclusively held for the job. The &SPECCND conversion parameter, described in Appendix A, controls whether the conversionprogram creates the scheduling tables with this capability. You must determine the value of &SPECCND by reference to the ONERROR parameter of the OPC JTOPTS initialization statement.

5. Operation Dependencies

The format of CONTROL-M IN and OUT condition names created from OPC operation dependencies is

appl-new-name_job-name ODAT

where appl-new-name is the new application name taken from the applicatiname file, which is discussed in JOB1 in Chapter 2, “Conversion ProcessFlow.” When the job name of an operation cannot be determined or is blajob-name is replaced by:

workstation-name#operation-number

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-5

Page 68: 48730541-opc-guide

Component Conversion Summaries

As in OPC, CONTROL-M can differentiate between internal and external dependencies. Internal dependencies are established for operations in the same application, which are ordered on the same day, by specifying IN or OUT conditions using the ODAT value, which is the date on which the job was ordered. For external dependencies between applications, however, ODAT is not used, since the applications can be ordered on different dates. External dependencies are created by specifying IN or OUT conditions using the reference-date STAT. However, an external predecessor of an operation, which specifies the operation itself or another operation within the same application, is converted to an IN condition with a date specification of PREV, rather than being treated as an external condition with a STAT date.

In OPC, for all occurrences where an external predecessor is specified in the application description, the closest previous occurrence of the predecessor application is selected as the specific predecessor.

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.

When an application is to add external conditions, a special dummy job ($DELCOND) is placed into the Group Scheduling table to delete all the external conditions from the IOA Conditions file when the application starts. This dummy job deletes conditions with DATE=STAT that may have remained in the IOA Conditions file from a previous run.

6. Manual Workstations

Manual operations (PRINT and GENERAL workstations) are converted to dummy job schedules that wait for manual IN conditions. For more information, see conversion parameter &MANLCND, described in Appendix A.

If the manual operation does not have a job name associated with it, the dummy job schedule name format is:

workstation#operation-number

The condition name format is:

wstype_workstation-name_application-new-name_operation-number

where wstype is either a P (PRINT) or G (GENERAL workstation).

BMC Software, Inc., Confidential and Proprietary Information

4-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 69: 48730541-opc-guide

Component Conversion Summaries

o OL-

d

r all

Example

If an OPC definition states that application CICS, operation 003, workstation MAN1 is a GENERAL workstation, a dummy job schedule is created in CONTROL-M with the name MAN1#003. This dummy job waits for IN condition G_MAN1_CICS_003, which is considered ended OK when the condition is added to the CONTROL-M Conditions file.

7. Workstation Resources, Workstation Servers

The number of parallel servers (PS), R1, and R2 workstation resources required by an OPC operation are shown in the Operation Data section of the Application report. The conversion tool converts these resources to CONTROL-M Quantitative resources using the respective quantities from the Application report.

The format of the server Quantitative resource is:

workstation-name_SERVER

The format of the R1 and R2 workstation Quantitative resources is:

workstation-name_resource-name

where workstation-name and resource-name are taken from the Workstation report.

The conversion forces every job in CONTROL-M to require at least one server Quantitative resource, even if the OPC job did not require a server. This enables implementation of “closed” workstations in CONTROL-M. Tclose the workstation, set the server resource quantity to 0 in the CONTRM Resources file.

If the CONTROL parameter in OPC for the server resource is NO, the conversion sets the quantity of this resource to 9999.

By default, the conversion adds an additional Quantitative resource calleINITIATOR to the CONTROL-M Resources file, which enables easier migration to CONTROL-M concepts. To suppress the creation of some oof the above CONTROL-M resources, use conversion parameters &INIT and &RESOURC, described in Appendix A.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-7

Page 70: 48730541-opc-guide

Component Conversion Summaries

inal

low.

at .

the

8. Run Cycle (Offset-based)

OPC calendars, periods and free-day rules are translated to CONTROL-M calendars.

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.

An OPC application can be defined with a number of different run cycles.Each run cycle defines different scheduling criteria. For details about howthis is handled by the conversion tool, see Item 27 in this chapter.

9. Calendars, Periods (Offset-based run cycles)

OPC calendars and periods are translated into CONTROL-M calendars. Fcalendars are calendars that are used by the applications. Temporary calendars assist the conversion tool in creating additional calendars.

The sequence of stages in the calendar conversion process is shown be

1. OPC calendars are translated to CONTROL-M work and/or free day calendars that contain a Y for each working day. OPC periods are translated to CONTROL-M calendars that contain a Y for each day thwas specified in the period definition. These are temporary calendars

2. A calendar is created for each RUN-CYCLE. The run days in the calendar are calculated as follows:

A. For each day that was specified in the period, the conversion tooladds the OFFSETS that were defined in OPC and marks them inCONTROL-M calendar with an appropriate sign. The appropriatesign is determined by the OPC free day rule, as shown in the following table.

BMC Software, Inc., Confidential and Proprietary Information

4-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 71: 48730541-opc-guide

Component Conversion Summaries

in

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.

4. All resultant calendars are, by default, placed into the CONTROL-M DCAL and CONFCAL parameters. You can change this by editing the Calendar Names files, which are described in JOB1 in Chapter 2, “Conversion Process Flow.” For an exception to this rule, see Item 29this chapter.

Note: After the conversion, temporary calendars must be deleted.

Table 4-4 CONTROL-M Free Days Values

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.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-9

Page 72: 48730541-opc-guide

Component Conversion Summaries

g

n

in is ich .

es,

s

ed d

10. Arrival-Time, Deadline

The conversion tool handles OPC time definitions in the following manner:

• The CONTROL-M FROM and UNTIL time definitions are set accordinto 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 ithis 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 17Chapter 3, “Conversion Steps.” In addition, if the OPC deadline time also greater than the New Day time, the CONTROL-M UNTIL time isset to blank, unless the OPC Suppress If Late field specifies N, in whcase it is set to the OPC deadline time. For more information, see “28Suppress If Late” on page 4-18.

Warning! When multiple normal run cycles are specified for an application, and they have different arrival and/or deadline timthe conversion tool uses the arrival and/or deadline time of thelast run cycle for the CONTROL-M FROM and UNTIL times. The last arrival and/or deadline time is also used for operationthat do not specify their own arrival and/or deadline time.

11. Priority

The OPC priority is copied unchanged to the CONTROL-M PRIORITY parameter.

The conversion tool supports OPC urgent priority, that is, operations definwith priority 9, by defining the job as a critical path, which is accomplisheby specifying *9 in the CONTROL-M PRIORITY parameter. For more information, see the PRIORITY parameter in the CONTROL-M for OS/390 User Manual.

BMC Software, Inc., Confidential and Proprietary Information

4-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 73: 48730541-opc-guide

Component Conversion Summaries

12. Operator Instructions

In CONTROL-M, documentation can be specified for each job. The documentation data of each job is contained in one library member.

The conversion tool converts the OPC operator instructions by creating a member (DOCMEM) in the CONTROL-M documentation library (DOCLIB) for each job. The documentation member is created only for those jobs having operator instruction data. The member name is the job name.

13. SEARCH and TABLE Directives

The OPC JCL SEARCH directive is converted to the CONTROL-M %%LIBSYM AutoEdit statement. The member names in the NAME parameter are converted to member names in the %%MEMSYM parameter The NOAPPL, NOGLOBAL, and APPL subparameters are not supported. The GLOBAL variable table is always included in the JCL member through the CONTROL-M %%GLOBAL AutoEdit statement.

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.

Warning! In OPC, the order-of-search of the variable tables, including the GLOBAL variable table, can be adjusted depending on whether the variable table is specified in a SEARCH or TABLE directive. For example, variable tables defined in the TABLE directive are always searched before variable tables specified in a SEARCH directive, even if the SEARCH directive is specified first in the JCL member. In CONTROL-M, the variable tables are searched in the order that the %%LIBSYM statements are specified in the JCL member. The CONTROL-M Global variable table is always searched last; the GLOBAL variable table is defined in the %%GLOBAL AutoEdit statement, discussed in relation to conversion parameter &GTABLE in Appendix A.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-11

Page 74: 48730541-opc-guide

Component Conversion Summaries

14. FETCH Directive

The OPC JCL FETCH directive is converted to the CONTROL-M %%INCLIB AutoEdit statement. The member name in the MEMBER parameter is converted to a member name in the %%INCMEM parameter. The COMP parameter is also supported; this parameter is discussed in the following item.

15. BEGIN and END Directives

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:

//*%OPC BEGIN COMP=(&var..EQ.(express-1, express-2)),//*%OPC ACTION-INCLUDE

generate the following AutoEdit statements:

//*%%IF %%var EQ express-1//*%%GOTO LABELmmnn//*%%ELSE//*%%IF %%var EQ express-2//* %%GOTO LABELmmnn//* %%ELSE//* ...//* %%ELSE//* %% GOTO LABELmmXX//* %%ENDIF//* ...//* %%ENDIF//*%%LABEL LABELmmnn

When the COMP parameter uses an NE comparison operator, the logic is changed to nested IF statements as follows:

BMC Software, Inc., Confidential and Proprietary Information

4-12 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 75: 48730541-opc-guide

Component Conversion Summaries

//*%%IF %%var NE express-1//*%%IF %%var NE express-2//* %%GOTO LABELmmnn//* %%ELSE//* %%GOTO LABELmmXX//* %%ENDIF//* %%ELSE//* %%GOTO LABEL mmXX//* %%ENDIF//*%%LABEL LABELmmnn

If ACTION=EXCLUDE is specified, rather than INCLUDE, the LABELs on the GOTO AutoEdit statements are reversed (that is, LABELmmnn is switched with LABELmmXX).

The OPC/ESA END directive is converted to the following CONTROL-M AutoEdit statement with all the INCLUDEd and EXCLUDEd JCL preceding this statement:

//*%%LABEL LABELmmXX

The ACTION=NOSCAN subparameter is not supported.

16. & and % Variables (for OPC/ESA Only)

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

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-13

Page 76: 48730541-opc-guide

Component Conversion Summaries

to

he

When &AUTSCAN is set to N (No), the translation of the OPC/ESA variables to AutoEdit variables depends on the presence or absence of the OPC/ESA SCAN directive in the JCL member. For more details, see Item 24 in this chapter.

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).

?-variables are not supported.

17. SRSTAT

The OPC SRSTAT command allows changes to the availability status of special resources. OPC SRSTAT commands in JCL steps are converted to ADD or DELETE COND statements in a JCL step that executes utility IOACND. These statements add or delete conditions in the IOA Conditions file. The special resource name in the SRSTAT command is converted to a CONTROL-M condition name, as described in Item 4 in this chapter. When the special resource names are longer than 20 characters, the name specified in the RESNAME file created in JOB1 is used. For more information, see JOB1 in Chapter 2, “Conversion Process Flow.”

The OPC AVAIL subparameter of the SRSTAT command determines the form of the IOACND command: AVAIL(YES) is converted to an ADD command, AVAIL(NO) is converted to a DELETE command. If no AVAIL subparameter is specified, AVAIL(NO) is assumed.

The condition-date is always set to STAT. The same limitations that applyOPSTAT also apply to SRSTAT, as described in the note in Item 25 in thischapter.

18. Started Task Option (for OPC/ESA Only)

The OPC/ESA Started Task option in the Workstation report determines tsetting 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).

BMC Software, Inc., Confidential and Proprietary Information

4-14 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 77: 48730541-opc-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.

20. Automatic Submission Option (for OPC/ESA Only)

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.

21. DEADLINE WTO Option (for OPC/ESA Only)

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.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-15

Page 78: 48730541-opc-guide

Component Conversion Summaries

L s

atic ks.

22. ERROR TRACKING Option

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 Error Tracking is set to N (No), the following CONTROL-M post-processing statement is added to the job scheduling definition:

ON PGMST ANYSTEP CODES EXERR DO OK

23. Catalog Management (for OPC/ESA Only)

The Catalog Management MVS Job Option can be used to automatically delete, uncatalog, or catalog datasets that have been created and/or modified in a job and/or started task that has ended in error or requires a rerun. This facility is available on a job-by-job basis and is converted to the CONTROL-R PREVENT-NCT2 parameter. For more details, see the discussion of catalog management in Chapter 1, “Conceptual Overview,” and conversion parameter &NCT2 in Appendix A.

24. SCAN Directive

When conversion parameter &AUTSCAN is set to N (No), the conversion tool only translates OPC variables to CONTROL-M AutoEdit variables in a JCmember if it encounters an OPC SCAN directive (//*%OPC SCAN) in themember. Translation of the OPC variables to AutoEdit variables only takeplace in lines of the member after the SCAN directive is encountered.

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 automevent reporting (AER) facility to set operation statuses and coordinate tasFor example, it may be used to trigger the start of an operation when a particular step in a job is complete.

BMC Software, Inc., Confidential and Proprietary Information

4-16 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 79: 48730541-opc-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:

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.

The condition-date associated with the above condition-name is ddmm (or mmdd, depending on the value of IOA installation parameter DATETYP) where dd and mm are derived from the CONTROL-M AutoEdit variables %%ODAY and %%OMONTH.

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.

26. Highest Return Code – HRC (for OPC/ESA Only)

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.

Table 4-5 Conversion of OPC OPSTAT Commands

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.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-17

Page 80: 48730541-opc-guide

Component Conversion Summaries

uling h

riate tem d or r

, also

The CONTROL-M default is that the job is considered as having an ended OK status if no step has a condition code higher than 4. The conversion tool converts the OPC/ESA HRC value to the following CONTROL-M parameters:

ON PGMST ANYSTEP CODES=<C(hrc+1)DO OK

If the HRC is less than 4, the CONTROL-M parameters created are:

ON PGMST ANYSTEP CODES=>C(hrc)DO NOTOK

27. Rule/Period Name

An OPC application can be defined with a number of different run cycles defining different scheduling dates. Each run cycle is given a Rule/Period Name. The conversion tool assigns the Rule/Period Name to a schedule tag in the Group Entity of the Group Scheduling table that defines the basic scheduling criteria of the run cycle. For an overview of CONTROL-M Group Scheduling, see Chapter 1, “Conceptual Overview.”

If there are multiple schedule tags assigned in a Group Table, the SchedTag has a suffix of _n, where n is an alphanumeric character, either 2 throug9, or A through G.

28. Suppress If Late

The Suppress If Late MVS Job option from the OPC Application report isused when OPC may not be able to submit or release a job at the approptime, for example, if predecessors have not completed, or if there is a sysoutage. This option is used to determine whether the job is to be submittereleased when it becomes possible, or whether it is not to be submitted oreleased at all.

In CONTROL-M the corresponding parameters are a combination of MAXWAIT, RETRO and TIME UNTIL. When, due to a delay, a job does not finish executing on the logical day it was ordered, CONTROL-M may be instructed to leave it an additional number of days in the Active Jobs Fileaccording to the MAXWAIT value. The RETRO parameter specifies whether toschedule a job when its original scheduling date has passed. You shouldchoose an appropriate value for parameter DUEINCHK in member CTMPARM in the IOA PARM library to determine if job submission should be suppressed after the due-in time of a job has passed.

BMC Software, Inc., Confidential and Proprietary Information

4-18 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 81: 48730541-opc-guide

Component Conversion Summaries

cle.

e

run as

The OPC Suppressed if Late parameter is converted according to the following table:

Note: If the CONTROL-M MAXWAIT parameter is set to a value greater than 00, the UNTIL time is set to ‘>’ . For more information, see the description of the MAXWAIT parameter in the CONTROL-M for OS/390 User Manual.

29. Run Cycle Valid From/To

If a Julian Date Has Been Specified for Conversion parameter &HIDATE

OPC Run Cycle Valid From/To dates specify the date range of the run cyNormally, 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 acalendar 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 thperiod definition of the run cycle. The name of the calendar is RCVnnnnn where nnnnn is a sequence number. The original calendar created for the cycle remains in the CONFCAL parameter, unless the Calendar Names file wedited for this calendar.

Table 4-6 Conversion of the OPC Suppressed If Late Parameter

OPC Suppress If Late

CONTROL-M: MAXWAIT RETRO UNTIL

N &MAXWAIT conversion parameter

Y >

Y OPC Deadline day relative to start day

N OPC Deadine is discussed in Item 10 in this chapter

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-19

Page 82: 48730541-opc-guide

Component Conversion Summaries

ted.

cles

e y

If ‘ * ’ Has Been Specified for Conversion Parameter &HIDATE

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 VARstatements determine the date range within which the job may be submit

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.

Note: Specifying &HIDATE=‘* ’ provides the advantage that no additional calendars are created, as is the case with &HIDATE= yyddd. Specifying this value can, however, be a disadvantage in the case of jobs that have multiple normal run cywith different From/To dates.

30. //*%IJ, //*%1V, //*%1S

The PSS special JCL comment statements //*%IJ, //*%1V, and //*%1S arignored by the conversion tool. The ‘ % ’ in column 4 is simply replaced ban ‘ * ’ to prevent confusion when the conversion tool converts OPC &-variables to CONTROL-M AutoEdit variables.

31. //*%2V, //*%2S

The PSS special JCL comment statements //*%2Vnn and //*%2Snn that define JCL and SYSIN variables are converted to CONTROL-M AutoEdit%%SET statements.

The %%SET statements are formed as follows:

1. When a default value of dd...d is specified in columns 35 through 36 of the PSS comment statement the %%SET statement formed is:

%%SET %%Vnn = dd...d

BMC Software, Inc., Confidential and Proprietary Information

4-20 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 83: 48730541-opc-guide

Component Conversion Summaries

2. When a variable, %Vmm, is specified in the variable format code field (columns 60 through 64) of the PSS comment statement, the %%SET formed is:

%%SET %%Vnn = %%Vmm

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:

%%SET %%Vnn = autoedit date variable

The PSS logical date formats are converted to AutoEdit formats as follows:

Table 4-7 Conversion of PSS Logical Date Formats

PSS Format CONTROL-M Format

TDDMY %%ODAY.%%OMONTH.%%OYEAR

TDDM %%ODAY.%%OMONTH

TDMD %%OMONTH.%%ODAY

TDND %%OJULDAY

TDYND %%OYEAR.%%OJULDAY

TDSYS %%OYEAR.%%OJULDAY

TDMDY %%OMONTH.%%ODAY.%%OYEAR

TDYMD %%ODATE

TDMY %%OMONTH.%%OYEAR

TDYM %%OYEAR.%%OMONTH

TDD %%ODAY

TDM %%OMONTH

TDY %%OYEAR

TDNDY %%OJULDAY.%%OYEAR

TDC %%$CENT

TDCY %%$CENT.%%OYEAR

TDCT %%SUBSTR %%$CENT 1 1

TDDC %%OWDAY

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-21

Page 84: 48730541-opc-guide

Component Conversion Summaries

nd

4. For SYSIN variable definitions, the //*%2S special JCL comment statement is converted only if columns 68 and 69 specify %x. In this case, the %SET formed is:

%%SET %%x = yyy

where yyy is of the form described in paragraphs 1, 2 and 3 in this Item.

Note: Other forms of //*%2V and //*%2S are not automatically converted. For more information, see Item 34 in this chapter, and message CTMOPPSS-03W in Appendix B.

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

A %%Snn statement identifies a SYSIN job instream file for which preparation (variable insertion and/or substitution) is necessary. The conversion tool deletes this statement from the input stream.

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:

%%INCLIB parmlib %%INCMEM member-name

where:

• parmlib is set from the &PARMLIB conversion parameter

• member-name is taken from column 8 of the IP comment statement.A member-name beginning with the character P indicates a user exit, ais not supported.

BMC Software, Inc., Confidential and Proprietary Information

4-22 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 85: 48730541-opc-guide

Component Conversion Summaries

ted

ns

tool

s are

34. %-variables (PSS)

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 AutoEdit concatenation symbol, %%., is used to convert PSS variables that are concatenated with constant data. For example, %V99xxx is converted to %%V99%%.xxx.

Implicitly defined variables on //*%2S comment statements, that is, where the variable relative position is defined in columns 68–69, are not supporby the conversion tool.

Nos.35-39 are not currently in use.

40. RECOVER Directive

The OPC JCL RECOVER directive specifies job rerun and/or restart actiofor various situations. This directive contains many parameters and subparameters. The table shown below summarizes how the conversionconverts each parameter to CONTROL-M job scheduling parameters.

Note: The conversion tool may not accept as many parameter values aallowed in OPC. For example, OPC allows you to specify up to 40application IDs for parameters ADDAPPL and RELSUCC, but theconversion tool supports only 5 in each parameter.

“Note” in the table below refers to the number of the corresponding note immediately after the table.

Table 4-8 Conversion of RECOVER Directive Parameters (Part 1 of 2)

RECOVER Directive Parameter

CONTROL-M Job Scheduling Definition Parameter Note

ERRSTEP ON PGMST..., PROCST... 1

JOBCODE ON PGMST... CODES 2

STEPCODE ON PGMST... CODES 2

DELSTEP SET VAR, DO SET 3

ADDPROC SET VAR, DO SET 4

RESSTEP DO IFRERUN 5

RESTART DO RERUN 6

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-23

Page 86: 48730541-opc-guide

Component Conversion Summaries

NOTES

1. Parameter ERRSTEP restricts the RECOVER directive so that it is active only for certain specified steps.

Values for parameter ERRSTEP can be specified in several different formats. They are converted according to the following table:

If parameter ERRSTEP is not specified in the RECOVER directive, the following statement is generated by the conversion:

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.

2. Parameter JOBCODE restricts the RECOVER directive so that it is active only for certain specified job completion codes and return codes.

Values for parameter JOBCODE can be specified in several different formats and are converted according to the following table:

ADDAPPL DO FORCEJOB 7

RELSUCC DO COND 8

TIME DO IFRERUN... CONFIRM 9

RESJOB, ALTWS, ALTJOB Not supported

Table 4-9 Conversion of ERRSTEP Values

ERRSTEP Value CONTROL-M Parameter

Stepname ON PGMST stepname

stepname.procstep ON PGMST stepnamePROCST procstep

stepx – stepy STEP RANGE RNGEnnn FR stepx TO stepyON PGMST *RNGEnnn

Table 4-8 Conversion of RECOVER Directive Parameters (Part 2 of 2)

RECOVER Directive Parameter

CONTROL-M Job Scheduling Definition Parameter Note

BMC Software, Inc., Confidential and Proprietary Information

4-24 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 87: 48730541-opc-guide

Component Conversion Summaries

ur-

from

• Generic abend codes, which specify an asterisk to represent any character, are supported.

• The OPC user abend code, Uxxx, is specified with a three-digit hexadecimal number. CONTROL-M coverts this number into a fodigit decimal number.

• A Case Code used as a value for parameter JOBCODE must be defined in the CASECODE file created in JOB3, as discussed in Chapter 2, “Conversion Process Flow.”

• Range values (x-y) specified in parameter JOBCODE are convertedto multiple ON PGMST statements connected by an AND relationship, as follows:

ON PGMST ... CODES C(x-1) A/O AON PGMST ... CODES C(y+1)

STEPCODE values are converted in the same manner as JOBCODEvalues. However, value FLSH is not supported.

If neither JOBCODE nor STEPCODE parameters are specified, the conversion uses the following defaults:

CODES S*** U**** >C0004 AND

CODES S*** U**** <C4096

3. Parameter DELSTEP specifies a step or range of steps to be deletedthe inline JCL before rerunning a failed operation.

The conversion tool modifies both the JCL of the job and the relevantscheduling definition. This is illustrated by the following example:

Table 4-10 Conversion of JOBCODE Values

JOBCODE Value CONTROL-M Codes

Sxxx Sxxx

Uxxx Unnnn

Xxxx Case Codes

N Cnnnn

x – y >C(x-1) AND <C(y+1)

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-25

Page 88: 48730541-opc-guide

Component Conversion Summaries

Example 1

If the JCL of a job consists of:

//jobname JOB//STEP1 EXEC ...//STEP2 EXEC ...//STEPX EXEC ...//STEPY EXEC ...

and the following is specified for parameter DELSTEP:

//DELSTEP=(STEP1,STEP2,STEPX-STEPY)

the conversion tool modifies the JCL, by adding AutoEdit statements, in the following way:

//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:

SET VAR %%STEP1=0SET VAR %%STEP2=0SET VAR %%STEPX=0

and in the ON PGMST statement the following is added:

DO SET VAR = %%STEP1=1DO SET VAR = %%STEP2=1DO SET VAR = %%STEPX=1

BMC Software, Inc., Confidential and Proprietary Information

4-26 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 89: 48730541-opc-guide

Component Conversion Summaries

4. Parameter ADDPROC specifies a name, or list of names, of JCL procedure library members to be added to the inline JCL before a failed operation is rerun.

The conversion tool modifies both the JCL of the job and the relevant scheduling definition, as illustrated by the following example.

Example 2

If ADDPROC=(PROC1) is specified, the following AutoEdit statements are added to the JCL following the job statement:

//* %%IF %%PROC1 EQ 1//* %%INCLIB eqqprlib %%INCMEM PROC1//* %%ENDIF

where eqqprlib is the value specified in the &INCLIBP conversion parameter in the DEFAULTS member of the conversion source library.

In addition, the conversion tool adds the following parameters to the job scheduling definition:

SET VAR %%PROC1=0

and in the ON PGMST statement the following is added:

DO SET VAR = %%PROC1=1

5. Parameter RESSTEP specifies the name of the job step at which point the operation must be restarted.

Values for parameter RESSTEP can be specified in several different formats and are converted to DO IFRERUN statements according to the following table:

Table 4-11 Conversion of RESSTEP Values

RESSTEP Value CONTROL-M DO IFRERUN Statement

stepname FROM stepname

stepname.procstep FROM stepname.procstep

* FROM $FIRST (default)

% FROM $EXERR

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-27

Page 90: 48730541-opc-guide

Component Conversion Summaries

-rted

ers, in

6. Parameter RESTART specifies whether a job must be restarted. When RESTART=YES is specified, the conversion tool adds a DO RERUN parameter to the end of the ON PGMST block.

7. Parameter ADDAPPL specifies an application, or list of applications, to be added to the OPC current plan.

The conversion tool translates the application IDs in the ADDAPPL parameter to CONTROL-M table names using the application and/or owner ID name list file (created in JOB1). Table names are then used in DO FORCEJOB statements that are added to the ON PGMST statement.

8. Parameter RELSUCC specifies the application ID of a successor occurrence (or a list of IDs). The conversion tools translates the application IDs in the RELSUCC parameter to CONTROL-M table names using the application and/or owner ID name list file created in JOB1. Table names are then used to form condition names with the following format:

table-name_jobname

DO COND statements with these condition names and specifying a date of STAT+ are added to the ON PGMST statements.

9. Parameter TIME restricts the RECOVER directive so that it is only valid during a specified time range.

If TIME=0000-2400 is specified, the DO IFRERUN parameter (the product of conversion of OPC parameter RESSTEP, as described in Note 5 in this Item) is created with CONFIRM=N specified. If any other range is specified, CONFIRM=Y is specified in the DO IFRERUN parameter.

41. ADRULE (Rule-based Run Cycle)

In OPC/ESA Version 1, Release 3 and later, it is possible to specify scheduling criteria through rule-based run cycle parameters. Unlike Offset-based run cycle criteria, these are converted directly to CONTROL-M basic scheduling parameters that minimize both the number of CONTROL-M calendars required and the need to edit the Calendar Names table, which is discussed under JOB1 in Chapter 2, “Conversion Process Flow.” The rulebased parameters, in conjunction with the OPC Free-day rule, are conveaccording to the general principles outlined in the following tables.

Note: Because of the free-form nature of the OPC Rule-based parametsome unusual combinations of parameters may not be describedthe tables, or converted exactly as described in the tables.

BMC Software, Inc., Confidential and Proprietary Information

4-28 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 91: 48730541-opc-guide

Component Conversion Summaries

NOTES

1. The OPC ONLY and YEAR Rule parameter combination is converted to CONTROL-M DATES parameters ddmm or mmdd depending on the value of IOA installation parameter DATETYP.

The YEAR parameter is not supported in combination with the LAST, MONTH, WEEK, DAY(WORKDAY) or DAY(specific-days) parameters, except with the EVERY parameter.

Table 4-12 Conversion of Free-day Rule Parameters

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

Table 4-13 Conversion of Rule-based Parameters

OPC Rule-based Parameter combinations

CONTROL-M Basic Scheduling Parameter Note

ONLY, YEAR DATES 1

EVERY, DAY(Monday,...,Sunday) WDAYS 2

EVERY DAY(WORKDAY|DAY|FREEDAY) [YEAR|MONTH|WEEK]

DAYS=ALLDCAL

LAST [WEEK] [W]DAYS=Ln 3

ONLY, DAY(Monday,...,Sunday) WDAYS=DmWn 4

DAY(Monday,...Sunday) WDAYS=n 2

DAY(WORKDAY) DAYS=Dn 5

DAY(FREEDAY) DCAL=HOLIDAY 8

MONTH MONTHS

WEEK 6

PERIOD DCAL, WCAL 7

ORIGINSHIFT Not supported

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-29

Page 92: 48730541-opc-guide

Component Conversion Summaries

he

ne

ase

2. When IOA installation parameter SWEEK is set to MON, the days Monday, Tuesday, ..., Saturday, Sunday are converted to WDAYS=1, 2, ...,6, 0 respectively. When SWEEK=SUN, these days are converted to 2, 3, ..., 6, 0, 1 respectively.

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 AWDAYS=n

where n is set as described in Note 2 in this Item.

4. When the OPC ONLY parameter is specified with a specific DAY, the conversion tool converts it to WDAYS=DmWn

where:

• m is chosen as in Note 3 in this Item• n is the number specified in ONLY.

A WCAL calendar, taken from the OPC calendar-id, is also specified.

5. When the OPC DAY(WORKDAY) parameter is specified, the CONTROL-M DAYS are specified as workdays (Dn or Ln) and a DCAL calendar, taken from the OPC calendar-id, is also specified.

6. Specific weeks, for example, WEEK (1, 4), are not supported, nor is tWEEK 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 operiod name is specified in the rule.

8. You must create the HOLIDAY calendar, based on the applications bcalendar.

BMC Software, Inc., Confidential and Proprietary Information

4-30 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 93: 48730541-opc-guide

Unique CONTROL-M and CONTROL-R Parameters

Unique CONTROL-M and CONTROL-R Parameters

Several unique CONTROL-M and CONTROL-R job scheduling definition parameters that do not have corresponding OPC capabilities can be set by the conversion tool during creation of the CONTROL-M scheduling tables.

The parameters member DEFAULTS in the conversion source library contains the default settings for these parameters, and must be reviewed and modified to specify your local CONTROL-M and CONTROL-R preferences. For additional information regarding these parameters, see Appendix A, the CONTROL-M for OS/390 User Manual, and the CONTROL-R for OS/390 User Manual.

The parameters are set out in the following paragraphs.

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

This CONTROL-M parameter specifies how the job output is handled.

At job completion, CONTROL-M analyzes the job output. To enable CONTROL-M to locate the job output on the system spool, CONTROL-M modifies the JCL MSGCLASS parameter of the job at the time of submission to the automatically held output class. After analyzing the sysout, CONTROL-M may be ordered to requeue the sysout. For more information regarding DO SYSOUT options, see the CONTROL-M for OS/390 User Manual.

The conversion tool can be instructed to specify various actions, using the CONTROL-M DO SYSOUT facility.

Conversion parameter &TOCLASS specifies the output class to which CONTROL-M requeues the job output. For more information on this parameter, see Appendix A.

BMC Software, Inc., Confidential and Proprietary Information

Chapter 4 Conversion Details 4-31

Page 94: 48730541-opc-guide

Unique CONTROL-M and CONTROL-R Parameters

to

)

Conversion parameter &RELEASE instructs CONTROL-M whether to release the output of the job for printing on the system spool. The default is Y (Yes). For more information on this parameter, see Appendix A.

SHOUT

This CONTROL-M parameter specifies messages to be sent, “shouted,” different destinations on different occasions.

The conversion tool supports the following SHOUT situations:

The &SHOUT conversion parameter specifies the SHOUT message text for failed jobs. The default message text is:

%%JOBNAME J%%JOBID ENDED NOTOK!

The &SHOUTL conversion parameter specifies the SHOUT message text for late jobs. The default message text is:

MEMBER %%$MEMNAME IS LATE

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 (deadlinetime is placed in the job scheduling definition. The message text is:

MEMBER %%$MEMNAME IS STILL EXECUTING!!

A variety of addresses can be specified as CONTROL-M SHOUT message destinations. For more information, see the CONTROL-M for OS/390 User Manual.

Conversion parameter &SHOUTD specifies the destination of the SHOUT message texts for failed, late-executing and late-submitted jobs.

Table 4-14 SHOUT Situations

Situation Description

WHEN NOTOK CONTROL-M sends a SHOUT message when a job fails.

WHEN LATESUB

CONTROL-M sends a SHOUT message when a job has not been submitted by a specified time.

WHEN LATE CONTROL-M sends a SHOUT message when a job is still executing at a specified time.

BMC Software, Inc., Confidential and Proprietary Information

4-32 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 95: 48730541-opc-guide

8

Appendix A Conversion Parameters

Member DEFAULTS in the conversion source library contain various parameters for the conversion process. These parameters must be modified according to your site requirements:

Table A-1 Conversion Options (Part 1 of 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’.)

BMC Software, Inc., Confidential and Proprietary Information

Appendix A Conversion Parameters A-1

Page 96: 48730541-opc-guide

Conversion Parameters

&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 must1. 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).

Table A-1 Conversion Options (Part 2 of 8)

Parameter Description

BMC Software, Inc., Confidential and Proprietary Information

A-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 97: 48730541-opc-guide

Conversion Parameters

&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

&GTABLE(for OPC/ESA only)

Name in the OPC/ESA GTABLE initialization parameter of the OPCOPTS statement that specifies the Global variable table 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 utilizingOPC/ESA variables. Default: GLOBAL

&HHMM Time format in OPC reports. Options:• HHMM – For hhmm format. Default.• MMHH – For mmhh format.

Table A-1 Conversion Options (Part 3 of 8)

Parameter Description

BMC Software, Inc., Confidential and Proprietary Information

Appendix A Conversion Parameters A-3

Page 98: 48730541-opc-guide

Conversion Parameters

&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

Table A-1 Conversion Options (Part 4 of 8)

Parameter Description

BMC Software, Inc., Confidential and Proprietary Information

A-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 99: 48730541-opc-guide

Conversion Parameters

&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

Table A-1 Conversion Options (Part 5 of 8)

Parameter Description

BMC Software, Inc., Confidential and Proprietary Information

Appendix A Conversion Parameters A-5

Page 100: 48730541-opc-guide

Conversion Parameters

&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(for OPC/ESA only)

When conversion parameter &VER is set to E, &REL specifies the release of the OPC/ESA product from which you 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

Table A-1 Conversion Options (Part 6 of 8)

Parameter Description

BMC Software, Inc., Confidential and Proprietary Information

A-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 101: 48730541-opc-guide

Conversion Parameters

&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 NOTOKDO COND CONTROL-resource-name STAT -

Table A-1 Conversion Options (Part 7 of 8)

Parameter Description

BMC Software, Inc., Confidential and Proprietary Information

Appendix A Conversion Parameters A-7

Page 102: 48730541-opc-guide

Conversion Parameters

&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

Table A-1 Conversion Options (Part 8 of 8)

Parameter Description

BMC Software, Inc., Confidential and Proprietary Information

A-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 103: 48730541-opc-guide

10

Appendix B Messages and Codes

This list contains messages produced by the components of the conversion tool.

A message code usually consists of the following parts:

CTMyyynnx

where CTM indicates that the message pertains to CONTROL-M for OS/390, and where:

Message descriptions contain any or all of the following:

Explanation: 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.

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.

BMC Software, Inc., Confidential and Proprietary Information

Appendix B Messages and Codes B-1

Page 104: 48730541-opc-guide

BCLnnnS

BCLnnnS message text

Explanation: An error occurred in utility IOABLCAL.

Utility IOABLCAL is invoked when necessary during conversion, to combine two calendars. It is invoked by program CTMOP008. For details of this utility, see the INCONTROL for OS/390 Utilities Guide.

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.

System Action: Processing continues. However, the validity of succeeding calendars built by the conversion cannot be guaranteed until all errors have been resolved.

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.

CTMOPnnnE BAD RC[=rc] FROM routine [FOR val AREA/FUNCTION] [member]

Explanation: One of the following routines failed: GETMAIN, FREEMAIN, SORT or the PUTMEM, GETDIR, or GETMEM function of CTMMEM.

This description applies to messages CTMOP305E, CTMOP307E, CTMOP401E, CTMOP810E, CTMOP1204E, CTMOP1207E, CTMOP1401E, CTMOP1403E, and CTMOP1405E.

The return code, when present, is rc.

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:

BMC Software, Inc., Confidential and Proprietary Information

B-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 105: 48730541-opc-guide

CTMOP200E

User Response: If a GETMAIN error occurred, increase the REGION size. For the other functions, take appropriate action based on the return code.

CTMOP200E RESMAX CONVERSION OPTION EXCEEDED

Explanation: The maximum number of OPC special resources whose names exceed 20 characters has been exceeded. This maximum number is defined in parameter &RESMAX in the DEFAULTS member of the conversion source library.

User Response: Increase the value of &RESMAX and rerun ASMLINK and JOB1.

CTMOP202E WSMAX PARAMETER EXCEEDED

Explanation: The maximum number of workstations, as defined in the DEFAULTS member of the conversion source library in parameter &WSMAX, has been exceeded.

User Response: Increase the value of &WSMAX and rerun ASMLINK and JOB1.

Table B-1 The Meaning of CTMMEM Return Codes

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

BMC Software, Inc., Confidential and Proprietary Information

Appendix B Messages and Codes B-3

Page 106: 48730541-opc-guide

CTMOP208W

CTMOP208W APPLID: appl CONTAINS 0 OPERATIONS. CONTROL-M GROUP WILL CONTAIN 0 JOBS.

Explanation: An OPC application is defined with no operations in it. The conversion converts it to a CONTROL-M group scheduling table containing a group entity only, without any job scheduling definitions.

User Response: Group scheduling tables containing no job scheduling definitions are an anomalous situation, as CONTROL-M Screen 2 always expects every group scheduling table to contain at least one job. You may want to add a dummy job definition to the table.

CTMOP217S OPERATION WORK STATION DOES NOT EXIST FOR APPLICATION ID appl WORKSTATION/OPERATION NAME wsname

Explanation: Workstation wsname comprises part of an Operation name for application appl, but it does not exist in the Workstation Report

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.

System Action: Processing terminates.

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.

CTMOP218E RUN CYCLE rcycname WAS NOT PROCESSED FOR APPLICATION ID appl

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.

System Action: If rcycname is blank, only one CONTROL-M job scheduling definition is created for the application, and it does not contain any scheduling information. If rcycname does not exist in the Period report, the run cycle is ignored in creating the CONTROL-M job scheduling definition for the application.

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.

BMC Software, Inc., Confidential and Proprietary Information

B-4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 107: 48730541-opc-guide

CTMOP308E

CTMOP308E CHECK DAEXCEP FILE FOR DETAILED ERROR MESSAGES.

Explanation: An error requiring user intervention has occurred.

System Action: Processing terminates.

User Response: Check the DAEXCEP file for detail error messages, and proceed accordingly.

CTMOP309E INCREASE CONVERSION OPTION PARAMETER APPLMAX

Explanation: The maximum number of applications in OPC, as defined in the DEFAULTS member of the conversion source library by the conversion parameter &APPLMAX, has been exceeded.

System Action: Processing terminates.

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.

CTMOP318E INCREASE CONVERSION OPTION JOBMAX

Explanation: The maximum number of jobs in OPC, as defined in the DEFAULTS member of the conversion source library by the &JOBMAX parameter, has been exceeded.

System Action: Processing terminates.

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.

BMC Software, Inc., Confidential and Proprietary Information

Appendix B Messages and Codes B-5

Page 108: 48730541-opc-guide

CTMOP321E

CTMOP321E DUPLICATE APPLICATION NAME – appl

Explanation: During conversion of an OPC application name to a CONTROL-M scheduling table name, the name encountered in the DACHANGE file was a duplicate of a previously processed name.

CONTROL-M scheduling table names must be unique.

User Response: Modify the problematic name in the DACHANGE file and rerun JOB2.

CTMOP501E text

Explanation: You have supplied invalid values for CONTROL-M parameters DAYS and/or WDAYS and/or for the new calendar name. This information is supplied in the Calendar Names file produced by JOB1.

The message text specifies the exact error.

System Action: Processing terminates.

User Response: Depending on the problem, correct invalid parameters (DAYS, WDAYS, or the new calendar name) in the Calendar Names file, and rerun JOB2.

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.

System Action: Processing terminates.

User Response: Correct the Calendar Names file and rerun the job.

CTMOP705E MORE THAN 15 NEGATIVE RUN CYCLES ARE ADDED TO NEW CALENDAR cal

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.

CTMOP707E DUPLICATE CALENDAR NAME – cal

Explanation: In the process of converting an OPC calendar name to a CONTROL-M calendar name, the name encountered in the DACHANGE file was a duplicate of a previously processed name.

CONTROL-M calendar names must be unique.

User Response: Modify the problematic name in the application detailed report file and rerun JOB1.

BMC Software, Inc., Confidential and Proprietary Information

B-6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 109: 48730541-opc-guide

CTMOP709E

n

CTMOP709E CALENDAR NAME IS NOT A LEGAL NAME: cal

Explanation: While processing an OPC calendar name, the name encountered was blank or not a legal PDS member name.

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.

CTMOP809E OLD CALENDAR cal DOES NOT EXIST IN CALENDAR TABLE

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.

System Action: Processing terminates.

User Response: Correct the Calendar Names file and rerun the job.

CTMOP815E FINAL NEGATIVE CALENDAR cal NOT CREATED BECAUSE ONE OF THE COMBINED CALENDARS DOES NOT APPEAR IN CALENDAR TABLE

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, “ConversioProcess Flow.”

User Response: Correct the Calendar Names file and rerun the job.

CTMOP1201E APPL ID appl OPER ID operid WS ID wsid. reason. DOCMEM NOT CREATED

Explanation: Member DOCMEM in the DOCLIB library was not created, for one of the reasons set out in the following table:

BMC Software, Inc., Confidential and Proprietary Information

Appendix B Messages and Codes B-7

Page 110: 48730541-opc-guide

CTMOP1404E

User Response: For the first two reasons, manually create the DOCMEM members. For reason 3, no action is required.

CTMOP1404E TOO MANY MEMBERS IN LIBRARY

Explanation: The maximum number of members contained in a JCL library, as defined in the DEFAULTS member of the conversion source library by the parameter &DIRMAX, has been exceeded.

System Action: Processing terminates.

User Response: Increase the value coded for &DIRMAX, rerun job ASMLINK, and rerun the failing job.

CTMOP1406E TOO MANY LINES IN MEMBER memname

Explanation: The maximum number of lines contained in JCL member memname, as defined in the DEFAULTS member of the conversion source library by the parameter &LINMAX, has been exceeded.

User Response: Increase the value coded for &LINMAX, rerun job ASMLINK and rerun the failing job.

CTMOP1408I PROCESSING ENDED FOR LIBRARY

Explanation: This information message indicates that a JCL library conversion process has ended.

CTMOP1409I MODIFICATIONS WERE DONE TO MEMBER memname LIBRARY libname

Explanation: This information message indicates that JCL member memname has been modified. Note that lines may have been deleted without conversion from member memname due to their function not being supported by the converted CONTROL-M utility.

Table B-2 DOCMEM NOT CREATED Message Reasons

Return Code Description

NOT IN XRF TABLE The application name appl was not found in the cross reference job table built from the OPC report.

JOBNAME IS MISSING The job name for application appl is blank.

MEMBER ALREADY EXISTS Member name DOCMEM already exists in the DOCLIB library.

BMC Software, Inc., Confidential and Proprietary Information

B-8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 111: 48730541-opc-guide

CTMOP1501E

ed

ar.

as

ed

CTMOP1501E member line-in-error

Explanation: In the process of converting the OPC or PSS JCL library to CONTROL-M format, the conversion tool encountered an invalid or unsupported command or JCL directive.

The member in which the error occurred and the member line in questions are displayed in the message.

Some typical error situations are:

• An unsupported OPC JCL directive was encountered• An unsupported PSS JCL comment statement was encountered• SRTAT command, the special resource name is not enclosed in quotes• In an OPSTAT command, ADID, or JOBNAME is not specified, or a STATUS

other than C was specified

System Action: Processing continues.

User Response: Correct the invalid command or manually convert the unsupportcommand or directive.

CTMOP1601E WRONG CALENDAR STRUCTURE

Explanation: A CONTROL-M calendar has been created without a full year span in the Calendar and Period reports.

System Action: Processing terminates.

User Response: Ensure that the calendars in the reports are defined for a full ye

CTMOPPSS-02E member line-in-error

Explanation: In the process of converting the OPC or PSS JCL library to CONTROL-M format, the conversion tool encountered an invalid or unsupportedcommand or JCL directive.

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 wencountered.

System Action: Processing continues.

User Response: Correct the invalid command or manually convert the unsupportcommand or directive.

BMC Software, Inc., Confidential and Proprietary Information

Appendix B Messages and Codes B-9

Page 112: 48730541-opc-guide

CTMOPPSS-03W

CTMOPPSS-03W MEMBER-member, PSS VARIABLES REQUIRE VALIDATION/CONFIRMATION

Explanation: A PSS variable in a member defined in a //*%2V or //*%2S JCL comment statement requires operator intervention or processing using a PSS exit program.

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.

CTMOPRUL-01E APPL=appl, text, UNSUPPORTED OPTION

Explanation: In OPC application appl, a rule-based run cycle specifies an ADRULE parameter (text) that is not supported by the conversion tool.

System Action: Processing continues.

User Response: In the CONTROL-M scheduling table corresponding to the OPC application, manually supply the appropriate basic scheduling criteria and/or calendar to support the OPC ADRULE parameter.

CTMOPRUL-02E APPL=appl, UNSUPPORTED COMBINATION OF PARAMETERS

Explanation: In OPC application appl, a rule-based run cycle specifies a combination of ADRULE parameters that cannot be converted by the conversion tool.

System Action: Processing continues.

User Response: In the CONTROL-M scheduling table corresponding to the OPC application, manually supply the appropriate basic scheduling criteria and/or calendar to support the OPC ADRULE parameter.

BMC Software, Inc., Confidential and Proprietary Information

B-10 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 113: 48730541-opc-guide

2

Appendix C Problem Reporting

Please supply all the information requested below when reporting a problem related to the conversion process:

1. Version number of CONTROL-M (for example, 6.0.00) and the MVS operating system (for example, OS/390 2.4).

2. Release number of OPC and PSS (for example, OPC/A Version 1, Release 2; OPC/ESA Version 1, Release 3.1) from which you are converting.

3. Last PTF applied to the conversion tool.

4. Copy of member DEFAULT.

5. Any source fixes or zaps applied to the conversion tool. Also, whether REFRESH LLA was performed after changes were made.

6. The language of the OPC reports, such as English, Spanish, German or French.

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.

BMC Software, Inc., Confidential and Proprietary Information

Appendix C Problem Reporting C-1

Page 114: 48730541-opc-guide

Problem Reporting

BMC Software, Inc., Confidential and Proprietary Information

C-2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 115: 48730541-opc-guide

8

Index

Symbols$DELCOND Job, External Conditions 4-6$TAGDFLT Schedule Tag 1-2% Value, RESSTEP Parameter 4-27% Variables

OPC/ESA 4-13PSS 4-23

%%ELSE AutoEdit StatementGenerally 1-5OPC Parallel 4-12

%%ENDIF AutoEdit StatementGenerally 1-5OPC Parallel 4-12

%%GLOBAL AutoEdit StatementGenerally 1-5OPC Parallel 4-11

%%GOTO AutoEdit StatementGenerally 1-5OPC Parallel 4-12

%%IF AutoEdit StatementGenerally 1-5OPC Parallel 4-12

%%INCLIB AutoEdit StatementGenerally 1-5OPC Parallel 4-12

%%INCMEM StatementOPC Parallel 4-12

%%LIBSYM AutoEdit StatementGenerally 1-5OPC Parallel 4-11

%%MEMSYM Statement, OPC Parallel 4-11

BMC Software, Inc., Confidential and Proprietary Information

%%SET Statement, Converting PSS Statements 4-20

%Snn Card, SYSIN Job Instream File 4-22& Variable (OPC), CONTROL-M Parallel 4-13&APPLMAX Conversion Parameter A-1&AUTSCAN Conversion Parameter A-1

& and % Variables 4-13SCAN JCL Directive 4-16

&CALENDAR Conversion Parameter A-1&COMBINE Conversion Parameter A-1&COND Conversion Parameter 4-5&CTMCND Conversion Parameter A-2&CTR Conversion Parameter 1-8, A-2&DATE Conversion Parameter A-2&DATESEP Conversion Parameter A-2&DELCHAR Conversion Parameter A-2&DELCOND Conversion Parameter A-3&DIRMAX Conversion Parameter A-3&FROMC Conversion Parameter A-3&GTABLE Conversion Parameter 3-18, A-3&HHMM Conversion Parameter A-3&HIDATE Conversion Parameter

CTM Exit 1 3-19Generally A-4, A-5Run Cycle Valid Dates 4-19

&INCLIB Conversion Parameter 3-18, A-4&INCLIBP Conversion Parameter 4-27, A-4&INIT Conversion Parameter A-4&JOBMAX Conversion Parameter A-4&LANG Conversion Parameter A-4&LINMAX Conversion Parameter A-5&MANLCND Conversion Parameter A-5&MAXCALS Conversion Parameter A-5&MAXRRUN Conversion Parameter A-5

Index 1

Page 116: 48730541-opc-guide

Index

&MAXWAIT Conversion Parameter A-5&MEMLIB Conversion Parameter A-5&NCT2 Conversion Parameter 1-8, A-5&OVERLIB Conversion Parameter A-5&PARMLIB Conversion Parameter

Generally A-5JCL Comment Statement 4-22

&PNIBTSD Conversion Parameter A-6&REL Conversion Parameter A-6&RELEASE Conversion Parameter

Generally A-6Job Output 4-32

&RESMAX Conversion Parameter A-6&RESOURC Conversion Parameter A-6&SCHMAX Conversion Parameter A-6&SHOUT Conversion Parameter 4-32&SHOUTD Conversion Parameter

Generally A-7SHOUT Destinations 4-32

&SHOUTL Conversion Parameter 4-32, A-7&SHOUTT Conversion Parameter A-7&SPECCND Conversion Parameter

Generally A-7IN conditions 4-5

&TBLUNIQ Conversion Parameter A-8&TOCLASS Conversion Parameter

Generally A-8Job Output 4-31

&VER Conversion Parameter A-8&WSMAX Conversion Parameter A-8//*%1J JCL Statement 4-20//*%1S JCL Statement 4-20//*%1V JCL Statement 4-20//*%2S JCL Statement 4-20//*%2V JCL Statement 4-20//*%IP JCL Comment Statement 4-22?-Variable 1-5, 4-14

AAbend Code and RECOVER Directive 4-24ACTION Parameter, BEGIN/END JCL

Directives 4-13ADDAPPL Parameter, RECOVER Directive

4-28ADDPROC Parameter, RECOVER Directive

4-27

ADID Subparameter, OPSTAT Command Conversion 4-17

Ampersand Variable (OPC)CONTROL-M Parallel 4-13

Appl ID (OPC) and CONTROL-M Parallel 4-4Application Definition, CTM Group Scheduling

1-2Application Descriptions, OPC Report 2-2Application Names

Checking/Modifying 3-10Generally 2-6

Application Report, Information Extraction 2-6Application/Operation Text (OPC),

CONTROL-M Parallel 4-15Archiving, CONTROL-R 4-31Arrival Time (OPC), CONTROL-M Parallel

4-10ASMLINK Member, Assembling/Link-Editing

Conversion Programs 3-7AUTO-ARCHIVE Parameter

CONTROL-R 4-31SYSDB Subparameter 4-31

AutoEdit StatementsJCL Conversions 4-3PSS Special JCL Statements 4-20

AutoEdit Variable Library 3-18Automatic Event Reporting 1-9Automatic Submission Option (OPC),

CONTROL-M Parallel 4-15AVAIL Subparameter, SRSTAT Command

(OPC) 4-14

BBasic Scheduling Parameters (CTM)

Default Values 1-2Parallel OPC Concept 4-8

Batch Commands, Conversion Parameter A-6BEGIN JCL Directive

CONTROL-M Parallel 4-12Generally 1-5

CCalendar Names

Checking/Modifying 3-10

BMC Software, Inc., Confidential and Proprietary Information

2 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 117: 48730541-opc-guide

Index

Generally 2-8, A-1Calendars

CONTROL-M 2-9Generally 2-6OPC Report 2-2

Calendars (OPC), CONTROL-M Parallel 4-8CA-LIBRARIAN Libraries, Copying 3-3CALNAME DD Statement, JOB2 3-12CA-PANVALET Libraries, Copying 3-3Case Code Parameter File, Creation/Format 2-15Case Code, RECOVER Directive 4-24CASECODE DD Statement, JOB3 3-14Catalog Management (OPC)

CONTROL-M Parallel 4-16Generally 1-8

Century, PSS Date Format 4-21Characters, Converting Illegal Characters 2-7Checklist of Conversion Steps 3-1CMEM Facility, Event Trigger Tracking 1-8Codes (Messages), Descriptions B-1COMP Parameter

BEGIN/END JCL Directive 4-12FETCH JCL Directive 4-12

Completion Code, RECOVER Directive 4-24Conditions, Job Predecessor/Successor 1-3CONFCAL Parameter, Calendar Conversion 4-9CONFIRM Parameter 4-15Control Resources, Parallel OPC Concept 4-4Control Statements, JCL Conversions 4-3CONTROL-M

Group Scheduling 1-2Parameters 4-31Parameters and OPC Fields 4-2

CONTROL-RConversion Parameter A-2Parameters 4-31PREVENT-NCT2 Parameter 1-8

Conventions Used in This Guide xiiiConversion

Checking Results 3-17Steps Checklist 3-1

Conversion Parameters, Descriptions A-1Conversion Programs, Assembling/Link-Editing

3-7COPYLIBS Member 3-3CTMIMAC1 REXX Procedure and JCL

Repository Functionality 1-10CTMLOAD DD Statement

JOB3 3-14JOB4 3-16

CTMOP001 Program, JOB1 3-8CTMOP002 Program, JOB1 3-8CTMOP003 Program, JOB2 3-11CTMOP006 Program, JOB1 3-8CTMOP007 Program, JOB2 3-11CTMOP009 Program, JOB1 3-8CTMOP012 Program, JOB2 3-11CTMOP321E Message, CONTROL-M Table

Names A-8CTMX001 Exit 3-19Customer Support C-1

DDAAPPL DD Statement, JOB2 3-12DABATCH DD Statement, JOB3 3-14DACAL DD Statement, JOB2 3-12DACHANGE DD Statement

JOB3 3-14JOB4 3-16

DACHANGE DD Statement, JOB2 3-12DADAILY DD Statement, JOB2 3-12, 3-17DADOC DD Statement, JOB2 3-12DAJCLIN DD Statement, JOB3 3-14DAJOB DD Statement, New Day Processing

3-17DAOIREP DD Statement, JOB2 3-12DAREPORT DD Statement, JOB3 3-14DASCHD DD Statement, JOB4 3-16Data Dependencies (OPC)

CONTROL-M Parallel 4-4Description 1-3

DATABLE DD Statement, JOB2 3-12Date Format

Conversion Parameter A-2PSS 4-21

DAXREF DD Statement, JOB4 3-16DAXRF DD Statement, JOB2 3-12Day, PSS Date Format 4-21DAYS Parameter, CONTROL-M 2-9DAYTIME Parameter and OPC Arrival Time

4-10DCAL Parameter, Calendar Conversion 4-9Deadline (OPC) and CONTROL-M Parallel

4-10

BMC Software, Inc., Confidential and Proprietary Information

Index 3

Page 118: 48730541-opc-guide

Index

Deadline WTO Option (OPC), CONTROL-M Parallel 4-15

DEFAULTS MemberAdjustment 3-4Generally 4-31

Deleting, JCL Steps 4-25DELSTEP Parameter, RECOVER Directive

4-25DESC Parameter (CTM), Parallel OPC Field

4-15DO COND Statement, RELSUCC Parameter

4-28DO FORCEJOB statements, RECOVER

Directive 4-28DO IFRERUN statements, RECOVER Directive

4-27DO RERUN statements, RECOVER Directive

4-28DO SYSOUT Statement, JCL MSGCLASS

Parameter 4-31DOCLIB Parameter (CTM), Parallel OPC

Concept 4-11DOCMEM Parameter (CTM), Parallel OPC

Concept 4-11Dummy Job

Deleting Conditions 4-6Manual Operations 4-6

EEditing JCL 1-10Embedded blanks in Scheduling Table Names

2-7END JCL Directive

CONTROL-M Parallel 4-12Generally 1-5

English Language OPC Reports 3-6, A-4EQQCASEC Macros, Case Code Parameter File

2-15EQQCASEM Load Module, Case Code

Parameter File 2-15EQQJBLIB DD Statement A-4Error Messages, Descriptions B-1Error Tracking Option (OPC), CONTROL-M

Parallel 4-16ERRSTEP Parameter, RECOVER Directive

4-24

Event-Trigger Tracking 1-8EXC Allocation 1-3Exit 3, CONTROL-M 1-9

FFETCH JCL Directive

CONTROL-M Parallel 4-12Generally 1-5

FLSH Value, STEPCODE Parameter 4-25Free Day Rule, OPC Run Cycle 4-8French Language OPC Reports 3-6, A-4FROM Time Parameter (CTM), Parallel OPC

Concept 4-2

GGENERAL Workstation 4-6Generic Abend Code, RECOVER Directive

4-25German Language OPC Reports 3-6, A-4GLOBAL Member, OPC/ESA 3-18Graphic Job Flow 3-17Group Entity 1-2GROUP Parameter, Parallel OPC Field 4-4Group Scheduling

Application Definition 1-2Schedule Tag 4-18Table 1-2

GTABLE Initialization Parameter, OPCOPTS Statement A-3

HHeld Sysout Classes, Requeuing A-3Highest Return Code (OPC), CONTROL-M

Parallel 4-17

IIN Condition

Definition 1-3Parallel OPC Concept 4-4

IN Conditions A-3INITIATOR Quantitative Resource 4-7

BMC Software, Inc., Confidential and Proprietary Information

4 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 119: 48730541-opc-guide

Index

Initiator Resource Name, INIT Conversion Parameter A-4

IOABLCAL Utility, Calendar Conversion 4-9IOACND Utility

OPC Parallel 4-14OPSTAT Command Conversion 4-17

IOALDNRS Utility 3-18IOALOAD DD Statement

JOB3 3-14JOB4 3-16

JJCL

Directives 1-5Editing Before Rerun 4-25Library Conversions 4-3Member Conversion 2-14Processing 1-5Variable Tables 2-2

JCL MSGCLASS Parameter, DO SYSOUT Parameter 4-31

JCL Repository Facility 1-10Job Completion Checker 1-9Job Connection Conditions A-3Job Output

Archiving 4-31DO SYSOUT Statement 4-31

Job Predecessor/Successor Translation 1-2JOB1

Information Extraction 2-6Modifications 3-8Running 3-8

JOB2, Running 3-11JOB3

Description 2-14Running 3-14

JOB4, Description 2-17JOBCODE Parameter, RECOVER Directive

4-24Jobname Concept (OPC), CONTROL-M

Parallel 4-4, 4-7JOBNAME Subparameter, OPSTAT Command

Conversion 4-17

LLanguage, OPC Reports A-4Leading Numerics in Scheduling Table Names

2-7Libraries, Backup 3-3LIBSYM DD Statement, JOB3 3-14LR1APPL Member, Application Report Values

3-5LR1DOC Member, Operator Instruction Report

Values 3-5LR1RUN Member, Calendar/Period Report

Values 3-5LR1WS Member, Workstation Report Values

3-5

MManual Conditions List, IOALDNRS Utility

3-18Manual Confirmation, Conversion Parameter

A-5Manual Workstation Type (OPC),

CONTROL-M Parallel 4-6MAXWAIT Parameter, Parallel OPC Concept

4-18MEMBER Parameter, FETCH JCL Directive

4-12MEMNAME Parameter and Parallel OPC Field

4-4Messages and Codes, Descriptions B-1Modification of OPC Report Values 3-5Month, PSS Date Format 4-21MSGCLASS Parameter, DO SYSOUT

Statement 4-31

NNEGATIVE Run Cycle, Calendar Conversion

4-9New Day Processing, Scheduling Tables 3-17NORMAL Run Cycle, Calendar Conversion 4-9

BMC Software, Inc., Confidential and Proprietary Information

Index 5

Page 120: 48730541-opc-guide

Index

OON PGMST Parameter

Highest Return Code 4-17Parallel OPC Concept 4-16

ON PGMST Statement, RECOVER Directive Parameters 4-23

ONERROR Parameter, OPC JTOPTS Initialization Statement 4-5

OPC Fields, Parallel Parameters 4-2OPC Language Reports, Checking/Modifying

3-5OPC Reports 3-4

JCL Examples 2-3JOB0 2-2Title/Value Modification 3-5

Operation DependencyCONTROL-M Parallel 4-6Prerequisite Conditions 1-2

Operator InstructionsCONTROL-M Parallel 4-11OPC Report 2-2

OPSTAT CommandAutomatic Event Reporting 1-9CONTROL-M Parallel 4-16Conversion Parameter A-6JCL Processing 1-5

OUT ConditionDefinition 1-3Generally 4-6

Output, DO SYSOUT Statement 4-31OVERLIB Library, Editing JCL 1-10Owner ID (OPC)

CONTROL-M Parallel 4-4Names 2-6

Owner Names, Checking/Modifying 3-10OWNER Parameter, Parallel OPC Field 4-4

PParameters, RECOVER Directive 4-23Pending Status 3-17Period Name (OPC), CONTROL-M Parallel

4-18Periods

CONTROL-M Parallel 4-8OPC Report 2-2

Plan Option, Check Conversion Results 3-17Predecessor/Successor Relationships,

Translation 1-2Prerequisite Conditions

Generally 4-4Operation Dependency 1-2STAT Date Reference 4-6

PREVENT-NCT2 ParameterAutomatic Setting A-5CONTROL-R 1-8Parallel OPC Concept 4-16

PRINT Workstation 4-6Priority (OPC), CONTROL-M Parallel 4-10Problem Reporting C-1Process Flow 2-1PSS

JCL Comment Cards 1-6JCL Member Conversion 2-14Logical Date Formats 4-21Parameter Library Name A-5Special JCL Statements 4-20

QQuantitative Resources 1-3

Adding 3-17Conversion Parameter A-6Parallel OPC Concept 4-7Production 2-6

RRECOVER Directive

Case Code Parameter File 2-15Conversion 2-17Description 1-5Parameter Conversion 4-23

RECVEXT DD StatementJOB3 3-14JOB4 3-16

RELSUCC ParameterDO COND Statement 4-28RECOVER Directive 4-28Successor Occurrence 4-28

REPFILE DD Statement, JOB2 3-12Reports

BMC Software, Inc., Confidential and Proprietary Information

6 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 121: 48730541-opc-guide

Index

Languages 3-5OPC 3-4

RESNAME FileJOB1 4-14JOB3 3-14

ResourcesAdding Quantitative Resources 3-17Special Resource Implementation A-7

RESSTEP Parameter, RECOVER Directive 4-27RESTART Parameter, RECOVER Directive

4-28RETRO Parameter, Parallel OPC Concept 4-18Return Code, RECOVER Directive 4-24Run Cycle

Calendars 4-8CONTROL-M Parallel 4-8Valid From/To Dates 4-19

Runtime Scheduling, Control via Group Entity 1-2

SSCAN JCL Directive

CONTROL-M Parallel 4-16Generally 1-5, A-1

SCHEDULE TAG Parameter (CTM), Parallel OPC Concept 4-18

SCHEDULE-PREV-DAY and DESC Field 4-10Scheduling Tables

Names Conversion Parameter A-2New Day Processing 3-17Unique Names A-8

SEARCH JCL DirectiveCONTROL-M Parallel 4-11Generally 1-5

SHOUT Destinations&SHOUTD Conversion Parameter 4-32Conversion Parameter A-7

SHOUT Messages 4-32SHOUT WHEN LATE Parameter

Parallel OPC Concept 4-15SHOUT WHEN LATESUB Parameter

Conversion Parameter A-7OPC Deadline 4-10

SHOUT WHEN NOTOK Messages, Conversion Parameter A-7

SHR Allocation 1-3

Spanish Language OPC Reports 3-6, A-4Special Characters, Scheduling Table Names 2-7Special Resource

CONTROL-M Parallel 4-4Conversion Parameter A-7

SRSTAT CommandCONTROL-M Parallel 4-14Conversion Parameter A-6JCL Processing 1-5

Started Task Option (OPC), CONTROL-M Parallel 4-14

STAT Date Reference, Prerequisite Conditions 4-6

STATUS(C) Subparameter, OPSTAT Command Conversion 4-17

Step Range, ON PGMST Statement 4-24STEPCODE Parameter, RECOVER Directive

4-25Successor Occurrence, RELSUCC Parameter

4-28Successor Relationships, Translation 1-2Support, Problem Reporting C-1Suppress if Late Option (OPC), CONTROL-M

Parallel 4-18SYSDATA Files, Archiving 4-31SYSDB Subparameter, AUTO-ARCHIVE 4-31SYSIN Job Instream File, %Snn Card 4-22SYSINLIB DD Statement, JOB3 3-15System Code, RECOVER Directive 4-24SYSTEM Member, OPC/ESA 3-18

TTABLE JCL Directive

CONTROL-M Parallel 4-11Generally 1-5

TASKTYPE Parameter, Parallel OPC Concept 4-14

Technical Support C-1Time Dependent Option (OPC), CONTROL-M

Parallel 4-2Time Format Conversion Parameter A-3TIME Parameter, RECOVER Directive 4-28

BMC Software, Inc., Confidential and Proprietary Information

Index 7

Page 122: 48730541-opc-guide

Index

UUNTIL Parameter (CTM), Parallel OPC

Concept 4-18

VVariables, Conversion 1-5VARSUB OPC Initialization Parameter, SCAN

Value A-1Verification of Conversion Results 3-17

WWDAYS Parameter, CONTROL-M 2-9Work Flow 2-1Workstation

Maximum Number Defined A-8OPC Report 2-2, 2-6Resources 1-3Servers 4-7

YYear, PSS Date Format 4-21

BMC Software, Inc., Confidential and Proprietary Information

8 CONTROL-M for OS/390 OPC/A, OPC/ESA, and Tivoli OPC Conversion Guide

Page 123: 48730541-opc-guide

Notes

Page 124: 48730541-opc-guide

*100036480**100036480**100036480**100036480*

*100036480*