Control-D CA-DISPATCH Conversion Guide
Control-D CA-DISPATCH Conversion Guide
Conversion Guide
Supporting
Version 7.0.00 of Control-D
September 2010
www.bmc.com
Contacting BMC Software
You can access the BMC Software website at http://www.bmc.com. From this website, you can obtain information
about the company, its products, corporate offices, special events, and career opportunities.
United States and Canada
Address BMC SOFTWARE INC Telephone 713 918 8800 or Fax 713 918 8000
2101 CITYWEST BLVD 800 841 2031
HOUSTON TX 77042-2827
USA
Outside United States and Canada
Telephone (01) 713 918 8800 Fax (01) 713 918 8000
3
4 Control-D CA-DISPATCH Conversion Guide
Contents
About This Guide 11
Conventions Used in This Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Chapter 1 Overview 17
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Conversion Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Naming Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Creating the Control-D Recipient Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Building the Control-D Recipient Tree. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Required Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Creating Decollation Mission Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Using CADCDECM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Using CADJDECM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Creating Printing Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Using CADCOUTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Using CADCDJDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Using CADJOUTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Using CADJAPAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Using CADJDJDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Using CTDDJDE and CTDAPA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Using CTDX003 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Creating the Control-D History User File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Using CADCARC1 and CADCARC2 Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Using Job CTDJARC1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Using Job CTDJARC2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
User Exit CTDX004 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Using CADSKL Skeleton Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Special Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Contents 5
Step 2.B Check and/or Modify Options Specified in Member CADDEFDM. . . . 35
Step 2.C Tailor and Run Job CADJASML. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Step 2.D Tailor and Run Job CADJDECM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Step 2.E Copy and Tailor Member CADUNIVR . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Step 3 Create Printing Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Step 3.A Tailor and Run Job CADCOUTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Step 3.B Tailor and Run Job CADCDJDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Step 3.C Tailor and Run Job CADJOUTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Step 3.D Tailor and Run Job CADJAPAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Step 3.E Tailor and Run Job CADJDJDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Step 3.F Activate Optional Wishes WD1643 and WD2754 . . . . . . . . . . . . . . . . . . . 40
Step 4 Create Control-D History File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Step 4.A Tailor and Run Jobs CADCARC1 and CADCARC2. . . . . . . . . . . . . . . . . 40
Step 4.B Tailor and Run Jobs CADJARC1 and CADJARC2. . . . . . . . . . . . . . . . . . . 41
Step 4.C Tailor and Recompile User Exit CTDX004 . . . . . . . . . . . . . . . . . . . . . . . . . 41
Step 4.D Tailor Skeleton CADSKL in the Control-D
SKL Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Step 5 Test the Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Chapter B Messages 53
Index 63
Figures 7
8 Control-D CA-DISPATCH Conversion Guide
Tables
Methods for Building the Control-D Recipient Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Job CADCDECM Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Job CADJDECM Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Job CADCOUTP Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Job CADCDJDE Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Job CADJOUTP Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Job CADJAPAP Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Job CADJDJDE Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Jobs CADCARC1 and CADCARC2 Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . 41
LEVEL Command Paragraphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
LEVEL Command Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Maximum Number of Characters for Paragraph Types . . . . . . . . . . . . . . . . . . . . . . . . 46
PARENT Paragraph Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Member CADDEFDM Default Decollation Definition Parameters . . . . . . . . . . . . . . . 49
Member CADDEFAR Default Archive Conversion Parameters . . . . . . . . . . . . . . . . . 50
LEVEL Command Paragraphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
LEVEL Command Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Maximum Number of Characters for Paragraph Types . . . . . . . . . . . . . . . . . . . . . . . . 59
Tables 9
10 Control-D CA-DISPATCH Conversion Guide
About This Guide
This guide contains the information necessary to help you to convert from
CA-DISPATCH to Control-D. The guide contains the following parts:
Chapter 1 – Overview
Gives the procedure and examples for defining and building a Control-D Recipient
Tree using utility CTDBLDTR.
Appendix B – Messages
Keys that appear on the standard keyboard are identified in boldface, for example,
Enter, Shift, Ctrl+S (a key combination), or Ctrl S (a key sequence).
WARNING
The commands, instructions, procedures, and syntax illustrated in this guide presume that the
keyboards at your site are mapped in accordance with the EBCDIC character set. Certain
special characters are referred to in this documentation, and you must ensure that your
keyboard enables you to generate accurate EBCDIC hex codes. This is particularly true on
keyboards that have been adapted to show local or national symbols. You should verify that
$ is mapped to x'5B'
# is mapped to x'7B'
@ is mapped to x'7C'
If you have any questions about whether your keyboard is properly mapped, contact your
system administrator.
Preconfigured PFKeys
■ only the name of the command, such as, enter the END command
■ only the PF keys, such as, press PF03/PF15
■ or both, such as, press PF03/PF15, or enter the END command
Most screens contain a command line, which is primarily used to identify a single
field where commands, or options, or both, are to be entered. These fields are usually
designated COMMAND, but they are occasionally identified as COMMAND/OPT or
COMMAND/OPTION.
Option field headings appear in many screens. These headings sometimes appear in
the screen examples as OPTION, or OPT, or O.
User Entries
In situations where you are instructed to enter characters using the keyboard, the
specific characters to be entered are shown in this UPPERCASE BOLD text, for
example, type EXITNAME.
Syntax statements
■ A vertical bar ( | ) separating items indicates that you must choose one item. In the
following example, you would choose a, b, or c:
a | b| c
■ An ellipsis ( . . . ) indicates that you can repeat the preceding item or items as many
times as necessary.
■ Square brackets ( [ ] ) around an item indicate that the item is optional. If square
brackets ( [ ] ) are around a group of items, this indicates that the item is optional,
and you may choose to implement any single item in the group. Square brackets
can open ( [ ) and close ( ] ) on the same line of text, or may begin on one line of text
and end, with the choices being stacked, one or more lines later.
■ Braces ({ }) around a group of items indicates that the item is mandatory, and you
must choose to implement a single item in the group. Braces can open ( { ) and
close ( } ) on the same line of text, or may begin on one line of text and end, with the
choices being stacked, one or more lines later.
Screen Characters
■ calls, such as
CALL ’CBLTDLI’
Variables
Special elements
NOTE
Notes provide additional information about the current subject.
WARNING
Warnings alert you to situations that can cause problems, such as loss of data, if you do not
follow instructions carefully.
Related Publications
Control-D Getting Started Guide
Tutorial guide that demonstrates the features of the Online Viewing facility.
Practical guide for determining implementation objectives, and for planning and
performing the implementation of Control-D.
Guide to the efficient utilization of the built-in AFP support features of Control-D.
Comprehensive listing and explanation of all INCONTROL and IOA messages and
codes.
Describes utilities designed to perform specific administrative tasks that are available
to INCONTROL products.
1
1 Overview
This chapter includes the following topics:
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Conversion Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Naming Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Creating the Control-D Recipient Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Building the Control-D Recipient Tree. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Required Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Creating Decollation Mission Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Using CADCDECM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Using CADJDECM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Creating Printing Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Using CADCOUTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Using CADCDJDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Using CADJOUTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Using CADJAPAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Using CADJDJDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Using CTDDJDE and CTDAPA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Using CTDX003 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Creating the Control-D History User File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Using CADCARC1 and CADCARC2 Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Using Job CTDJARC1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Using Job CTDJARC2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
User Exit CTDX004 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Using CADSKL Skeleton Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Special Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Chapter 1 Overview 17
Introduction
Introduction
This publication helps you convert from CA-DISPATCH to Control-D software.
This conversion tool supports Control-D version 6.1.00 and later. IOA and Control-D
environments must be installed before starting the conversion process.
Conversion Steps
The steps for converting CA-DISPATCH to Control-D are described in Chapter 2,
“Conversion Steps.”
Each of these steps can be implemented separately according to the needs of the
report distribution environment. For example, CA-DISPATCH archive indexes can be
converted without performing other parts of the conversion.
Naming Conventions
CA-DISPATCH to Control-D conversion members are located in the IOA SAMPLE
library. Nearly all the members associated with this conversion tool have names
beginning with the characters CAD.
Use this method if the MAILDROP names are the same as the
recipient names and all 8 characters of the MAILDROP are used.
Required Reports
The Recipient Tree conversion requires two standard CA-DISPATCH reports:
These two files are used as input to the tree building utility, CTDBLDTR. This
program can build the Control-D Recipient Tree from any DSCULP02 report.
Specially tailored jobs to convert CA-DISPATCH reports using this program are
contained in the IOA SAMPLE library, and described in Chapter 3, “Building a
Chapter 1 Overview 19
Creating Decollation Mission Definitions
Control-D Recipient Tree.” This utility can also be used also to add users to the
Control-D Recipient Tree from any other DSCULP02 report. Instructions on how to
use the CTDBLDTR utility are also contained in the IOA SAMPLE library, and
described in 3.
■ Job CADJTRE1 is the JCL for Recipient Tree creation Method A. Parameter
members CADDEFT1, CADDEFT2 and CADDEFT3 are additional input for
program CTDBLDTR.
■ Job CADJTRE2 is the JCL for Recipient Tree creation Method B. Parameter
members CADDEF4, CADDEFT5 and CADDEFT6 are additional input for
program CTDBLDTR.
1. Using CADCDECM
2. Using CADJDECM
Using CADCDECM
Member CADCDECM contains a CULPRIT report definition that produces a list of all
reports defined in the CA-DISPATCH database. This report contains the relevant
information for creating Control-D generic decollation definitions. The report is
written to a disk file for later use by job CADJDECM. This report, used by the
conversion program, is not the standard DSCULP13 report - Selection By Recipients
Listing, because report DSCULP13 is not provided in all CA-DISPATCH releases.
Therefore, a special CULPRIT report is supplied in this member.
Using CADJDECM
The first step of job CADJDECM defines all the files needed by the conversion
program.
The second step sorts the output file created by job CADCDECM and places it on a
new file.
Decollation mission definitions can be built by username or jobname. Sort the output
file by REPORT NAME or JOBNAME according to whether you are building
decollation mission definitions by username or jobname. The sort also eliminates
blank records.
The third step in job CADJDECM creates the decollation mission definitions as
follows:
■ Job CADJDECM reads the sorted output file created by CADCDECM and
produces members in a designated Control-D REPORTS library. Each member is a
Control-D decollation mission. The name of each member is assigned the
CA-DISPATCH report name (meaning, each CA-DISPATCH report has a
corresponding Control-D decollation definition member).
Chapter 1 Overview 21
Creating Printing Parameters
Using CADCOUTP
Member CADCOUTP contains a CULPRIT report definition that produces a list of all
the recipients and their related reports, as defined in the CA-DISPATCH database.
This report contains the recipient name, the recipient’s reports, and the printing
parameters used for each report. This information is extracted from CA-DISPATCH
Type 3 LOAD records.
The report is written to a disk file for later use by jobs CADJOUTP and CADJAPAP.
This report is used by the conversion programs. It is not a standard CA-DISPATCH
report because none of the standard CA-DISPATCH reports contains all the printing
characteristics information assigned for each report. Therefore, a special CULPRIT
report is supplied in this member.
This report does not contain any JCL. You must add the correct JCL. Make sure that
the output is routed to a disk file and properly referenced by DD statement SYS018
(as specified in the CULPRIT report). Specify the file destination only in the JCL and
not in the CULPRIT options because the ASA code is used during the conversion
process.
Using CADCDJDE
Member CADCDJDE contains a CULPRIT report definition that produces a list of all
the recipients and their related reports, as defined in the CA-DISPATCH database.
This report contains the recipient name, the recipient’s reports, and all the DJDE
parameters used for each report. This information is extracted from CA-DISPATCH
LOAD records of Type 7, 8, 9, and A.
This report is written to a disk file for later use by job CADJDJDE. This report is used
by the conversion program. It is not a standard CA-DISPATCH report because none
of the standard CA-DISPATCH reports contains all the DJDE information assigned
for each report. Therefore, a special CULPRIT report is supplied in this member.
This report does not contain any JCL. You must add the correct JCL. Make sure that
the output is routed to a disk file, properly referenced by DD statement SYS018 (as
specified in the CULPRIT report). Specify the file destination only in the JCL and not
in the CULPRIT options because the ASA code is used during the conversion process.
Using CADJOUTP
Job CADJOUTP activates program CADSOUTP to build the new Control-D
OUTPARMS members. The source code of this program resides in the SOURCE
library and can be locally tailored.
2. Updates the output created by job CADCOUTP and places the recipient and report
names in each of the records. This enables the reports to be sorted by recipient
name or report name.
3. Sorts the output from the previous step by USER NAME (in ascending order) and
REPORT NAME (in ascending order), while keeping the original order of the
records for each USER/REPORT NAME combination. This sort also eliminates
blank records.
The CA-DISPATCH report contains CLASS DEFAULT and SPECIFIC CLASS fields.
To support these fields, the last step uses an input parameter, CLASS DEFAULT,
assigned using DD statement INPUT. If this input parameter contains a value and the
SPECIFIC CLASS field in the CA-DISPATCH report does not, the value specified for
input parameter CLASS DEFAULT is assigned to parameter CLASS. If input
parameter CLASS DEFAULT is not assigned a value, then parameter CLASS is not
added to the OUTPARMS member.
Using CADJAPAP
Job CADJAPAP activates program CADSAPAP to build the new Control-D
APAPARM members. The source code of this program resides in the SOURCE library
and can be locally tailored.
Chapter 1 Overview 23
Using CADJDJDE
Using CADJDJDE
Job CADJDJDE activates the CADSDJDE program to build the new Control-D
DJDEPARM members. The source code of this program resides in the SOURCE
library, and can be locally tailored.
2. Runs program CTDSCULU, which updates the output created by job CADCDJDE
and places the recipient and report names in each of the records. This enables the
reports to be sorted by recipient name and report name.
3. Sorts the output from the previous step by USER NAME (in ascending order) and
REPORT NAME (in ascending order), while keeping the original order of the
records for each USER/REPORT NAME combination. The sort also eliminates the
blank records.
Using CTDX003
After Using CTDDJDE and CTDAPA, activate the changes by re-assembling and
link-editing User Exit CTDX003 into the IOA LOAD library. As of version 6.0.00 the
exit is contained in the IOA SAMPEXIT library, and in versions 5.x.x, in the IOA
SECUDATA library.
If CTDOUT is changed by this conversion, the user exit must be tailored and marked
with OUTPARM set to USER (instead of being set to JOB or blanks). Otherwise, the
needed members will not be found in the OUTPARMS library when printing a report.
NOTE
Program CADSMEM is used in the other conversion programs to perform all the PDS
operations while creating the members in each new library.
Before submitting the job, make sure that there is enough space specified for the new
Control-D REPORTS file (allocated in this step under ddname DAREPMIS).
1. Defines all the files used by the conversion program using CADJARC1.
2. Sorts the CULPRIT report list of the definitions and remove unneeded records.
3. Sorts the table of user names. A sample user name table is supplied in member
CADUSER.
4. Converts user names in the list of report definitions according to the user table in
member CADUSER.
Chapter 1 Overview 25
Using Job CTDJARC2
6. Reformats the CULPRIT report list of archived reports using the CADCARC1
report format.
8. Propagates user names for all records in the resulting report to be used by job
CTDJARC2.
■ Defines all the files needed by the conversion program using CADJARC2.
■ Creates records in the Control-D History User file using CADJARC2 based on
input from job CTDJARC1.
This job adds records to an existing History User file. If this job is rerun, you must
reformat the History User file to prevent the addition of duplicate records. Use job
CTDUFDBF from the CTD JCL library to reformat the History User file.
Exit CTDX004 submits a job to locate the corresponding report on the tape, writes this
report directly to a CDAM file, and creates new user and sysdata records in the
Active User file.
The programs invoked by this job are located in the IOA LOAD library.
Special Considerations
1. The USER NAME in the CULPRIT report has the same characteristics as the USER
NAME in CA-DISPATCH files (16 characters maximum, blanks allowed). To
adjust the USER NAME to the Control-D environment, the name is truncated to 8
characters and blanks are replaced by underscores (“_”). This process is applied to
the Recipient Tree conversion, but the full USER NAME is set to one of the
synonyms in the tree.
CONTID (Y/N).
REFER TO NEXT PAGE (Y/N).
PRINT (Y/N).
Special user name NULL must be defined in the Recipient Tree to support the
REFER TO NEXT PAGE option.
6. If a string is specified for TEST purposes in the CA-DISPATCH report, the same
test is performed in Control-D. In addition, the conversion enables you to open a
window for a string search. For more information, see “# LINES RANGE”.
7. There is a maximum default value for the number of cards for each member built
by this conversion. This number is specified in routine CADSDECM in the
# CARDS and AREALEN constants. If necessary, this value can be locally tailored.
■ If the report name contains only three characters, the site is using a Universal
Writer name. The member name is set to $xxx, where xxx is the report name.
Because only one occurrence of the member can exist, the first occurrence found
in the CULPRIT report is used. Any later occurrence of the same report name in
the CULPRIT report is ignored.
Chapter 1 Overview 27
Special Considerations
■ If the report name starts with @ or # , the site is using a Unique report name. The
member name is set to @xxxxxxx or # xxxxxxx, where xxxxxxx is the report
name. Because only one occurrence of the member can exist, the first occurrence
found in the CULPRIT report is used. Any later occurrence of the same report
name in the CULPRIT report is ignored.
■ For all other report names, the member name is set to the USERNAME, subject
to the above restrictions (meaning, the name is truncated to 8 characters,
embedded blanks are replaced by underscores, and trailing blanks are
eliminated).
10. If the same report is assigned to a user more than once, only the first occurrence of
the report record is used. Duplications are ignored. However, if different
occurrences of the same report name assigned to a specific user contain the
CHARS option, it is added to the OUTPARMS member only if the first record also
contained the CHARS option.
+++*
DJDE JDE=ABCDEF,JDL=GHIJKL,;
DJDE DEPT='EXAMPLE OF DEPT FIELD',END;
+++*
CLASS=X
CHARS=(CHR1,CHR2)
+++report-name-1
DJDE JDE=ABCDEF,JDL=GHIJKL,;
DJDE DEPT='EXAMPLE OF DEPT FIELD',END;
+++report-name-2
DJDE JDE=XXXXXX,JDL=YYYYYY,;
DJDE FONTS=((FONTS1,12LPI),(FONTS2,11DOTS)),END;
.
.
+++report-name-1
CLASS=X
CHARS=(CHR1,CHR2)
+++report-name-2
CLASS=Y
OPTCD=J
FCB=ZZZ
12. Carefully check the CADLDJDE DSECT, describing the DJDE CA-DISPATCH
record (Types 7, 8, 9, and A) before submitting job CADJDJDE, because the local
tests performed for these record types do not contain complete information.
Therefore, the field offsets can be incorrect. If the CADLDJDE DSECT is changed,
programs CTDSDJDE and CTDSCULU must be re-assembled and link-edited into
the conversion tool LOAD library.
Differences between the supplied CULPRIT output reports and the resulting
reports at each site can be due to the fact that different versions of CA-DISPATCH
produce different results. This also applies to the CADMOUTP DSECT, which
maps the CA-DISPATCH Type 3 LOAD records. If this DSECT is changed, the
CTDSOUTP, CTDSAPAP and CTDSCULU programs must be re-assembled.
When changing the offsets within each DSECT, take special care with the SORT
FIELDS of each conversion job, because the SORT key is based on a combination of
USERNAME and REPORT NAME. An invalid sort can produce incorrect results
and error messages while building the OUTPARMS, APAPARM and DJDEPARM
libraries.
13. This conversion was designed with the assumption that the JOBNAME field is
seldom used in the CA-DISPATCH database. Therefore, all members in the
various libraries are named according to USERNAME. If the JOBNAME field is
used at your site for every report entry, then:
Chapter 1 Overview 29
Special Considerations
14. Set the default parameters in member CADDEFDM before job CADJARC2 is
started.
When using the CA-DISPATCH Universal Report option, all the report decollation
missions created for this type of report can be omitted from the new Control-D
REPORTS library. It is easy to identify these “Universal” report decollation
missions because they all have a 3-character report name.
These reports are decollated using one generic decollation mission. This special
generic decollation mission is supplied in member CADUNIVR in the conversion
tool SOURCE library. Copy member CADUNIVR manually to the new Control-D
REPORTS library.
2
2 Conversion Steps
This chapter includes the following topics:
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Step 1 Create Control-D Recipient Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Step 1.A Create CA-DISPATCH Report DSCULP02 . . . . . . . . . . . . . . . . . . . . . . . . 33
Step 1.B Create CA-DISPATCH Report DSCULP04 . . . . . . . . . . . . . . . . . . . . . . . . 33
Step 1.C Tailor and Run Job CADJTRE1 or CADJTRE2 . . . . . . . . . . . . . . . . . . . . . 34
Step 2 Create Decollation Mission Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Step 2.A Tailor and Run Job CADCDECM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Step 2.B Check and/or Modify Options Specified in Member CADDEFDM . . . 35
Step 2.C Tailor and Run Job CADJASML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Step 2.D Tailor and Run Job CADJDECM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Step 2.E Copy and Tailor Member CADUNIVR. . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Step 3 Create Printing Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Step 3.A Tailor and Run Job CADCOUTP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Step 3.B Tailor and Run Job CADCDJDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Step 3.C Tailor and Run Job CADJOUTP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Step 3.D Tailor and Run Job CADJAPAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Step 3.E Tailor and Run Job CADJDJDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Step 3.F Activate Optional Wishes WD1643 and WD2754 . . . . . . . . . . . . . . . . . . . 40
Step 4 Create Control-D History File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Step 4.A Tailor and Run Jobs CADCARC1 and CADCARC2 . . . . . . . . . . . . . . . . 40
Step 4.B Tailor and Run Jobs CADJARC1 and CADJARC2 . . . . . . . . . . . . . . . . . . 41
Step 4.C Tailor and Recompile User Exit CTDX004 . . . . . . . . . . . . . . . . . . . . . . . . . 41
Step 4.D Tailor Skeleton CADSKL in the Control-D SKL Library . . . . . . . . . . . . . 42
Step 5 Test the Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Overview
The conversion process consists of the following steps, which can be implemented
separately according to the needs of the report distribution environment.
1 Create the Control-D Recipient Tree from CA-DISPATCH recipient reports. The
Control-D Recipient Tree is a very important element of Control-D. It is used by
almost all Control-D processes. Therefore, the Recipient Tree should include all
Control-D recipients before you begin testing Control-D functions.
3 Create printing parameters for the various recipients, using report relations that
exist in CA-DISPATCH. The relationships and their parameters are translated into
DJDE parameters (if they exist in the CA-DISPATCH database) and to
OUTPARMS and APA parameters.
4 Create the Control-D History User file from CA-DISPATCH information, to enable
access to reports archived by CA-DISPATCH.
The DD statement for the report output must reference a dataset definition and not
a sysout. Write the CULPRIT report to a sysout but ensure that the Report
Recipient File Listing is routed to a file and not a sysout.
2. Name the output file CADI.REPORT02. Otherwise, you must change the name in
jobs CADJTRE1 and CADJTRE2. The output file must have the following
characteristics: physical sequential, RECFM FBA, LRECL 250.
The DD statement for the report output must reference a dataset definition and not
a sysout. Write the CULPRIT report to a sysout but make sure that the Report
Distribution Maildrop Listing – Defaults is routed to a file and not a sysout.
2. Name the output file CADI.REPORT04. Otherwise, you must change the name in
jobs CADJTRE1 and CADJTRE2 jobs. The output file must have the following
characteristics: physical sequential, RECFM FBA, LRECL 250.
2. Submit the job for execution and check the sysout for error messages. All job steps
must end with a condition code of 0, except for step 1, which can terminate with a
condition code of 12.
2. Create the JCL for running this report. The DD statement for the report output
must reference a dataset definition and not a sysout. Write the CULPRIT report to
a sysout but make sure that the output of job CADCDECM is routed to a file and
not a sysout.
The following table describes the input and output for this step:
3. Submit the job for execution and check the sysout error messages. The job must
end with a condition code of 0.
3. Submit the job for execution and check the sysout for condition code and error
messages. The link-edit steps of this job must end with a condition code of 0.
The following table describes the input and output for this step:
The default file name is CTD.REPORTS. The output file has the
following characteristics: partitioned dataset, logical record length
80, blocksize 3120.
NOTE
Ensure that the SPACE parameter specified for the DAREPMIS file contains enough directory
blocks and the primary allocation value is large enough.
The job can run for quite some time, depending on the number of reports in the CULPRIT
report file.
2. Submit the job for execution and check the sysout for error messages. The job must
end with a condition code of 0.
This generic decollation mission is used to decollate all reports that were processed
in CA-DISPATCH using the Universal Report Writer.
Do not change the CULPRIT definition itself. Otherwise, the results are
unpredictable. Specify the file destination only in the JCL and not in the CULPRIT
options because the ASA code is used during the conversion process.
The following table describes the input and output for this step:
2. Submit the job for execution and check the sysout for error messages. The job must
end with a condition code of 0.
The report does not contain any JCL. You must add the correct JCL. Specify the file
destination only in the JCL and not in the CULPRIT options because the ASA code
is used during the conversion process.
The following table describes the input and output for this step:
2. Submit the job for execution and check the sysout for error messages. The job must
end with a condition code of 0.
The following table describes the input and output for this step:
NOTE
Ensure that the SPACE parameter specified for the DAOUTPUT file contains enough
directory blocks and the primary allocation value is large enough.
The job can run for quite some time, depending on the number of reports in the CULPRIT
report file.
2. Submit the job for execution and check the sysout for error messages. The job must
end with a condition code of 0.
The following table describes the input and output for this step:
Default file name: CTD.APAPARM. The output file must have the
following characteristics: Partitioned dataset, logical record length
80, blocksize 3120.
NOTE
Ensure that the SPACE parameter specified for the DAAPA file contains enough directory
blocks and the primary allocation value is large enough.
The job can run for quite some time, depending on the number of reports in the CULPRIT
report file.
2. Submit the job for execution and check the sysout for error messages. The job must
end with a condition code of 0.
The following table describes the input and output for this step:
Default file name: CTD.DJDEPARM. The output file must have the
following characteristics: Partitioned dataset, logical record length
80, blocksize 3120.
NOTE
Ensure that the SPACE parameter specified for the DADJDE file contains enough directory
blocks and the primary allocation value is large enough.
The job can run for quite some time, depending on the number of reports in the CULPRIT
report file.
2. Submit the job for execution and check the sysout for error messages. The job must
end with a condition code of 0.
By default, Control-D counts blank lines in decollation missions. When this wish is
activated, Control-D will no longer count blank lines in decollation missions. This
is similar to CA-DISPATCH, which also does not count blank lines. This wish
functions only for decollation missions with the group name SKIPBLANK.
Re-assemble user exits CTDX003 and CTDX014 from the IOA SAMPEXIT library,
as of version 6.0.00. In versions 5.x.x, these exits are located in the IOA
SECUDATA library.
For more information about this wish, see member CTDDFLTS in the IOA DOC
library.
2. Write the CULPRIT report to a sysout. Only the DD statement specified for this
report must contain a dataset definition and not a sysout. The reason for this is
based on ASA code considerations in the conversion program.
The following table describes the input and output for this step:
3. Submit the job for execution and check the sysout for error messages. The job must
end with a condition code of 0.
2. Run the CTDUFSR utility to resort the data portion of the History User file. A
sample job can be found in member CTDUFSR in the CTD JCL library.
3
3 Building a Control-D Recipient Tree
This chapter includes the following topics:
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Defining the Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Additional Considerations for the PARENT Paragraph . . . . . . . . . . . . . . . . . . . . . . . . 46
TREE Construction Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Overview
Use the CTDBLDTR utility to create or modify the Control-D Recipient Tree. This
utility uses input from two sources: a report (referenced by DD statement REPORT),
and a set of instructions (referenced by DD statement SYSIN) specifying how the data
in the report is used to create users in the Recipient Tree.
The utility scans each line of the REPORT input and processes it according to the
specifications included in the SYSIN data.
For sample JCL programs to execute utility CTDBLDTR, see the CTDBLDDC and
CTDBLDJB members in the IOA SAMPLE library.
LENGTH=n
{ DEFAULT=ccc } }
{ SYNONYM -
POS=n
LENGTH=n
{ DEFAULT=ccc } }
END
Parameters define how to process the paragraph. These parameters are repeated for
the same paragraph if the data to be constructed consists of data contained in more
than one string in the report line.
The POS value is relative to the first print column of the report (that
is, for the first column of the report, POS is set to 1) and does not
include print control characters or variable record length values.
LEN Length of the data extracted from the input report, starting from the
character position specified in POS or from the default value if POS
is set to 0.
DEFAULT The default value. Optional. Any position in the field of length LEN
from the report that is blank is replaced by the corresponding
character from parameter DEFAULT.
The combined total length of the data constructed from all the repetitions of the
parameters, for each paragraph, must not exceed the number of characters shown in
the table below:
The utility constructs the users based on these definitions and searches the Recipient
Tree to see if the constructed user is already defined. If the user is not found, the
utility adds the user. If the user is found, the utility updates the Recipient Tree. This
utility is especially useful if the only changes required are the addition of synonyms.
If the parent of a user cannot be identified from the data on the report line, but can be
determined from the user name, a file containing a table relating parent names to user
names is supplied.
Examples
1. For a user at level 20 with the name Lxy, where xy are the contents of columns 10
and 11 in the report line:
3. For a user at level 30 with the name Labcd, where abcd are the contents of columns 4
through 7 in the report line:
4. An attempt is made to determine a level 20 parent from the value ‘L’ plus the
contents of columns 10 and 11. If this does not succeed, then the file referenced by
DDNAME TABLE1 is scanned line by line until a match is found for the user name
and the parent name are taken from the file.
Two synonyms are created: ‘USERabcd’ and ‘SYN1-abcd’, where abcd represents
the contents of columns 1 through 4 in the report line.
A
A Default Conversion Parameters
Default definition parameters for decollation missions are contained in member
CADDEFDM in the IOA SAMPLE library. These parameters can be tailored
according to the needs of your site.
Valid values: Y (Yes) for the FORM name or N (No) for STD.
B
B Messages
CTDCAD01S BAD RC=rc FROM PUTMEM FUNCTION. MEMBER – memname
Appendix B Messages 53
CTDCAD05E NO MORE SPACE FOR REPORT: rpt. PROCESSING NEXT REPORT
Explanation: Report definition member rpt contains more lines than specified in
conversion routine CTDCAD01, constants # CARDS, and AREALEN.
System action: The member is processed only to the specified line limit. The
remaining lines are skipped. Processing continues with the next report.
User response: Increase the value of the parameter, rerun job ASMLINK, and
rerun CADIDMIS.
Explanation: A memory acquisition MVS function failed. The value specified for
JCL parameter REGION is not large enough.
User response: Increase the value of parameter REGION and rerun the failing
job.
CTDCAD10S DEFAULT COPIES NUMBER IS GREATER THEN THE MAX COPIES NUMBER. 98
IS ASSUMED
Appendix B Messages 55
User response: Increase the value of the relevant parameters, rerun job
ASMLINK, and rerun job CADJDJDE.
C
C Building a Control-D Recipient Tree
Use utility CTDBLDTR to create or modify the Control-D Recipient Tree. This utility
uses input from two sources: a report (referenced by DD statement REPORT) and a
set of instructions (referenced by DD statement SYSIN) specifying how the data in the
report is used to create users in the Recipient Tree.
The utility scans each line of the REPORT input and processes it according to the
specifications included in the SYSIN data.
For sample JCL programs to execute utility CTDBLDTR, see member BLDTREE in the
SOURCE library.
Parameters define how to process the paragraph. These parameters are repeated for
the same paragraph if the data to be constructed consists of data contained in more
than one string in the report line.
The POS value is relative to the first print column of the report (that
is, for the first column of the report, POS=1) and does not include
print control characters or variable record length values.
LEN=n Length of the data extracted from the input report, starting from the
character position specified in POS or from the default value if
POS=0.
DEFAULT=string The default value. Optional. Any position in the field of length LEN
from the report that is blank is replaced by the corresponding
character from parameter DEFAULT.
The combined total length of the data constructed from all the repetitions of the
parameters, for each paragraph, must not exceed the number of characters shown in
the table below:
The utility constructs the users based on these definitions and searches the Recipient
Tree to see if the constructed user is already defined. If the user is not found, the
utility adds the user. If the user is found, the utility updates the Recipient Tree. This
utility is especially useful if the only changes required are the addition of synonyms.
■ PLEVEL=nn
Mandatory. Level at which the parent is located.
■ TRANSLATE=tabledd
Optional. DD name referencing a file containing the USER/PARENT
correspondence.
If the parent of a user cannot be identified from the data on the report line, but can be
determined from the user name, a file containing a table relating parent names to user
names is supplied.
Examples
1. For a user at level 20 with the name Lxy, where xy are the contents of columns 10
and 11 in the report line:
3. For a user at level 30 with the name Labcd, where abcd are the contents of columns
4 through 7 in the report line:
4. An attempt is made to determine a level 20 parent from the value ‘L’ plus the
contents of columns 10 and 11. If this does not succeed, then the file referenced by
DDNAME TABLE1 is scanned line by line until a match is found for the user name
and the parent name are taken from the file.
Two synonyms are created: ‘USERabcd’ and ‘SYN1-abcd’, where abcd represents
the contents of columns 1 through 4 in the report line.
Index
B
BMC Software, contacting 2 E
Exits
C CTDX003 24
CTDX004 26
CADCARC1 member 25
CADCARC2 member 25
CADCDECM member 21
CADCDJDE member 22
H
CADCOUTP member 22 History User file, creating 25
CADJAPAP job 23
CADJDECM job 21
CADJDJDE job 24
CADJOUTP job 23
J
CADSKL skeleton job 26 Jobs
Considerations CADJAPAP 23
PARENT paragraph 46 CADJDECM 21
Special 27 CADJDJDE 24
CONTROL-D CADJOUTP 23
Creating the History User file 25 CADSKL skeleton 26
Creating the Recipient Tree 19 CTDJARC1 25
Conventions Used in This Guide 11 CTDJARC2 26
Conversion member naming conventions 18
Creating
CONTROL-D History User file 25 M
CONTROL-D Recipient Tree 19
Members
Decollation mission definitions 20
CADCARC1 25
Printing parameters 22
CADCARC2 25
Recipient Tree 19
CADCDECM 21
CTDAPA routine 24
CADCDJDE 22
CTDBLDTR
CADCOUTP 22
recipient tree 57
Mission definitions, creating for decollation 20
CTDBLDTR utility 44
CTDDJDE routine 24
CTDJARC1 job 25
CTDJARC2 job 26 N
CTDX003 Exit 24 Naming conventions for conversion members 18
CTDX004 Exit 26
D P
PARENT paragraph, considerations 46
Decollation, creating mission definitions for 20 Printing parameters, creating 22
Index 63
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
R
Recipient Tree
Construction example 47
Creating 19
Creating and modifying 44
CTDBLDTR 57
Defining levels 44
Methods of building 19
Required reports 19
Reports, required 19
Routines
CTDAPA 24
CTDDJDE 24
S
Steps
1 - Create CONTROL-D Recipient Tree 33
1.A - Create CA-DISPATCH Report DSCULP02 33
1.B - Create CA-DISPATCH Report DSCULP04 33
1.C - Tailor and Run Job CADJTRE1 or CADJTRE2 34
2 - Create Decollation Mission Definitions 34
2.A - Tailor and Run Job CADCDECM 34
2.B - Check and/or Modify Options Specified in
Member CADDEFDM 35
2.C - Tailor and Run Job CADJASML 35
2.D - Tailor and Run Job CADJDECM 35
2.E - Copy and Tailor Member CADUNIVR 36
3 - Create Printing Parameters 36
3.A - Tailor and Run Job CADCOUTP 36
3.B - Tailor and Run Job CADCDJDE 37
3.C - Tailor and Run Job CADJOUTP 38
3.D - Tailor and Run Job CADJAPAP 38
3.E - Tailor and Run Job CADJDJDE 39
3.F - Activate Optional Wishes WD1643 and WD2754
40
4 - Create CONTROL-D History File 40
4.A - Tailor and Run Jobs CADCARC1 and
CADCARC2 40
4.B - Tailor and Run Jobs CADJARC1 and CADJARC2
41
4.C - Tailor and Recompile User Exit CTDX004 41
4.D - Tailor Skeleton CADSKL in the CONTROL-D
SKL Library 42
5 - Test the Conversion 42
U
User Exits
CTDX003 24
CTDX004 26
Utility CTDBLDTR 44