Compuware MVS Version Shared Services User/Reference Guide
PDF
Dokument
Annonce
Annonce
Compuware Shared Services
User/Reference Guide
MVS Version
16.05.00
ii
Compuware Shared Services User/Reference Guide
Global technical support contact information is available from our Customer
Support Web Site:
http://go.compuware.com
This document and the product referenced in it are subject to the following legends:
Copyright 2015 Compuware Corporation. All rights reserved. Unpublished rights reserved under the
Copyright Laws of the United States.
U.S. GOVERNMENT RIGHTS-Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in Compuware Corporation license agreement and as provided in DFARS
227.7202-1(a) and 227.7202-3(a) (1995), DFARS 252.227-7013(c)(1)(ii) (OCT 1988), FAR 12.212(a) (1995),
FAR 52.227-19, or FAR 52.227-14 (ALT III), as applicable. Compuware Corporation.
This product contains confidential information and trade secrets of Compuware Corporation. Use,
disclosure, or reproduction is prohibited without the prior express written permission of Compuware
Corporation. Access is limited to authorized users. Use of this product is subject to the terms and
conditions of the user’s License Agreement with Compuware Corporation.
Abend-AID, Xpediter, File-AID, Compuware Shared Services, Enterprise Common Components,
Hiperstation, Uniface, Strobe, iStrobe, and Compuware Workbench, are trademarks or registered
trademarks of Compuware Corporation.
IBM, CICS, DB2, and MVS/ESA are trademarks or registered trademarks of International Business Machines
Corp.
Adobe® Reader® is a trademark of Adobe Systems Incorporated in the United States and/or other
countries.
All other company and product names are trademarks or registered trademarks of their respective owners.
Doc. JAN2016
January 5, 2016.
iii
Contents
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Manual Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Compuware Go Customer Support Website . . . . . . . . . . . . . . . . . . . . . . . xviii
PDF and PDX Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
World Wide Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Notation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Reading the Syntax Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
Chapter 1. CSS Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
System Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
CSS Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Common Files and Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
DDIO Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
CSS Utilities and Batch File Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
CSS Language Processors (LP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Language Processor Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Security Exit Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Executing CSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
HCI Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
CSS Sample Library Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Chapter 2. Allocating and Formatting DDIO Files . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Understanding DDIO Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Source Listing DDIO Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Abend-AID Report DDIO Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Abend-AID Report Databases and Shared Directories. . . . . . . . . . . . . . . . . 2-2
Transaction Databases and Shared Directories . . . . . . . . . . . . . . . . . . . . . . 2-3
Source Listing Databases and Shared Directories . . . . . . . . . . . . . . . . . . . . 2-3
Long Program Name Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Advantages of Using Shared Directories and Databases . . . . . . . . . . . . . . . 2-3
CSS Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Batch Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Source Extraction Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Viewing DDIO File Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
DDIO Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Selecting a File Access Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
DDIO File Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Sharing Source Listing Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Locking Your DDIO Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Manual and Automatic Locking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
AUTODELETE Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
iv
Compuware Shared Services User/Reference Guide
DDIO File Full Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Resolving a DDIO File Full Condition . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Allocating a DDIO File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Step 1. Calculate the average member size in KBs. . . . . . . . . . . . . . . . . . 2-10
Step 2. Calculate the DDIO file size. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
Step 3. Calculate the allocation in blocks.. . . . . . . . . . . . . . . . . . . . . . . . 2-11
Formatting a DDIO file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
Formatting Formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
Step 1. Calculate the total number of blocks in the file. . . . . . . . . . 2-11
Step 2. Calculate the value for the GROUPCOUNT. . . . . . . . . . . . . 2-11
Step 3. Calculate the minimum value for BLKSIZE or CISIZE. . . . . 2-12
Understanding DDIO File Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Allocating and Formatting Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Allocating the VSAM Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Step 1. Determine the average DDIO file member size. . . . . . . . . . 2-13
Step 2. Calculate the DDIO file size. . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Step 3. Calculate the allocation in blocks.. . . . . . . . . . . . . . . . . . . . 2-13
Formatting the File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Step 1. Calculate the total number of blocks in the file. . . . . . . . . . 2-14
Step 2. Calculate the value for the GROUPCOUNT. . . . . . . . . . . . . 2-14
Step 3. Calculate the minimum value for CISIZE. . . . . . . . . . . . . . . 2-14
Formatting Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Tuning Your DDIO File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Tuning the Sample File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Decreasing CISIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Reducing the Size of DDIO Source Listing Members. . . . . . . . . . . . . . . . 2-16
Migrating from a Source Listing File or Report File to a Shared Directory and
Database Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Migration Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Using the DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Source Listing File DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Source Listing File DIRX Report Fields. . . . . . . . . . . . . . . . . . . . . . . 2-23
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
Column Headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
Member Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-26
Space Summary Based on AUTODELETE. . . . . . . . . . . . . . . . . . . . . 2-26
Abend-AID Report File DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-26
Abend-AID Report File DIRX Report Fields . . . . . . . . . . . . . . . . . . . 2-31
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31
Column Headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32
Member Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32
Space Summary Based on AUTODELETE. . . . . . . . . . . . . . . . . . . . . 2-32
Transaction Database DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-33
Transaction Database DIRX Report Fields . . . . . . . . . . . . . . . . . . . . 2-36
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-36
Column Headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37
Member Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37
Space Summary Based on AUTODELETE. . . . . . . . . . . . . . . . . . . . . 2-38
Shared Directory DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38
Shared Directory DIRX Report Fields . . . . . . . . . . . . . . . . . . . . . . . . 2-46
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-46
Source Listing Database DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-48
Source Listing Database DIRX Report Fields . . . . . . . . . . . . . . . . . . 2-50
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-50
Column Headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-51
Member Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-53
v
Space Summary Based on AUTODELETE . . . . . . . . . . . . . . . . . . . . . 2-53
Source Listing Shared Directory (SRCEDIR) DIRX Report . . . . . . . . . . . . 2-55
Shared Directory DIRX Report Fields . . . . . . . . . . . . . . . . . . . . . . . . 2-60
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-60
Chapter 3. CSS Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Language Processor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
DDIO File Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
SETTINGS - General Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
CREATEJCL - Preparing Compiler Listings for the LP . . . . . . . . . . . . . . . . . . . . 3-4
Preprocessing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Running the Preprocessor Using Sample JCL . . . . . . . . . . . . . . . . . . . 3-5
Running the Preprocessor Using CSS Utilities . . . . . . . . . . . . . . . . . . 3-5
Option 1 - Convert Existing Compile JCL to Use LP . . . . . . . . . . . . . . . . . 3-6
Selecting Specific Members for Processing . . . . . . . . . . . . . . . . . . . . . 3-7
Submitting Your JCL for Processing . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Option 2 - Create Compile JCL to Use LP. . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Setup Information Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
DB2 Precompile Step Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
CICS Translator Step Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
Compile Step Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
Linkedit Step Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
Postprocessing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Running the Postprocessor Using Sample JCL . . . . . . . . . . . . . . . . . 3-17
Running the Postprocessor Using CSS Utilities. . . . . . . . . . . . . . . . . 3-17
Selecting Specific Members for Processing . . . . . . . . . . . . . . . . . . . . 3-19
Submitting Your JCL for Processing . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
SOURCE - Working with Source Listing Files . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
Setting Source Listing File Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
Creating and Formatting Source Listing Files . . . . . . . . . . . . . . . . . . . . . 3-21
Setting Advanced Create/Format Parameters . . . . . . . . . . . . . . . . . . 3-25
Deleting Source Listing Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29
Displaying File Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29
Working with Source Listing File Members . . . . . . . . . . . . . . . . . . . . . . . 3-31
Displaying Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
Copying Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-34
Moving Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36
Exporting Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
Importing Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
Specifying C to Create the To File for Shared Directory or Database 3-38
Selecting Specific Members for Processing . . . . . . . . . . . . . . . . . . . . 3-38
Setting Advanced Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39
Advanced Functions - Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41
Working with Source Listing Files . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41
Working with Source Shared Directory Files . . . . . . . . . . . . . . . . . . . 3-42
Working with Source Listing Database Files . . . . . . . . . . . . . . . . . . . 3-46
AAREPORT - Working with Abend-AID Report Files . . . . . . . . . . . . . . . . . . . 3-49
Setting Abend-AID Report File Options . . . . . . . . . . . . . . . . . . . . . . . . . . 3-49
Creating and Formatting Abend-AID Report Files . . . . . . . . . . . . . . . . . . 3-50
Setting Advanced Create/Format Parameters . . . . . . . . . . . . . . . . . . 3-54
Deleting Abend-AID Report Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-57
Displaying File Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-58
Working with Abend-AID Report File Members . . . . . . . . . . . . . . . . . . . . 3-60
Displaying Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-60
Copying Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-61
Moving Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-64
vi
Compuware Shared Services User/Reference Guide
Exporting Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-64
Importing Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-65
Specifying C to Create the To File for Shared Directory or Database 3-65
Selecting Specific Members for Processing. . . . . . . . . . . . . . . . . . . . 3-66
Setting Advanced Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-67
Advanced Functions - Abend-AID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-68
Working with Abend-AID Report Files. . . . . . . . . . . . . . . . . . . . . . . 3-68
Working with Report Shared Directory Files . . . . . . . . . . . . . . . . . . 3-69
Working with Abend-AID Report Database Files . . . . . . . . . . . . . . . 3-72
Compuware DDIO Calculator — DDIOCALC . . . . . . . . . . . . . . . . . . . . . . . . 3-75
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-75
Helpful Hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-78
Chapter 4. Batch File Utility CWDDSUTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Chapter 5. Batch File Utility CWFXSDUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Chapter 6. Batch File Utility CWAASDUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Chapter 7. Batch File Utility CWDDLPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Chapter 8. Batch File Utility CWDDALLU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Summary of CWDDALLU Utility Commands . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
Renaming Shared Directories and Databases . . . . . . . . . . . . . . . . . . . . . . 8-5
Dynamic Creation of Source Listing Databases. . . . . . . . . . . . . . . . . . . . . 8-5
DD Statements Used with CWDDALLU . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
Usage Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7
Command Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7
Command Parameters for all DDIO files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
Command Descriptions and Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-24
ATTACH (ATT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-24
CHANGE (CHG). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-25
CONVERT (CNVT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-28
COPY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-29
CREATE (CRE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-32
DELETE (DEL). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-38
DETACH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-43
DIRECTORY (DIR, D) and DIRX (DX) . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-44
DIRECTORY SEQUENTIAL (DIRS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-47
ESTIMATE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-50
EXAMINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-51
EXPAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-53
EXPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-54
FLAG. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-57
FORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-60
IMPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-61
LOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-64
MOVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-67
PRINT (P) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-72
REFRESH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-73
RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-74
SCRATCH (SCR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-75
TEST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-75
UNCONVERT (UNCNVT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-76
UNLOCK (UNLK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-76
VERIFY (VER) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-79
vii
Chapter 9. COBOL Language Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
Summary of COBOL Language Processor Commands. . . . . . . . . . . . . . . . . . . . 9-3
Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
Language Processor DD Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
COBOL Samples and Program Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
Using the zIIP processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
Other Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
Output Parameter Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9
OUTPUT - DDIO Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9
OUTPUT - PRINT Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9
Performance Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
Usage Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
Restricted Compiler Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
Other Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
Required Options for Supported COBOL Compilers . . . . . . . . . . . . . . . . . . . 9-12
Enhanced Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-13
Listing Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-15
COBOL LP Command Descriptions and Syntax . . . . . . . . . . . . . . . . . . . . . . . 9-15
CICSTEST (CIC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-15
COBOL (COB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-16
CONDDDIO (CONDD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17
CONDERRL (CONDE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17
CONDSTEP (CONDS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17
DDIO (DD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-18
File-Overrides Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-19
INCLUDE (IN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-21
LANGPARM (LANGP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-22
LANGUAGE (LANG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23
PRINT (PR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-24
PROCESSOR (PROC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-25
PROGRAM-NAME (PRO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-31
SYSTEM (SYS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-31
ZIIP (ZIIP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-32
Chapter 10. PL/I Language Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
Summary of PL/I Language Processor Commands. . . . . . . . . . . . . . . . . . . . . . 10-3
Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
Language Processor DD Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
PL/I Samples and Program Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
Using the zIIP processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-5
Other Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-5
Usage Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-7
Restricted Compiler Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-7
Restrictions or Limitations Using Compiler Directives . . . . . . . . . . . . . . 10-8
Restrictions or Limitations Using Comments. . . . . . . . . . . . . . . . . . . . . . 10-8
Data Declaration Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8
Dataname Qualification and Coding Restrictions . . . . . . . . . . . . . . . . . 10-10
Miscellaneous Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-11
Required Options for Supported PL/I Compilers . . . . . . . . . . . . . . . . . . . . . 10-12
PL/I Language Processor Command Descriptions and Syntax . . . . . . . . . . . 10-13
CONDDDIO (CONDD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13
viii
Compuware Shared Services User/Reference Guide
CONDSTEP (CONDS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DDIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File-Overrides Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
INCLUDE (IN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LANGPARM (LANGP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LANGUAGE (LANG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PL/I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PRINT (PR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PROCESSOR (PROC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PROGRAM-NAME (PRO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYSTEM (SYS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ZIIP (ZIIP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-13
10-14
10-15
10-17
10-18
10-18
10-19
10-19
10-20
10-23
10-23
10-23
Chapter 11. Assembler Language Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
Summary of Assembler Language Processor Commands . . . . . . . . . . . . . . . . 11-3
Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Language Processor DD Statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Assembler Samples and Program Names . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Using the zIIP processor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Other Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-5
Usage Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-6
Required Options for Supported Assemblers . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
Assembler LP Command Descriptions and Syntax. . . . . . . . . . . . . . . . . . . . . 11-7
ASSEMBLER (ASSEM) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-8
CONDDDIO (CONDD) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-8
CONDSTEP (CONDS) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-8
DDIO Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-9
File-Overrides Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-10
INCLUDE (IN) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-12
LANGPARM (LANGP) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13
LANGUAGE (LANG) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-14
PRINT (PR) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-14
PROCESSOR (PROC) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-14
PROGRAM-NAME (PRO) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-17
SYSTEM (SYS) Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-17
ZIIP (ZIIP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-18
Chapter 12. C Language Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of C Language Processor Commands . . . . . . . . . . . . . . . . . . . . . . .
Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DDIO Member Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Language Processor DD Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C Samples and Program Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Other Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Required Options for Supported C Compilers . . . . . . . . . . . . . . . . . . . . . . . .
C Language Processor Command Descriptions & Syntax . . . . . . . . . . . . . . .
C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CONDDDIO (CONDD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CONDSTEP (CONDS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DDIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12-1
12-1
12-1
12-2
12-3
12-4
12-4
12-4
12-4
12-5
12-6
12-7
12-7
12-7
12-8
12-8
12-8
ix
File-Overrides Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9
INCLUDE (IN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-11
LANGPARM (LANGP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-11
LANGUAGE (LANG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-12
PRINT (PR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-12
PROCESSOR (PROC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-13
PROGRAM-NAME (PRO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-14
SYSTEM (SYS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-14
Chapter 13. CSS Security Exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1
Security Exit Program Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1
Abend-AID for CICS Security Exit Considerations . . . . . . . . . . . . . . . . . . . . . 13-2
Security Exit Program Inputs and Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3
Input Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3
Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3
Output Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-6
Appendix A. Using the Customer Modification Facility . . . . . . . . . . . . . . . . . . . 14-1
Creating a Configuration Source Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2
Step 1. Copy member CXCFGINI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2
Step 2. Edit member CXCFGSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2
Step 3. Submit member CXCFGSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2
Reconstructing a Configuration Source Member . . . . . . . . . . . . . . . . . . . . . . . 14-3
Step 1. Edit Member CXCFGEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3
Step 2. Update Extracted Member. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3
Step 3. Submit Member CXCFGSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3
Appendix B. Using the CWDDUNLP Source Extraction Utility . . . . . . . . . . . . . . 15-1
Appendix C. Using the CSS TP Application Programming Interface . . . . . . . . . 16-1
Supported Languages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-1
TPAPI Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-1
Terminology and Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-1
Basic Design and Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-2
Designing Your Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-3
Organizing Requests and Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-3
Data Conversion Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-3
Handing Transmit/Receive Buffers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4
Response Time Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4
Dataset Access Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4
Error Handling Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4
Choice of Programming Language.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-5
Setting Up Your Program to use TPAPI . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-5
Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-7
Attaching Additional Subtasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-7
Specifying the load library containing your program . . . . . . . . . . . . . . . 16-7
APF-Authorization Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-8
Security Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-8
Data Conversions between Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-9
Buffer Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-10
Security Call to Determine Access Rights . . . . . . . . . . . . . . . . . . . . . . . . 16-11
Using Dynamic Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-11
Debugging and Handling Errors in TPAPI. . . . . . . . . . . . . . . . . . . . . . . . 16-11
When Abends Occur in the Back-end Program . . . . . . . . . . . . . . . . . . . 16-12
Limitations and Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-12
TPAPI Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-12
x
Compuware Shared Services User/Reference Guide
TPAPI External Interface Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TPAPIXIB Field Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TPAPI Function Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Initialize Communications Environment (TP_INIT). . . . . . . . . . . . . . .
Return Codes from TP_INIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Send Data to the Client (TP_SEND) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Return Codes from TP_SEND . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Return Codes from TP_RECV . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Return Environmental Information (TP_INFO) . . . . . . . . . . . . . . . . . .
Return Codes from TP_INFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Allocate a SYSOUT Dataset (TP_ALLOC) . . . . . . . . . . . . . . . . . . . . . . . .
Return Codes from TP_ALLOC . . . . . . . . . . . . . . . . . . . . . . . . . . .
Determine Dataset Access Authority (TP_AUTH) . . . . . . . . . . . . . . . . .
Return Codes from TP_AUTH . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Trace (TP_TRACE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Return Codes from TP_TRACE . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16-12
16-13
16-14
16-14
16-14
16-15
16-16
16-19
16-19
16-20
16-21
16-21
16-22
16-24
16-25
16-28
Appendix D. On-the-Fly Language Processing Support . . . . . . . . . . . . . . . . . . . 17-1
CXOTFPRE & CXOTFPST Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-1
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G-1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I-1
xi
Figures
1-1.
2-1.
2-2.
2-3.
2-4.
2-5.
2-6.
2-7.
2-8.
2-9.
2-10.
2-11.
2-12.
2-13.
2-14.
2-15.
2-16.
2-17.
2-18.
2-19.
2-20.
2-21.
2-22.
2-23.
2-24.
3-1.
3-2.
3-3.
3-4.
3-5.
3-6.
3-7.
3-8.
3-9.
3-10.
3-11.
3-12.
3-13.
3-14.
3-15.
3-16.
3-17.
3-18.
3-19.
3-20.
3-21.
3-22.
3-23.
TP Subsystem, HCI, and Application: HCI Position as Middleware ........................1-5
DIRX Report for Allocating DDIO Files ..................................................................2-10
Sample DIRX Report for a Source Listing File (Part 1 of 2).....................................2-21
Sample DIRX Report for a Source Listing File (Part 2 of 2).....................................2-22
Sample DIRX Report for an Abend-AID Report File (Part 1 of 2) ...........................2-27
Sample DIRX Report for an Abend-AID Report File (Part 2 of 2) ...........................2-28
Sample Portion of DIRX Report for an Abend-AID Database (Part 1 of 2).............2-29
Sample Portion of DIRX Report for an Abend-AID Database (Part 2 of 2).............2-30
Sample DIRX Report for a Transaction Database. (Part 1 of 2) ..............................2-34
Sample DIRX Report for a Transaction Database. (Part 2 of 2) ..............................2-35
Sample Portion of DIRX Report for a Shared Directory .........................................2-38
Sample Portion of DIRX Report for a Shared Directory (Part 1of 5) — Abend-AID for
CICS only..............................................................................................................2-39
Sample Portion of DIRX Report for a Shared Directory (Part 2of 5) — Abend-AID for
CICS only..............................................................................................................2-40
Sample Portion of DIRX Report for a Shared Directory (Part 3 of 5) — Abend-AID for
CICS only..............................................................................................................2-41
Sample Portion of DIRX Report for a Shared Directory (Part 4 of 5) — Abend-AID for
CICS only..............................................................................................................2-42
Sample Portion of DIRX Report for a Shared Directory (Part 5 of 5) — Abend-AID for
CICS only..............................................................................................................2-43
Sample Portion of DIRX Report for an Abend-AID Shared Directory Member List .....
2-44
Sample Portion of DIRX Report for an Abend-AID Shared Directory Member List Using Duplicate Dump Suppression.........................................................................2-45
Sample DIRX Report for a Source Listing Database. (Part 1 of 2)...........................2-48
Sample DIRX Report for a Source Listing Database. (Part 2 of 2)...........................2-49
Sample DIRX Report for a Source Listing Shared Directory. (Part 1 of 5) ..............2-55
Sample DIRX Report for a Source Listing Shared Directory. (Part 2 of 5) ..............2-56
Sample DIRX Report for a Source Listing Shared Directory. (Part 3 of 5) ..............2-57
Sample DIRX Report for a Source Listing Shared Directory. (Part 4 of 5) ..............2-58
Sample DIRX Report for a Source Listing Shared Directory. (Part 5 of 5) ..............2-59
CSS Utilities - Primary Menu ....................................................................................3-2
CSS Utilities - General Settings.................................................................................3-4
CSS Utilities - CREATEJCL Menu..............................................................................3-5
CSS Utilities - Preprocessor Screen............................................................................3-6
CSS Utilities - Compile Menu...................................................................................3-8
CSS Utilities - Compile Profile..................................................................................3-9
CSS Utilities - Setup Information ...........................................................................3-11
CSS Utilities - DB2 Precompile ...............................................................................3-12
CSS Utilities - CICS Translator................................................................................3-13
CSS Utilities - Compile ...........................................................................................3-14
CSS Utilities - Create Shared Dir/Database/DDIO ..................................................3-14
CSS Utilities - Linkedit............................................................................................3-16
CSS Utilities - Postprocessor Screen........................................................................3-18
CSS Utilities - Source Listing File Facility Screen....................................................3-20
CSS Utilities - Select Desired File Type ...................................................................3-22
CSS Utilities - Create/Format Source Listing File Screen (Standard DDIO Files) ...3-22
CSS Utilities - Create/Format Source Listing Shared Directory ..............................3-23
CSS Utilities - Create Source Listing Database (Attached to a Shared Directory) ..3-23
Source Listing File Create/Format - Advanced Parameters Screen (Sequential).....3-25
Source Listing File Create/Format - Advanced Parameters Screen (VSAM)............3-26
Shared Directory Create/Format - Advanced Parameters Screen ...........................3-26
Source Listing Source Listing Database Create/Format - Advanced Parameters Screen
(VSAM) ..................................................................................................................3-27
Source Listing Source Listing Database Create/Format - Advanced Parameters Screen
xii
Compuware Shared Services User/Reference Guide
3-24.
3-25.
3-26.
3-27.
3-28.
3-29.
3-30.
3-31.
3-32.
3-33.
3-34.
3-35.
3-36.
3-37.
3-38.
3-39.
3-40.
3-41.
3-42.
3-43.
3-44.
3-45.
3-46.
3-47.
3-48.
3-49.
3-50.
3-51.
3-52.
3-53.
3-54.
3-55.
3-56.
3-57.
3-58.
3-59.
3-60.
3-61.
3-62.
3-63.
3-64.
3-65.
3-66.
3-67.
3-68.
3-69.
3-70.
3-71.
3-72.
3-73.
3-74.
3-75.
3-76.
3-77.
3-78.
3-79.
3-80.
3-81.
3-82.
3-83.
(Sequential) ...........................................................................................................3-27
Source Listing File Information Report ..................................................................3-30
Source Listing Database Information Screen..........................................................3-30
Source Listing Shared Directory Information Screen .............................................3-31
Source Listing File Member List - DDIO Format ....................................................3-32
Source Listing Shared Directory Member List Screen (Not LONGNAME) .............3-32
Source Listing Shared Directory Member List Screen (LONGNAME) ....................3-33
Source Listing Database Member List Screen (Not LONGNAME)..........................3-33
Source Listing Database Member List Screen (LONGNAME).................................3-34
CSS Utilities - Source Listing File Move Facility Screen .........................................3-34
CSS Utilities - Source Listing File Move Facility Screen .........................................3-35
Select Desired File Type Panel ................................................................................3-38
Selecting Members for COPY, MOVE, or IMPORT.................................................3-39
Source Listing File Move Function - Advanced Parameters ...................................3-40
Source DDIO File - Source Listing Advanced Functions - Main Panel...................3-41
Source DDIO File - CSS Utilities CONFIRM DELETE..............................................3-41
Source Listing Shared Directory - Advanced Functions - Main Panel....................3-42
Shared Directory - Attached Database Report ........................................................3-42
CSS Utilities - SCRATCH Database .........................................................................3-43
CSS Utilities - EXPAND Shared Directory ..............................................................3-43
CSS Utilities - Delete Shared Directory...................................................................3-44
CSS Utilities - VERIFY Shared Directory .................................................................3-44
CSS Utilities - CHANGE Shared Directory..............................................................3-45
CSS Utilities - REFRESH Shared Directory ..............................................................3-45
Source Listing Source Listing Database - Advanced Functions - Main Panel ........3-46
CSS Utilities - ATTACH Database ...........................................................................3-46
CSS Utilities - DETACH Database ...........................................................................3-47
CSS Utilities - CHANGE AUTODELETE ..................................................................3-47
CSS Utilities - DELETE Database.............................................................................3-48
CSS Utilities - RESET Database................................................................................3-48
CSS Utilities - Abend-AID Report File Facility Screen ............................................3-49
CSS Utilities - Select Desired File Type ...................................................................3-51
CSS Utilities - Create/Format Abend-AID File Screen (Standard DDIO Files) ........3-51
CSS Utilities - Create/Format Abend-AID Shared Directory Files Screen ...............3-52
CSS Utilities - Create/Format Abend-AID Report Database File.............................3-52
Abend-AID Report File Create/Format - Advanced Parms (Sequential) .................3-54
Abend-AID Report File Create/Format - Advanced Parms (VSAM) ........................3-55
Abend-AID Report File Shared Directory Create - Advanced Parms ......................3-55
Abend-AID Report Database Create/Format - Advanced Parms (VSAM) ...............3-56
Abend-AID Report Database Create/Format - Advanced Parms (Sequential) ........3-56
Abend-AID Batch Report File Information Screen Format.....................................3-59
Abend-AID Report Database Information Screen Format ......................................3-59
Abend-AID Report Shared Directory Information Screen Format .........................3-60
Abend-AID Batch Report File Member List ............................................................3-61
Abend-AID for CICS Report File Member List........................................................3-61
Abend-AID TYPE POPUP Panel ..............................................................................3-61
CSS Utilities - Move Facility Selection Panel..........................................................3-62
CSS Utilities - Move Facility Selection Panel for a Mixed-use Shared Directory....3-62
CSS Utilities - Abend-AID Report File Move Facility Screen ..................................3-63
Select Desired File Type ..........................................................................................3-66
Selecting Members for COPY, MOVE, or IMPORT.................................................3-66
Abend-AID Report File Move Function - Advanced Parameters Screen.................3-67
Standard DDIO Advanced Function Panel - Abend-AID Report File - Main Panel3-68
CSS Utilities - CONFIRM Delete .............................................................................3-69
Abend-AID Report File Shared Directory - Advanced Functions - Main Panel......3-69
Shared Directory - Attached Database Report ........................................................3-69
CSS Utilities - SCRATCH Database .........................................................................3-70
CSS Utilities - EXPAND Shared Directory ..............................................................3-71
CSS Utilities - DELETE Shared Directory ................................................................3-71
CSS Utilities - VERIFY Shared Directory .................................................................3-72
Abend-AID Report File Report Database - Advanced Functions - Main Panel.......3-72
Figures
3-84.
3-85.
3-86.
3-87.
3-88.
3-89.
3-90.
3-91.
3-92.
3-93.
13-1.
C-1.
C-2.
C-3.
C-4.
D-1.
xiii
CSS Utilities - ATTACH Database ...........................................................................3-73
CSS Utilities - DETACH Database ...........................................................................3-73
CSS Utilities - CHANGE AUTODELETE ..................................................................3-74
CSS Utilities - DELETE Database .............................................................................3-74
CSS Utilities - RESET Database................................................................................3-75
DDIOCALC Primary Calculations Screen...............................................................3-76
DDIOCALC DIRX Report Data Input Screen..........................................................3-77
Top of the DIRX Report..........................................................................................3-77
Bottom of the DIRX Report ....................................................................................3-78
DDIOCALC DIRX Report Data Input Screen..........................................................3-78
CWASSECD DSECT.................................................................................................13-5
Cobol Example Program Structure. ........................................................................16-5
PL/I Example Program Structure. ...........................................................................16-6
C Example Program Structure ................................................................................16-6
Assembler Example Program Structure ..................................................................16-6
Language Postprocessing Example for CA-Endeavor .............................................17-2
xiv
Compuware Shared Services User/Reference Guide
xv
Tables
2-1.
2-2.
2-3.
2-4.
3-1.
3-2.
3-3.
3-4.
3-5.
3-6.
3-7.
3-8.
3-9.
3-10.
3-11.
3-12.
3-13.
3-14.
3-15.
8-1.
8-2.
8-3.
8-4.
8-5.
8-6.
9-1.
9-2.
9-3.
9-4.
10-1.
10-2.
10-3.
10-4.
11-1.
11-2.
11-3.
11-4.
12-1.
12-2.
12-3.
12-4.
13-1.
B-1.
DDIO File Formats ....................................................................................................2-1
Allocating and Formatting DDIO Files.....................................................................2-7
Amount of VSAM Space Allocated per Track by CISIZE ........................................2-12
DDIO File Size Comparison....................................................................................2-16
CSS Utilities General Settings ...................................................................................3-4
Preprocessor Screen Fields ........................................................................................3-6
Line Commands on Member Selection Screen. .......................................................3-7
Postprocessor Screen Fields.....................................................................................3-18
Line Commands on Member Selection Screen ......................................................3-19
Source Listing File Options.....................................................................................3-20
Create/Format Source Listing File Fields ................................................................3-23
Create/Format Source Listing File Advanced Parameters.......................................3-28
Source Listing File Move Facility Fields..................................................................3-35
Source Listing File Move Function Advanced Parameters .....................................3-40
Abend-AID Report File Options..............................................................................3-49
Create/Format Abend-AID Report File Fields .........................................................3-52
Create/Format Abend-AID Report File Advanced Parameters................................3-56
Abend-AID Report File Move Facility Fields...........................................................3-63
Abend-AID Report File Advanced Parameters ........................................................3-67
DD Statements Used with CWDDALLU Batch Commands.....................................8-6
Source Listing Sort Keys..........................................................................................8-22
Batch Abend Report Sort Keys for Abend-AID .......................................................8-22
Transaction Database Sort Keys for Abend-AID for CICS ......................................8-22
Sample JCL Members for CREATE Command .......................................................8-32
Sample Programs for FORMAT Command.............................................................8-60
Files Dynamically Allocated by the Preprocessor.....................................................9-2
Language Processor DD Statements. ........................................................................9-4
COBOL Sample JCL Members ..................................................................................9-5
COBOL Program Names ...........................................................................................9-5
Files Dynamically Allocated by the Preprocessor...................................................10-2
Language Processor DD Statements. ......................................................................10-4
PL/I Sample JCL Members ......................................................................................10-4
PL/I Program Names ...............................................................................................10-4
Files Dynamically Allocated by the Preprocessor...................................................11-2
Language Processor DD Statements. ......................................................................11-4
Assembler Sample JCL Members ............................................................................11-4
Assembler Program Names .....................................................................................11-4
Files Dynamically Allocated by the Preprocessor...................................................12-2
Language Processor DD Statements. ......................................................................12-4
C Sample JCL Members ..........................................................................................12-4
C Program Names ...................................................................................................12-5
Security Exit Enablement for Abend-AID for CICS Commands ............................13-2
CWDDUNLP Return Codes ....................................................................................15-2
xvi
Compuware Shared Services User/Reference Guide
xvii
Introduction
Intro
CSS (Compuware Shared Services) is an enterprise-wide tool for sharing compiled
program information and to provide mainframe support services for the Compuware
Workbench plug-ins. CSS is an enabling technology used by many Compuware products.
CSS is distributed on the Enterprise Common Components (ECC) product media, along
with License Management System (LMS), and Host Communications Interface (HCI).
Manual Structure
This manual explains the CSS facilities and provides you with the necessary information
to use the COBOL, Assembler, PL/I, and C language processors. It also describes the CSS
batch file utilities and contains the following chapters:
Chapter 1, “CSS Overview”: Briefly describes the CSS system environment, components,
common files and utilities, the Compuware Viewing Facility, language processors, and
security exit program.
Chapter 2, “Allocating and Formatting DDIO Files”: Provides a detailed discussion of
allocating and formatting CSS DDIO files. It explains key concepts and considerations for
using DDIO files and resolving error messages. It also includes an example of allocating
and formatting a file and sample DDIO status reports.
Chapter 3, “CSS Utilities”: Describes CSS Utilities — a series of DDIO file functions
presented in step-by-step, panel-driven format. Functions supported by CSS Utilities
include creation and manipulation of source listing and report files.
Chapter 4, 5, 6, and 7 reference the now obsolete Batch File Utilities CWDDSUTL,
CWFXSDUT, CWAASDUT, and CWDDLPUT. Beginning with release 8.3 of CSS, there is a
single utility, CWDDALLU, which can deal with all types of DDIO files. See Chapter 8,
“Batch File Utility CWDDALLU”.
Chapter 8, “Batch File Utility CWDDALLU”: Describes the new unified batch utility,
CWDDALLU, which can be used to manage all applicable functions for the various types
of DDIO files, using a single utility. Any existing JCL references to CWDDSUTL,
CWFXSDUT, CWAASDUT or CWDDLPUT are still valid. All of the batch utility functions
are now discussed in this chapter.
Chapter 9, “COBOL Language Processor”: Describes the outputs and commands
associated with the COBOL language processor in order to write a source listing or
enhanced listing to a VSAM or sequential DDIO file.
Chapter 10, “PL/I Language Processor”: Describes the outputs and commands
associated with the PL/I language processor (including VisualAge PL/I and Enterprise
PL/I) in order to write a source listing to a VSAM or sequential DDIO file.
Chapter 11, “Assembler Language Processor”: Describes the outputs and commands
associated with the Assembler language processor in order to write a source listing to a
VSAM or sequential DDIO file.
Chapter 12, “C Language Processor”: Describes the outputs and commands associated
with the C language processor in order to write a source listing to a VSAM or sequential
DDIO file.
Chapter 13, “CSS Security Exit”: Describes how to prepare the optional CSS Security
Exit program that can be used with your existing security package.
xviii
Compuware Shared Services User/Reference Guide
Appendix A, “Using the Customer Modification Facility”: Describes how to retrofit
restricted zaps from prior releases to CSS 7.4 and more current for the SMP/E
environment.
Appendix B, “Using the CWDDUNLP Source Extraction Utility”: Describes how to use
the CWDDUNLP utility to extract source from a DDIO source listing file.
Appendix D, “On-the-Fly Language Processing Support”: Describes how to use the
Viewing Facility when no source or mismatch situations occur.
Appendix A, “508 Compliance”: Describes modifications made to the Compuware Viewing Facility in order to comply with Section 508 guidelines.
Intended Audience
This manual is intended for CSS installers and application programmers. It should only
be used with the MVS/ESA, OS/390, and z/OS versions of Compuware products.
Related Publications
For more information about ECC products, refer to the Compuware documentation
located on Compuware GO/Frontline web site (http://go.compuware.com). For more
information about Distributed Viewing Support, refer to the Abend-AID Installation and
Customization Guide Instructions for accessing this documentation are given in the
following paragraphs. For more information on compiling COBOL, PL/I, Assembler, or
C/C++ programs, refer to the appropriate IBM manuals.
Compuware Go Customer Support Website
Access online customer support for Compuware products via our Compuware Go
customer support website. View or download documentation, frequently asked questions,
and product fixes, or directly e-mail Compuware with questions or comments. To access
Compuware Go, you must first register and obtain a password at
http://go.compuware.com.
PDF and PDX Files
View and print the PDF files with Adobe Reader. Download a free copy of the reader from
Adobe’s website, http://www.adobe.com.
World Wide Web
Compuware’s site on the World Wide Web provides information about Compuware and
its products. The address is http://www.compuware.com.
Notation Conventions
This section describes common terms and syntax conventions used in this manual. A
change bar (|) indicates an update to the manual for this release.
Terminology
The following terms are defined as they are used in this manual:
• DDIO (Dump Dataset Input Output) file is used generically to mean any of the
following types of files created by the CSS utilities:
Introduction
–
–
–
–
–
–
xix
Report File
Source Listing File
Transaction Databases and Shared Directories
Report Shared Directory and Database
Source Listing Shared Directory
Source Listing Database.
• Member is used to identify an individual diagnostic report in an Abend-AID report
file, a source listing in a source listing file, or a profile in a profile file.
• Entry is used to identify an individual transaction diagnostic report in a transaction
database for Abend-AID for CICS.
Reading the Syntax Diagrams
Syntax diagrams define primary command syntax.
A parameter is either a keyword or a variable.
All KEYWORDs are shown in uppercase characters and must be spelled exactly as shown.
You cannot substitute another value. If any part of a KEYWORD is shown in lowercase
characters, that part is optional.
Variables are user-specified values and are printed in lowercase italics. For example,
dataset-name indicates you are to substitute a value.
The syntax for commands is described in diagrams that help you visualize parameter use.
The following example shows a command and a parameter:
Read the diagrams from left to right and from top to bottom. These symbols help you
follow the path of the syntax:
indicates the beginning of a statement.
indicates the statement is continued on the next line.
indicates the statement is continued from the previous line.
indicates the end of a statement.
Required parameters appear on the horizontal line (the main path). Optional parameters
appear below the main path. Default parameters appear above the main path and are
optional. The command executes the same regardless of whether the default parameter is
included.
Vertically stacked parameters are mutually exclusive. If you must choose a parameter, one
item of the stack appears on the main path. If the parameters are optional, the entire
xx
Compuware Shared Services User/Reference Guide
stack appears below the main path. If a parameter in a stack is the default, it appears
above the main path.
If the same parameters are used with several commands, their syntax may be documented
in a separate diagram. In the command syntax, these common parameters are indicated
with separators before and after the parameter name.
An arrow returning to the left indicates a repeatable item. If the arrow contains a comma,
separate the repeated items with a comma.
Getting Help
Compuware continually strives to improve our software products and documentation.
Feedback from our customers helps us to maintain our quality standards.
While the software should execute according to documented specifications, there are
times when problems do occur. If problems arise, check the Compuware manuals for
assistance. You may also need to consult your site’s technical representative for
Compuware assistance.
If you have attempted to solve the problem using the resources listed above and the
difficulty persists, contact the Compuware Customer Support Hotline for assistance.
Customer support is also available via our FrontLine Support web site as described in
“Related Publications”.
Please have the following information available before calling. This information will
assist the Customer Support personnel in determining the exact cause of your problem in
a timely manner.
Note:
If you encounter a CSS problem when compiling your program, Compuware
Customer Support staff may need additional information. You can obtain this
information by using the CSS Problem Documentation Utility.
1. Use the following sample JCL members to identify the PTFs and/or APARs that have
been applied to the CSS libraries:
– CXLPTFS or CXLZAPS in the CSS SLCXCNTL library
These jobs (with the exception of CXLZAPS) will produce a detailed SMP/E report of
PTFs applied to the above components. The CXLZAPS job will produce a more
compact/summarized version of the CSS PTF listing.
2. Determine the release number of the ECC-enabled product.
3. For CSS problems, identify the compiler language and the release number being
processed.
4. Identify the CICS release in use if the problem involves a CICS product.
Introduction
xxi
5. Identify the operating system release to help determine operating system
dependencies.
6. If an abend occurs, note the displacement and the module in which the interrupt
occurs.
7. Note the sequence of issued commands that resulted in the abend, the data type, and
the programming language being used.
8. Locate your Compuware customer number.
Compuware Customer Support
http://go.compuware.com
xxii
Compuware Shared Services User/Reference Guide
1-1
Chapter 1.
CSS Overview
Chap 1
Compuware Shared Services (CSS) is an integral component of many Compuware
mainframe products. CSS provides storage, retrieval, and maintenance for Abend-AID
reports, source listings, and transaction dump information in datasets called DDIO files.
Shared directories and their attached databases are also types of DDIO files being utilized
for more efficiency in maintaining information and activity within these files. CSS also
provides language processing support for COBOL, PL/I, Assembler, and C.
The following products currently use CSS:
•
•
•
•
•
•
•
•
Abend-AID
Abend-AID for CICS
Abend-AID Fault Manager
Compuware Workbench/Topaz
Xpediter/CICS
Xpediter/TSO and Xpediter/IMS
Xpediter/Code Coverage
Strobe
System Environment
For System Requirement information, see the Enterprise Common Components Release
Notes available from GO/FrontLine, Compuware’s Customer Support web site.
CSS Components
CSS consists of the following components:
• Compuware common files and utilities
– DDIO files: Source Listing Files, Report Files, Shared Directories and Associated
Report, Transaction, and Source Listing Databases
– Batch file utilities: CWDDSUTL, CWFXSDUT, CWAASDUT, CWDDLPUT, and
CWDDALLU
• Compuware Viewing Facility (Compuware/VF)
• Compuware Language Processors (COBOL, Assembler, PL/I, and C)
• Security Exit Program
Common Files and Utilities
CSS components include common files and utilities that provide storage, retrieval, and
maintenance functions.
DDIO Files
A generic term used to describe the proprietary file access method that stores Abend-AID
reports, transaction dump information, and source listings for several Compuware
1-2
Compuware Shared Services User/Reference Guide
products. You can allocate DDIO files as either VSAM or sequential datasets. Different
products may require different types of DDIO files.
CSS Utilities and Batch File Utilities
CSS Utilities walks you step-by-step through CSS language processor functions and DDIO
file manipulation using easy-to-use panels.
CSS Utilities provides many of the same functions that can be done in a batch
environment, using the batch file utilities (CWDDSUTL, CWFXSDUT, CWAASDUT,
CWDDLPUT, or CWDDALLU).
CSS Language Processors (LP)
The language processors capture information about a compiler listing and store it in a
source listing DDIO file. The majority of this information is gathered from the compiler
listing, but optionally, SYSIN and SYSLIB are also examined. The source listing DDIO file
may be in standard DDIO, shared directory, or database format.
A language processor can be run using two methods:
• preprocessor
• postprocessor
You may use the preprocessor or postprocessor (whichever is best for your site as needed.)
Language Processor Types
CSS provides language processing support for the following languages:
•
•
•
•
COBOL
PL/I
Assembler
C
The COBOL language processor reads the compiler listing produced by the COBOL
compiler and writes either a compiler listing or an enhanced listing to the DDIO file. The
enhanced listing merges the information normally found in the data division map
(DMAP) and the condensed listing (CLIST) or procedure map (PMAP) into the source
statement lines. The COBOL compiler options in effect are sorted alphabetically and
appear at the beginning of the enhanced listing. The enhanced listing provides you with
a condensed hardcopy of the compiler information.
The COBOL and PL/I listings may be used to provide source support during a debugging
or diagnostic session using any of the following products:
•
•
•
•
•
Abend-AID
Abend-AID for CICS
Xpediter/CICS
Xpediter/TSO
Xpediter/Eclipse
The Assembler listings may be used to provide source support during a debugging or
diagnostic session using any of the following products:
•
•
•
•
Abend-AID
Xpediter/CICS
Xpediter/TSO
Xpediter/Eclipse
CSS Overview
1-3
The C language processor reads the compiler listing produced by the C compiler and
writes the compiler listing to the DDIO file and SYSCPRT. The source listing in DDIO can
then be used to provide source support during a debugging or diagnostic session using:
• Xpediter/TSO
• Xpediter/CICS
Preprocessor
Some information about a program module is not always available from the compiler
listing. The preprocessor, in addition to gathering information from the compiler listing,
gathers information from SYSIN and SYSLIB. The preprocessor provides additional
functionality for Xpediter/CICS and Xpediter/TSO, and is required for PL/I programs that
use the %NOPRINT statement.
When setting up the language processors, Compuware recommends that you use the
preprocessor instead of the postprocessor. Only use the postprocessor in situations where
compiled source listings have been stored.
Preprocessor Functions
• Determines the proper compiler options required to process the listing file.
• Automatically invokes the compiler or assembler to compile or assemble your source
program.
• Writes the listing to the DDIO file. You can produce an enhanced listing for COBOL
programs, if desired. PL/I and Assembler listings are written to SYSPRINT. C listings
are written to SYSCPRT.
Preprocessor Benefits
• Better handling of compiler errors. By using the preprocessor, you can avoid the
potential problem of processing a listing with compiler errors. The preprocessor, in
conjunction with the CONDDDIO parameter, internally checks the return code from
the compiler and doesn’t write a DDIO listing that contains errors. For example, if
you set the CONDDDIO parameter to 8, the preprocessor will write the compiler
listing to the DDIO file unless the compiler return code exceeds 8. The preprocessor
can process the compiler errors more effectively than the postprocessor. Compuware
recommends that you use the preprocessor rather than the postprocessor.
• Capturing suppressed source code. When you use any of the following parameters,
you can suppress sections of source code from the compiler listing:
For COBOL
COPY SUPPRESS
For PL/I
%NOPRINT
For Assembler
PRINT OFF or PRINT NOGEN
For C
NOSHOWINC or NOEXPMAC
The preprocessor captures this information from SYSIN and SYSLIB, or by forcing on
more revealing compiler options, then altering the listing to emulate the options you
requested.
• Automated compiler options. The postprocessor requires that certain compiler
options be specified in order to process all needed sections of the compiler listing.
The preprocessor can automatically pass the required options to the compiler.
• Simplified JCL. While the postprocessor requires that you add a step after the
compile step, the preprocessor only requires that you make minor modifications to
your existing compile step.
1-4
Compuware Shared Services User/Reference Guide
Postprocessor
The postprocessor is executed as a single step and it can be a separate job. It reads in the
listing created from the compiler. Information is gathered from the source listing, XREF,
data maps, and object code sections of the listing. This information is stored in a DDIO
file member and is used by various Compuware products.
While the preprocessor is the preferred method of loading the compiled listing to the
DDIO, there are situations that necessitate the use of the postprocessor as a viable
alternative. This is commonly found in production environments where the listings may
be archived. Note that these are usually the default options at many shops.
If the programs contain suppressed source code, certain additional control statements
must be added to the language processor.
If the programs are compiled with OFFSET as well as OPT(imize), certain additional
control statements must be added to the language processor.
Postprocessor Benefits
• Exact match of compiled output listings with the executable load module. This is
especially important in production environments where time is critical.
• Eliminates the risk of copybook or source code changes prior to recompiling the code
since the listing reflects the code that is being executed.
• Significantly less time is needed to process source listings as opposed to recompiling
the source code.
Security Exit Program
CSS also includes the Compuware Security Exit Program. This is an optional user-written
exit for your Compuware products. It can be used in conjunction with your existing
security package to secure sensitive data used by the following Compuware products:
•
•
•
•
•
•
•
•
Abend-AID
Abend-AID for CICS
Abend-AID Fault Manager
Compuware Workbench/Topaz
Xpediter/CICS
Xpediter/TSO and Xpediter/IMS
Xpediter/Code Coverage
Strobe
The Compuware Security Exit enables you to control access to DDIO file members or
restrict access to various commands through a user-written exit program. For the AbendAID for CICS product, you can restrict access to some of the CWFXSDUT and
CWDDALLU functions for transaction database and source listing files. For transaction
databases, you can use the Security Exit Program to restrict access to individual dumps
within a transaction database. If you install a Security Exit program, it will be called by
all Compuware products installed at your site. For more information on the Security Exit
Program, see the Chapter 13, “CSS Security Exit”
Executing CSS
CSS is primarily executed at the following times:
• Abend-AID and Abend-AID for CICS
– at compile time (when source support is used)
CSS Overview
–
–
–
–
1-5
at time of abend or application program failure
at view time when using Compuware/VF or the Abend-AID Viewer
at installation and maintenance time when formatting a DDIO file.
when a compile listing that has been stored elsewhere is needed for Abend-AID
or Abend-AID for CICS viewing with source support.
• Xpediter/TSO and Xpediter/CICS
–
–
–
–
at
at
at
at
compile time (when source support is used)
execution time for interactive debugging
view time when using Compuware/VF
installation and maintenance time when formatting a DDIO file.
HCI Overview
The Host Communications Interface (HCI) is a facility that provides connectivity
between mainframe-based programmer productivity software and peer-node software
running on other platforms in a network. These communications facilities provide a
simple application programming interface so that Compuware software can be written to
communicate with peer programs running on different platforms. Additionally, the
communications system is flexible, simple to operate, and reliable. It has been designed
to support open-ended communications protocols, and it can operate on older releases of
the MVS operating system. It allows application programs to communicate over any one
of several protocols without knowing which protocol is in use at any given time.
The HCI also serves as a server activation facility that is responsible for starting and
monitoring application programs that are using the communications facilities.
And finally, the HCI has been designed with no architected upper limit on the number of
concurrent sessions supported, nor on throughput rates. The following figure shows how
the HCI fits into the scheme of the TP application and the MVS subsystem components.
Figure 1-1. TP Subsystem, HCI, and Application: HCI Position as Middleware
Application
TCP/IP
Application
HCI
–––
VTAM
Application
CSS Sample Library Members
The following list describes the members of the CSS sample JCL library that was created
during installation. These members are distributed on the CSS distribution product
media and updated via SMP/E. The members located in the library shown below, can be
used in various jobs described throughout this guide.
• COMPWARE.MLCXnnn.SLCXCNTL (target library)
1-6
Compuware Shared Services User/Reference Guide
where nnn indicates the CSS release number.
To print the CSS sample library members, submit the JCL contained in library member
CXPRINT.
CWASSECD
Security Exit program DSECT.
CWASSECU
Sample Security Exit program.
CWCMTRHE
Sample customized horizontal translation table for mixed-case English.
CWCMTRHT
Sample customized horizontal translation table for uppercase English.
CWCMTRHU
Sample customized horizontal translation table for mixed-case English
with Euro character.
CWCMTRVE
Sample customized vertical translation table for mixed-case English.
CWCMTRVT
Sample customized vertical translation table for uppercase English.
CWCMTRVU
Sample customized vertical translation table for mixed-case English
with Euro character.
Note:
The following five members are specific for Abend-AID. They
allow browse access to diagnostic reports and source listings
directly through ROSCOE or print access via a job submitted
from ROSCOE to run in batch. Refer to the members for
additional information.
CWROSBAT
ROSCOE sample members.
CWROSBRW
ROSCOE sample members.
CWROSCOE
ROSCOE sample members.
CWROSDIR
ROSCOE sample members.
CWROSPDF
ROSCOE sample members.
CWUTCLSE
Sample CLIST to invoke CSS online utilities with English messages and
panels.
CWUTCLSJ
Sample CLIST to invoke CSS online utilities with Japanese messages and
panels.
CWUTREXE
Sample REXX EXEC to invoke CSS online utilities with English messages
and panels.
CWUTREXJ
Sample REXX EXEC to invoke CSS online utilities with Japanese
messages and panels.
CXAADIRX
Abend-AID CWDDALLU DIRX sample JCL.
CXAAEXPO
Abend-AID CWDDALLU EXPORT command sample JCL.
CXAAIMPO
Abend-AID CWDDALLU IMPORT command sample JCL.
CXAAMOVE
Abend-AID CWDDALLU MOVE command sample JCL
CXALLBAA
JCL for creating sequential Abend-AID database files.
CXALLBLP
JCL for creating sequential source listing database files.
CSS Overview
1-7
CXALLBSD
JCL for creating Abend-AID for CICS sequential transaction databases.
CXALLDAA
JCL for creating Abend-AID shared directories.
CXALLDLP
JCL for creating Source Listing Shared Directories.
CXALLDS
JCL to allocate a sequential DDIO file.
CXALLMC
JCL for creating Abend-AID for CICS shared directories.
CXALLVAA
JCL for creating VSAM Abend-AID database files.
CXALLVLP
JCL for creating VSAM Source Listing Database files.
CXALLVS
JCL to allocate a standard VSAM Abend-AID report or Source Listing
DDIO file.
CXALLVSD
JCL for creating Abend-AID for CICS VSAM transaction databases.
CXASM
JCL for running the Assembler language postprocessor.
CXASMPRE
JCL for running the Assembler language preprocessor.
CXC
Sample JCL for running the C postprocessor.
CXCAPTUR
Sample JCL for creating a tape from the output of the CSS Problem
Documentation Utility.
CXCFGEXT
Sample JCL to extract a source file from the configuration module in a
CSS load library.
CXCFGINI
Sample source configuration file.
CXCFGSET
Sample JCL to build a configuration module in a CSS load library, from
a source configuration file you create.
CXCIREG
Sample JCL to register the Contact Information dataset.
CXCIVSAM
Sample JCL to create the Contact Information dataset.
CXCOBPRE
JCL for running the COBOL language preprocessor.
CXCOB1
JCL for the step to be added after the compile step in your current
COBOL compile and link edit JCL. This is used in order to process the
compiler listing through the Compuware language postprocessor.
CXCOB2
JCL to process COBOL compiler listings stored in machine-readable
format.
CXCOB99
Sample JCL for running the COBOL postprocessor.
CXCPRE
Sample JCL for running the C preprocessor.
CXC2
Sample JCL to postprocess C compiler listings stored in machinereadable format.
CXDCRADB
JCL to allocate and CREATE a multivolume Abend-AID report database.
CXDCRASD
JCL to allocate and CREATE an Abend-AID shared directory and a multivolume report database.
CXDCRLDB
JCL to allocate and CREATE a multi-volume source listing database.
1-8
Compuware Shared Services User/Reference Guide
CXDCRLSD
JCL to allocate and CREATE a source shared directory and a multivolume Source Listing database.
CXDCRTDB
JCL to allocate and CREATE a multi-volume transaction database.
CXDCRTSD
JCL to allocate and CREATE an Abend-AID for CICS shared directory
and a multi-volume transaction database.
CXDDSUTL
Sample JCL for running the CWDDALLU batch file utility.
CXDDUNLP
Sample JCL to execute the CWDDUNLP source extraction utility.
CXDFMAA
JCL to allocate and FORMAT a standard multi-volume Abend-AID report
DDIO file.
CXDFMSL
JCL to allocate and FORMAT a standard multi-volume source listing
DDIO file.
CXEXPORT
Sample JCL for running the CWDDALLU EXPORT command.
CXFLAG
Sample JCL for the CWDDALLU utility FLAG command.
CXFMTAA
Sample JCL and CWDDALLU control statement for formatting AbendAID report files.
CXFMTSL
Sample JCL and CWDDALLU control statement for formatting a source
listing file.
CXCFDIRX
Abend-AID for CICS CWDDALLU DIRX sample JCL.
CXCFEXPO
Abend-AID for CICS CWDDALLU EXPORT command sample JCL.
CXCFEXTL
Sample JCL to export a Abend-AID for CICS transaction and a source
listing to a single tape.
CXCFIMPO
Abend-AID for CICS CWDDALLU IMPORT command sample JCL.
CXCFMOVE
Abend-AID for CICS CWDDALLU MOVE command sample JCL.
CXIMPORT
Sample JCL for running the CWDDALLU IMPORT command.
CXJCLSEC
JCL to assemble and link edit the Security Exit program.
CXJCLTRT
JCL to assemble and link edit the custom translation tables.
CXLPASM
Sample Assembler language processor options.
CXLPC
Sample C language processor options.
CXLPCOBB
Sample COBOL language processor options (batch programs).
CXLPCOBC
Sample COBOL language processor options (CICS programs).
CXLPDIRX
LP source CWDDALLU DIRX sample JCL.
CXLPEXPO
LP source CWDDALLU EXPORT command sample JCL.
CXLPIMPO
LP source CWDDALLU IMPORT command sample JCL.
CXLPMOVE
LP source CWDDALLU MOVE command sample JCL.
CXLPPLI
Sample PL/I language processor options.
CSS Overview
1-9
CXLPTFS
Sample JCL to run SMPE LIST on CSS Target/Distribution zones.
CXLZAPS
Sample JCL to list the PTFs and APARs on a CSS load library
CXMODMAP
Sample JCL member to map the CSECTs in a load module.
CXOTFPRE
Sample CLIST stub for preprocessing exit for OTF
CXOTFPST
Sample CLIST stub for postprocessing exit for OTF
CXPDDSU
Sample JCL to print a listing or report from a DDIO file.
CXPLI
JCL for running the PL/I language postprocessor.
CXPLIPRE
JCL for running the PL/I language preprocessor.
CXPLI2
JCL to postprocess PL/I compiler listings stored in machine-readable
format.
CXPRCTL
IEBPTPCH control statements for job CXPRINT.
CXPRINT
JCL to print the entire CSS installation library.
CXR00003
Sample Tutorial main menu.
CXSPRE01
Sample Skeleton for on-the-fly preprocessing.
CXSPST01
Sample Skeleton for on-the-fly postprocessing.
CXTUTOR
Alternate Sample Tutorial main panel.
DDIODAYS
REXX utility to delete DDIO file members by age.
DDIODAYJ
Sample JCL for running the DDIODAYS REXX utility. This utility deletes
DDIO file members by age.
FDXTRN01
File-AID DB2 Interface CLIST.
GRSRNLXX
Sample GRS qname inclusion RNL.
P@CPRE01
Sample panel for preprocessing exit for on the fly.
P@CPST01
Sample panel for postprocessing exit for on the fly.
P@HPRE01
Sample Help panel for preprocessing exit for on-the-fly processing.
P@HPST01
Sample Help panel for postprocessing exit for on-the-fly processing.
1-10
Compuware Shared Services User/Reference Guide
2-1
Chapter 2.
Allocating and Formatting DDIO Files
Chap 2
This chapter describes allocating and formatting CSS DDIO (Dump Dataset Input Output)
files. It explains key concepts and considerations for using DDIO files and resolving error
messages. It also includes an example of allocating and formatting a file and sample
DDIO status reports.
CSS DDIO files are used to store Abend-AID reports, transaction dump information, and
source listings. The term DDIO file is a generic term used to refer to datasets that store the
reports, dumps, and listings from Compuware products that use CSS.
Understanding DDIO Files
CAUTION:
CSS Utilities and the CWDDSUTL, CWFXSDUT, CWAASDUT, CWDDLPUT, and
CWDDALLU batch file utilities are the only utilities recommended for use with
Compuware DDIO files.
File-AID/MVS and other VSAM-related vendor products (including vendor packages
that compress or enhance buffer management on VSAM files) should NOT be used
against Compuware DDIO files. Doing so can corrupt the contents of DDIO files.
DDIO is a proprietary file access method that stores Abend-AID reports, transaction
dump information, and source listings for several Compuware products. You can allocate
DDIO files as either VSAM or sequential datasets. Different products may require
different types of DDIO files.
Note:
Shared directories or DDIO source files used by Xpediter/CICS must be VSAM.
The Compuware Language Processors are a set of programs that analyze the output from
a compiler execution and store that information in a source listing DDIO file. Abend-AID
and Abend-AID for CICS use source listings when Abend-AID reports or CICS transaction
abend reports are formatted with source support. Xpediter/CICS and Xpediter/TSO use
source listings during interactive debugging. Usually, one or more source listing files can
be shared between all Compuware products that use CSS while other DDIO files such as
report files, transaction databases, and profile files cannot.
The following table lists the types of DDIO files created by the CSS utilities and which
products use/require them:
Table 2-1.
DDIO File Formats
Compuware Product
Abend-AID
Abend-AID for CICS
Report
File
x1
See Note
Transaction
Source
Databases &
Listing File Shared Dir.
x
x
x
Report
Shared Dir.
& Database
Source
Listing
Shared Dir.
Source
Listing
Database
x
x
x
x
x
x2
Xpediter/TSO
x
See Note
x
2
Xpediter/IMS
x
x
See Note
x
2-2
Compuware Shared Services User/Reference Guide
Table 2-1.
DDIO File Formats
Compuware Product
Report
File
Transaction
Source
Databases &
Listing File Shared Dir.
Report
Shared Dir.
& Database
Source
Listing
Shared Dir.
Source
Listing
Database
Xpediter/CICS
x
See Note
x
Xpediter/Eclipse
x
See Note
x
Strobe
x
x
x
1
Abend-AID Classic Report files are not supported with Abend-AID Release 12.4 or newer.
2
If using Xpediter/TSO and /IMS with the C Language Processor, VisualAge PL/I, or Enterprise PL/I, and
you use Long Program Names, the Source Listing Shared Directory must be used.
Source Listing DDIO Files
Source listing files are DDIO files that contain one or more source listing members. The
source listing member contains the compiler listing and other program information
collected by the appropriate Compuware Language Processor. Any source listing DDIO
file of any type (sequential or VSAM) can be shared among any of the Compuware
Products that provide source listing support. For performance reasons, VSAM source
listing DDIOs are recommended when using Abend-AID for CICS. Source listing DDIO
files used by Xpediter/CICS must be VSAM.
Abend-AID, Abend-AID for CICS, Xpediter/CICS, and Xpediter/TSO can use COBOL and
PL/I listings.
Abend-AID, Xpediter/CICS, and Xpediter/TSO can use Assembler listings.
Xpediter/TSO also supports C language, VisualAge PL/I, and Enterprise PL/I programs.
Short named C language, VisualAge PL/I, or Enterprise PL/I programs (eight character and
shorter program names) can be stored and used from conventional source listing DDIO
files. See “Source Listing Databases and Shared Directories” on page 2-3 for special source
listing DDIO files required for C language, VisualAge PL/I, and Enterprise PL/I programs
if using LONGNAME (program names longer than eight characters) compiler support.
Abend-AID Report DDIO Files
Abend-AID creates diagnostic reports at the time of a program fault. It extracts data from
the affected application and associated control blocks and writes this data to a DDIO
report file. At view time, the data stored in the Abend-AID report is retrieved and
formatted into a readable report that can then be displayed online and/or printed.
Abend-AID Report Databases and Shared Directories
Abend-AID diagnostic reports can now be routed into a database pool, which is managed
via a shared directory. Abend reports are stored in a report database. Multiple report
databases can be attached to a single shared directory and can be managed as a pool of
report databases. Standard report DDIO files can be converted into the database format
using the CWAASDUT or CWDDALLU utility's CONVERT command. For detailed
information on the batch utility CONVERT command (CWAASDUT or CWDDALLU) see
Chapter 8, “Batch File Utility CWDDALLU”. The Abend-AID install process creates a
CWROUTE module which points to the site default shared directory (see the Abend-AID
Installation and Customization Guide for more information on CWROUTE). However, an
alternative shared directory can be specified at abend time by using the ABNLTERM DD
statement to point to the desired shared directory.
Allocating and Formatting DDIO Files
2-3
Transaction Databases and Shared Directories
Abend-AID for CICS collects transaction dump information from CICS transaction
terminations. The transaction databases are managed via a shared directory, which is a
special type of VSAM DDIO file. Multiple entries containing transaction dump
information are stored in a transaction database and multiple transaction databases can
be attached to a single shared directory. The shared directory can give you a single,
enterprise-wide view of all CICS transaction and region faults. Abend-AID for CICS can
also manage region dumps (SYSMDUMP) in the shared directory.
Source Listing Databases and Shared Directories
A source listing shared directory is a specialized VSAM RRDS file used by CSS to manage a
POOL of source listing databases and to provide LONGNAME support. All products that
utilize source support can use source listing databases. Multiple source listing databases
can be attached to a single source listing shared directory. Standard source listing DDIO
files can be converted into the database format using the CWDDLPUT or CWDDALLU
utility's CONVERT command. For detailed information on the batch utility CONVERT
command (CWDDLPUT or CWDDALLU) see Chapter 8, “Batch File Utility CWDDALLU”.
Source listing shared directories and their related databases can be created and
maintained with CWDDLPUT or CWDDALLU utilities via batch or online panels in the
Compuware V/F. For detailed information see Chapter 8, “Batch File Utility
CWDDALLU”. Source Listing Databases used by Xpediter/CICS must be VSAM.
All CSS-enabled Compuware products can use individual source listing databases if the
databases are explicitly referenced. If the C, VisualAge PL/I, or Enterprise PL/I Language
Processors are used with Long Program Names, source listing shared directories must be
used.
A source listing shared directory or database can be specified for CWPDDIO in your
language processing JCL.
Long Program Name Support
Long Program Name (LONGNAME) compiler support with Xpediter/TSO for C, VisualAge
PL/I, and Enterprise PL/I language processors uses source listing shared directories. Source
listing shared directories allow member names greater than the previous DDIO limit of
eight characters. The source listing database contains source listing from the language
processor. The source listing shared directory contains all of the keys necessary to handle
LONGNAME support. This allows C, VisualAge PL/I, and Enterprise PL/I member names
to be mixed case and have a length of up to 1024 characters.
LONGNAME compiler support involves the Compuware language pre-processor for the
programming language being used. It accepts the source code, invokes the specified
compiler, and waits until the compilation step is complete. It then analyzes the output,
produces the source listing member, and writes the source listing member to the source
listing database and special source listing keys to the source listing shared directory.
When processing programs that use LONGNAME’s, your JCL must point to the source
listing shared directory.
Advantages of Using Shared Directories and Databases
There are several advantages of using Shared Directories and Databases:
• You only need to list one source shared directory to view Abend-AID or Xpediter
source listings.
All databases attached to this directory will be searched for a source match. Likewise,
individually listed report databases may be substituted with a single shared directory
2-4
Compuware Shared Services User/Reference Guide
in the Viewing Facility or for ABNLTERM to capture run time abends. Source can be
processed by pointing CWPDDIO directly to a shared directory.
• You will be least affected when file maintenance is performed.
For example, if more space is required to accommodate a large number of listings or
reports, the new database can be allocated and attached to the shared directory. It
will not be necessary to modify the compile or process JCL to point to the new file, as
it will be incorporated with the shared directory. Since the new database will be a
part of the shared directory, you will not be required to add it at view time.
Note:
When doing any type of file management, ensure that the required database
is detached. It can be re-attached after maintenance is complete.
• CSS uses the “best-fit” approach when processing against a source shared directory.
CSS verifies an attached database for most available space before making a file
selection. If all attached databases are full, it selects the last file used and invokes
AUTODELETE. If space is still not enough and the shared directory has a DBMODEL
created, a new source database is dynamically allocated and attached to store the new
listing without halting processing.
• To avoid contention when processing abends against a report shared directory, CSS
distributes the abend reports across all eligible databases.
• Abend-AID reports can be routed directly to a report shared directory or to specific
databases, if you wish to distinguish between different groups.
CSS Utilities
CSS Utilities walks you step-by-step through CSS Language Processor (LP) functions and
DDIO file manipulation using easy-to-use panels. Supported LP functions include
generating preprocessing and postprocessing JCL. DDIO file functions include file
creation and formatting, file deletion, and member manipulation (for example,
locking/unlocking members, copying members, and importing/exporting members).
CSS Utilities may be used with the following products:
•
•
•
•
Abend-AID
Abend-AID for CICS
Xpediter/CICS
Xpediter/TSO
For more information on CSS Utilities, refer to Chapter 3, “CSS Utilities”.
Batch Utilities
To create and maintain all forms of DDIO files, including both Abend-AID report files
and source files, the following batch utilities are available:
CWDDALLU
CWDDALLU creates and maintains all the various types of DDIO files handled by the
following four utilities, and can be used by Abend-AID, Abend-AID for CICS,
Xpediter/CICS, and Xpediter/TSO.
Note:
DDIO files formatted using one of the following four utilities cannot be
manipulated using any of the other following four utilities.
CWDDSUTL
CWDDSUTL creates and maintains report and source listing files that can be used by the
following products: Abend-AID, Abend-AID for CICS (for source listing and DSECT files
Allocating and Formatting DDIO Files
2-5
only), Xpediter/CICS, Xpediter/TSO, TSO (for C language, VisualAge PL/I, and Enterprise
PL/I LONGNAME support, see “Source Listing Databases and Shared Directories” on page
2-3).
CWFXSDUT
CWFXSDUT creates and maintains transaction databases and shared directories used by
Abend-AID for CICS.
CWAASDUT
CWAASDUT creates and maintains report databases and shared directories used by
Abend-AID.
CWDDLPUT
CWDDLPUT creates and maintains source listing databases and shared directories. It can
be used by Xpediter/CICS and Xpediter/TSO for source listings and, also by Abend-AID
and Abend-AID for CICS for source support.
For detailed information on all commands and parameters available for these utilities,
see Chapter 8, “Batch File Utility CWDDALLU”.
Source Extraction Utility
CWDDUNLP
Extracts source from a DDIO source listing file. The use of this utility is not intended as a
replacement for keeping your original source code and provides support for COBOL and
PL/I only. For more information on this utility, refer to Appendix B, “Using the
CWDDUNLP Source Extraction Utility”.
Viewing DDIO File Information
To view status and other information about DDIO files, you can use the DIRX report. The
DIRX report is created using the CWDDSUTL, CWFXSDUT, CWAASDUT, CWDDLPUT, or
CWDDALLU utility command DIRX. In addition to a list of the members on the files,
DIRX supplies the following information:
• File utilization information, including the total number of members in the file and
how many of them have been allocated
• Format information such as the file access method
• Diagnostic information for Compuware (useful for troubleshooting).
For a sample of the DIRX reports, refer to “Using the DIRX Report” on page 2-20.
Note: CSS Utilities DDIO file functions “I” (information) option can also be used for file
information instead of the batch DIRX command.
DDIO Terminology
This section describes the parameters used for allocating and formatting a DDIO file.
AUTODELETE
Determines the action taken when an attempt is made to write a member to a full DDIO
file. With this parameter, you can specify how or whether various types of members in
the DDIO file are automatically deleted when the file becomes full. For more information
on using the autodelete process and how CSS defines the oldest member, refer to
“Locking Your DDIO Members” on page 2-8.
2-6
Compuware Shared Services User/Reference Guide
BLOCKSIZE (BLKSIZE)
Specifies a blocksize for a DDIO file. The default is 18432 for VSAM, 27998 for sequential
and the maximum blocksize allowed is 32767. For a VSAM DDIO file, the blocksize is
always equal to the VSAM Control Interval size (CISIZE) minus 7 and cannot be
overridden.
EXTENTS
Specifies the maximum number of segments of file storage allocated for a DDIO member.
Extents can also be thought of as the maximum number of times CSS retrieves additional
space for a member. DDIO extents are similar to the extents that are allocated for MVS
datasets. MVS (non-VSAM) datasets are allowed to have up to 16 extents for primary plus
secondary allocation. Extents for a DDIO member can be allocated up to the number
specified in the EXTENTS parameters of the FORMAT statement. The default for the
EXTENTS parameter is 460 and the maximum is 460.
GROUPCOUNT
Specifies how many blocks or VSAM Control Intervals are contained in a DDIO file
extent. GROUPCOUNT is similar to the SPACE allocation for an MVS dataset.
Example
For example, an MVS dataset defined with the parameter:
SPACE=(4096,(12,12))
has a primary and secondary allocation of 12 4096-byte blocks (1 track) for each extent.
For a DDIO file, a GROUPCOUNT of 12 and a BLKSIZE or CISIZE of 4096 would allocate
12 4096-byte blocks for each extent allocated to a DDIO member. A DDIO member
extent, however, is not required to end on a track boundary. You can define it to use only
part of a track, a full track, or even several tracks depending on the values for
GROUPCOUNT and BLKSIZE or CISIZE.
REPTCOUNT
Specifies the maximum number of members that can exist simultaneously in a DDIO file
provided there is enough space. It is similar to the number of directory blocks specified
for an MVS PDS.
If the AUTODELETE parameter was specified as YES, DUPS, or STAGED when the file was
formatted, you may still be able to add additional members to the DDIO file if there are
any members eligible for autodeletion.
The maximum REPTCOUNT is 16000 depending on the formatting parameters used.
However, specifying a large REPTCOUNT can greatly reduce the efficiency of your DDIO
file. Refer to “Compuware DDIO Calculator — DDIOCALC” on page 3-75 for determining
the optimal formatting parameters.
Selecting a File Access Method
You can allocate DDIO files as either VSAM or physical sequential datasets. No external
functional differences exist in the way these two types of datasets interact with
Compuware products. The method you choose should be based on your operating system
and can be done on a file-by-file basis.
VSAM and sequential DDIO files are processed identically by CSS, and entries can be
transferred between files defined with either access method. However, there are
advantages and disadvantages to both methods. Since VSAM allocates its buffers above
the 16MB line, CICS users may experience a performance improvement when using
Allocating and Formatting DDIO Files
2-7
VSAM DDIO files. Sequential dataset buffers are allocated below the 16 MB line so
applications that have many DDIO files open may experience shortages of below-the-line
storage.
Disk space and memory usage are also considerations when choosing a file access
method. You can define a sequential DDIO file to use disk space more efficiently than a
VSAM file. VSAM DDIO files are limited by the multiple of 2K Control Interval Size
(CISIZE) restriction. However, VSAM DDIO files utilize CICS memory much better than
sequential DDIO files in the CICS environment. (This factor is not as critical in a batch
environment.)
Notes:
1. Abend-AID Releases 12.4 or newer are required to use Report Shared Directories.
2. Xpediter/CICS requires that all source listing DDIO files used in a CICS region be
VSAM. All shared directories must be VSAM.
VSAM DDIO files can be copied using the IDCAMS REPRO command but none of the file
attributes, such as CISIZE, can be changed.
See Table 2-2 for a list of the job names, and the parameters used with those jobs, when
allocating or formatting DDIO files.
Table 2-2.
Allocating and Formatting DDIO Files
File
Allocate/Format
Type
JCL Name
Multi-Volume
Source
Allocate
VSAM
CXALLVS
CXDFMSL
Sequential CXALLDS
Format
VSAM
CXFMTSL
CXDFMSL
Sequential CXFMTSL
Abend-AID Report
Allocate
VSAM
CXALLVS
CXDFMAA
Sequential CXALLDS
Format
VSAM
CXFMTAA
CXDFMAA
Sequential CXFMTAA
Abend-AID for CICS Shared Directory Allocate and Format VSAM
CXALLMC
CXDCRTSD*
Abend-AID for CICS Transaction
Database
Allocate and Format VSAM
CXALLVSD
CXDCRTDB
Source Listing Shared Directory
Allocate and Format VSAM
CXALLDLP
CXDCRLSD*
Source Listing Database
Allocate and Format VSAM
CXALLVLP
CXDCRLDB
Sequential CXALLBSD
Sequential CXALLBLP
Abend-AID Shared Directory
Allocate and Format VSAM
CXALLDAA CXDCRASD*
Abend-AID Report Database
Allocate and Format VSAM
CXALLVAA
CXDCRADB
Sequential CXALLBAA
* This job contains the JCL to create a single volume shared directory and a multi-volume database.
DDIO File Considerations
To use DDIO files, you must first allocate a file and then format it. Compuware
recommends that you use the default allocation and formatting parameters provided in
the SLCXCNTL sample library members. Use the initial DDIO file for about a week to get
a representative sampling of DDIO member sizes. The DIRX report will display how much
space the DDIO members are using. You can use this information to calculate the
2-8
Compuware Shared Services User/Reference Guide
allocation specifications for your permanent files. Refer to “Allocating a DDIO File” on
page 2-10 for more information on allocating your files.
You should consider the following items before you allocate and format a DDIO file:
• How many listings do you plan to put into your DDIO file?
• What is the average size of the listings you plan to keep in this DDIO file?
• Do you plan to use VSAM or sequential DDIO files (or a mixture of both)?
• Will any of the members be automatically deleted when the file becomes full? For
more information, see “Locking Your DDIO Members” below.
Note: CSS is unable to appropriately use secondary extents when formatting DDIO files.
It is recommended that you always define DDIO files with zero secondary
extents, when pre-allocating using IDCAMS.
Sharing Source Listing Files
Source listing files can be shared among all of the Compuware products that use them
and also across multiple address spaces or CICS regions. For example, the same source
listing file can service two CICS development regions using both Abend-AID for CICS and
Xpediter/CICS and three production regions using only Abend-AID for CICS. It can also
provide source support for Abend-AID reports. Any source listing DDIO files used by
Xpediter/CICS in a CICS region must be VSAM.
Note: Xpediter/CICS (prior to release 7.6) and Xpediter/TSO (prior to release 7.3) do not
support shared source directories.
Locking Your DDIO Members
The AUTODELETE parameter of the CWDDSUTL, CWFXSDUT, CWAASDUT, CWDDLPUT,
or CWDDALLU utilities determines the action taken when an attempt is made to write a
member to a DDIO file that is full. A DDIO file is considered full when all of the groups
(EXTENTs) in the file have been allocated or the number of members specified by
REPTCOUNT has been reached.
Manual and Automatic Locking
The autodelete process is based on manual and automatic locks:
• Manual locks are created online using the L line command from any directory screen
or with the batch utility LOCK command.
• Automatic locks are created whenever a member is added to a DDIO file formatted
using the AUTODELETE=DUPS or AUTODELETE=STAGED option. The most recent of
all members with the same name is automatically locked. For source shared directory
usage this is done at the database level for the selected database unless the
AUTOLOCKMAX parameter has been set to a value of 1 or greater via the CREATE or
CHANGE functions. When AUTOLOCKMAX is set, autolocking of the most current
source members will be done at the shared-directory level (across all source listing
databases), with the specified value determining how many duplicate members will
be autolocked - regardless of which database they are on.
Members that have been manually locked retain their locks during the autodeletion
process. They may be unlocked by using the U line command online or with the
UNLOCK batch command. A DELETE command in batch, or the D line command online,
will unlock a member prior to executing the delete.
For source listings, the oldest member is the program with the earliest compile date and
time. For Abend-AID reports and transaction dump information entries, the oldest
member is the member with the earliest creation date and time. For source shared
Allocating and Formatting DDIO Files
2-9
directory usage this is reflected at the database level unless AUTOLOCKMAX is set to a
value of 1 or greater; if set, the oldest source listing members are determined at the
shared-directory level.
AUTODELETE Options
For a description of AUTODELETE, see “Command Parameters for all DDIO files” on page
8-8.
DDIO File Full Condition
A DDIO file full condition exists when new members cannot be added to a full DDIO file,
in which case an error is returned. A DDIO file full condition will occur with the
following AUTODELETE options:
YES
All members are manually or automatically locked or in use.
DUPS
All members are manually or automatically locked or in use.
STAGED
All members are manually locked or in use.
NO
The file is full.
Resolving a DDIO File Full Condition
• You can perform the following steps to resolve a file full condition:
• Manually delete members from the file.
• Manually unlock members when AUTODELETE=YES, DUPS, or STAGED.
• Allocate and format a larger file, and use the MOVE or COPY commands to transfer
the contents of the full file to the new file.
• Use the EXPORT command with the DELETE option to archive all or some members
to a sequential file (tape or disk).
Using EXPORT, space can be freed up without losing members since members can be
imported back into the file as needed. This method also avoids the overhead created
by formatting new files.
• If you are using the Source Listing Database and Shared Directory DDIO format
(required for C Language Processor, VisualAge PL/I, and Enterprise PL/I LONGNAME
support), you can set up your shared directory to perform dynamic database creation.
You must first create a DBMODEL in your shared directory to define the parameters
that will be used to create and format a new Source Listing Database dynamically.
The DYNCREATE parameter must also be set to YES. The CWPDDIO DD statement
must point to your shared directory (NOT to a specific Source Listing Database).
When the file-full condition is encountered, a new Source Listing Database will
dynamically be created and formatted and the source member created in that
database. An informational message is generated to let you know this has occurred.
• If you are using the Source Listing Database and Shared Directory DDIO format you
can run the REFRESH command (see batch utility commands) to delete older
duplicate versions of each program. The maximum number of duplicates remaining
for each program is determined by the DUPMAX value specified in the REFRESH
command. Any manually-locked members are ignored in the process and will not be
deleted. The REFRESH process looks at all source members within the shared
directory.
Note: The REFRESH command is a one-time adjustment, and must be executed on a
periodic basis to control the number of duplicates.
• If you are using the Source Listing Database and Shared Directory DDIO format you
can set the DUPMAX parameter in the shared directory via CREATE or CHANGE
2-10
Compuware Shared Services User/Reference Guide
commands. If DUPMAX is set, the value will be used to limit the versions of a
program within the source shared directory by automatically deleting older versions
as needed before adding the new version. Any manually-locked members are ignored
in the delete process (will not be deleted).
Allocating a DDIO File
This section contains the formulas for allocating a DDIO file. After you have allocated a
temporary file using the sample installation library members, use the following
information to calculate the permanent DDIO file. Refer to “Selecting a File Access
Method” on page 2-6 before allocating the file.
Step 1. Calculate the average member size in KBs.
You can calculate the average member size in KBs using the DDIO file with the default
4500 4 KB block allocation and the DIRX report. Refer to the DIRX report for the average
member size (in groups).
Use the following formula:
AVERAGE MEMBER SIZE (IN GROUPS) x GROUPCOUNT x BLOCKSIZE/1024 =
average member size in KBs
Refer to the DIRX report (shown in Figure 2-1) for the necessary information to complete
the calculation.
Figure 2-1. DIRX Report for Allocating DDIO Files
DIRX INDD=ABNLFROM
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
CX.QA.DDIO.SC.ADNO
PRD903
VSAM
4089
SOURCE
200
8
....
MEMBER SUMMARY OF CX.QA.DDIO.SC.ADNO
NO OF MEMBERS ................................
NO OF LOCKED MEMBERS .........................
NO OF UNLOCKED MEMBERS .......................
NO OF INCOMPLETE MEMBERS .....................
LARGEST MEMBER SIZE (IN GROUPS) ..............
SMALLEST MEMBER SIZE (IN GROUPS) .............
AVERAGE MEMBER SIZE (IN GROUPS) ..............
12
2
10
0
5
4
4.5
SPACE SUMMARY BASED ON AUTODELETE=STAGED
MAXIMUM ALLOCATION GROUPS ....................
AVAILABLE ALLOCATION GROUPS ..................
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
AVAILABLE NO OF DIRECTORY ENTRIES ............
896
892
200
188
ENTER UTILITY COMMAND:
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED.
Note:
The DIRX report for Abend-AID for CICS does not show the member size for
specific members. You can calculate the size of a specific member by multiplying
Allocating and Formatting DDIO Files
2-11
the number of EXTENTS by the GROUPCOUNT. Then multiply that number by
the BLOCKSIZE to determine the member size in bytes.
Step 2. Calculate the DDIO file size.
After determining the average member size in KBs, use the following formula to
determine the number of bytes required for the entire DDIO file.
average member size in KBs x estimated number of file members =
DDIO file size in KBs
Step 3. Calculate the allocation in blocks.
Next, determine the number of blocks the DDIO file will use by dividing the total
number of bytes required for the file by the block size.
file size (determined in Step 2) x 1024/BLOCKSIZE = number of blocks
Formatting a DDIO file
There are several factors that control whether a file will successfully format. These factors
are interdependent — changing the value of one will affect each of the other factors used
to format the file. The factors to consider when formatting a DDIO file are:
•
•
•
•
Total number of blocks or CIs in the file
GROUPCOUNT
REPTCOUNT
BLKSIZE or CISIZE
Note:
The sequential or VSAM file must be allocated with the correct DCB or DEFINE
CLUSTER parameters. The BLKSIZE or CISIZE parameter overrides any value
specified in the DD statement DCB parameter when the file was allocated. Refer
to SLCXCNTL installation library members CXALLDS and CXALLVS for sample
values for these parameters.
Formatting Formulas
Use the following formulas to format a DDIO file:
Step 1. Calculate the total number of blocks in the file.
The total number of blocks in the file is calculated in one of two ways depending on the
access method.
If you are formatting a sequential DDIO:
no. of blocks per track x total no. of tracks in the file =
total no. of blocks
If you are formatting a VSAM file, the number of blocks in the file is the total number of
CIs allocated in the CLUSTER. You can determine this by calculating:
CIs per track x number of tracks = total number of blocks
Step 2. Calculate the value for the GROUPCOUNT.
The minimum value for GROUPCOUNT is calculated as:
total number of blocks/32767 = GROUPCOUNT
2-12
Compuware Shared Services User/Reference Guide
You must round this number up to the next whole number.
Step 3. Calculate the minimum value for BLKSIZE or CISIZE.
The minimum value for the BLKSIZE for sequential files, or the CISIZE for VSAM files, is
determined by:
68 + (2 x REPTCOUNT) + (total no. of blocks/(8 x GROUPCOUNT)) =
min. BLKSIZE or CISIZE
To determine the minimum blocksize for a transaction database, Abend-AID report file,
or Source Listing file, add 100 bytes to the final calculation.
The REPTCOUNT and GROUPCOUNT are the values specified when the file is formatted,
and BLOCKS is the total number of physical blocks (CIs) in the file.
If you are formatting a sequential file, you should round up to the next best blocking
factor for your DASD device type.
If you are formatting a VSAM file, round up the value from the formula to the next 2K
multiple since VSAM files are allocated in multiples of 2K. The number of VSAM
CIs/track depends on the CISIZE and the type of DASD being used. Refer to Table 2-3 for
the amount of VSAM space allocated per track by CISIZE.
Table 2-3.
CISIZE
1
Amount of VSAM Space Allocated per Track by CISIZE
Space Allocated per Track
3380 DASD
3390 DASD
4K
40K
48K
6K
42K1
48K
8K
40K
48K
10K
40K
50K
12K
36K
48K
14K
42K1
49K
16K
32K
48K
18K
36K
54K
20K
40K
50K
22K
44K
1
24K
44K
49.5K
48K
26K
52K
28K
49K
30K
50K
32K
48K
For 3380 DASD, these CISIZEs provide good space usage.
Understanding DDIO File Limitations
There are some limitations on the physical structure of the DDIO file that may affect how
you format the DDIO file. These limitations include the following:
• The number of allocation groups cannot exceed 32767. Allocation groups refers to
the number of groups available in which a report can be stored. If you exceed 32767
allocation groups, you will receive the message:
Allocating and Formatting DDIO Files
2-13
NUMBER OF ALLOCATION GROUPS MUST NOT EXCEED 32767
You can avoid this condition by ensuring that the GROUPCOUNT value is large
enough.
• The BLKSIZE or CISIZE must be large enough to contain all the pointers to the
directory entries defined for the file. The number of directory entries is set by the
REPTCOUNT parameter. The size of each directory entry varies based on the
EXTENTS and GROUPCOUNT parameters. If you need to increase the BLKSIZE, you
will receive the following message:
BLOCKSIZE TOO SMALL FOR HEADER RECORD
You can avoid this condition by ensuring that the BLOCKSIZE or CISIZE value is large
enough.
Allocating and Formatting Example
This section shows an example of allocating and formatting a source listing file but can
be used for any type of DDIO file. A source listing file was previously allocated based on
the SLCXCNTL installation library member CXALLVS and formatted using CXFMTSL. We
have stored listings in it for a week to determine how much space the files are using.
Allocating the VSAM Cluster
This DDIO file will be used with Xpediter/CICS, so the access method that we must
specify is VSAM (on a 3390 DASD). Use the following steps to allocate the VSAM cluster.
Step 1. Determine the average DDIO file member size.
To determine the average size of each listing, run a DIRX report on the sample temporary
file (the file used with the sample JCL from the installation library). For this example, the
average size of each listing is 240K.
Step 2. Calculate the DDIO file size.
In this example, the file size was determined by assuming that there would be 1000
source listing members.
1000 members x 240K average listing size = 240000K
Step 3. Calculate the allocation in blocks.
For this example, a CISIZE of 6K was assumed.
240000K/48K = 5000 number of tracks required
Next, determine the number of cylinders to allocate.
5000/15 = 334 cylinders to allocate
One more cylinder will be added to make it an even multiple of 5 and to allow some
space for the DDIO file directory.
Formatting the File
We can now format the DDIO file, using the following formulas.
2-14
Compuware Shared Services User/Reference Guide
Step 1. Calculate the total number of blocks in the file.
Determine the number of tracks:
335 cylinders x 15 tracks per cylinder = 5025 tracks
Next, determine the total number of blocks in the file:
8 CIs per track x 5025 tracks = 40200 total blocks in the file
Step 2. Calculate the value for the GROUPCOUNT.
40200/32767 = 1.23 (round up) minimum GROUPCOUNT is 2
Step 3. Calculate the minimum value for CISIZE.
68 + (2 x 1000) + (40200/(8 x 2)) = 4580.5 minimum BLKSIZE/CISIZE
Formatting Specifications
Format the file with the following FORMAT parameters:
FORMAT TYPE=SOURCE,AD=STAGED,EXTENTS=460,RC=1000,GC=2
The parameters used in the example specify the following:
AD=STAGED
Because this DDIO file will store development source listings, we used
AUTODELETE=STAGED. When a new member is added to the DDIO file, all
automatically locked members with the same name are unlocked — except the
member with the most recent compile date and time. If the file is full, the oldest
unlocked member not in use is chosen for autodeletion.
For more information on locking DDIO members, see “Locking Your DDIO Members” on
page 2-8. For a description of the AUTODELETE parameter, see “Command Parameters for
all DDIO files” on page 8-8.
EXTENTS=460
The smallest member (1 EXTENT) will use 12K bytes:
1 x 2 x 6K bytes = 12K bytes
The largest member that can be stored is 5520K bytes:
460 x 2 x 6K = 5520K bytes
There are approximately 20000 available 2-block EXTENTS on the file.
This number is calculated using the following formula (round calculation down):
total # of blocks in file - (# of directory blocks + 2)/GROUPCOUNT
Note:
You won’t know the exact number of directory blocks until the file is
formatted and you run a DIRX report. You can also read the exact number of
allocated groups directly from the DIRX report.
RC=1000
This file can contain 1000 unique programs (REPTCOUNT) that use an average of 20
EXTENTS each.
20000 EXTENTS/1000 programs = 20 EXTENTS = 240K bytes
Allocating and Formatting DDIO Files
2-15
This file can store 43 programs that are 5520K bytes long (460 x 2 x 6K) with 220
EXTENTS remaining:
20000/460 = 43.5 (round down) and 20000 - (460 x 43) = 220 remaining
Note:
This file can store any intermediate combination of the above.
Tuning Your DDIO File
How you format your file depends on how you plan to use it. You can use the same file
allocation with different combinations of FORMAT and BLKSIZE/CISIZE parameters and
come up with different capacities. Performing these calculations, using several different
combinations of GROUPCOUNT and BLKSIZE/CISIZE, will help you determine the best
values to use for formatting a DDIO file that meets your needs.
The Compuware DDIO Calculator is a tool that can be used to calculate your allocation
and formatting of DDIO files (source and report) and databases (source, report and
transaction). Although an existing file is not required to use this tool, it is highly
recommended for use as a model to fine tune. Otherwise, calculating file size and
determining optimal formatting parameters will result in trial and error.
Note:
It is not used for shared directory allocation or tuning.
The DDIO Calculator is available as a menu selection on the CSS Utilities main menu (see
Figure 3-1 on page 3-2); as a panel option on the CSS Utilities Source Listing File Facility
screen (Figure 3-14 on page 3-20) and the Abend-AID Report File Facility screen (Figure 353 on page 3-49); or, optionally, as a TSO REXX command “DDIOCALC”, found in the
CSS-supplied SLCXEXEC library. The DDIO Calculator usage is described further in
“Compuware DDIO Calculator — DDIOCALC” on page 3-75.
Tuning the Sample File
If the largest program that will ever be compiled will fit into a 5520K byte DDIO file
member, the values in the preceding example will work fine. If you have larger programs,
you need to increase the GROUPCOUNT. Suppose GROUPCOUNT=3 is used with
CISIZE=6K. Calculate the following values.
• The minimum BLKSIZE/CISIZE is 3743.
68 + (2 x 1000) + (40200/(8 x 3)) = 3743
• The smallest member uses 18K bytes (1 x 3 x 6K). The largest member that can be
stored is 8280K bytes (460 x 3 x 6K).
• There are approximately 13350 available 3-block EXTENTS on the file.
• This file can contain 1000 unique programs with an average of 13.3 EXTENTS
(239.4K)
• This file can store 29 programs that are 8280K bytes long with 10 extents remaining.
Decreasing CISIZE
Let us see if this sample DDIO file can be decreased to a 4K size with a GROUPCOUNT of
4:
68 + (2 x 1000) + (60300 / (8 x 4)) = 3952.38
So, if the following parameters are used:
FORMAT TYPE=SOURCE,RC=1000,GC=4,EXTENTS=460,AD=STAGED
2-16
Compuware Shared Services User/Reference Guide
the file has the following characteristics:
• The smallest member uses 16K bytes (1 x 4 x 4K bytes); the largest member that can
be stored is 7360K bytes (460 x 4 x 4K).
• There are approximately 15000 available 4-block EXTENTS on the file.
• This file can contain 1000 unique programs with an average of 15 EXTENTS (240K).
• This file can store 32 programs that are 7360K bytes long with 280 EXTENTS
remaining.
Refer to Table 2-4 for a comparison of the values used to format a file.
Table 2-4.
DDIO File Size Comparison
Format Values
Total
Blocks in
File
Smallest/
Largest
Member
Available
Extents on File
Number of
Programs/
Average Extents
Min
BLKSIZE/CISIZE
GC=2, CISIZE=6K
40200
12K/5520K 20000 2-block
1000/20 extents
4580.5
GC=3, CISIZE=6K
40200
18K/8280K 13350 3-block
1000/13.3 extents
3743
GC=4, CISIZE=4K
60300
16K/7360K 15000 4-block
1000/15 extents
3952.38
You may find that even though you have allocated enough space to hold all of the
members you want for a specified time period, they are being deleted too soon. Print a
DIRX report to determine if all of the space you have allocated is used. If not, you may
have reached the limit specified by the REPTCOUNT parameter when you formatted your
file. When this limit is reached, the autodelete process will be initiated when adding the
next member — regardless of how full the file is. If the file is not full, check the
REPTCOUNT in the DIRX and the total number of members in the file.
Reducing the Size of DDIO Source Listing Members
Language processor options exist to reduce the amount of DASD used by each source
listing. You can use the following language processor commands and parameters to
minimize space usage:
DDIO(OUTPUT(NOXREF,NOLIST,NODMAP,NOFIND,COMPRESS))
COBOL(OUTPUT(PRINT,DDIO))
PROCESSOR(OUTPUT(NOPRINT,NODDIO))
Note:
For Xpediter/TSO users, the FIND command is recommended instead of the
NOFIND command. Xpediter/TSO requires DDIO(OUTPUT(FIND)) in order to use
the enhanced FIND feature.
When these parameters are specified, the Cross Reference and LIST (or PMAP)
information from the listing is not stored in the DDIO file. The product’s performance at
execution time is not compromised.
The DDIO parameter offers significant space reduction potential. Including the NOXREF
and NOLIST options with this parameter can reduce DASD usage by 30 - 60 percent.
Migrating from a Source Listing File or Report File to a
Shared Directory and Database Format
What are shared directories and databases and why would we want to migrate to them?
A shared directory is a specialized VSAM RRDS file used by CSS to manage a POOL of
"like" databases and to provide LONGNAME support for source listings. Multiple
databases can be attached to a single shared directory. All products that utilize source
Allocating and Formatting DDIO Files
2-17
support can use source listing databases. Abend-AID for MVS can use report databases.
Standard source listing DDIO files can be converted into a source database format.
Standard report DDIO files can be converted into a report database format.
There are benefits to migrating to the new shared directory structure:
• Source members can be easily accessed in the online CSS Utilities panels, Xpediter,
and the Viewing Facility for Abend-AID by referencing only the source shared
directory. Users will no longer be required to remember their entire eligible source
listing files and reference each of them individually.
• Report members can easily be accessed in the online CSS Utilities panels, and the
Viewing Facility for Abend-AID by referencing only the report shared directory.
Users will no longer be required to remember their entire eligible report files and
reference each of them individually.
• Databases can be created and attached to the shared directory whenever additional
file space is required. When processing source listings against the source shared
directory, compile procs will no longer need to be updated to take advantage of the
additional space made available by the new database attached.
• Users may control the number of locked members for a given program to retain
and/or control the number of duplicate entries across a shared directory.
• Source listing and report files are limited to 4gig for VSAM. With shared directories,
additional databases can be attached to allow for a larger repository capacity.
Is migration required?
The shared directory and database format is recommended, but not required. The old
source listing file and report file formats are still supported.
Note: Abend-AID for MVS requires both report shared directory and database, as well as
a source shared directory and database, to be created during the installation
process. However, existing source listing and report files can still be accessed via
the online Viewing Facility and the online CSS utilities.
Migration Steps
In order to migrate to the new file structures, a shared directory and optionally a
database must be created - one shared directory (and optional database) for source and
one shared directory (and optional database) for report. You will need to create the
shared directory first, as the file name is a required parameter used to create and attach
the database.
Create a new Source Shared Directory.
The creation of a source shared directory may be accomplished in one of two ways:
1. Executing the CREATE command using batch utility CWDDALLU or CWDDLPUT.
2. Creating the file using online CSS panels.
Note:
Since a shared directory is a collection of “key” member and database
information, it does not need to be as large as the databases, which contain the
actual source listing or report information. To assist with determining file size,
you may specify the "Number of Members" when using the online panels, or
specify the parameter "DIRENTS=" using the batch CREATE command. Both will
determine the appropriate number of blocks to allocate during file creation and
should reflect an estimate of the expected total number of members across all
databases that will be attached to the shared directory.
2-18
Compuware Shared Services User/Reference Guide
Source Database.
Migrating from a source listing file to source database can be accomplished in one of two
ways:
1. Conversion of the existing source listing file to a source database.
Execute the CONVERT command using the batch utility CWDDALLU or CWDDLPUT,
specifying the selected shared directory name as the DIRDSN/DIRDD parameter, and
specifying the existing source listing file name as the DDNAME/DSN parameter.
The conversion process slightly modifies the existing source listing file, then performs
the ATTACH process - which builds the member directory information in t he specified
shared directory.
Note:
This involves UPDATE access to both files.
2. Create a new source database first, then do EXPORT/IMPORT of members from the
source listing file to the source database.
a. Execute the CREATE command using the batch utility CWDDALLU or
CWDDLPUT, or the CSS Online Utilities Source panels to create a new source
database.
b. Execute the EXPORT command using batch utility CWDDALLU or CWDDSUTL,
or the CSS Online Utilities Source panels, specifying the existing source listing
file as input.
c. Execute the IMPORT command using the batch utility CWDDALLU or
CWDDLPUT, or the CSS Online Utilities Source panels, specifying the desired
source shared directory or source database, following these guidelines:
1. New members are to be imported into a specific source database:
• If there is only one source database attached to the shared directory you can
specify the shared directory OR the database name as the "TO" file.
• If more than one source database is attached to the shared directory you
MUST specify the database name as the "TO" file.
2. New members may be imported into any attached source database within the
shared directory:
• Specify the shared directory name as the "TO" file and the members will be
added to the attached databases based on available space.
Create a new Report Shared Directory.
The creation of a report shared directory may be accomplished in one of two ways:
1. Executing the CREATE command using batch utility CWDDALLU or CWAASDUT.
2. Creating the file using online CSS panels.
Note:
Since a shared directory is a collection of "key" member and database
information, it does not need to be as large as the report databases, which
contain the actual report information. To assist with determining file size, you
may specify the "Number of Members" when using the online panels, or specify
the parameter "DIRENTS=" using the batch CREATE command. Both will
determine the appropriate number of blocks to allocate during file creation and
should reflect an estimate of the expected total member of members across all
databases that will be attached to the shared directory.
Report Database
Migrating from a report file to report database can be accomplished in one of two ways:
1. Conversion of the existing report file to a report database.
Allocating and Formatting DDIO Files
2-19
Execute the CONVERT command using the batch utility CWDDALLU or CWAASDUT,
specifying the selected shared directory name as the DIRDSN/DIRDD parameter, and
specifying the existing report file name as the DDNAME/DSN parameter. The
conversion process slightly modifies the existing report file, then performs the
ATTACH process - which builds the member directory information in t he specified
shared directory.
Note:
This involves UPDATE access to both files.
2. Create a new report database first, then do EXPORT/IMPORT of members from the
report file to the report database.
a. Execute the CREATE command using the batch utility CWDDALLU or
CWAASDUT, or the CSS Online Utilities Report panels to create a new report
database.
b. Execute the EXPORT command using batch utility CWDDALLU or CWDDSUTL,
or the CSS Online Utilities Report panels, specifying the existing report file as
input.
c. Execute the IMPORT command using the batch utility CWDDALLU or
CWAASDUT, or the CSS Online Utilities Report panels, specifying the desired
report shared directory or report database, following these guidelines:
1. New members are to be imported into a specific report database:
• If there is only one report database attached to the shared directory you can
specify the shared directory OR the database name as the "TO" file.
• If more than one report database is attached to the shared directory you
MUST specify the database name as the "TO" file.
2. New members may be imported into any attached report database within the
shared directory:
• Specify the shared directory name as the "TO" file and the members will be
added to the attached databases based on a "round robin" approach. In the
round robin process, various algorithms are used to select a database to
spread the load across all the available databases.
Considerations
You should consider the following items before you migrate to shared directories and
databases:
• Source shared directories and source databases can be shared by all Compuware
products that use CSS source files.
• Plan your file naming conventions before starting. These are VSAM files and
although they can be renamed, it is not a simple process. A link is made between the
shared directory and the attached databases. Renaming the database or the shared
directory breaks the connection. You will first need to Detach the database(s),
rename the database or shared directory, then Attach the database(s).
• Source listing files and report files that have been converted using the CONVERT
command can be UNCONVERTed. Members of a database that may have originally
been imported from an exported source listing file or report file cannot be exported
from a database and imported back to a source listing or report file format.
• Before converting an existing source listing file or report file, consider the existing
file attributes such as the AutoDelete setting, file size and blocking factor. For space
efficiency and DASD performance, Compuware recommends the following file
settings:
– CISIZE 18432, BLKSIZE 18425 (third track blocking)
– GroupCount that is a multiple of 3
– EXTENTS=460
2-20
Compuware Shared Services User/Reference Guide
If you have determined that changes are required, use EXPORT/IMPORT rather than
CONVERT.
• Compuware recommends a minimum of 2 or more databases. A single database
contradicts the benefits of using shared directories.
• Source shared directory only: You may plan ahead for additional space requirements
by setting up a database model when the shared directory is created. DBMODEL will
be invoked when a file full condition is met for the attached databases. Using
predefined file attributes, a new source database will be created and attached to the
source shared directory dynamically.
• You may pre or post process all source listings directly against the shared directory or
any of the attached databases. All databases may be eligible when processing against
the shared directory.
• Source database eligibility when pre or post processing source listings follows the
"best fit" approach. All attached source databases are examined to verify which has
the most free space. When no free space is available, we check for potential space
that may be acquired through autodeletion.
• Report database eligibility during dump capture follows the "round robin" approach.
In the round robin process, various algorithms are used to select a database to spread
the load across all the available databases. All attached report databases are examined
to see which one has the oldest "update" timestamp. When space is not available,
space may be acquired through autodeletion.
• Compuware does not set a limit on the number of databases that can be attached to a
shared directory. However this architecture was not intended to create separate
databases for every program. Creating numerous databases may impact performance
when performing many of the CSS utility functions.
Using the DIRX Report
This section provides examples of the DIRX report format with descriptions of each of
the fields on the report. The following samples are provided:
•
•
•
•
•
•
Source Listing File (Figure 2-2 on page 2-21)
Abend-AID Report File (Figure 2-4 on page 2-27)
Transaction Database (Figure 2-8 on page 2-34)
Shared Directory Report (Figure 2-10 on page 2-38)
Source Listing Database Report (Figure 2-18 on page 2-48)
Source Listing Shared Directory Report (Figure 2-20 on page 2-55)
Source Listing File DIRX Report
A sample DIRX report for a source listing file is shown in Figure 2-2 on page 2-21.
PROGRAM
LIST NUMBER
COBABEND (L)
5
Compuware Shared Services User/Reference Guide
ENTER UTILITY COMMAND:
DIRX DSN=CX.DOC.CLASSIC.SOURCE
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED BY DDIO RELEASE.
REQUIRES MINIMUM DDIO RELEASE .
CURRENT REPORT NUMBER .........
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
2-21
Figure 2-2. Sample DIRX Report for a Source Listing File (Part 1 of 2)
CX.DOC.CLASSIC.SOURCE
PRD912
VSAM
18425
SOURCE
50
3
DUPS
NON-EXTENDED
460
90
28
7(25%)
9.0.0
5.1.0
6
18
3
EXTENDED
COMP DATE
TIME
RC LANGUAGE SIZE(K)
12 AUG 2014 14.25.22 00 OSVSCOB
54
GROUPS
7
TOTAL GROUPS 1
PL1000
(L)
3
06 SEP 2013 13:50:48 00 PL1EN V4R3
54
4
TOTAL GROUPS 1
COBDEMO1 (L)
2
12 NOV 2012 11:31:00 04 COB/Z V4R2
108
2
3
TOTAL GROUPS 2
CWAADATE (L)
1
01 AUG 2012 14:36:46 00 COB/Z V3R2
54
1
TOTAL GROUPS 2
ASMTEST
(L)
4
05 SEP 2006 14.11
00 HLASM R5
108
5
6
TOTAL GROUPS 2
NO OF MEMBERS.................................
NO OF LOCKED MEMBERS..........................
NO OF MANUALLY LOCKED MEMBERS.................
NO OF UNLOCKED MEMBERS........................
NO OF INCOMPLETE MEMBERS......................
LARGEST MEMBER SIZE (IN GROUPS)...............
SMALLEST MEMBER SIZE (IN GROUPS)..............
AVERAGE MEMBER SIZE (IN GROUPS)...............
5
5
0
0
0
2
1
1.4
SPACE SUMMARY BASED ON AUTODELETE=DUPS
MAXIMUM ALLOCATION GROUPS.....................
AVAILABLE ALLOCATION GROUPS...................
UNUSED......................................
BELONGING TO UNLOCKED MEMBERS...............
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT)...
28
21(75%)
21(75%)
0(0%)
0
50
ENTER UTILITY COMMAND:
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
Compuware Shared Services User/Reference Guide
MEMBER SUMMARY OF CX.DOC.CLASSIC.SOURCE
2-22
Figure 2-3. Sample DIRX Report for a Source Listing File (Part 2 of 2)
Allocating and Formatting DDIO Files
2-23
Source Listing File DIRX Report Fields
The following is a description of the Source Listing File DIRX Report fields.
ENTER UTILITY COMMAND: CWDDSUTL or CWDDALLU prompt.
DIRX INDD=ABNLFROM: The CWDDSUTL or CWDDALLU command used for this job.
DSN: The dataset name of the source listing file.
VOLSER: The volume serial number of the source listing file.
AM(ACCESS METHOD): This file’s access method — either VSAM or BSAM (sequential).
BLKSIZE: For sequential files, this is the value of the FORMAT command’s BLKSIZE
parameter that was set when the file was formatted. For VSAM files, this is the value
specified on the RECORDSIZE parameter when the cluster was defined. This value must
be seven bytes less than the CISIZE specified when the cluster was defined.
TYPE: Indicates the type of DDIO file. In this case the file is a source database.
REPTCOUNT: The maximum number of members (source listings) that the source listing
file can contain. This value was specified when the file was formatted.
GROUPCOUNT: The number of blocks of data that can be contained in each group
(extent). This value was specified when the file was formatted.
AUTODELETE: The AUTODELETE option that was specified when the file was formatted.
INDEX: Indicates whether the file was formatted to allow indexes to occupy more than
one block. This field is useful only for Abend-AID report files. NON-EXTENDED or
EXTENDED may appear in this field.
EXTENTS: The largest number of groups (extents) that can be used by a single member.
Other Information
This section of the report lists additional characteristics about the file.
BLOCKS IN FILE: The number of blocks allocated for the file.
ALLOCATION GROUPS: The number of groups available in which a report can be stored.
This number is derived by subtracting the number of blocks required by the directory and
header record from the total number of blocks in the file and then dividing the result by
the GROUPCOUNT value.
USED ALLOCATION GROUPS: The number and percentage of allocation groups that
contain data.
FILE FORMATTED WITH RELEASE: The release level of CWDDSUTL or CWDDALLU
that was used to format the file.
REQUIRED MINIMUM RELEASE: The minimum release level of CWDDSUTL or
CWDDALLU that can be used to manage the file.
CURRENT REPORT NUMBER: The number that will be assigned to the next listing
written to the file. Report numbers are assigned sequentially.
DIRECTORY ENTRIES/BLOCK: The number of directory entries that will fit per block on
the file. This number is dependent on the EXTENTS and BLKSIZE values. As the number
of EXTENTS increases, the number of directory entries per block decreases (provided the
BLKSIZE does not change).
DIRECTORY BLOCKS: A value derived by dividing the REPTCOUNT used to format the
file by the number of directory entries per block.
2-24
Compuware Shared Services User/Reference Guide
FILE FORMAT: Indicates whether additional bytes are in the directory.
Column Headings
The header line for the body of the DIRX report includes the following columns:
PROGRAM: The name of the program. If followed by (L), the member is automatically
locked. If followed by (M), the member is manually locked.
LIST NUMBER: The number assigned to this member when it was created.
COMP DATE: The date the program was compiled.
TIME: The time of day the program was compiled.
RC: The return code from the step that created the member.
LANGUAGE: The program language compiler and version. The following codes can be
found in the LANGUAGE column:
ASMF
Assembler F
ASMH
Assembler H
HLASM
High Level Assembler 1.1
HLASM R2
High Level Assembler 1.2
HLASM R3
High Level Assembler 1.3
HLASM R4
High Level Assembler 1.4
HLASM R5
High Level Assembler 1.5
HLASM R6
High Level Assembler 1.6
OSVSCOB
OS/VS COBOL
OSVSCOBOPT
OS/VS COBOL/CA-Optimizer
C/ESA V3R2
“C” for ESA V3R2
C/390 V1R2
OS/390 “C” V1R2
C/390 V1R3
OS/390 “C” V1R3
C/390 V2R4
OS/390 “C” V2R4
C/390 V2R5
OS/390 “C” V2R5
C/390 V2R6
OS/390 “C” V2R6
C/390 V2R9
OS/390 “C” V2R9
C/390 V2RA
OS/390 “C” V2R10
C/ZOS V1R2
Z/OS “C” V1R2
C/ZOS V3R4
Z/OS “C” V3R4
C/ZOS V1R5
Z/OS “C” V1R5
C/ZOS V1R6
Z/OS “C” V1R6
C/ZOS V1R7
Z/OS “C” V1R7
C/ZOS V1R8
Z/OS “C” V1R8
C/ZOS V1R9
Z/OS “C” V1R9
C/ZOS V1R10
Z/OS “C” V1R10
COBIIR2
VS COBOL II Release 2
COBIIR2OPT
VS COBOL II Release 2/CA-Optimizer II
COBIIR3
VS COBOL II Release 3
COBIIR3OPT
VS COBOL II Release 3/CA-Optimizer II
COBIIR4
VS COBOL II Release 4
Allocating and Formatting DDIO Files
2-25
COBIIR4 JA
VS COBOL II Release 4 with Japanese Language Support
COBIIR4OPT
VS COBOL II Release 4/CA-Optimizer II
COBII JA
VS COBOL II with Japanese Language Support
COBOL/370
IBM SAA AD/Cycle COBOL/370
COBOL/370 JA
IBM SAA AD/Cycle COBOL/370 with Japanese Language Support
COBOL/370OPT
IBM SAA AD/Cycle COBOL/370/CA-Optimizer II
COBOL/390
COBOL for OS/390 and VM
COBOL/390M
COBOL for OS/390 and VM with MLE (Millennium Language
Extensions)
COBOL/MVSM
COBOL for MVS and VM with MLE
COB/370JA
COBOL/370 Japanese Language Support
COB/390OPM
COBOL/390 MLE CA-Optimizer
COB/390OPT
COBOL/390 CA-Optimizer
COB/MVS
COBOL for MVS and VM
COB/MVS JA
COBOL for MVS and VM with Japanese Language Support
COB/MVSOPM
COBOL/MVS MLE CA-Optimizer
COB/MVSOPT
COBOL/MVS CA-Optimizer
COBOL Z/OS
Enterprise COBOL for z/OS and OS/390 Release 3.1
COBOL Z/OSJA
Enterprise COBOL for z/OS and OS/390 Release 3.1, 3.2, 3.3, and
3.4 with Japanese language support.
COB/Z V3R2
Enterprise COBOL for z/OS and OS/390 Release 3.2
COB/Z V3R3
Enterprise COBOL for z/OS and OS/390 Release 3.3
COB/Z V3R4
Enterprise COBOL for z/OS and OS/390 Release 3.4
COB/Z V4R1
Enterprise COBOL for z/OS and OS/390 Release 4.1
COB/Z V4R2
Enterprise COBOL for z/OS and OS/390 Release 4.2
COB/Z V5R1
Enterprise COBOL for z/OS and OS/390 Release 5.1
PL/I V1R5
PL/I V1
PL/I V2
PL/I V2
PL/I AD V1
PL/I for MVS and VM
PL1VA V2R2
PL/I VisualAge V2R2
PL1EN V3R1
Enterprise PL/I for z/OS Release 3.1
PL1EN V3R2
Enterprise PL/I for z/OS Release 3.2
PL1EN V3R3
Enterprise PL/I for z/OS Release 3.3
PL1EN V3R4
Enterprise PL/I for z/OS Release 3.4
PL1EN V3R5
Enterprise PL/I for z/OS Release 3.5
PL1EN V3R6
Enterprise PL/I for z/OS Release 3.6
PL1EN V3R7
Enterprise PL/I for z/OS Release 3.7
PL1EN V3R8
Enterprise PL/I for z/OS Release 3.8
PL1EN V3R9
Enterprise PL/I for z/OS Release 3.9
PL1EN V4R1
Enterprise PL/I for z/OS Release 4.1
PL1EN V4R2
Enterprise PL/I for z/OS Release 4.2
PL1EN V4R3
Enterprise PL/I for z/OS Release 4.3
BYTES: The number of bytes this member occupies on the source file.
2-26
Compuware Shared Services User/Reference Guide
GROUPS: The allocation group numbers occupied by the source listing. For example,
source listing number 183 for program FEA02A1 occupies group numbers 45, 46, 47, 48,
and 49.
TOTAL GROUPS: The total number of allocation groups occupied by the source listing.
Member Summary
The following information appears at the end of the report.
NO OF MEMBERS: The total number of members in the source listing file.
NO OF LOCKED MEMBERS: The total number of locked members in the source listing
file.
NO OF UNLOCKED MEMBERS: The total number of unlocked members in the source
listing file.
NO OF INCOMPLETE MEMBERS: The total number of members in the source listing file
that are missing data and therefore cannot be viewed. Incomplete members can result
when a file full condition exists while the member is being written to the file or when
certain system failures occur.
LARGEST MEMBER SIZE (IN GROUPS): The size of the largest member in the source
listing file, expressed in groups.
SMALLEST MEMBER SIZE (IN GROUPS): The size of the smallest member in the source
listing file, expressed in groups.
AVERAGE MEMBER SIZE (IN GROUPS): The size of the average member in the source
listing file, expressed in groups.
Space Summary Based on AUTODELETE
The following fields describe the characteristics of the source listing file using the
specified AUTODELETE option.
MAXIMUM ALLOCATION GROUPS: The number of allocation groups that can exist in
the source listing file.
AVAILABLE ALLOCATION GROUPS: The number of allocation groups occupied by
unlocked members plus the number of unused allocation groups, and the percentage of
available groups.
If AUTODELETE is YES, DUPS or STAGED this will be shown:
UNUSED: The number of unused allocation groups and its percentage.
BELONGING TO UNLOCKED MEMBERS: The number of allocation groups belonging to
unlocked members and its percentage.
If AUTODELETE = NO this will be shown:
AUTODELETE OFF; USUSED ONLY ARE AVAILABLE
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT): The maximum number of
members (source listings) the source listing file can contain.
AVAILABLE NO OF DIRECTORY ENTRIES: The difference between the maximum
number of members the file can contain and the number of locked members (manually
locked when AUTODELETE=STAGED).
Abend-AID Report File DIRX Report
A sample Abend-AID Report File DIRX Report for a report DDIO file is shown in Figure 24 on page 2-27. A sample Abend-AID Report File DIRX Report for a report database file is
shown in Figure 2-6 on page 2-29. Ellipses indicate omitted portions.
JOBNAME
AA123B01
Compuware Shared Services User/Reference Guide
ENTER UTILITY COMMAND:
DIRX INDD=ABNLFROM
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED BY DDIO RELEASE.
REQUIRES MINIMUM DDIO RELEASE .
CURRENT REPORT NUMBER .........
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
2-27
Figure 2-4. Sample DIRX Report for an Abend-AID Report File (Part 1 of 2)
CX.DOC.CLASSIC.REPORT
PRD934
VSAM
18425
Abend-AID
50
3
YES
EXTENDED
460
90
28
7(25%)
9.0.0
5.6.0
4
18
3
EXTENDED
REPT NUMBER JESID
CODE
3 J405686 S0CB
DATE
TIME OF DAY
11 SEP 2014 11.12.56.4
DESC
NOMIR
SIZE(K) EXTENTS
108
6
7
TOTAL GROUPS 2
AA123P05
2 J405660 S0C9
11 SEP 2014 11.11.54.1
NOMIR
162
3
4
5
TOTAL GROUPS 3
AA102BW2 (M)
1 J356409 S0C9
12 FEB 2008 13.36.12.9
NOMIR
108
1
2
TOTAL GROUPS 2
NO OF MEMBERS.................................
NO OF LOCKED MEMBERS..........................
NO OF MANUALLY LOCKED MEMBERS.................
NO OF UNLOCKED MEMBERS........................
NO OF INCOMPLETE MEMBERS......................
LARGEST MEMBER SIZE (IN GROUPS)...............
SMALLEST MEMBER SIZE (IN GROUPS)..............
AVERAGE MEMBER SIZE (IN GROUPS)...............
3
1
1
2
0
3
2
2.3
SPACE SUMMARY BASED ON AUTODELETE=YES
MAXIMUM ALLOCATION GROUPS.....................
AVAILABLE ALLOCATION GROUPS...................
UNUSED......................................
BELONGING TO UNLOCKED MEMBERS...............
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT)...
AVAILABLE NO OF DIRECTORY ENTRIES.............
28
26(93%)
21(75%)
5(18%)
2
50
49
ENTER UTILITY COMMAND:
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
Compuware Shared Services User/Reference Guide
MEMBER SUMMARY OF CX.DOC.CLASSIC.REPORT
2-28
Figure 2-5. Sample DIRX Report for an Abend-AID Report File (Part 2 of 2)
Figure 2-6. Sample Portion of DIRX Report for an Abend-AID Database (Part 1 of 2)
DATABASE IS CONNECTED
CATALOG DSN: CX.DOC.AA.SHRDIR
VOLSER: PRD934
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED BY DDIO RELEASE.
REQUIRES MINIMUM DDIO RELEASE .
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
CX.DOC.AA.SHRDIR.DB1
PRD930
VSAM
18425
Abend-AID DATABASE
50
3
YES
EXTENDED
460
90
28
18(64%)
9.0.0
7.0.0
18
3
EXTENDED
DATE
TIME OF DAY
12 JUN 2012 12.38.01.1
DESC
SIZE(K) EXTENTS
COBPGM51
378
4
AA122INS (M)
6 J240886 S0C7
22 MAR 2012
9.10.01.4
MFAAM-4527
432
11
AAAAAA09
1 J003963 O0098
04 SEP 2008 13.55.22.7
DESC_AREA1
54
1
5
6
7
8
9
10
TOTAL GROUPS 7
12
13
14
15
16
17
TOTAL GROUPS 8
TOTAL GROUPS 1
AA102BW2 (M)
3 J356409 S0C9
12 FEB 2008 13.36.12.9
NOMIR
108
2
3
TOTAL GROUPS 2
Allocating and Formatting DDIO Files
JOBNAME
REPT NUMBER JESID
CODE
AA1202B8 (M)
4 J499775 S0C9
2-29
NO OF MEMBERS.................................
NO OF LOCKED MEMBERS..........................
NO OF MANUALLY LOCKED MEMBERS.................
NO OF UNLOCKED MEMBERS........................
NO OF INCOMPLETE MEMBERS......................
LARGEST MEMBER SIZE (IN GROUPS)...............
SMALLEST MEMBER SIZE (IN GROUPS)..............
AVERAGE MEMBER SIZE (IN GROUPS)...............
4
3
3
1
0
8
1
4.5
SPACE SUMMARY BASED ON AUTODELETE=YES
MAXIMUM ALLOCATION GROUPS.....................
AVAILABLE ALLOCATION GROUPS...................
UNUSED......................................
BELONGING TO UNLOCKED MEMBERS...............
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT)...
AVAILABLE NO OF DIRECTORY ENTRIES.............
28
11(40%)
10(36%)
1(4%)
17
50
47
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
Compuware Shared Services User/Reference Guide
MEMBER SUMMARY OF CX.DOC.AA.SHRDIR.DB1
2-30
Figure 2-7. Sample Portion of DIRX Report for an Abend-AID Database (Part 2 of 2)
Allocating and Formatting DDIO Files
2-31
Abend-AID Report File DIRX Report Fields
The following is a description of the Abend-AID Report File DIRX Report fields.
ENTER UTILITY COMMAND: CWDDSUTL or CWDDALLU prompt.
DIRX INDD=ABNLFROM: The CWDDSUTL or CWDDALLUL command used for this job.
DSN: The dataset name of the report file.
VOLSER: The volume serial number of the report file.
AM(ACCESS METHOD): The file’s access method— either VSAM or BSAM (sequential).
BLKSIZE: For sequential files, this is the value of the FORMAT command’s BLKSIZE
parameter that was set when the file was formatted. For VSAM files, this is the value
specified on the RECORDSIZE parameter when the cluster was defined. This value must
be seven bytes less than the CISIZE specified when the cluster was defined.
TYPE: Indicates the type of DDIO file. In this instance, the report file was formatted for
Abend-AID DATABASE.
REPTCOUNT: The maximum number of members (diagnostic reports) that the report file
can contain, this value was specified when the file was formatted.
GROUPCOUNT: The number of blocks of data that can be contained in each group
(extent). This value was specified when the file was formatted.
AUTODELETE: The AUTODELETE option that was specified when the file was formatted.
INDEX: Indicates whether the file was formatted to allow indexes to occupy more than
one block with INDEX=EXTENDED. This field is useful only for Abend-AID report files.
NON-EXTENDED or EXTENDED may appear in this field.
EXTENTS: The largest number of groups (extents) that can be used by a single member.
Other Information
This section of the report lists additional characteristics about the file.
BLOCKS IN FILE: The number of blocks allocated for the file.
ALLOCATION GROUPS: The number of groups available in which a report can be stored.
This number is derived by subtracting the number of blocks required by the directory and
header record from the total number of blocks in the file and then dividing the result by
the GROUPCOUNT value.
USED ALLOCATION GROUPS: The number and percentage of allocation groups that
contain data.
FILE FORMATTED WITH RELEASE: The release level of CWDDSUTL or CWDDALLU
that was used to format the file.
REQUIRED MINIMUM RELEASE: The minimum release level of CWDDSUTL or
CWDDALLU that can be used to manage the file.
CURRENT REPORT NUMBER: This field only appears for a Classic report file. The
number that will be assigned to the next member written to the file. Report numbers are
assigned sequentially.
DIRECTORY ENTRIES/BLOCK: The number of directory entries that will fit per block on
the file. This number is dependent on the EXTENTS and BLKSIZE values. As the number
of EXTENTS increases, the number of directory entries per block decreases (provided the
BLKSIZE does not change).
2-32
Compuware Shared Services User/Reference Guide
DIRECTORY BLOCKS: A value derived by dividing the REPTCOUNT used to format the
file by the number of directory entries per block.
FILE FORMAT: Indicates whether additional bytes are in the directory.
Column Headings
The header line for the body of the DIRX report includes the following columns:
JOBNAME: The name from the JOB card. If followed by (M), the member is manually
locked and will not be automatically deleted when the file becomes full.
REPT NUMBER: The number assigned to this member when it was created.
JESID: The job number assigned by the Job Entry System at run time.
CODE: The abend code that was returned when the job failed.
DATE: The date the job was run.
TIME OF DAY: The time when the job was run.
DESCRIPTION: By default, the first 10 characters of the programmer name field on the
JOB card. When using Abend-AID exit CWEXIT02, or when calling SNAP-AID, you can
override this value, in which case the new value will be shown. See the Abend-AID
documentation for more information.
BYTES: The number of bytes that this report occupies on the file.
EXTENTS: The group numbers that this section of the report occupies.
TOTAL GROUPS: The total number of allocation groups that the diagnostic report
occupies.
Member Summary
The following information appears at the end of the report.
NO OF MEMBERS: The total number of members in the report file.
NO OF LOCKED MEMBERS: The total number of locked members in the report file.
NO OF UNLOCKED MEMBERS: The total number of unlocked members in the report
file.
NO OF INCOMPLETE MEMBERS: The total number of members in the report file that
are missing data and therefore cannot be viewed. Incomplete members can result when a
file full condition exists while the member is being written to the file or when certain
system failures occur.
LARGEST MEMBER SIZE (IN GROUPS): The size of the largest member in the report file,
expressed in groups.
SMALLEST MEMBER SIZE (IN GROUPS): The size of the smallest member in the report
file, expressed in groups.
AVERAGE MEMBER SIZE (IN GROUPS): The average member size in the report file,
expressed in groups.
Space Summary Based on AUTODELETE
The following fields describe the characteristics of the report file using the specified
AUTODELETE option.
Allocating and Formatting DDIO Files
2-33
MAXIMUM ALLOCATION GROUPS: The number of allocation groups that can exist in
the report file.
AVAILABLE ALLOCATION GROUPS: The number of allocation groups occupied by
unlocked members plus the number of unused allocation groups, and the percentage of
available groups.
If AUTODELETE is YES, DUPS or STAGED this will be shown:
UNUSED: The number of unused allocation groups and its percentage.
BELONGING TO UNLOCKED MEMBERS: The number of allocation groups belonging to
unlocked members and its percentage.
If AUTODELETE = NO this will be shown:
AUTODELETE OFF; USUSED ONLY ARE AVAILABLE
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT): The maximum number of
members (diagnostic reports) the report file can contain.
AVAILABLE NO OF DIRECTORY ENTRIES: The difference between the maximum
number of members the file can contain and the number of locked members.
Transaction Database DIRX Report
A sample DIRX report for a Transaction Database is shown in Figure 2-8 on page 2-34.
2-34
Figure 2-8. Sample DIRX Report for a Transaction Database. (Part 1 of 2)
Compuware Shared Services User/Reference Guide
DIRX FOR DATABASE: CX.DOC.CICS.SHRDIR.DB1
VOLSER: PRD935
DATABASE IS CONNECTED
CATALOG DSN: CX.DOC.CICS.SHRDIR
VOLSER: PRD913
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED BY DDIO RELEASE.
REQUIRES MINIMUM DDIO RELEASE .
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
TRAN/TERM
AADM 1567
CX.DOC.CICS.SHRDIR.DB1
PRD935
VSAM
18425
Abend-AID for CICS DATABASE
50
3
YES
EXTENDED
460
90
28
19(68%)
9.0.0
7.0.0
18
3
EXTENDED
REPT NUMBER SYSTEM CODE
DATE
TIME OF DAY PROGRAM
7 H01AC125 AEIS 30 JUL 2013 9.39.27.9 CCAADEMO
--NODE-- EXTENTS
TCW01567
14
15
16
17
18
19
TOTAL GROUPS 6
COB0 0356(M)
5 H01AC125 ASRA 06 JAN 2009 13.35.58.4
COBCICS5
TCW00356
8
9
10
11
12
13
TOTAL GROUPS 6
AADM 1676
1 H01AC125 ASRA 20 JUL 2004 13.45.09.7
CCAADEMO
TCW01676
1
2
3
4
5
TOTAL GROUPS 5
SAMP %001(M)
3 H01AC188 AICA 23 SEP 1994 15.46.09.3
SAMPLES
PLAYBACK
6
7
TOTAL GROUPS 2
Figure 2-9. Sample DIRX Report for a Transaction Database. (Part 2 of 2)
MEMBER SUMMARY OF CX.DOC.CICS.SHRDIR.DB1
NO OF MEMBERS.................................
NO OF LOCKED MEMBERS..........................
NO OF MANUALLY LOCKED MEMBERS.................
NO OF UNLOCKED MEMBERS........................
NO OF INCOMPLETE MEMBERS......................
LARGEST MEMBER SIZE (IN GROUPS)...............
SMALLEST MEMBER SIZE (IN GROUPS)..............
AVERAGE MEMBER SIZE (IN GROUPS)...............
4
2
2
2
0
6
2
4.7
SPACE SUMMARY BASED ON AUTODELETE=YES
MAXIMUM ALLOCATION GROUPS.....................
AVAILABLE ALLOCATION GROUPS...................
UNUSED......................................
BELONGING TO UNLOCKED MEMBERS...............
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT)...
AVAILABLE NO OF DIRECTORY ENTRIES.............
28
20(71%)
9(32%)
11(39%)
8
50
48
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
Allocating and Formatting DDIO Files
2-35
2-36
Compuware Shared Services User/Reference Guide
Transaction Database DIRX Report Fields
The following is a description of the Transaction Database DIRX Report fields.
DIRX FOR DATABASE: The dataset name of the transaction database.
VOLSER: The volume serial number of the transaction database.
DATABASE IS CONNECTED: Indicates that the transaction database is attached to a
shared directory.
CATALOG DSN: The dataset name of the shared directory to which the transaction
database is attached.
VOLSER: The volume serial number of the shared directory to which the transaction
database is attached.
DSN: The dataset name of the transaction database.
VOLSER: The volume serial of the transaction database.
AM (ACCESS METHOD): The means by which the transaction database is accessed —
either VSAM or BSAM (sequential).
BLKSIZE: The size of a block available to store the transaction dump information. For
VSAM files, this number is 7 bytes less than the CISIZE of the file. This will be the value
in the MAXRECLN and AVGRECLN parameters on the cluster definition.
TYPE: Indicates the type of transaction database. In this instance, the file was formatted
for Abend-AID for CICS Database.
REPTCOUNT: The maximum number of members (transaction dump information
entries) that the transaction database can contain. This value was specified when the file
was formatted.
GROUPCOUNT: The number of blocks of data that can be contained in each group
(extent). This value was specified when the file was formatted.
AUTODELETE: The AUTODELETE option that was specified when the file was formatted.
INDEX: Indicates whether the file was formatted to allow indexes to occupy more than
one block. This field is useful only for Abend-AID report files. NON-EXTENDED or
EXTENDED may appear in this field.
EXTENTS: The largest number of groups (extents) that can be used by a single member.
Other Information
This section of the report lists additional characteristics about the file.
BLOCKS IN FILE: The number of blocks allocated for the file.
ALLOCATION GROUPS: The number of groups available in which a report can be stored.
This number is derived by subtracting the number of blocks required by the directory and
header record from the total number of blocks in the file and then dividing the result by
the GROUPCOUNT value.
USED ALLOCATION GROUPS: The number and percentage of allocation groups that
contain data.
BLOCKS/TRACK: For sequential files only, the number of blocks that exist in each track.
FILE FORMATTED WITH RELEASE: The release level of CWFXSDUT or CWDDALLU that
was used to format the file.
Allocating and Formatting DDIO Files
2-37
REQUIRED MINIMUM DDIO RELEASE: The minimum release level of CWFXSDUT or
CWDDALLU that can be used to manage the file.
DIRECTORY ENTRIES/BLOCK: The number of directory entries that will fit per block on
the file. This number is dependent on the EXTENTS and BLKSIZE values. As the number
of EXTENTS increases, the number of directory entries per block decreases (provided the
BLKSIZE does not change).
DIRECTORY BLOCKS: A value derived by dividing the REPTCOUNT used to format the
file by the number of directory entries per block.
FILE FORMAT: Indicates whether additional bytes are in the directory.
Column Headings
The header line for the body of the DIRX report includes the following columns:
TRAN/TERM: The name of the transaction. If followed by (M), the member is manually
locked.
REPT NUMBER: The number assigned to this member by CWFXSDUT or CWDDALLU.
SYSTEM: The CICS APPLID.
CODE: The abend code that was returned when the transaction failed.
DATE: The date that the transaction was performed.
TIME OF DAY: The time of day that the transaction was performed.
PROGRAM: The name of the program.
NODE: The node at which the transaction abended.
EXTENTS: The group numbers occupied by this portion of the report.
TOTAL GROUPS: The total number of allocation groups occupied by the transaction
dump information entry.
Member Summary
The following information appears at the end of the report.
NO OF MEMBERS: The total number of members in the transaction database.
NO OF LOCKED MEMBERS: The total number of locked members in the transaction
database.
NO OF UNLOCKED MEMBERS: The total number of unlocked members in the
transaction database.
NO OF INCOMPLETE MEMBERS: The total number of members in the transaction
database that are missing data and therefore cannot be viewed. Incomplete members can
result when a file full condition exists while the member is being written to the file or
when certain system failures occur.
LARGEST MEMBER SIZE (IN GROUPS): The size of the largest member in the
transaction database, expressed in groups.
SMALLEST MEMBER SIZE (IN GROUPS): The size of the smallest member in the
transaction database, expressed in groups.
AVERAGE MEMBER SIZE (IN GROUPS): The size of the average member in the
transaction database, expressed in groups.
2-38
Compuware Shared Services User/Reference Guide
Space Summary Based on AUTODELETE
The following fields describe the characteristics of the transaction database using the
specified AUTODELETE option.
MAXIMUM ALLOCATION GROUPS: The number of allocation groups that can exist in
the transaction database.
AVAILABLE ALLOCATION GROUPS: The number of allocation groups occupied by
unlocked members plus the number of unused allocation groups, and the percentage of
available groups.
If AUTODELETE is YES, DUPS or STAGED this will be shown:
UNUSED: The number of unused allocation groups and its percentage.
BELONGING TO UNLOCKED MEMBERS: The number of allocation groups belonging to
unlocked members and its percentage.
If AUTODELETE = NO this will be shown:
AUTODELETE OFF; USUSED ONLY ARE AVAILABLE
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT): The maximum number of
members (transaction dump information entries) the transaction database can contain.
AVAILABLE NO OF DIRECTORY ENTRIES: The difference between the maximum
number of members the file can contain and the number of locked members.
Shared Directory DIRX Report
When a DIRX is performed on a shared directory, the resulting report includes DIRX
information for each transaction database attached to the shared directory for AbendAID for CICS, or for each Abend-AID report database attached to the shared directory for
Abend-AID.
A sample shared directory DIRX report is shown in Figure 2-10 on page 2-38. Ellipses
indicate omitted portions.
Figure 2-10. Sample Portion of DIRX Report for a Shared Directory
DIRX FOR SHARED DIRECTORY: CX.DOC.CICS.SHRDIR
VOLSER: PRD913
SHARED DIRECTORY INFORMATION
AM(ACCESS METHOD) ...............
BLKSIZE .........................
OTHER INFORMATION
DIRECTORY FORMATTED BY DDIO ...
REQUIRES MINIMUM DDIO RELEASE .
NEXT AVAILABLE MEMBER NUMBER...
TOTAL BLOCKS IN SHARED DIR ....
USED BLOCKS ...................
NUMBER OF EXTENTS .............
VSAM
2041
9.0.0
7.0.0
9
630
22(3%)
1
2-39
Figure 2-11. Sample Portion of DIRX Report for a Shared Directory (Part 1of 5) — Abend-AID for CICS only
REPORT
NUMBER
8
7
6
5
4
2
1
3
TRAN ABEND
ID
CODE
AADM
AADM
AADM
COB0
PJR8
AADM
AADM
SAMP
ABEND
DATE
TIME
ABENDING
PROGRAM
ABEND
OFFSET
CICS
JOBNAME
CICS
APPLID
REPORT REPORT DATABASE DATASET NAME
STATUS TYPE
(TERMINAL - NET NAME - SMF ID
9.53 CCAADEMO
9.56
002C20
H01AC125
H01AC125
H01AC125
H01AC125
DUP
2013 9.39 CCAADEMO
2013 8.54 CCAADEMO
2009 13.35 COBCICS5
2008 8.17 PJRTEST8
2004 8.26 CCAADEMO
2004 13.45 CCAADEMO
1994 15.46 SAMPLES
002C20
00297A
000762
0004DA
000C6A
000C6A
001250
H01AC125
H01AC125
H01AC125
H01AC264
H01AC125
H01AC125
H01AC188
H01AC125
H01AC125
H01AC125
H01AC264
H01AC125
H01AC125
H01AC188
AEIS 30 JUL 2013
30 JUL 2013
AEIS
ASRA
ASRA
ASRA
ASRA
ASRA
AICA
30
23
06
12
22
20
23
JUL
JAN
JAN
DEC
JUL
JUL
SEP
SHARED DIRECTORY ENTRIES SELECTED:
ATTACHED DATABASE INFORMATION
DATABASE LIST
CX.DOC.CICS.SHRDIR.DB1
CX.DOC.CICS.SHRDIR.DB2
8
(M)
(M)
(M)
TRAN
CX.DOC.CICS.SHRDIR.DB2
(1567
- TCW01567 - CW01
TRAN
TRAN
TRAN
TRAN
TRAN
TRAN
TRAN
CX.DOC.CICS.SHRDIR.DB1
CX.DOC.CICS.SHRDIR.DB2
CX.DOC.CICS.SHRDIR.DB1
CX.DOC.CICS.SHRDIR.DB2
CX.DOC.CICS.SHRDIR.DB2
CX.DOC.CICS.SHRDIR.DB1
CX.DOC.CICS.SHRDIR.DB1
Compuware Shared Services User/Reference Guide
DIRECTORY OF SHARED DIRECTORY: CX.DOC.CICS.SHRDIR
VOLSER: PRD913
2-40
Figure 2-12. Sample Portion of DIRX Report for a Shared Directory (Part 2of 5) — Abend-AID for CICS only
Compuware Shared Services User/Reference Guide
DIRX FOR DATABASE: CX.DOC.CICS.SHRDIR.DB1
VOLSER: PRD935
DATABASE IS CONNECTED
CATALOG DSN: CX.DOC.CICS.SHRDIR
VOLSER: PRD913
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED BY DDIO RELEASE.
REQUIRES MINIMUM DDIO RELEASE .
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
TRAN/TERM
AADM 1567
CX.DOC.CICS.SHRDIR.DB1
PRD935
VSAM
18425
Abend-AID for CICS DATABASE
50
3
YES
EXTENDED
460
90
28
19(68%)
9.0.0
7.0.0
18
3
EXTENDED
REPT NUMBER SYSTEM CODE
DATE
TIME OF DAY PROGRAM
7 H01AC125 AEIS 30 JUL 2013 9.39.27.9 CCAADEMO
--NODE-- EXTENTS
TCW01567
14
15
16
17
18
19
TOTAL GROUPS 6
13
TOTAL GROUPS 6
COB0 0356(M)
5 H01AC125 ASRA 06 JAN 2009 13.35.58.4
COBCICS5
TCW00356
8
9
10
11
12
AADM 1676
1 H01AC125 ASRA 20 JUL 2004 13.45.09.7
CCAADEMO
TCW01676
1
2
3
4
5
TOTAL GROUPS 5
SAMP %001(M)
3 H01AC188 AICA 23 SEP 1994 15.46.09.3
SAMPLES
PLAYBACK
6
7
TOTAL GROUPS 2
Figure 2-13. Sample Portion of DIRX Report for a Shared Directory (Part 3 of 5) — Abend-AID for CICS only
MEMBER SUMMARY OF CX.DOC.CICS.SHRDIR.DB1
NO OF MEMBERS.................................
NO OF LOCKED MEMBERS..........................
NO OF MANUALLY LOCKED MEMBERS.................
NO OF UNLOCKED MEMBERS........................
NO OF INCOMPLETE MEMBERS......................
LARGEST MEMBER SIZE (IN GROUPS)...............
SMALLEST MEMBER SIZE (IN GROUPS)..............
AVERAGE MEMBER SIZE (IN GROUPS)...............
4
2
2
2
0
6
2
4.7
SPACE SUMMARY BASED ON AUTODELETE=YES
MAXIMUM ALLOCATION GROUPS..................... 28
AVAILABLE ALLOCATION GROUPS................... 20(71%)
UNUSED...................................... 9(32%)
BELONGING TO UNLOCKED MEMBERS............... 11(39%)
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS. 8
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT)... 50
AVAILABLE NO OF DIRECTORY ENTRIES............. 48
Allocating and Formatting DDIO Files
2-41
2-42
Figure 2-14. Sample Portion of DIRX Report for a Shared Directory (Part 4 of 5) — Abend-AID for CICS only
Compuware Shared Services User/Reference Guide
DIRX FOR DATABASE: CX.DOC.CICS.SHRDIR.DB2
VOLSER: PRD927
DATABASE IS CONNECTED
CATALOG DSN: CX.DOC.CICS.SHRDIR
VOLSER: PRD913
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED BY DDIO RELEASE.
REQUIRES MINIMUM DDIO RELEASE .
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
TRAN/TERM
AADM 1567
AADM 1140
90
28
21(75%)
9.0.0
7.0.0
18
3
EXTENDED
REPT NUMBER SYSTEM CODE
DATE
TIME OF DAY PROGRAM
8 H01AC125 AEIS 30 JUL 2013 9.53.44.3 CCAADEMO
AADM 1130
PJR8
CX.DOC.CICS.SHRDIR.DB2
PRD927
VSAM
18425
Abend-AID for CICS DATABASE
50
3
NO
EXTENDED
460
(M)
6 H01AC125 ASRA 23 JAN 2013
8.54.27.8
CCAADEMO
4 H01AC264 ASRA 12 DEC 2008
8.17.33.3
PJRTEST8
2 H01AC125 ASRA 22 JUL 2004
8.25.46.3
CCAADEMO
--NODE-- EXTENTS
TCW01567
16
17
18
19
20
21
TOTAL GROUPS 6
TCW01130
11
12
13
14
15
TOTAL GROUPS 5
6
7
8
9
10
TOTAL GROUPS 5
1
2
3
4
5
TOTAL GROUPS 5
TCW01140
Figure 2-15. Sample Portion of DIRX Report for a Shared Directory (Part 5 of 5) — Abend-AID for CICS only
MEMBER SUMMARY OF CX.DOC.CICS.SHRDIR.DB2
NO OF MEMBERS.................................
NO OF LOCKED MEMBERS..........................
NO OF MANUALLY LOCKED MEMBERS.................
NO OF UNLOCKED MEMBERS........................
NO OF INCOMPLETE MEMBERS......................
LARGEST MEMBER SIZE (IN GROUPS)...............
SMALLEST MEMBER SIZE (IN GROUPS)..............
AVERAGE MEMBER SIZE (IN GROUPS)...............
SPACE SUMMARY BASED ON AUTODELETE=NO
MAXIMUM ALLOCATION GROUPS.....................
AVAILABLE ALLOCATION GROUPS...................
AUTODELETE OFF; UNUSED ONLY ARE AVAILABLE
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT)...
AVAILABLE NO OF DIRECTORY ENTRIES.............
4
1
1
3
0
6
5
5.2
28
7(25%)
5
50
46
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
Allocating and Formatting DDIO Files
2-43
2-44
Figure 2-16. Sample Portion of DIRX Report for an Abend-AID Shared Directory Member List
REPORT
NUMBER
-----------5
6
1
3
2
4
JOBNAME
-------AA123D10
AA122INS
AA111BW1
GGGGGGG4
AAAAAAAA
AA102BW2
ABEND
CODE
----S0C9
S0C7
S0CB
O0098
O0098
S0C9
ABEND
DATE
TIME
---------- ----28 FEB 2013 13.55
22 MAR 2012 9.10
24 SEP 2008 9.54
04 SEP 2008 13.58
04 SEP 2008 13.41
12 FEB 2008 13.36
SHARED DIRECTORY ENTRIES SELECTED:
ATTACHED DATABASE INFORMATION
DATABASE LIST
CX.DOC.AA.SHRDIR.DBX
6
ABENDING
PROGRAM
-------QUALIF11
CWAAHOUR
COBABEND
PROGRAM1
PROGRAM1
ABEND
OFFSET
-----000508
000556
000162
000100
000100
000000
REPORT
STATUS
-----(M)
(M)
(M)
(M)
(M)
REPORT
TYPE
---JOB
JOB
JOB
JOB
JOB
JOB
DATABASE DATASET NAME
-------------------------------------------CX.DOC.AA.SHRDIR.DBX
CX.DOC.AA.SHRDIR.DBX
CX.DOC.AA.SHRDIR.DBX
CX.DOC.AA.SHRDIR.DBX
CX.DOC.AA.SHRDIR.DBX
CX.DOC.AA.SHRDIR.DBX
Compuware Shared Services User/Reference Guide
DIRECTORY OF SHARED DIRECTORY: CX.DOC.AA.SHRDIR.X
VOLSER: PRD937
Figure 2-17. Sample Portion of DIRX Report for an Abend-AID Shared Directory Member List Using Duplicate Dump Suppression
DIRECTORY OF SHARED DIRECTORY: CX.DOC.AA.SHRDIR
VOLSER: PRD925
REPORT
NUMBER
-----------5
4
6
1
2
3
JOBNAME
ABEND
ABEND
CODE
DATE
TIME
-------- ----- ---------- ----AA95BKA S0C9 05 JUL 2012 9.37
PFHBWK01
12 DEC 2012 14.25
PFHBWK04
12 DEC 2012 14.25
PFHBWK02
12 DEC 2012 14.25
PFHBWK03
12 DEC 2012 14.25
ABENDING
PROGRAM
-------ASMTEST4
ABEND
OFFSET
-----0000AC
REPORT
STATUS
-----(M)
DUP
DUP
DUP
DUP
REPORT DATABASE DATASET NAME
TYPE
----------------------------------------------JOB
CX.DOC.AA.SHRDIR.DB2
AA1202B8
AA122INS
AAAAAA09
AA102BW2
AA102BW2
COBPGM51
CWAAHOUR
PROGRAM1
ASMTEST5
00072A
000556
000100
0000AC
000000
(M)
(M)
JOB
JOB
JOB
JOB
JOB
S0C9
S0C7
O0098
S0C9
S0C9
12
22
04
06
12
JUN
MAR
SEP
MAY
FEB
SHARED DIRECTORY ENTRIES SELECTED:
2012
2012
2008
2008
2008
12.37
9.10
13.55
14.03
13.36
(M)
(M)
CX.DOC.AA.SHRDIR.DB1
CX.DOC.AA.SHRDIR.DB1
CX.DOC.AA.SHRDIR.DB1
CX.DOC.AA.SHRDIR.DB2
CX.DOC.AA.SHRDIR.DB1
6
ATTACHED DATABASE INFORMATION
DATABASE LIST
CX.DOC.AA.SHRDIR.DB1
CX.DOC.AA.SHRDIR.DB2
Allocating and Formatting DDIO Files
2-45
2-46
Compuware Shared Services User/Reference Guide
Shared Directory DIRX Report Fields
The following is a description of the Shared Directory DIRX Report fields.
DIRX FOR SHARED DIRECTORY: The dataset name of the shared directory.
VOLSER: The volume serial number of the shared directory.
SHARED DIRECTORY INFORMATION: Allocation and formatting information about the
shared directory.
AM: The means by which the file is accessed — shared directories must be created as
VSAM files.
BLKSIZE: The size of a block available to store an entry. For VSAM files, this number is 7
bytes less than the CISIZE of the file. This will be the value in the MAXRECLN and
AVGRECLN parameters on the cluster definition.
Other Information
This section of the report lists additional characteristics about the file.
DIRECTORY FORMATTED BY DDIO: The release level of CWFXSDUT, CWAASDUT or
CWDDALLU that was used to format the file.
REQUIRED MINIMUM DDIO RELEASE: The minimum release level of CWFXSDUT,
CWAASDUT or CWDDALLU that can be used to manage the file.
NEXT AVAILABLE MEMBER NUMBER: The number that will be assigned to the next
member written to the file, numbers are assigned sequentially.
TOTAL BLOCKS IN SHARED DIR: The number of blocks allocated for the shared
directory.
USED BLOCKS: The number and percentage of blocks allocated for the shared directory
that contain data. These blocks may or may not be full.
NUMBER OF EXTENTS: The number of allocation groups occupied by the report.
DIRECTORY OF SHARED DIRECTORY: The dataset name of the shared directory.
VOLSER: The volume serial number of the shared directory to which the transaction
database or Abend-AID report database is attached.
REPORT NUMBER: The number of the transaction dump information entry or AbendAID report.
TRAN ID: The CICS transaction ID (Abend-AID for CICS only).
JOBNAME: The name from the JOB card. If followed by (M), the member is manually
locked and will not be automatically deleted when the file becomes full.
ABEND CODE: The CICS transaction abend code for Abend-AID for CICS; the abend
code returned when the job failed for Abend-AID.
(ABEND) DATE: The date on which the abend occurred.
(ABEND) TIME: The time at which the abend occurred.
ABENDING PROGRAM: The name of the program in which the abend was detected.
ABEND OFFSET: The position in the record at which the abend occurred.
Allocating and Formatting DDIO Files
2-47
CICS JOBNAME: The name of the job submitted to bring up CICS (Abend-AID for CICS
only).
CICS APPLID: The ID of the CICS region (Abend-AID for CICS only).
REPORT STATUS: Indicates whether the report is locked or unlocked and complete or
incomplete. If (L) appears here, the report is locked. If (I) appears here, the report is
incomplete. A blank indicates that the report is unlocked and complete. If the word DUP
appears in this field, this indicates that a duplicate abend occurred.
REPORT TYPE: Indicates whether the report was a system report or a transaction dump
information entry for Abend-AID for CICS, or ‘JOB’ if Abend-AID.
DATABASE DATASET NAME: The name of the dataset containing the entries.
SHARED DIRECTORY ENTRIES SELECTED: This field appears at the end of the
DIRECTORY report, and lists the number of transaction dump information entries
included in the report.
The final section of the report contains a DIRX report for each database (transaction
database or Abend-AID report database) attached to the shared directory. For a
description of the fields included in a DIRX report for a transaction database, see
“Transaction Database DIRX Report Fields” on page 2-36. For a description of the fields
included in a DIRX report for an Abend-AID report database, see “Abend-AID Report File
DIRX Report” on page 2-26.
2-48
Source Listing Database DIRX Report
A sample DIRX report for a Source Listing Database is shown in Figure 2-18 on page 2-48.
Compuware Shared Services User/Reference Guide
Figure 2-18. Sample DIRX Report for a Source Listing Database. (Part 1 of 2)
DIRX FOR DATABASE: CX.DOC.SRCEDIR.DB1
VOLSER: PRD905
DATABASE IS CONNECTED
CATALOG DSN: CX.DOC.SRCEDIR
VOLSER: PRD924
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED BY DDIO RELEASE.
REQUIRES MINIMUM DDIO RELEASE .
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
PROGRAM
LIST NUMBER
ASMTEST9 (L)
4
CX.DOC.SRCEDIR.DB1
PRD905
VSAM
18425
SOURCE DATABASE
50
3
DUPS
NON-EXTENDED
460
90
28
20(71%)
9.0.0
7.0.0
18
3
EXTENDED
COMP DATE
TIME
23 APR 2014 13.19
RC LANGUAGE SIZE(K)
04 HLASM R6
108
GROUPS
6
7
TOTAL GROUPS 2
PL1000
(L)
3
06 SEP 2013 10:54:12 04 PL1EN V4R3
54
5
TOTAL GROUPS 1
AVeryLar (L)
7
???????? 00 C/ESA V3R2
AVeryLargeNameofatLeast30Characters_20
HELLO
(L)
6
02 SEP 1999 10:03:22 00 COB/Z V3R2
864
2
13
54
1
3
14
4
15
8
16
9
10
11
17
18
19
TOTAL GROUPS 16
TOTAL GROUPS 1
Figure 2-19. Sample DIRX Report for a Source Listing Database. (Part 2 of 2)
MEMBER SUMMARY OF CX.DOC.SRCEDIR.DB1
NO OF MEMBERS.................................
NO OF LOCKED MEMBERS..........................
NO OF MANUALLY LOCKED MEMBERS.................
NO OF UNLOCKED MEMBERS........................
NO OF INCOMPLETE MEMBERS......................
LARGEST MEMBER SIZE (IN GROUPS)...............
SMALLEST MEMBER SIZE (IN GROUPS)..............
AVERAGE MEMBER SIZE (IN GROUPS)...............
4
4
0
0
0
16
1
5.0
SPACE SUMMARY BASED ON AUTODELETE=DUPS
MAXIMUM ALLOCATION GROUPS.....................
AVAILABLE ALLOCATION GROUPS...................
UNUSED......................................
BELONGING TO UNLOCKED MEMBERS...............
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT)...
AVAILABLE NO OF DIRECTORY ENTRIES.............
28
8(29%)
8(29%)
0(0%)
0
50
46
Allocating and Formatting DDIO Files
2-49
2-50
Compuware Shared Services User/Reference Guide
Source Listing Database DIRX Report Fields
The following is a description of the Source Listing Database DIRX report fields.
DIRX FOR DATABASE: The dataset name of the Source Listing Database.
VOLSER: The volume serial number of the Source Listing Database.
DATABASE IS CONNECTED: Indicates the Source Listing Database is attached to a
shared directory.
CATALOG DSN: The dataset name of the shared directory to which the Source Listing
Database is attached.
VOLSER: The volume serial number of the shared directory to which the Source Listing
Database is attached.
DSN: The dataset name of the Source Listing Database
VOLSER: The volume serial number of the Source Listing Database.
AM (ACCESS METHOD): The means by which the Source Listing Database is accessed —
either VSAM or BSAM (sequential).
BLKSIZE: The size of a block available to store the source listing. For VSAM files, this
number is seven bytes less than the CISIZE of the file. This will be the value in the
MAXRECLN and AVGRECLN parameters on the cluster definition.
TYPE: Indicates the type of file format. In this instance the file was formatted for source
database.
REPTCOUNT: The maximum number of members (source listings) that the Source Listing
Database can contain. This value was specified when the file was formatted.
GROUPCOUNT: The number of blocks of data that can be contained in each group
(extent). This value was specified when the file was formatted.
AUTODELETE: The AUTODELETE option that was specified when the file was formatted.
INDEX: Indicates whether the file was formatted to allow indexes to occupy more than
one block. EXTENDED should appear in this field.
EXTENTS: The largest number of groups (extents) that can be used by a single member.
Other Information
This section of the report lists additional characteristics about the file.
BLOCKS IN FILE: The number of blocks allocated for the file.
ALLOCATION GROUPS: The number of groups available in which a listing can be stored.
This number is derived by subtracting the number of blocks required by the directory and
header record from the total number of blocks in the file and then dividing the result by
the GROUPCOUNT value.
USED ALLOCATION GROUPS: The number, and percentage of allocation groups that
contain data.
BLOCKS/TRACK: For sequential files only, the number of blocks that exist in each track.
FILE FORMATTED BY DDIO RELEASE: The release level of CWDDLPUT or CWDDALLU
that was used to format the file.
REQUIRED MINIMUM DDIO RELEASE: The minimum release level of CWDDLPUT or
CWDDALLU that can be used to manage the file.
Allocating and Formatting DDIO Files
2-51
CURRENT REPORT NUMBER: The highest source listing number on this database, plus
1.
DIRECTORY ENTRIES/BLOCK: The number of directory entries that will fit per block on
the file. This number is dependent on the EXTENTS and BLKSIZE values. As EXTENTS
increase, the number of directory entries per block decrease (provided the BLKSIZE does
not change).
DIRECTORY BLOCKS: A value derived by dividing the REPTCOUNT used to format the
file by the number of directory entries per block.
FILE FORMAT: Indicates whether additional bytes are in the directory.
Column Headings
The header line for the body of the DIRX report includes the following columns:
PROGRAM: The name of the program. If followed by (L), the member is automatically
locked. If followed by (M), the member is manually locked. If the name is a LONGNAME
(greater than eight characters), an asterisk will be placed in the last position and the full
long name will be contained on the next lines.
LIST NUMBER: The number assigned to this member.
COMP DATE: The date the program was compiled.
TIME: The time of day the program was compiled.
RC: The return code from the step that created the member.
LANGUAGE: The program language compiler and version. The following codes can be
found in the LANGUAGE column:
ASMF
Assembler F
ASMH
Assembler H
HLASM
High Level Assembler 1.1
HLASM R2
High Level Assembler 1.2
HLASM R3
High Level Assembler 1.3
HLASM R4
High Level Assembler 1.4
HLASM R5
High Level Assembler 1.5
HLASM R6
High Level Assembler 1.6
OSVSCOB
OS/VS COBOL
OSVSCOBOPT
OS/VS COBOL/CA-Optimizer
C/ESA V3R2
“C” for ESA V3R2
C/390 V1R2
OS/390 “C” V1R2
C/390 V1R3
OS/390 “C” V1R3
C/390 V2R4
OS/390 “C” V2R4
C/390 V2R5
OS/390 “C” V2R5
C/390 V2R6
OS/390 “C” V2R6
C/390 V2R9
OS/390 “C” V2R9
C/390 V2RA
OS/390 “C” V2R10
C/ZOS V1R2
Z/OS “C” V1R2
C/ZOS V3R4
Z/OS “C” V3R4
C/ZOS V1R5
Z/OS “C” V1R5
C/ZOS V1R6
Z/OS “C” V1R6
2-52
Compuware Shared Services User/Reference Guide
C/ZOS V1R7
Z/OS “C” V1R7
C/ZOS V1R8
Z/OS “C” V1R8
C/ZOS V1R9
Z/OS “C” V1R9
C/ZOS V1R10
Z/OS “C” V1R10
COBIIR2
VS COBOL II Release 2
COBIIR2OPT
VS COBOL II Release 2/CA-Optimizer II
COBIIR3
VS COBOL II Release 3
COBIIR3OPT
VS COBOL II Release 3/CA-Optimizer II
COBIIR4
VS COBOL II Release 4
COBIIR4 JA
VS COBOL II Release 4 with Japanese Language Support
COBIIR4OPT
VS COBOL II Release 4/CA-Optimizer II
COBII JA
VS COBOL II with Japanese Language Support
COBOL/370
IBM SAA AD/Cycle COBOL/370
COBOL/370 JA
IBM SAA AD/Cycle COBOL/370 with Japanese Language Support
COBOL/370OPT
IBM SAA AD/Cycle COBOL/370/CA-Optimizer II
COBOL/390
COBOL for OS/390 and VM
COBOL/390M
COBOL for OS/390 and VM with MLE (Millennium Language
Extensions)
COBOL/MVSM
COBOL for MVS and VM with MLE
COB/370JA
COBOL/370 Japanese Language Support
COB/390OPM
COBOL/390 MLE CA-Optimizer
COB/390OPT
COBOL/390 CA-Optimizer
COB/MVS
COBOL for MVS and VM
COB/MVS JA
COBOL for MVS and VM with Japanese Language Support
COB/MVSOPM
COBOL/MVS MLE CA-Optimizer
COB/MVSOPT
COBOL/MVS CA-Optimizer
COBOL Z/OS
Enterprise COBOL for z/OS and OS/390 Release 3.1
COBOL Z/OSJA
Enterprise COBOL for z/OS and OS/390 Release 3.1, 3.2, 3.3, and
3.4 with Japanese language support.
COB/Z V3R2
Enterprise COBOL for z/OS and OS/390 Release 3.2
COB/Z V3R3
Enterprise COBOL for z/OS and OS/390 Release 3.3
COB/Z V3R4
Enterprise COBOL for z/OS and OS/390 Release 3.4
COB/Z V4R1
Enterprise COBOL for z/OS and OS/390 Release 4.1
COB/Z V4R2
Enterprise COBOL for z/OS and OS/390 Release 4.2
COB/Z V5R1
Enterprise COBOL for z/OS and OS/390 Release 5.1
PL/I V1R5
PL/I V1
PL/I V2
PL/I V2
PL/I AD V1
PL/I for MVS and VM
PL1VA V2R2
PL/I VisualAge V2R2
PL1EN V3R1
Enterprise PL/I for z/OS Release 3.1
PL1EN V3R2
Enterprise PL/I for z/OS Release 3.2
PL1EN V3R3
Enterprise PL/I for z/OS Release 3.3
PL1EN V3R4
Enterprise PL/I for z/OS Release 3.4
PL1EN V3R5
Enterprise PL/I for z/OS Release 3.5
PL1EN V3R6
Enterprise PL/I for z/OS Release 3.6
Allocating and Formatting DDIO Files
PL1EN V3R7
Enterprise PL/I for z/OS Release 3.7
PL1EN V3R8
Enterprise PL/I for z/OS Release 3.8
PL1EN V3R9
Enterprise PL/I for z/OS Release 3.9
PL1EN V4R1
Enterprise PL/I for z/OS Release 4.1
PL1EN V4R2
Enterprise PL/I for z/OS Release 4.2
PL1EN V4R3
Enterprise PL/I for z/OS Release 4.3
2-53
SIZE(K): The number of KBs this member occupies on the Source Listing Database.
GROUPS: The allocation group numbers occupied by the source listing.
TOTAL GROUPS: The total number of allocation groups occupied by the source listing.
Member Summary
The following information appears at the end of the report.
NO OF MEMBERS: The total number of members in the Source Listing Database.
NO OF LOCKED MEMBERS: The total number of locked members in the Source Listing
Database.
NO OF UNLOCKED MEMBERS: The total number of unlocked members in the Source
Listing Database.
NO OF INCOMPLETE MEMBERS: The total number of members in the Source Listing
Database that are missing data and therefore cannot be viewed. Incomplete members can
result when a file full condition exists while the member is being written to the file (and
dynamic database creation is not in effect), or when certain system failures occur.
LARGEST MEMBER SIZE (IN GROUPS): The size of the largest member in the Source
Listing Database, expressed in groups.
SMALLEST MEMBER SIZE (IN GROUPS): The size of the smallest member in the Source
Listing Database, expressed in groups.
AVERAGE MEMBER SIZE (IN GROUPS): The size of the average member in the Source
Listing Database, expressed in groups.
Space Summary Based on AUTODELETE
The following fields describe the characteristics of the Source Listing Database using the
specified AUTODELETE option.
MAXIMUM ALLOCATION GROUPS: The number of allocation groups that can exist in
the Source Listing Database.
AVAILABLE ALLOCATION GROUPS: The number of allocation groups occupied by
unlocked members plus the number of unused allocation groups, and the percentage of
available groups.
If AUTODELETE is YES, DUPS or STAGED this will be shown:
UNUSED: The number of unused allocation groups and its percentage.
BELONGING TO UNLOCKED MEMBERS: The number of allocation groups belonging to
unlocked members and its percentage.
If AUTODELETE = NO this will be shown:
AUTODELETE OFF; USUSED ONLY ARE AVAILABLE
2-54
Compuware Shared Services User/Reference Guide
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT): The maximum number of
members (source listings) the Source Listing Database can contain.
AVAILABLE NO OF DIRECTORY ENTRIES: The difference between the maximum
number of members the file can contain and the number of locked (manually locked
when AUTODELETE=STAGED) members.
Allocating and Formatting DDIO Files
2-55
Source Listing Shared Directory (SRCEDIR) DIRX Report
When a DIRX is performed on a shared directory, the resulting report includes DIRX
information for each Source Listing Database attached to the shared directory.
A sample DIRX report for a Source Listing Shared Directory is shown in Figure 2-20 on
page 2-55.
Figure 2-20. Sample DIRX Report for a Source Listing Shared Directory. (Part 1 of 5)
DIRX FOR SHARED DIRECTORY: CX.DOC.SRCEDIR
VOLSER: PRD924
SHARED DIRECTORY INFORMATION
AM(ACCESS METHOD) ...............
BLKSIZE .........................
OTHER INFORMATION
DIRECTORY FORMATTED BY DDIO ...
REQUIRES MINIMUM DDIO RELEASE .
NEXT AVAILABLE MEMBER NUMBER...
TOTAL BLOCKS IN SHARED DIR ....
USED BLOCKS ...................
NUMBER OF EXTENTS .............
VSAM
18425
9.0.0
7.0.0
8
90
27(30%)
1
Compuware Shared Services User/Reference Guide
DBMODEL INFORMATION:
DYNAMICALLY ALLOCATE DATABASE..
DATABASE AM....................
MODEL UNIT.....................
DATABASE ALLOCATION UNITS......
DATABASE ALLOCATION SIZE.......
DATABASE BLOCKSIZE.............
ALLOCATE SECONDARY EXTENTS.....
AUTODELETE.....................
GROUP SIZE.....................
MAXIMUM MEMBER EXTENTS.........
REPORT COUNT...................
MODEL DSN......................
2-56
Figure 2-21. Sample DIRX Report for a Source Listing Shared Directory. (Part 2 of 5)
YES
VSAM
SYSDA
CYLINDERS
50
18425
NO
DUPS
3
460
50
CX.DOC.SRCEDIR.DB.&SEQ
SOURCE DUPLICATE CONTROL INFORMATION:
AUTOLOCKMAX VALUE.............. 1
DUPMAX VALUE................... 2
NUMBER OF ATTACHED DATABASE(S)................ 2
NUMBER OF SOURCE DATABASE(S)................ 2
DIRECTORY OF SHARED DIRECTORY: CX.DOC.SRCEDIR
VOLSER: PRD924
REPORT
PROGRAM
NUMBER STATUS
COMPILE DATE
-------- ------------ --------- -----------ASMTEST9
4 (L)
23 APR 2014
PL1000
3 (L)
06 SEP 2013
TCP4
2 (M)
11 OCT 2012
COBPGM00
8 (M)
03 FEB 2010
COBPGM24
5 (L)
19 AUG 2003
AVeryLar
7 (L)
18 FEB 2000
AVeryLargeNameofatLeast30Characters_20
TIME
-------13.19
10:54:12
13:29:37
10:04:08
10:01:23
15.52.09
RC
-04
04
04
00
00
00
LANGUAGE
---------HLASM R6
PL1EN V4R3
COB/Z V4R2
COB/Z V3R3
COBOL Z/OS
C/ESA V3R2
HELLO
10:03:22 00
COB/Z V3R2
6
(L)
SHARED DIRECTORY ENTRIES SELECTED:
ATTACHED DATABASE INFORMATION
DATABASE LIST
CX.DOC.SRCEDIR.DB1
CX.DOC.SRCEDIR.DB2
02 SEP 1999
7
SIZE(K) DATABASE DATASET NAME
------- -------------------------------------------108
CX.DOC.SRCEDIR.DB1
54
CX.DOC.SRCEDIR.DB1
324
CX.DOC.SRCEDIR.DB2
108
CX.DOC.SRCEDIR.DB2
54
CX.DOC.SRCEDIR.DB2
864
CX.DOC.SRCEDIR.DB1
54
CX.DOC.SRCEDIR.DB1
2-57
Figure 2-22. Sample DIRX Report for a Source Listing Shared Directory. (Part 3 of 5)
Compuware Shared Services User/Reference Guide
DIRX FOR DATABASE: CX.DOC.SRCEDIR.DB1
VOLSER: PRD905
DATABASE IS CONNECTED
CATALOG DSN: CX.DOC.SRCEDIR
VOLSER: PRD924
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED BY DDIO RELEASE.
REQUIRES MINIMUM DDIO RELEASE .
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
PROGRAM
LIST NUMBER
ASMTEST9 (L)
4
CX.DOC.SRCEDIR.DB1
PRD905
VSAM
18425
SOURCE DATABASE
50
3
DUPS
NON-EXTENDED
460
90
28
20(71%)
9.0.0
7.0.0
18
3
EXTENDED
COMP DATE
TIME
23 APR 2014 13.19
RC LANGUAGE SIZE(K)
04 HLASM R6
108
GROUPS
6
7
TOTAL GROUPS 2
PL1000
(L)
3
06 SEP 2013 10:54:12 04 PL1EN V4R3
54
5
TOTAL GROUPS 1
AVeryLar (L)
7
???????? 00 C/ESA V3R2
AVeryLargeNameofatLeast30Characters_20
HELLO
(L)
6
02 SEP 1999 10:03:22 00 COB/Z V3R2
864
2
13
54
1
3
14
4
15
8
16
9
10
11
17
18
19
TOTAL GROUPS 16
TOTAL GROUPS 1
NO OF MEMBERS.................................
NO OF LOCKED MEMBERS..........................
NO OF MANUALLY LOCKED MEMBERS.................
NO OF UNLOCKED MEMBERS........................
NO OF INCOMPLETE MEMBERS......................
LARGEST MEMBER SIZE (IN GROUPS)...............
SMALLEST MEMBER SIZE (IN GROUPS)..............
AVERAGE MEMBER SIZE (IN GROUPS)...............
4
4
0
0
0
16
1
5.0
SPACE SUMMARY BASED ON AUTODELETE=DUPS
MAXIMUM ALLOCATION GROUPS.....................
AVAILABLE ALLOCATION GROUPS...................
UNUSED......................................
BELONGING TO UNLOCKED MEMBERS...............
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT)...
AVAILABLE NO OF DIRECTORY ENTRIES.............
28
8(29%)
8(29%)
0(0%)
0
50
46
Compuware Shared Services User/Reference Guide
MEMBER SUMMARY OF CX.DOC.SRCEDIR.DB1
2-58
Figure 2-23. Sample DIRX Report for a Source Listing Shared Directory. (Part 4 of 5)
Figure 2-24. Sample DIRX Report for a Source Listing Shared Directory. (Part 5 of 5)
DATABASE IS CONNECTED
CATALOG DSN: CX.DOC.SRCEDIR
VOLSER: PRD924
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED BY DDIO RELEASE.
REQUIRES MINIMUM DDIO RELEASE .
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
PROGRAM
TCP4
LIST NUMBER
(M)
2
CX.DOC.SRCEDIR.DB2
PRD916
VSAM
18425
SOURCE DATABASE
50
3
DUPS
NON-EXTENDED
460
90
28
9(32%)
9.0.0
7.0.0
18
3
EXTENDED
COMP DATE
TIME
RC LANGUAGE SIZE(K)
11 OCT 2012 13:29:37 04 COB/Z V4R2
324
GROUPS
1
2
9
COBPGM00 (M)
8
03 FEB 2010 10:04:08 00 COB/Z V3R3
108
8
COBPGM24 (L)
5
19 AUG 2003 10:01:23 00 COBOL Z/OS
54
7
3
4
5
6
TOTAL GROUPS 6
TOTAL GROUPS 2
TOTAL GROUPS 1
NO OF MEMBERS.................................
NO OF LOCKED MEMBERS..........................
NO OF MANUALLY LOCKED MEMBERS.................
NO OF UNLOCKED MEMBERS........................
NO OF INCOMPLETE MEMBERS......................
LARGEST MEMBER SIZE (IN GROUPS)...............
SMALLEST MEMBER SIZE (IN GROUPS)..............
AVERAGE MEMBER SIZE (IN GROUPS)...............
3
3
2
0
0
6
1
3.0
SPACE SUMMARY BASED ON AUTODELETE=DUPS
MAXIMUM ALLOCATION GROUPS.....................
AVAILABLE ALLOCATION GROUPS...................
UNUSED......................................
BELONGING TO UNLOCKED MEMBERS...............
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT)...
AVAILABLE NO OF DIRECTORY ENTRIES.............
28
19(68%)
19(68%)
0(0%)
8
50
47
2-59
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
Allocating and Formatting DDIO Files
MEMBER SUMMARY OF CX.DOC.SRCEDIR.DB2
2-60
Compuware Shared Services User/Reference Guide
Shared Directory DIRX Report Fields
The following is a description of the shared directory DIRX report fields.
DIRX FOR SHARED DIRECTORY: The dataset name of the shared directory.
VOLSER: The volume serial number of the shared directory.
SHARED DIRECTORY INFORMATION: Allocation and formatting information about the
shared directory.
AM: The means by which the file is accessed — shared directories must be created as
VSAM files.
BLKSIZE: The size of a block available to store an entry. For VSAM files, this number is
seven bytes less than the CISIZE of the file. This will be the value in the MAXRECLN and
AVGRECLN parameters on the cluster definition.
Other Information
This section of the report lists additional characteristics about the file.
DIRECTORY FORMATTED BY DDIO: The release level of CWDDLPUT that was used to
format the file.
REQUIRED MINIMUM DDIO RELEASE: The minimum release level of CWDDLPUT that
can be used to manage the file.
TOTAL BLOCKS IN SHARED DIR: The number of blocks allocated for the shared
directory.
USED BLOCKS: The number and percentage of blocks allocated for the shared directory
that contain data. These blocks may or may not be full.
NUMBER OF EXTENTS: The number of VSAM extents allocated to the file.
The next section lists DBMODEL setting, if any.
DBMODEL INFORMATION: Contains the current DBMODEL settings that will be used to
dynamically create a new database when activated.
The next section only appears if one or more of the duplicate-control values is set.
SOURCE DUPLICATE CONTROL INFORMATION: The current values for
AUTOLOCKMAX and/or DUPMAX settings used for compile-time duplicate control in
the shared directory.
The next section of the DIRX report contains a DIRECTORY report for the shared
directory. The following is a summary of the DIRECTORY report headings:
DIRECTORY OF SHARED DIRECTORY: The dataset name of the shared directory.
VOLSER: The volume serial number of the shared directory.
PROGRAM: The name of the program. If the name is a LONGNAME (greater than eight
characters), an asterisk will be placed in the last position and the full long name will be
contained on the next lines.
REPORT NUMBER: The number assigned to this member.
STATUS: Indicates whether the listing is locked or unlocked, and complete or
incomplete. If (L) appears here, the listing is automatically locked. If (M) appears here,
the listing is manually locked. If (I) appears here, the listing is incomplete. A blank
indicates that the listing is unlocked and complete.
COMPILE DATE: The date the program was compiled.
Allocating and Formatting DDIO Files
2-61
TIME: The time of day the program was compiled.
RC: the return code from the step that created the member.
LANGUAGE: The program language compiler and version. The following codes can be
found in the LANGUAGE column:
ASMF
Assembler F
ASMH
Assembler H
HLASM
High Level Assembler 1.1
HLASM R2
High Level Assembler 1.2
HLASM R3
High Level Assembler 1.3
HLASM R4
High Level Assembler 1.4
HLASM R5
High Level Assembler 1.5
HLASM R6
High Level Assembler 1.6
OSVSCOB
OS/VS COBOL
OSVSCOBOPT
OS/VS COBOL/CA-Optimizer
C/ESA V3R2
“C” for ESA V3R2
C/390 V1R2
OS/390 “C” V1R2
C/390 V1R3
OS/390 “C” V1R3
C/390 V2R4
OS/390 “C” V2R4
C/390 V2R5
OS/390 “C” V2R5
C/390 V2R6
OS/390 “C” V2R6
C/390 V2R9
OS/390 “C” V2R9
C/390 V2RA
OS/390 “C” V2R10
C/ZOS V1R2
Z/OS “C” V1R2
C/ZOS V3R4
Z/OS “C” V3R4
C/ZOS V1R5
Z/OS “C” V1R5
C/ZOS V1R6
Z/OS “C” V1R6
C/ZOS V1R7
Z/OS “C” V1R7
C/ZOS V1R8
Z/OS “C” V1R8
C/ZOS V1R9
Z/OS “C” V1R9
C/ZOS V1R10
Z/OS “C” V1R10
COBIIR2
VS COBOL II Release 2
COBIIR2OPT
VS COBOL II Release 2/CA-Optimizer II
COBIIR3
VS COBOL II Release 3
COBIIR3OPT
VS COBOL II Release 3/CA-Optimizer II
COBIIR4
VS COBOL II Release 4
COBIIR4 JA
VS COBOL II Release 4 with Japanese Language Support
COBIIR4OPT
VS COBOL II Release 4/CA-Optimizer II
COBII JA
VS COBOL II with Japanese Language Support
COBOL/370
IBM SAA AD/Cycle COBOL/370
COBOL/370 JA
IBM SAA AD/Cycle COBOL/370 with Japanese Language Support
COBOL/370OPT
IBM SAA AD/Cycle COBOL/370/CA-Optimizer II
COBOL/390
COBOL for OS/390 and VM
COBOL/390M
COBOL for OS/390 and VM with MLE (Millennium Language
Extensions)
COBOL/MVSM
COBOL for MVS and VM with MLE
2-62
Compuware Shared Services User/Reference Guide
COB/370JA
COBOL/370 Japanese Language Support
COB/390OPM
COBOL/390 MLE CA-Optimizer
COB/390OPT
COBOL/390 CA-Optimizer
COB/MVS
COBOL for MVS and VM
COB/MVS JA
COBOL for MVS and VM with Japanese Language Support
COB/MVSOPM
COBOL/MVS MLE CA-Optimizer
COB/MVSOPT
COBOL/MVS CA-Optimizer
COBOL Z/OS
Enterprise COBOL for z/OS and OS/390 Release 3.1
COBOL Z/OSJA
Enterprise COBOL for z/OS and OS/390 Release 3.1, 3.2, 3.3, and
3.4 with Japanese language support.
COB/Z V3R2
Enterprise COBOL for z/OS and OS/390 Release 3.2
COB/Z V3R3
Enterprise COBOL for z/OS and OS/390 Release 3.3
COB/Z V3R4
Enterprise COBOL for z/OS and OS/390 Release 3.4
COB/Z V4R1
Enterprise COBOL for z/OS and OS/390 Release 4.1
COB/Z V4R2
Enterprise COBOL for z/OS and OS/390 Release 4.2
PL/I V1R5
PL/I V1
PL/I V2
PL/I V2
PL/I AD V1
PL/I for MVS and VM
PL1VA V2R2
PL/I VisualAge V2R2
PL1EN V3R1
Enterprise PL/I for z/OS Release 3.1
PL1EN V3R2
Enterprise PL/I for z/OS Release 3.2
PL1EN V3R3
Enterprise PL/I for z/OS Release 3.3
PL1EN V3R4
Enterprise PL/I for z/OS Release 3.4
PL1EN V3R5
Enterprise PL/I for z/OS Release 3.5
PL1EN V3R6
Enterprise PL/I for z/OS Release 3.6
PL1EN V3R7
Enterprise PL/I for z/OS Release 3.7
PL1EN V3R8
Enterprise PL/I for z/OS Release 3.8
PL1EN V3R9
Enterprise PL/I for z/OS Release 3.9
SIZE(K): The number of KBs this member occupies on the Source Listing Database.
DATABASE DATASET NAME: The name of the dataset containing the entry.
SHARED DIRECTORY ENTRIES SELECTED: This field appears at the end of the
DIRECTORY report, and lists the number of source listings (entries) included in the
report.
The final section of the report contains a DIRX report for each Source Listing Database
attached to the shared directory. For a description of the fields included in a DIRX report
for a Source Listing Database, see “Source Listing Database DIRX Report Fields” on page
2-50.
3-1
Chapter 3.
CSS Utilities
Chap 3
CSS Utilities provides a convenient, menu-driven way to perform CSS Language Processor
functions and manipulate DDIO files.
Language Processor Functions
The CSS Language Processor is a set of programs that analyzes the output from a compiler
or assembler execution and stores that information in a source listing DDIO file. CSS
Utilities Language Processor functions include generating preprocessing and
postprocessing JCL.
Note:
Preprocessing and postprocessing are described in “CREATEJCL - Preparing
Compiler Listings for the LP” on page 3-4.
DDIO File Functions
CSS Utilities enables you to work with two types of DDIO files: source listing files and
Abend-AID report files. Both file types are described below.
Source Listing File
A source listing file is a DDIO file that stores source listing members. To create a source
listing member, CSS recompiles your program to obtain a compiler listing (or uses an
existing compiler listing) and extracts information from particular portions of the listing.
The resulting information is then stored as a member in a source listing file.
Source listing files can be the original standard DDIO file format and/or the new shared
directory with attached database file formats.
For a description of how source listing files are created and used, see “SOURCE - Working
with Source Listing Files” on page 3-19.
Abend-AID Report File
An Abend-AID report file is a DDIO file that stores diagnostic reports. Diagnostic reports
are created by Abend-AID when an abend occurs. Each report is stored as a member in the
Abend-AID report file.
Abend-AID batch report files can be the original standard DDIO file format and/or the
new shared directory with attached database file formats.
Abend-AID for CICS report files use the shared directory with attached database file
format.
For a description of how Abend-AID report files are created and used, see “AAREPORT Working with Abend-AID Report Files” on page 3-49.
CSS Utilities DDIO file functions include:
• File creation and formatting
• File deletion
3-2
Compuware Shared Services User/Reference Guide
• Member manipulation (for example, locking file members, copying members,
importing members, or exporting members to another DDIO file).
• File manipulation (for example, file deletion, verify shared directory, attached
database list (for shared directory), change auto-delete characteristics on a database,
etc.).
CSS Utilities functions may also be performed by running the batch utilities
(CWDDALLU or CWDDSUTL, CWAASDUT, CWFXSDUT and CWDDLPUT).
• For detailed information on the commands and parameters available for these
utilities see Chapter 8, “Batch File Utility CWDDALLU”.
DDIO Calculator function:
• The Compuware DDIO Calculator is a tool for calculating your allocation and
formatting of DDIO files (source and report) and databases (source, report and
transaction). Although an existing file is not required to use this tool, it is highly
recommended for use as a model for fine tuning. Otherwise, calculating file size and
determining optimal formatting parameters will result in trial and error.
Note:
It is not used for shared directory allocation or tuning. For a description, see
“Compuware DDIO Calculator — DDIOCALC” on page 3-75.
Getting Started
You may invoke CSS Utilities differently depending on how it was installed at your site.
To verify the installation procedure, see the ECC Installation and Customization Guide. If you
need additional assistance to determine how to invoke CSS Utilities, see your systems
programmer. CSS Utilities may also be invoked from the Compuware Viewing Facility by
entering the ‘CSSUTIL” command (see “Entry Panel Fields” on page 1-81).
When you invoke CSS Utilities, the CSS Utilities - Primary Menu (Figure 3-1) is displayed.
Figure 3-1. CSS Utilities - Primary Menu
----------- Compuware CSS Utilities ---- Primary Menu ---------OPTION ===>
CSS V16.5.0
1
2
3
4
5
Settings
CreateJCL
Source
AAReport
DDIOCalc
-
Specify General Settings
Create JCL to invoke Compuware Language Processor(LP)
Create/List/Maintain Source Listing Files/SHRDIR/Databases
Create/List/Maintain Abend-AID Report FilesSHRDIR/DB(s)
Calculate DDIO & Database File Sizes
L
D
S
C
LP
DDIO
SD/Database
Legal
-
Learn about Compuware Language Processor
Learn about Source Listing and Report DDIO Files
Learn about Shared Directory and Database Files
Display Full Copyright/Trade Secret Notice
Copyright (c) 2006, Compuware Corporation. All rights Reserved.
Unpublished - rights reserved under the Copyright laws of the United
States.
(800) 538-7822
Compuware Shared Services
Enter END command to terminate
To select an option, enter the corresponding number at the OPTION prompt. The
primary menu options are:
CSS Utilities
3-3
SETTINGS
Displays general (global) CSS Utilities settings. General settings may be overridden by
settings on other screens.
CREATEJCL
Enables you to create and store a compiler listing or read and store an existing
compiler listing. By selecting this option, you can select whether to create JCL to run
the Preprocessor or Postprocessor.
SOURCE
Enables you to set options for creating, reformatting, displaying, and manipulating
source listing files and/or source shared directories.
AAREPORT
Enables you to set options for creating, reformatting, displaying, and manipulating
Abend-AID report files and/or report shared directories.
DDIOCALC
Invokes the CSS DDIO Calculator tool, described later in this chapter.
LP
Displays an introduction to the Compuware Language Processor.
DDIO
Displays an overview of source listing and Abend-AID report files.
SD/Database
Displays an overview of Shared Directory and Report Database files.
LEGAL
Displays the full CSS Utilities copyright and trade secrets notice.
To get help for a particular CSS Utilities screen, press PF1.
SETTINGS - General Settings
CSS Utilities General Settings enable you to configure options used throughout CSS
Utilities. To edit the general settings, complete the following steps:
1. Select SETTINGS from the CSS Utilities - Primary Menu (Figure 3-1 on page 3-2). The
CSS Utilities - General Settings screen (Figure 3-2) is displayed.
Note:
The CSS Utilities - General Settings screen can also be accessed by using the
SEtup or SE command from many of the CSS Utilities screens.
3-4
Compuware Shared Services User/Reference Guide
Figure 3-2. CSS Utilities - General Settings
----------------- CSS UTILITIES SETTINGS---- General Settings --COMMAND ===>
Language for panel/message use ===> ENGLISH
Hold Queue Sysout Class
===> R
V16.5.0
(ENGLISH/JAPANESE)
STEPLIB DATASET NAMES for utilities:
1) ===>
2) ===>
3) ===>
4) ===>
Optional
Optional
Optional
Optional
Optional XOPTIONS file for Xpediter/TSO Enhanced FIND:
Dataset name ===>
Job Statement to use in batch job generation:
===> //JOBNAME JOB ('OCXBAS8.3MNT',W04),'John Smith',
===> //*
===> //*
===> //*
Press END to process or enter CANCEL command to terminate
2. Edit the settings as needed, using the following table as a guide.
Table 3-1.
CSS Utilities General Settings
To:
Do This:
Specify the language to be used for displaying
CSS Utilities panels
Enter ENGLISH or JAPANESE in the Language field.
Specify an XOPTIONS dataset to be used with
the Xpediter/TSO Enhanced FIND function
Enter the XOPTIONS dataset name in the Optional
XOPTIONS file for Xpediter/TSO Enhanced FIND field.
Specify the optional CSS Load Library and or
Abend-AID DSN to be used in the STEPLIB by
JOBS submitted from CSS Utilities or when JCL
is created by the create JCL function. You may
need the full DSN for the following target
libraries, SKAZLOAD, SKFXLOAD, SLCXLOAD.
Enter dataset names in the STEPLIB DATASET NAMES
for utilities field.
Define the SYSOUT hold output class for batch
processing
Enter a class letter in the Hold Queue Sysout Class field.
Note: You must specify a SYSOUT class if you plan to
use the Preprocessor command (available on the
CREATEJCL menu).
3. After you have finished editing the fields, perform the appropriate action:
– To apply the settings and return to the CSS Utilities - Primary Menu, enter END
within the command prompt or press PF3.
– To cancel the changes and return to the previous screen, enter CANCEL within
the Command prompt.
CREATEJCL - Preparing Compiler Listings for the LP
Source listing files contain one or more source listing reports. Compuware products use
source listing reports in a variety of ways:
•
•
•
•
to
to
to
to
make source data available in Abend-AID reports
store application program listings
provide source support for interactive debugging with the Xpediter products
merge source data with transaction abend data for online viewing.
CSS Utilities
3-5
CSS uses compiler listings to generate source listing reports. There are two ways to
generate a source listing report: preprocessing, and postprocessing.
Preprocessing
Preprocessing performs the following steps:
1. Sets compiler options as necessary.
2. Invokes the compiler and compiles your program to produce a compiler listing.
3. Invokes the postprocessor, discussed in the following section.
Compuware recommends running the preprocessor rather than exclusively running the
postprocessor. The preprocessor sets compiler options before invoking the compiler. This
ensures that the compiler listing (and the resulting source listing report) contains all
required information. Exclusively running the postprocessor forces CSS to use an existing
compiler listing that may not contain all required information.
You can run the preprocessor in either of two ways:
• using sample JCL provided with Compuware Shared Services
• using CSS Utilities
Running the Preprocessor Using Sample JCL
To run the preprocessor using sample JCL provided with CSS, see the Language Processor
chapter appropriate for your language:
•
•
•
•
Chapter
Chapter
Chapter
Chapter
9, “COBOL Language Processor”,
10, “PL/I Language Processor”,
11, “Assembler Language Processor”, or
12, “C Language Processor”.
Running the Preprocessor Using CSS Utilities
To use CSS Utilities to run the preprocessor, complete the following steps:
1. Select CREATEJCL from the CSS Utilities - Primary Menu (Figure 3-1 on page 3-2).
The CSS Utilities - CREATEJCL Menu (Figure 3-3) is displayed.
Figure 3-3. CSS Utilities - CREATEJCL Menu
----------- COMPUWARE CSS UTILITIES ---- Create JCL Menu
OPTION ===>
1
2
Preprocessor
Convert existing compile JCL to use LP
Create compile JCL to use LP
3
Postprocessor
Create JCL to use LP
LP
SE
DD
SD
-----
V16.5.0
Learn about Compuware language Processor
General Settings
Learn about Compuware DDIO files
Learn about Compuware Shared Directory and Database files
Enter END command to terminate
2. If you would like to convert your existing compile JCL to compile with the Language
Processor, then select option 1.
3-6
Compuware Shared Services User/Reference Guide
3. If you would like to create JCL to compile with the Language Processor, then select
option 2. See “Option 2 - Create Compile JCL to Use LP” on page 3-8.
Option 1 - Convert Existing Compile JCL to Use LP
Enter 1 on the Option line and hit enter. The CSS Utilities - Preprocessor screen (Figure 34) appears, displaying a series of fields for you to complete.
Figure 3-4. CSS Utilities - Preprocessor Screen
------------- COMPUWARE CSS UTILITIES --- Convert Your Compile JCL ---- V16.5.0
COMMAND ===>
Commands: blank (Process JCL)
LP (LP tutorial)
Browse
Edit
SEtup
DD (DDIO tutorial)
C (Create DDIO file)
SD (SD/DB tutorial)
ISPF Library:
Project ===>
Group
===>
Type
===>
Member
===>
===>
===>
===>
(Blank for member selection list)
Other Partitioned or Sequential Dataset:
Dataset Name ===>
Volume Serial ===>
4. Complete the fields on this screen using the following table as a guide.
Table 3-2.
Preprocessor Screen Fields
To:
Do This:
Specify the dataset
containing your JCL
Complete the ISPF Library or Other Partitioned or Sequential Dataset
fields.
View a list of members in a
partitioned dataset
Browse a dataset or a
particular dataset member
Edit a dataset or a particular
dataset member
Create a source listing
database file
1. Specify a dataset in the ISPF Library or Other Partitioned or Sequential
Dataset fields. Ensure that the ISPF Library Member field is blank.
2.
Ensure that the Command prompt is blank.
3.
Press Enter.
1. Specify a dataset or a fully-qualified member name in the ISPF Library
or Other Partitioned or Sequential Dataset fields.
2.
Enter BROWSE at the Command prompt.
3.
Press Enter.
1. Specify a dataset or a fully-qualified member name in the ISPF Library
or Other Partitioned or Sequential Dataset fields.
2.
Enter EDIT at the Command prompt.
3.
Press Enter.
1. Enter C at the command prompt.
2. See “Creating and Formatting Source Listing Files” on page 3-21.
3. Press PF3 on Create screen to return to this screen.
Specify the source listing file
that will store your source
listing report
Enter the name of a new or existing source listing file in the DDIO Listing
File field.
CSS Utilities
Table 3-2.
3-7
Preprocessor Screen Fields
To:
Do This:
Instruct the Language
Enter the dataset name in the Options Dataset field.
Processor to preprocess the
program using the language Note: An Options Dataset overrides any CWPPRMO dataset specification
processor options specified in in your JCL.
a particular dataset
Edit the CSS Utilities General Enter SETUP at the Command prompt.
Settings
Generate records for the
Xpediter/TSO enhanced
FIND feature
Enter a job statement (if your
JCL does not contain a job
statement)
Enter Y in the Enhanced FIND field if you want to use this feature.
Enter N in the Enhanced FIND field if you do not want to use this feature.
1. Enter SETUP at the Command prompt.
2. On the General Settings Screen that appears, enter a job statement.
3. Press Enter.
5. After you have finished editing the fields, perform the appropriate action:
– To convert your JCL to compile with the Compuware Language Processor, ensure
that the Command prompt is blank and press Enter.
– To cancel the changes and return to the previous screen, enter END at the
Command prompt.
Selecting Specific Members for Processing
If you enter a complete library name or a partitioned dataset name on the Preprocessor
screen, a list appears containing all members in the specified dataset. Table 3-3 lists the
line commands available on this screen.
Table 3-3.
Line Commands on Member Selection Screen.
Enter:
To Do This:
B
Browse the member
E
Edit the member
S
Select the member for processing
Members may be sorted using any of the following criteria: Name, Created, Changed, or
ID. To sort the member list, enter SORT at the command prompt and specify the sort
characteristic (for example, SORT CHANGED).
To cancel and return to the previous screen, enter END at the command prompt.
Submitting Your JCL for Processing
To submit your JCL for processing from an Edit screen (for example, if you entered E on
the member selection screen), enter SUB at the command prompt.
Option 2 - Create Compile JCL to Use LP
Enter 2 on the Option line and hit enter. The Compuware CSS Utilities - Compile Menu
screen (Figure 3-5) appears.
3-8
Compuware Shared Services User/Reference Guide
Figure 3-5. CSS Utilities - Compile Menu
Compuware CSS Utilities -------- Compile Menu -------------------- CSS V16.5.0
COMMAND ===>
Primary Commands: Listing (Display output) SEtup (Display general settings)
Compile Profile: COB39001 - COBOL 390 WITH DB2 8.1 AND CICS TS 3.1
_ Display the Compile Profile list
Source Dsname ===> COB390.SOURCE
Preparation ===> EDITJCL
(Batch/Editjcl/Foreground)
Language ===> COB390
Select From The List Below
(COB/COB2/COB370/COBMVS/COB390/E-COBOL/COBS/CAOPT/HASM/HLASM/PLI/PLI370)
(VAPLI/E-PLI/CMVS/C390/CZOS)
SEL Options:
D - Display settings
S - Process only
SEL
STEPS
--- ------------------D 1. DB2 Precompile
D 2. CICS Translator
D 3. Compile
D 4. Linkedit
S - Select the DB2 Precompile libraries
and/or the CICS Translator libraries
DB2 Precompile
CICS Translator
---------------------------------------S D810S1 _ D710S1
S CTS31A
_ CTS31B
_ D610S1 _ D810S2
_ CTS31C
_ CTS21A
_ D710S2 _ D610S2
_ CTS21B
_ CTS21C
_ D510S1 _ D510S2
_ CTS11A
_ CTS11B
On this screen you will specify:
1. Whether you want to display your compile profiles
2. Which steps you want to include in your compile
a. DB2 precompile
b. CICS translator
c. Compile
d. Linkedit
3. Which source dataset to use as input
4. Which method of job submission to use
5. Which language compiler/assembler to use
6. If you have selected the DB2 precompile step, which DB2 libraries to use
7. If you have selected the CICS translator step, which CICS libraries to use
Depending on your input, you are presented with additional screens where you can enter
more detailed information.
The definitions for each field and option on the Compile Menu screen are:
Compile Profile
The Compile Facility provides for separate compile profiles. Enter an S in front of Display
the Compile Profile list to view your list of compile profiles (Figure 3-6). The DEFAULT
compile profile is created for you and does not have many initial values.
CSS Utilities
3-9
Figure 3-6. CSS Utilities - Compile Profile
---------- CSS UTILITIES - Compile Profiles -------- Row 1 of 1
COMMAND ===>
Primary Commands L = Locate
Line Command
S = Select D = Delete R = Rename C = Copy I = Info
Curent
Profile ===> DEFAULT
> DEFAULT COMPILE PROFILE
CMD
Profile
Newname
Description
------------------------------------------------------------------------------DEFAULT
> DEFAULT COMPILE PROFILE
*********************************Bottom of data********************************
Primary Command:
L - The Locate command will position the profile table at the profile name that precedes
the requested profile name. The command syntax is L, LOC, or LOCATE followed by one
to eight characters.
Line Commands:
S - Select. This will use the selected compile profile’s values to populate various compile
screens.
D - Delete. This will delete the compile profile from the compile profile table.
R - Rename. This will rename the selected profile to the name entered in the Newname
column. The Newname value is required.
C - Copy. This will copy the selected profile to another profile whose name is entered in
the Newname column. The Newname value is required. Use this option to create new
profiles. Then use DB2 Precompile, CICS Translator, Compile and Linkedit screens to
populate the profile variables.
I - Information. This will display all of the values for this compile profile. They will be
grouped by screen name.
Note:
The same table is used for these compile profiles and the Xpediter/TSO compile
profiles. So, those users that had created compile profiles under Xpediter/TSO
will be able to use them here.
Source Dsname
Type the name of the dataset containing the program to be processed. Type the object
dataset name for linkedit only.
Note:
If you do not enter a member name in this field, a member list is displayed.
Selecting a member name on the member list screen automatically builds the JCL
and submits the job if Batch is specified in the Preparation field. If Editjcl is
specified, the JCL is built and you can edit the JCL before submitting the job. If
Foreground is specified, the program is automatically compiled in foreground. As
the job is processing, the third line on the member list shows the status of the
job. When the job completes, the return code is displayed next to the member
name. You can use the LI (Listing) command to view the source listing associated
with the member.
Preparation
Specify one of the following:
Batch - Builds the JCL and submits the compile JCL in batch.
3-10
Compuware Shared Services User/Reference Guide
Editjcl - Builds the JCL and allows editing of the JCL after it is built. The JCL can be
submitted from the Edit screen.
Foreground - Compiles the program foreground.
Language
Enter the program language type from the list.
SEL Options
Enter the SEL options in the SEL field to specify the actions to be performed (DB2
precompile, CICS translator, compile, and/or linkedit). The SEL options are:
D - Displays the settings screen for the action. The settings screen is used to provide
additional information about the action you are performing. When you press the Enter
key, the settings screen for the first action you selected is displayed. When you press
Enter on the displayed settings screen, the settings screen for the next selected action is
displayed, and so forth.
S - Processes the selected action without displaying the settings screen.
DB2 Precompile Libraries
S - Select one DB2 identifier that will be used to retrieve the DB2 libraries that will be
used in the STEPLIB of the DB2 precompile step and the SYSLIB of the linkedit step.
CICS Translator Libraries
S - Select one CICS identifier that will be used to retrieve the CICS libraries that will be
used in the STEPLIB of the CICS translator step and the SYSLIB of the linkedit step.
The primary commands are used as follows:
Listing - Displays the compile listing output. In order for the compile listing to be eligible
for display, the compile must be executed from the Compile Facility.
Setup - Displays the Setup Information screen on which you can set the general settings.
The Setup Information screen and the settings for each option are described below.
1 - Displays the DB2 Precompile screen.
2 - Displays the CICS Translator screen.
3 - Displays the Compile screen.
4 - Displays the Linkedit screen.
Setup Information Screen
The Setup Information screen shown in Figure 3-7 is used for the default settings for
processing a job. These values are not kept in the compile profiles.
CSS Utilities
3-11
Figure 3-7. CSS Utilities - Setup Information
Compuware CSS UTILITIES ------ Setup Information
COMMAND ===>
----------------- CSS V16.5.0
Listing ID
===>
(Optional)
Monitor Batch Status
===> Y (Y/N)
Display Results
===> Y (Y/N)
Sysout Class
===> Y
Work Datasets Defaults:
Storage Class
===>
(Optional)
Unit
===>
(Optional)
Maximum BLKSIZE:
Display the Compile Profile list
Load Module Libraries ===> 32760
(Maximum allowed is 32760)
XOPTIONS file for Xpediter/TSO Enhanced FIND: (Optional)
Dataset name ===>
Job Statement
===> //USERID01 JOB ('ACCOUNT INFO'),'JOE PROGRAMMER',
===> //
CLASS=X,MSGLEVEL=(1,1),MSGCLASS=X,
===> //
REGION=4M,NOTIFY=&SYSUID
===> //*
Press ENTER to update
or
enter END command to terminate
Listing ID
Optional. If this field is left blank, the listing output is directed to SYSOUT for batch and
‘prefix.MEMBER.list' for foreground. Otherwise, 'prefix.LISTINGID.list' is used.
Monitor Status
When the Preparation option is set to Batch, this option allows a user to monitor the
status of a submitted job by displaying the SUBMIT STATUS screen. The ATTN key may be
used to cancel monitoring at anytime.
Display Results
When the Preparation option is set to Batch or Editjcl, this option sends messages to the
programmer with the results of each step.
SYSOUT Class
If the Listing ID field is left blank and the Preparation option is set to Batch or Editjcl,
then this is the class used for the output.
Work Datasets Defaults
Storage Class Optional - If a storage class is entered, then it is used in both foreground and
batch processing.
Unit Optional - If a unit is entered, then it is used in both foreground and batch
processing.
Maximum BLKSIZE
Load Module Libraries - If this field is left blank, then a default value of 32760 is used. The
value is used on the SYSLIB DD for the linkedit step.
XOPTIONS file for Xpediter/TSO Enhanced FIND
Dataset name Optional - This option is only valid for COBOL programs. If you want to use
the Xpediter/TSO enhanced FIND function, then supply the name of the XOPTIONS
dataset. In addition, the CSS DD, CWPPRMO, requires that the OUTPUT parameter of the
3-12
Compuware Shared Services User/Reference Guide
DDIO command include the "FIND" keyword. By default, this facility is set up to supply
the "FIND" keyword.
Job Statement
Specify job card information if the execution environment is Batch or Editjcl. This
information is optional if your site has a submit exit.
DB2 Precompile Step Screen
The DB2 Precompile Step screen shown in Figure 3-8 is used to specify the settings and
options for the DB2 precompile step.
Figure 3-8. CSS Utilities - DB2 Precompile
Compuware CSS Utilities - DB2 Precompile (COB390 ) --------------- CSS V16.5.0
COMMAND ===>
DB2 Precompile Libraries ===>
===>
Options ===>
===>
DBRM Library ===>
SYSLIB Datasets:
(1) ===>
(2) ===>
(3) ===>
(4) ===>
(5) ===>
(6) ===>
(7) ===>
(8) ===>
Press ENTER to update
or
enter END command to terminate
DB2 Precompile Libraries
If you selected a DB2 identifier from the DB2 Precompile list on the Compile Menu, then
the libraries associated with the DB2 identifier are displayed here. If an identifier was
not selected, then these fields are left blank. In either case, the fields are modifiable.
Options
Specify the DB2 precompile options. If at the end of the first line an option doesn't fit,
enter the complete option on the second line.
DBRM Library
This library will contain the output from the DB2 precompiler step. It becomes the input
to your bind process. If this field is left blank, a check is done to verify the existence of a
default dataset (see Note below). If the default dataset does not exist, then it will be
created as a partioned dataset with:
LRECL=80,BLKSIZE=3200,RECFM=FB.
Note:
The prefix of the default file name is the high level nodes from the 'Source
Dsname' field. For example, if 'USERID.COB.SOURCE' is the 'Source Dsname'
field value, then the default DBRM name used during the check and allocation is
'USERID.COB.DBRMLIB'.
CSS Utilities
3-13
SYSLIB Datasets
Enter the names of the datasets to be used as secondary input. These datasets must be
partitioned, RECFM=F or FB, and LRECL=80.
CICS Translator Step Screen
The CICS Translator Step screen shown in Figure 3-9 is used to specify the options for
EXEC CICS and EXEC DLI command translation.
Figure 3-9. CSS Utilities - CICS Translator
Compuware CSS Utilities - CICS Translator (COB390 ) -------------- CSS V16.5.0
COMMAND ===>
CICS Translator Libraries ===>
===>
Options ===>
===>
SYSLIB Datasets:
(1) ===>
(2) ===>
(3) ===>
(4) ===>
(5) ===>
(6) ===>
(7) ===>
(8) ===>
Press ENTER to update
or
enter END command to terminate
CICS Translator Libraries
If you selected a CICS identifier from the CICS Translator list on the Compile Menu, then
the libraries associated with the CICS Translator are displayed here. If an identifier was
not selected, then these fields are left blank. In either case, the fields are modifiable.
Options
Specify the CICS translator options. If at the end of the first line an option doesn't fit,
enter the complete option on the second line.
SYSLIB Datasets
Enter the names of the datasets to be used as secondary input. These datasets must be
partitioned, RECFM=F or FB, and LRECL=80.
Compile Step Screen
The Compile Step screen shown in Figure 3-10 is used to specify the settings and options
for the compile.
3-14
Compuware Shared Services User/Reference Guide
Figure 3-10. CSS Utilities - Compile
Compuware CSS Utilities ----- Compile (COB390 ) ------------------ CSS V16.5.0
COMMAND ===>
Primary Command: C (Create Shared Directory/Database/DDIO)
Options ===>
===>
SYSLIB Datasets:
(1) ===>
(2) ===>
(3) ===>
(4) ===>
(5) ===>
(6) ===>
(7) ===>
(8) ===>
Object Library ===>
Shared Directory, Database,
or DDIO File ===>
LP Options DSN ===>
Press ENTER to update
or
enter END command to terminate
Primary Command:
C - Create a Shared Directory, Database and/or DDIO. Enter a "C" on the command line
and hit enter. The Create Shared Dir/Database/DDIO screen is displayed, see Figure 3-11
below.
Figure 3-11. CSS Utilities - Create Shared Dir/Database/DDIO
Compuware CSS Utilities - Create Shared Dir/Database/DDIO -------- CSS V16.5.0
COMMAND ===>
1
Shared Directory
- Create a shared directory
NOTE: At least one database file must be
attached to this shared directory for it
to be functional.
Shared Directory Name ===>
2
Database File
3
DDIO File
DDIO File Name
- Create a Database that will be attached
to an EXISTING shared directory.
Shared Directory Name ===>
Database Name ===>
- Create a non-database DDIO file.
==>
Press ENTER to continue
or
enter END command to terminate
You must select which type of file you want to create. Based on the type selected, one of
the following Create screens will then appear (see “Creating and Formatting Source
Listing Files” on page 3-21):
• Shared Directory - CSS Utilities - Create/Format Shared Directory is displayed
• Database - CSS Utilities - Create/Format Source Listing Database is displayed
• DDIO - CSS Utilities - Create/Format Source Listing File screen is displayed
CSS Utilities
3-15
Options
Specify the compile options. If at the end of the first line an option doesn't fit, enter the
complete option on the second line. If these fields are blank before they are displayed,
default options will be inserted.
The options will be placed "as is" into the JCL PARM keyword for the compile step. If you
require that an apostrophe or an ampersand be a part of the parameter, then write them
as two consecutive apostrophes or ampersands. For example, &ABC would be written as
&&ABC.
SYSLIB Datasets
Type the names of the datasets to be used for copy and copybook processing. A maximum
of eight names can be specified.
Statistics
The name of the CA-Optimizer statistics dataset. This field appears when CAOPT is
specified for the language type.
Object Library
Optional. If this field is left blank, a temporary dataset will be used.
Shared Directory, Database, or DDIO File
Optional. If this field is left blank, a check is done to verify the existence of a default
dataset (see Note below). If the default dataset does not exist, a message is displayed. At
this point you may wish to create a new file, see the Primary command C above. If you
supply a name, a check is done to verify that the dataset is a shared directory, database or
DDIO file.
Note:
The prefix of the default file name is the high level nodes from the 'Source
Dsname' field. For example, if 'USERID.COB.SOURCE' is the 'Source Dsname' field
value, then the default DDIO name used during the check is
'USERID.COB.DDIO'.
LP Options DSN
Optional. Specify a user dataset name containing Language Processor (LP) options. LP
options are compile time options used by LP mainly to control and/or handle the source
listing output for all languages. If this field is left blank, the Compile Facility defaults are
used.
Linkedit Step Screen
The Linkedit Step screen shown in Figure 3-12 is used to specify the settings and options
for the linkedit.
3-16
Compuware Shared Services User/Reference Guide
Figure 3-12. CSS Utilities - Linkedit
Compuware CSS Utilities ----- Linkedit (COB390 ) ----------------- CSS V16.5.0
COMMAND ===>
Options ===>
===>
Load Library ===>
SYSLIB Datasets:
(1) ===>
(2) ===>
(3) ===>
(4) ===>
(5) ===>
(6) ===>
(7) ===>
(8) ===>
SYSLIN Control Statements:
===>
===>
Press ENTER to update
or
enter END command to terminate
Options
Specify linkedit options. If at the end of the first line an option doesn't fit, enter the
complete option on the second line. All link-edit options are supported except OVLY and
NE.
The options will be placed "as is" into the JCL PARM keyword for the linkedit step. If you
require that an apostrophe or an ampersand be a part of the parameter, then write them
as two consecutive apostrophes or ampersands. For example, &ABC would be written as
&&ABC.
Load Library
Specify a partitioned dataset. The dataset will contain the output from the linkedit step.
If this field is left blank, a check is done to verify the existence of a default dataset (see
Note below). If the default dataset does not exist it will be created as a partioned dataset
with RECFM=U.
Note:
The prefix of the default file name is the high level nodes from the 'Source
Dsname' field. For example, if 'USERID.COB.SOURCE' is the 'Source Dsname' field
value, then the default load library name used during the check and allocation is
'USERID.COB.LOAD'.
SYSLIB Datasets
Specify library names to be searched by the linkage editor or binder.
SYSLIN Control Statements
Specify control card statements. Some control cards are specified for you. If you select
the DB2 Precompile step, then an INCLUDE DSNALI control card is generated for you. If
you also select the CICS Translator step with the DB2 precompile step then an INCLUDE
DSNCLI is generated. If you select the CICS Translator step, then an INCLUDE and an
ORDER card are generated based on the language you selected.
COBOL
DFHECI
Assembler
DFHEAI
PL/I
DFHPL1O1
CSS Utilities
C
3-17
DFHELII
Postprocessing
Postprocessing performs the following steps:
1. Reads an existing compiler listing and gathers information from the source listing,
XREF, data maps, and object code sections of the listing.
2. Gathers this information into a source listing report.
3. Stores the source listing report as a member in an existing source listing DDIO file.
You can run the postprocessor in either of two ways:
• Using sample JCL provided with CSS
• Using CSS Utilities
Running the Postprocessor Using Sample JCL
To run the postprocessor using sample JCL provided with CSS, see the Language Processor
chapter appropriate for your language: Chapter 9, “COBOL Language Processor”, Chapter
10, “PL/I Language Processor”, Chapter 11, “Assembler Language Processor” or Chapter
12, “C Language Processor”.
Running the Postprocessor Using CSS Utilities
CSS Utilities can be used to generate or update an existing job stream to postprocess a
complete listing and store it in a source listing DDIO or source shared directory database
file.
To use CSS Utilities to run the postprocessor, complete the following steps:
1. Select CREATEJCL from the CSS Utilities - Primary Menu (Figure 3-1 on page 3-2).
The CSS Utilities - CREATEJCL Menu (Figure 3-3 on page 3-5) is displayed.
2. Select option 2 Postprocessor.
The CSS Utilities - Postprocessor screen (Figure 3-13) appears, displaying a series of
fields for you to complete.
3-18
Compuware Shared Services User/Reference Guide
Figure 3-13. CSS Utilities - Postprocessor Screen
------------- COMPUWARE CSS UTILITIES --- Load Existing Listing ------- V16.5.0
COMMAND ===>
Commands: blank (Process Listing)
Browse Edit
LP (LP tutorial)
DD (DDIO tutorial)
Compiler Listing
Preparation
Language
===> SYSPRINT
===> EDITJCL
===> COBOL
SEtup C (Create DDIO file)
SD (SD/DB tutorial)
Editjcl/Batch
COBOL/PLI/ASSEMBLER
DDIO Listing File ===> LISTFILE
Options Dataset ===>
Enhanced FIND ===> N
(Y/N)
(Xpediter only)
Press ENTER to submit the job if preparation is “Batch”, or to
view the job in an edit-session if preparation is “Editjcl”.
Enter END command to terminate.
3. Complete the fields on this screen using the following table as a guide.
Table 3-4.
Postprocessor Screen Fields
To:
Do This:
Specify the dataset containing your
compiler listing
Enter the Dataset name in the Compiler Listing field.
View a list of members in a partitioned
dataset
1. Enter the dataset name in the Compiler Listing field.
2. Ensure that the Command prompt is blank.
3. Press Enter.
Browse a dataset or a particular dataset
member
1. Enter the dataset or fully-qualified member name in the
Compiler Listing field.
2. Enter BROWSE at the Command prompt.
3. Press Enter.
Edit a dataset or a particular dataset
member
1. Enter a dataset or fully-qualified member name in the
Compiler Listing field.
2. Enter EDIT at the Command prompt.
3. Press Enter.
Create a source listing database file
1. Enter C at the command prompt.
2. See “Creating and Formatting Source Listing Files” on
page 3-21.
3. Press PF3 on the Create screen to return to this screen.
Use batch processing to submit your job
Enter BATCH in the Preparation field.
Edit the JCL generated during
postprocessing before creating a source
listing member
Enter EDITJCL in the Preparation field.
Specify the language used to create your
program
Specify COBOL, PLI, ASSEMBLER, or C in the Language
field.
Specify the source listing file that will store Enter the name of a new or existing source listing DDIO file
your source listing report
in the DDIO Listing File field.
CSS Utilities
Table 3-4.
3-19
Postprocessor Screen Fields
To:
Do This:
Instruct the Language Processor to
postprocess the compiler listing using
language processor options specified in a
particular dataset
Enter the dataset name in the Options Dataset field.
Generate records for the Xpediter/TSO
enhanced FIND feature
Enter Y in the Enhanced FIND field if you want to use this
feature.
Enter N in the Enhanced FIND field if you do not want to use
this feature.
Edit the CSS Utilities General Settings
Enter SETUP at the Command prompt.
Enter JCL job statement information
Enter a job statement in the Job Statement fields.
4. After you have finished editing the fields, perform the appropriate action:
– To perform postprocessing, ensure that the Command prompt is blank and press
Enter.
– To cancel the changes and return to the previous screen, enter END at the
Command prompt.
Selecting Specific Members for Processing
If you enter a PDS name in the Compiler Listing field on the Postprocessor screen, a list
appears containing all members in the specified dataset. Table 3-5 lists the line
commands available on this screen.
Table 3-5.
Line Commands on Member Selection Screen
Enter:
To Do This:
B
Browse the member
E
Edit the member
S
Select the member for processing
Members may be sorted using any of the following criteria: Name, Created, Changed, or
ID. To sort the member list, enter SORT at the command prompt and specify the sort
characteristic (for example, SORT CHANGED).
To cancel and return to the previous screen, enter END at the command prompt.
Submitting Your JCL for Processing
To submit your JCL for processing from an Edit screen (for example, if you entered
Editjcl on the Postprocessor screen), enter SUB at the command prompt.
SOURCE - Working with Source Listing Files
Source listing files are DDIO, shared directory, and database files that contain one or
more source listing members. CSS Utilities enables you to perform a number of source
listing file functions, including:
• Creating and formatting source listing files
• Reformatting existing source listing files (existing contents are deleted)
• Displaying source listing files
• Copying, moving, importing, and exporting source listing file members
3-20
Compuware Shared Services User/Reference Guide
• File manipulation (for example, file deletion, verify shared directory, list attached
databases (for shared directory), change auto-delete characteristics on a source
database, etc.).
To work with source listing files, select Source from the CSS Utilities - Primary Menu (see
Figure 3-1 on page 3-2). The CSS Utilities - Source Listing File Facility screen (Figure 3-14)
is displayed.
Figure 3-14. CSS Utilities - Source Listing File Facility Screen
---------- CSS UTILITIES - Source Listing File Facility -------- CSS V16.5.0
COMMAND ===>
Commands: SEtup
DDIOCALC (DDIO calculator)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Processing Options
Confirm Delete
Show print setup
Language
SEL Options:
SEL
_
_
_
_
_
_
_
_
_
for S/Member List:
===> YES (Yes or No)
===> YES (Yes or No)
===> ENGLISH
Source Browsing Options:
Unit ===> VIO
Blocking ===> 10
(ENGLISH/JAPANESE/USAMIX/USAUC)
C (Create) I (Info) S (Member List)
M (Move/Copy/Export/Import)
A (Adv Function)
---- Source Listing Shared Directories/Databases/DDIO files ---_______________________________________________________________
(1) 'USERID.DDIO.SOURCE.FILE’
(2) 'USERID.DDIO.SOURCE.SHARED.DIRECTORY'
(3) 'USERID.DDIO.SOURCE.DATABASE'
(4)
(5)
(6)
(7)
(8)
Setting Source Listing File Options
The CSS Utilities - Source Listing File Facility screen (Figure 3-14) enables you to set a
number of source listing file options (described in Table 3-6). These options apply to the
member list displayed when the S (Member List) option is selected.
For a listing of advanced parameters, see “Setting Advanced Parameters” on page 3-39.
Table 3-6.
Source Listing File Options
To:
Do This:
Edit the CSS Utilities
General Settings
Enter SE at the Command prompt
Invoke the DDIOCALC
function.
Enter DDIOCALC at the Command prompt
Specify whether a
confirmation screen will
be displayed before
deleting members
Enter one of the following in the Confirm Delete field:
Y: (Default) Displays a confirmation screen before deleting a member from
the source listing file
N: Deletes a member without displaying a confirmation screen
Specify whether hardcopy Enter one of the following in the Show Print Setup field:
options will be displayed
Y: (Default) Displays hardcopy options before creating a hardcopy
before a hardcopy of a
source listing member is
N: Generates a hardcopy without displaying hardcopy options
generated
CSS Utilities
Table 3-6.
3-21
Source Listing File Options
To:
Do This:
Specify the language in
Enter one of the following languages in the Language field:
which the member list will
English: (Default) Displays the member list in mixed-case English.
be displayed when S
(DDIO member list) is
Japanese: Displays the member list in Japanese. Requires a terminal that
selected.
supports DBCS.
USAMIX: Displays the member list in mixed-case English.
USAUC: Displays the member list in upper-case English.
Specify the type of device Enter VIO, any valid physical address, type, or generic name in the Unit field.
that will store the
Note: VIO improves response time.
temporary dataset
Specify the size of the
temporary dataset
Enter a number of records per block in the Blocking field.
Note: Entering a larger number improves response time. However, if the
Blocking value is too large, it will be reduced to the maximum value
permitted for the selected device type.
Creating and Formatting Source Listing Files
On the CSS Utilities - Source Listing File Facility screen (Figure 3-14 on page 3-20), the
Source Listing Files section lists the eight source listing files that have been most recently
used. To create and format source listing files, complete the following steps.
1. Perform the appropriate step:
– To reformat an existing source listing file, scan the Source Listing Files List on
this screen. If it does not contain the file you want to reformat, enter the file
name on the blank line at the top of the list. Enter C to the left of the file name
– To create a new source listing file (and add the file to the list), enter the file name
at the entry line under Source Listing Files, then enter a C to the left of the file
name.
2. Press Enter.
If the file name you entered does NOT exist yet, you will first see the following filetype selection panel. You must select which type of file you want to create. Based on
the type selected, one of the following “create” screens will then appear:
3-22
Compuware Shared Services User/Reference Guide
Figure 3-15. CSS Utilities - Select Desired File Type
--------CSS UTILITIES - Select Desired File Type ------COMMAND ===>
Commands: SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
CSS V16.5.0
LP (LP tutorial)
File Name entered: 'CX.NEW.FILE'
1
Shared Directory
- Create a shared directory
NOTE: At least one database file must be
attached to this shared directory for it
to be functional.
2
Database File
- Create a Database that will be attached
to an EXISTING shared directory.
3
DDIO File
- Create a non-database DDIO file. Will not
work with Abend-AID 12.4 or newer.
Enter END command to terminate
The CSS Utilities - Create/Format Source Listing File screen (Figure 3-16) is displayed
for existing standard DDIO files, CSS Utilities - Create/Format Shared Directory
(Figure 3-17) is displayed for existing shared directory files, and CSS Utilities Create/Format Source Listing Database (Figure 3-18 on page 3-23) is displayed for
existing Source Listing Database files attached to a shared directory.
Figure 3-16. CSS Utilities - Create/Format Source Listing File Screen (Standard DDIO Files)
--- COMPUWARE CSS UTILITIES - CREATE/FORMAT Source Listing File - CSS V16.5.0
COMMAND ===>
Commands: SEtup
A (Advanced Parms)
DDCV (DDIOCalc Values)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Dataset Name ===> 'CX.NEW.DDIO'
Preparation ===> BATCH
DS Organization ===> VSAM
Reallocate ===> NO
Model DSN
Storage Class
Management Class
Data Class
Volume
Unit
(Batch/Editjcl/Foreground)
(Vsam/Sequential)
(Yes/No)
===>
===>
===>
===>
===>
===>
Space Units ===> CYLINDERS
Primary Quantity ===> 50
Number of Members ===> 500
Press ENTER to process
(optional,
(optional,
(optional,
(optional,
(optional,
unless
unless
unless
unless
unless
site
site
site
site
site
requires)
requires)
requires)
requires)
requires)
(Blocks/Tracks/Cylinders)
(1 to 16000)
or
enter END command to terminate
CSS Utilities
3-23
Figure 3-17. CSS Utilities - Create/Format Source Listing Shared Directory
--- COMPUWARE CSS UTILITIES - CREATE/FORMAT Shared Directory ----- CSS V16.5.0
COMMAND ===>
Commands: SEtup
A (Advanced Parms)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Dataset Name ===> 'CX.NEW.SHRDIR'
Preparation ===> BATCH
Reallocate ===> NO
Model DSN
Storage Class
Management Class
Data Class
Volume
===>
===>
===>
===>
===>
(Batch/Editjcl/Foreground)
(Yes/No)
(optional)
(optional)
(optional)
(optional)
==>
==>
==>
==>
(optional,
(optional,
(optional,
(optional,
unless
unless
unless
unless
site
site
site
site
requires)
requires)
requires)
requires)
Space Units ===> TRACKS (Blocks/Tracks/Cylinders)
Primary Quantity ===> 70
( <= 5 cylinders for most installations )
OR
Number of Entries ===>
(optional)
(This field overrides above space parms & calculates space needed)
Press ENTER to process
or
enter END command to terminate
Figure 3-18. CSS Utilities - Create Source Listing Database (Attached to a Shared Directory)
---- COMPUWARE CSS UTILITIES - CREATE/FORMAT Source Database ---- CSS V16.5.0
COMMAND ===>
Commands: SEtup
A (Advanced Parms)
DDCV (DDIOCalc Values)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Dataset Name ===> 'CX.NEW.DATABASE'
Preparation ===> BATCH
DS Organization ===> VSAM
Reallocate ===> NO
Model DSN
Storage Class
Management Class
Data Class
Volume
Unit
===>
===>
===>
===>
===>
===>
Space Units
Primary Quantity
Number of Members
Shared Directory
===>
===>
===>
===>
(Batch/Editjcl/Foreground)
(Vsam/Sequential)
(Yes/No)
(optional,
(optional,
(optional,
(optional,
(optional,
unless
unless
unless
unless
unless
site
site
site
site
site
requires)
requires)
requires)
requires)
requires)
CYLINDERS (Blocks/Tracks/Cylinders)
50
500
(1 to 16000)
'CX.EXISTING.SHRDIR'
Press ENTER to process
or
enter END command to terminate
3. Complete the fields on these screens using the following table as a guide.
Table 3-7.
Create/Format Source Listing File Fields
To:
Do This:
Edit the CSS Utilities General
Settings
Enter SE at the Command prompt.
Display advanced parameters
Enter A at the Command prompt.
For a complete description of the advanced parameters, see Table
3-8 on page 3-28.
3-24
Compuware Shared Services User/Reference Guide
Table 3-7.
Create/Format Source Listing File Fields
To:
Do This:
Load values from the DDIOCalc
Utility
Enter DDCV in the Command prompt.
Use batch processing to submit
your job
Enter BATCH in the Preparation field.
Generate JCL for the Create/Format Enter EDITJCL in the Preparation field.
job, then edit the JCL
Immediately perform the desired
function in your TSO session
Enter FOREGROUND in the Preparation field.
Specify the file type
Enter VSAM or SEQUENTIAL in the DS Organization field.
Note: If a Model DSN is specified (see below), this parameter is
optional. If a Model DSN is not specified, you must specify a file
type.
Delete and reallocate the specified
source listing file
Enter YES in the Reallocate field.
Specify a “template” (another
(Optional) Enter the dataset name in the Model DSN field.
source listing file) for allocating and
Note: All explicitly set parameters on this screen, and on the
formatting source listing files
Advanced Parameters screen, override settings in the template file.
Specify a Storage Management
Subsystem (SMS) storage class
(Optional unless site requires) Enter an eight-character storage
class in the Storage Class field.
Specify an SMS management class
(Optional unless site requires) Enter an eight-character
management class in the Management Class field.
Specify an SMS data class
(Optional unless site requires) Enter an eight-character data
class in the Data Class field.
Specify the volume serial number of (Optional unless site requires) Enter the volser in the Volume
the source listing file
field.
Specify a device or device type
(Optional unless site requires) Enter the device or device type
in the Unit field.
Specify a unit of measure for the file Enter BLOCKS, TRACKS, or CYLINDERS in the Space Units field.
size
Note: If DS Organization = VSAM and a Model DSN is specified,
this parameter is optional. If not, this parameter is required.
Specify an amount of primary space Enter a value in the Primary Quantity field.
for the source listing file
Note: If DS Organization = VSAM and a Model DSN is specified,
this parameter is optional. If not, this parameter is required.
(DDIO or Database only)
Enter a value in the Number of Members field.
Specify the maximum number of
members that the source listing file
can contain
Note: If a Model DSN is specified, this parameter is optional. If not,
this parameter is required.
(Shared Directory only)
(Optional) Enter a value in the Number of Entries field. If a value
is entered here, it will override the space Parameters entered.
Specify the number of entries, total
number of members, to be stored In
the shared directory.
(Source Listing Database Only)
Enter the name of the Shared directory to which you want to attach
the Database.
Specify the shared directory
4. After you have finished editing the fields, perform the appropriate action:
– To submit the Create/Format job, ensure that the Command prompt is blank and
press Enter.
CSS Utilities
3-25
– To cancel the changes and return to the previous screen, enter END at the
Command prompt.
Setting Advanced Create/Format Parameters
To edit source listing file Create/Format advanced parameters, complete the following
steps:
1. Enter A at the command prompt on the CSS Utilities - Create/Format Source Listing
File screen (Figure 3-16 on page 3-22).
2. Make sure the DS Organization field has been set to the desired file type.
3. Press Enter.
Note:
Figure 3-19 displays the Source Listing File Create/Format - Advanced Parameters
screen for Sequential Source Listing files. Figure 3-20 displays the Source Listing
File Create/Format - Advanced Parameters screen for VSAM files.
Figure 3-19. Source Listing File Create/Format - Advanced Parameters Screen (Sequential)
----- SOURCE LISTING FILE CREATE/FORMAT - ADVANCED PARAMETERS ------ V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for Sequential Source Listing file:
Blocksize ===>
Groupcount ===>
Autodelete ===> DUPS
Extents ===>
(2048 to TRKSIZE)
(1 to 2048)
(Dups/Yes/No/Staged)
(1 to 460)
DEFAULTS:
27998
2
Dups
460
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process
or
enter END command to terminate
3-26
Compuware Shared Services User/Reference Guide
Figure 3-20. Source Listing File Create/Format - Advanced Parameters Screen (VSAM)
------ Source Listing File CREATE/FORMAT - ADVANCED PARAMETERS ------ V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for VSAM Source Listing file:
CISIZE ===>
Multivolume ===> YES
VSAM Catalog ===>
DEFAULTS:
18432
NO
(Yes or No)
Groupcount ===>
Autodelete ===> YES
Extents ===>
(1 to 2048)
(Dups/Yes/No/Staged)
(1 to 460)
3
Dups
460
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process
or
enter END command to terminate
Figure 3-21. Shared Directory Create/Format - Advanced Parameters Screen
----- Shared Directory CREATE/FORMAT - ADVANCED PARAMETERS ---- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for VSAM Shared Directory:
CISIZE ===>
Multivolume ===>
VSAM Catalog ===>
(Yes or No)
DEFAULTS:
18432
NO
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
AUTOLOCKMAX ===>
DUPMAX ===>
*
(1-99 to set autolocking feature) *
(1-99 to set max duplicates feature)
IF AUTOLOCKMAX is set the databases must be set to AD=DUPS/STAGED.
Press ENTER to process or enter
END command to terminate
|
CSS Utilities
3-27
Figure 3-22. Source Listing Source Listing Database Create/Format - Advanced Parameters Screen
(VSAM)
------- Source Database CREATE/FORMAT - ADVANCED PARAMETERS ---- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for VSAM Source Database:
CISIZE ===> 8192
Multivolume ===>
DEFAULTS:
18432
NO
(Yes or No)
VSAM Catalog ===>
Groupcount ===> 8
Autodelete ===> DUPS
Extents ===>
(1 to 2048)
(Dups/Yes/No/Staged)*
(1 to 460)
3
Dups
460
* If AUTOLOCKMAX is set in the shared directory AD=DUPS/STAGED is required.
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process or enter
END command to terminate
Figure 3-23. Source Listing Source Listing Database Create/Format - Advanced Parameters Screen
(Sequential)
------- Source Database CREATE/FORMAT - ADVANCED PARAMETERS --- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for Sequential Source Database:
Blocksize ===>
Groupcount ===> 8
Autodelete ===> DUPS
Extents ===>
(2048 to TRKSIZE)
(1 to 2048)
(Dups/Yes/No/Staged)*
(1 to 460)
DEFAULTS:
27998
2
Dups
460
* If AUTOLOCKMAX is set in the shared directory AD=DUPS/STAGED is required
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process
or
enter END command to terminate
3-28
Compuware Shared Services User/Reference Guide
4. Complete the fields on this screen, as necessary, using the following table as a guide.
Table 3-8.
Create/Format Source Listing File Advanced Parameters
To:
Do This:
Specify whether advanced
parameters will be displayed
each time a Create/Format
Source Listing File command is
processed
Enter one of the following in the Prompt This Panel Upon Process field:
Y: Displays advanced parameters before processing Create/Format
commands.
N: Processes Create/Format commands without displaying advanced
parameters.
(Sequential files only)
Specify the source listing file
blocksize
Enter an integer between 2048 and 32760 in the Blocksize field.
•
If you do not complete this field, the default blocksize of 4096 will
be used.
•
The blocksize is always ignored during the file allocation phase.
(VSAM files only)
Enter an integer in the CISIZE field.
Specify the control interval size
If you do not complete this field, the default value of 4096 will be used.
(VSAM files only)
Enter one of the following in the Multivolume field:
Specify whether VSAM source
listing files are allocated on
multiple volumes
Yes: VSAM source listing files will be allocated on multiple volumes.
No: (Default) VSAM source listing files will not be allocated on multiple
volumes.
Note: The multivolume dataset allocation must be performed in a
batch mode. See Chapter 5, Step 8 of the Enterprise Common
Components Installation and Customization Guide for more information.
After allocation is complete, the file can be formatted using online
Create/Format panels with the Reallocate field value set to NO and
Advanced Parameter Multivolume set to YES.
(VSAM files only)
(Optional) Enter a catalog name in the VSAM Catalog field.
Specify the VSAM catalog in
which the source listing file will
be created
Specify the number of blocks
Enter a number between 1 and 2048 in the Groupcount field.
allocated to a source listing file
when additional space is needed Note: Compuware recommends setting the Groupcount to 8. The
default setting is 4.
Specify whether the oldest
member of a source listing file
will be deleted when the file
becomes full
Enter one of the following settings in the Autodelete field:
Dups: (Default) Unlocks automatically locked members with the same
name, then locks the most recent member.
Yes: Automatically deletes one or more of the oldest unlocked
members to allow new members to be written to the file.
No: You must manually delete members when the DDIO file becomes
full.
Staged: Similar to DUPS.
For a complete description of these settings, see “Command
Parameters for all DDIO files” on page 8-8.
Specify the maximum number of Enter a number between 1 and 460 in the Extents field.
extents allocated to each source
Note: If you do not complete this field, the default value of 64 will be
listing member
used.
CSS Utilities
Table 3-8.
3-29
Create/Format Source Listing File Advanced Parameters
To:
Do This:
(Shared Directory only)
Enter a number between 1 and 99 in the AUTOLOCKMAX field.
Set the AUTOLOCKMAX value to Note: Leaving this field blank is equivalent to not setting this feature.
adjust the autolocking of
duplicate source-listing
members when compiling a new
member - adjusted at the
shared-directory level.
(Shared Directory only)
Enter a number between 1 and 99 in the DUPMAX field.
Set the DUPMAX value to
Note: Leaving this field blank is equivalent to not setting this feature.
control the total number of
duplicate source-listing
members when compiling a new
member - adjusted at the
shared-directory level.
5. After you have finished editing the fields, perform the appropriate action:
– To apply the advanced parameter settings and return to the previous screen,
ensure that the Command prompt is blank and press Enter.
– To cancel the changes and return to the previous screen, enter END at the
Command prompt.
Deleting Source Listing Files
To delete a source listing file, complete the following steps.
1. Ensure that the CSS Utilities - Source Listing File Facility screen (Figure 3-14 on page
3-20) is displayed.
You can display this screen by selecting option 2 (Source) from the CSS Utilities Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Source Listing Files list on this screen. If it does not contain the file that you
want to delete, enter the file name on the blank line at the top of the list.
3. Press Enter.
4. The CSS Utilities Advanced Functions panel will be displayed.
5. Select the Delete option from the menu, press Enter.
6. Follow instructions on the particular “delete” function panel that is displayed
(different by file type). See “Setting Advanced Parameters” on page 3-39.
Displaying File Information
To display information about a particular source listing file, complete the following steps:
1. Ensure that the CSS Utilities - Source Listing File Facility screen (Figure 3-14 on page
3-20) is displayed.
You can display this screen by selecting option 2 (Source) from the CSS Utilities Primary Menu (Figure 3-1 on page 3-2).
2. Scan the DDIO Files list on this screen. If it does not contain the file for which you
want to view information, enter the file name on the blank line at the top of the list.
3. Enter I to the left of the file name.
4. Press Enter.
3-30
Compuware Shared Services User/Reference Guide
A report (Figure 3-24) is displayed containing current parameter settings and file
statistics. To scroll through the report, use the PF7 and PF8 keys.
Figure 3-24. Source Listing File Information Report
COMPUWARE/VF ..... 'CX.LISTFILE' ........................... Row 1 to 21 of 41
COMMAND INPUT ===>
SCROLL ===> PAGE
DIRECTORY INFORMATION
DSN ..............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
BLOCKS/TRACK ..................
FILE FORMATTED BY DDIO RELEASE.
REQUIRED MINIMUM DDIO RELEASE .
CURRENT REPORT NUMBER .........
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT....................
CX.LISTFILE
PRD921
BSAM
8185
SOURCE
100
4
DUPS
EXTENDED
256
360
87
85(98%)
6
7.4.0
5.6.0
45
13
8
EXTENDED
Note: To see a complete report sample and a description of the fields on the report, refer
to “Source Listing File DIRX Report” on page 2-20.
Figure 3-25. Source Listing Database Information Screen
COMPUWARE/VF ----- 'CX.LP.DATABASE' ------------------------ Row 1 to 20 of 44
COMMAND INPUT ===>
SCROLL ===> CSR
DIRECTORY INFORMATION
DATABASE IS CONNECTED
CATALOG DSN: CX.LP.CATALOG4
VOLSER: PRD988
DSN ----------------------------VOLSER -------------------------AM(ACCESS METHOD) --------------BLKSIZE ------------------------TYPE ---------------------------REPTCOUNT ----------------------GROUPCOUNT ---------------------AUTODELETE ---------------------INDEX --------------------------EXTENTS ------------------------OTHER INFORMATION
BLOCKS IN FILE ---------------ALLOCATION GROUPS ------------USED ALLOCATION GROUPS -------BLOCKS/TRACK -----------------FILE FORMATTED BY DDIO RELEASE-
CX.LP.DATABASE
PRD925
BSAM
12288
SOURCE DATABASE
40
1
YES
EXTENDED
256
200
196
166(85%)
4
7.7.0
Note: To see a complete report sample and a description of the fields on the report, refer
to “Source Listing Database DIRX Report” on page 2-48.
CSS Utilities
3-31
Figure 3-26. Source Listing Shared Directory Information Screen
COMPUWARE/VF ..... 'CX.LP.SHRDIR' ......................... Row 1 to 20 of 110
COMMAND INPUT ===>
SCROLL ===> CSR
DIRECTORY INFORMATION
DIRX FOR SHARED DIRECTORY: CX.LP.SHRDIR
VOLSER: PRD988
SHARED DIRECTORY INFORMATION:
AM ..............................
BLKSIZE .........................
OTHER INFORMATION
DIRECTORY FORMATTED BY DDIO ...
REQUIRES MINIMUM DDIO RELEASE .
TOTAL BLOCKS IN SHARED DIR ....
USED BLOCKS ...................
NUMBER OF EXTENTS .............
VSAM
7161
7.8.0
7.0.0
105
27(26%)
1
NUMBER OF ATTACHED DATABASE(S)................12
NUMBER OF SOURCE DATABASE(S)................12
ATTACHED DATABASE INFORMATION
DATABASE LIST
EFHKAT0.SOURCE.DB
EFHAXS0.SOURCE.DB
EFHKAT0.SOURCE.DB3
EFHKAT0.SOURCE.DB1
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
CX.REPTFILE
PRD933
VSAM
7161
SOURCE DATABASE
10
4
DUPS
NON-EXTENDED
256
105
27
10(11%)
Note: To see a complete report sample and a description of the fields on the report, refer
to “Source Listing Shared Directory (SRCEDIR) DIRX Report” on page 2-55.
Working with Source Listing File Members
CSS Utilities enables you to work with source listing file members in the following ways:
•
•
•
•
•
Display members
Copy members
Move members
Export members
Import members
These operations are described in the following sections.
Displaying Members
To display the members in a particular source listing file, complete the following steps:
1. Ensure that the CSS Utilities - Source Listing File Facility screen (Figure 3-14 on page
3-20) is displayed.
3-32
Compuware Shared Services User/Reference Guide
You can display this screen by selecting option 2 (Source) from the CSS Utilities Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Source Listing Files list on this screen. If it does not contain the desired file,
enter the file name on the blank line at the top of the list.
3. Enter S to the left of the file name.
4. Press Enter.
A member list (Figure 3-27) is displayed. To scroll through the list, use the PF7 and
PF8 keys. To display a list of the line commands available on this screen, press PF1.
Figure 3-27. Source Listing File Member List - DDIO Format
COMPUWARE/VF -- Source Listing File Member List --COMMAND INPUT ===>
Source DDIO File: CX.LISTFILE
SELECT
CODE
______
______
______
______
______
______
______
______
______
______
______
______
______
______
______
S - Select
P - Print
PROGRAM
LIST NUMBER
COBABEND (L)
47
COBABEND
45
COBABEND
46
COBABEND (M)
43
COBABEND
30
FEA02P2
(L)
29
FEA02P2
28
FEA02P2
27
FEA02P2
26
FEA02P2
25
FEA02P2
24
PLIBASD
21
PLIBASD
(L)
23
PLIBASD
22
COBABEND
20
D - Delete
L
COMP DATE
25 JUN 2002
13 MAY 2001
06 MAY 2001
06 MAY 2001
28 JAN 2000
15 JAN 2000
15 JAN 2000
15 JAN 2000
13 JAN 2000
13 JAN 2000
13 JAN 2000
13 JAN 2000
13 JAN 2000
13 JAN 2000
13 JAN 2000
Row 1 to 15 of 40
SCROLL ===> PAGE
- Lock
U - Unlock
TIME
RC
LANGUAGE SIZE(K)
11:02:41 04
COBIIR4
32
11:03:11 04
COBOL/390M
64
14:21:34 04
COBIIR4
32
14:21:34 00
COBIIR4
32
16:21:32 00
COBOL/390
32
09.38.39 04
PL/I V1R5
128
09.18.11 04
PL/I V1R5
128
09.05.47 04
PL/I V1R5
128
15.14.37 04
PL/I V1R5
128
14.28.19 04
PL/I V1R5
128
14.23.59 04
PL/I V1R5
128
10.48.37 00
PL/I V2
128
01.05.45 04
PL/I V2
32
01.04.40 00
PL/I V2
32
15.56.17 00
COBOL/390
32
Figure 3-28 shows the Source Listing Shared Directory Member List screen with “Display
Long PROGRAM Names” set to NO. A LONGNAME will be indicated by an ‘*’ in the
eighth position of the name. A mixed case name is shown as stored.
Note:
Selection I-Info is valid only for Source Listing Database and Shared Directory.
Figure 3-28. Source Listing Shared Directory Member List Screen (Not LONGNAME)
COMPUWARE/VF -- Source Listing Shared Directory Member List -- Row 1 to 7 of 7
COMMAND INPUT ===>
SCROLL ===> CSR
Shared Directory: CX.LP.SHRDIR
Display Long PROGRAM Names ==> NO
(yes or no) Number of lines ==>
SELECT S - Select
P - Print
D - Delete
L
CODE
PROGRAM
LIST NUMBER
COMP DATE
______ AVery
(L)
215
07 SEP 2001
______ ASMTEST
(L)
199
21 APR 2000
______ COBABND6 (M)
192
18 APR 2000
______ AVeryLa* (L)
191
14 APR 2000
______ COBABND1 (M)
189
12 APR 2000
______ COBABEND (M)
186
04 APR 2000
______ COBABND1
7
04 APR 2000
******************************* Bottom of data
1
(1 TO 4)
- Lock
U - Unlock
I - Info
TIME
RC
LANGUAGE SIZE(K)
08.55.34 00
C/390 V2R6
1032
15.42
00
ASMH
60
06:47:02 00
COBIIR4
48
11:16:29 00
C/ESA V3R2
816
12:38:15 04
COBIIR4
36
17:11:10 04
COBIIR4
36
17:11:31 04
COBIIR4
36
********************************
Figure 3-29 shows the a Source Listing Shared Directory Member List with Display Long
PROGRAM Names set to YES. A mixed case name is shown as stored.
CSS Utilities
3-33
Figure 3-29. Source Listing Shared Directory Member List Screen (LONGNAME)
COMPUWARE/VF -- Source Listing Shared Directory Member List -- Row 1 to 5 of 7
COMMAND INPUT ===>
SCROLL ===> CSR
Shared Directory: CX.LP.SHRDIR
Display Long PROGRAM Names ==> YES (yes or no) Number of lines ==>
SELECT S - Select
P - Print
D - Delete
L
CODE
PROGRAM
LIST NUMBER
COMP DATE
______ AVery
(L)
215
07 SEP 2001
AVery
SOURCE DATABASE: CX.LP.DATABASE
______ ASMTEST
(L)
199
21 APR 2000
ASMTEST
SOURCE DATABASE: CX.LP.DATABASE
______ COBABND6 (M)
192
18 APR 2000
COBABND6
SOURCE DATABASE: CX.LP.DATABASE
______ AVeryLa* (L)
191
14 APR 2000
AVeryLargeNameofatLeast30Characters_20
SOURCE DATABASE: CX.LP.DATABASE
______ COBABND1 (M)
189
12 APR 2000
COBABND1
SOURCE DATABASE: CX.LP.DATABASE
1
(1 TO 4)
- Lock
U - Unlock
I - Info
TIME
RC
LANGUAGE SIZE(K)
08.55.34 00
C/390 V2R6
1032
15.42
00
ASMH
60
06:47:02
00
COBIIR4
48
11:16:29
00
C/ESA V3R2
12:38:15
04
COBIIR4
816
36
Figure 3-30 shows the Source Listing Database Member List screen with Display Long
PROGRAM Names set to NO. A LONGNAME will be indicated by an ‘*’ in the eighth
position of the name. A mixed case name is shown as stored in the Source Listing Shared
Directory.
Figure 3-30. Source Listing Database Member List Screen (Not LONGNAME)
SCOMPUWARE/VF -- Source Listing Database Member List ----Row 1 to 9 of 9
COMMAND INPUT ===>
SCROLL ===> CSR
Source Database: CX.LP.DATABASE
ATTACHED TO:
CX.LP.SHRDIR
Display Long PROGRAM Names ==> NO (yes or no) Number of lines ==> 1 (1 TO 4)
SELECT S - Select
P - Print
D - Delete
L
CODE
PROGRAM
LIST NUMBER
COMP DATE
______ ASMTEST
415
26 OCT 2001
______ COBDEMO1
405
03 OCT 2001
______ COBDEMO1
404
27 SEP 2001
______ COBDEMO1
403
20 SEP 2001
______ COBDEMO1 (L)
402
10 SEP 2001
______ ASMTEST
(L)
400
10 SEP 2001
______ ASMTEST
398
10 SEP 2001
______ AVeryBi* (M)
397
06 SEP 2001
______ AVeryBi* (M)
375
21 FEB 2000
******************************* Bottom of data
- Lock
U - Unlock
I - Info
TIME
RC
LANGUAGE SIZE(K)
15.12
00
ASMH
56
15:41:41 04
COBIIR4
98
13:23:08 04
COBIIR4
98
09:52:21 04
COBIIR4
98
16:03:47 04
COBIIR4
98
15.55
00
ASMH
56
15.08
00
ASMH
56
15.16.50 00
C/390 V2R6
1035
13.06.52 00
C/ESA V3R2
826
********************************
Figure 3-31 shows the Source Listing Database Member List screen with Display Long
PROGRAM Names set to YES. A mixed case name is shown as stored in the Source Listing
Shared Directory.
3-34
Compuware Shared Services User/Reference Guide
Figure 3-31. Source Listing Database Member List Screen (LONGNAME)
COMPUWARE/VF -- Source Listing Database Member List ----Row 5 to 9 of 9
COMMAND INPUT ===>
SCROLL ===> CSR
Source Database: CX.LP.DATABASE
ATTACHED TO:
CX.LP.SHRDIR
Display Long PROGRAM Names ==> YES (yes or no) Number of lines ==> 1 (1 TO 4)
SELECT S - Select
P - Print
D - Delete
L
CODE
PROGRAM
LIST NUMBER
COMP DATE
______ COBDEMO1 (L)
402
10 SEP 2001
COBDEMO1
______ ASMTEST
(L)
400
10 SEP 2001
ASMTEST
______ ASMTEST
398
10 SEP 2001
ASMTEST
______ AVeryBi* (M)
397
06 SEP 2001
AVeryBigLongNameofatLeast30Characters_20
______ AVeryBi* (M)
375
21 FEB 2000
AVeryBigLargeNameofatLeast30Characters_20
******************************* Bottom of data
- Lock
U - Unlock
I - Info
TIME
RC
LANGUAGE SIZE(K)
16:03:47 04
COBIIR4
98
15.55
00
ASMH
56
15.08
00
ASMH
56
15.16.50
00
C/390 V2R6
1035
13.06.52
00
C/ESA V3R2
826
********************************
For more information and explanations of the fields, see “Source Listing Dataset
Directory” on page 1-90
Copying Members
To copy members from one source listing file to another, complete the following steps:
Note:
If you are including new members into a Source Shared Directory VIA (Copy,
Move, Import) function, the Dynamic Source DDIO file creation may take place
if your target Shared Directory has the DBMODEL functionality setup.
1. Ensure that the CSS Utilities - Source Listing File Facility screen (Figure 3-14 on page
3-20) is displayed.
You can display this screen by selecting option 2 (Source) from the CSS Utilities Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Source Listing Files list on this screen. If it does not contain the file from
which you want to copy members, enter the file name on the blank line at the top of
the list.
3. Enter M to the left of the file name.
4. Press Enter. The CSS Utilities - Move Facility Selection Panel popup screen (Figure 332) is displayed.
Figure 3-32. CSS Utilities - Source Listing File Move Facility Screen
--- COMPUWARE CSS UTILITIES - Move Facility Selection Panel - CSS V16.5.0
PLEASE INDICATE THE DESIRED OPTION FROM:
C (COPY)
M
(MOVE)
OPTION:
Press ENTER to process
or
E
(EXPORT)
I
(IMPORT)
_
enter END command to terminate
5. Specify the desired option, C (COPY) from the options shown.
CSS Utilities
3-35
6. Press Enter. The CSS Utilities - Source Listing File Move Facility screen (Figure 3-33) is
displayed.
Figure 3-33. CSS Utilities - Source Listing File Move Facility Screen
--- COMPUWARE CSS UTILITIES - Source Listing File Move Facility - CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
L (List of members)
A (Advanced parms)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Preparation ===> EDITJCL
(Batch/Editjcl/Foreground)
Option ===> COPY
(Copy/Move/Export/Import)
From File ===> 'CX.LISTFILE'
To File ===> 'CX.SAMPLE.DDIO'
Member Name ===> AR*
Member Number ===>
Press ENTER to process
(Optional, specify prefix to be used for
select - can be a wildcard or entire name)
(Optional, specify a member number to be
used - will override "Member Name" field)
or
enter END command to terminate
7. Complete the fields on this screen using Table 3-9 as a guide:
• COPY should already be specified in the Option field (from the popup screen); if not,
enter COPY in the Option field.
• Enter a dataset name in the To File field.
Note: This table describes the COPY, MOVE, EXPORT, and IMPORT commands. You will
be using the COPY command, so specify COPY in the Option field.
Table 3-9.
Source Listing File Move Facility Fields
To:
Do This:
Use batch processing to submit your job
Enter BATCH in the Preparation field.
Edit the JCL generated for the COPY,
MOVE, EXPORT, or IMPORT before
submitting the JCL for processing
Enter EDITJCL in the Preparation field.
Immediately perform the desired function Enter FOREGROUND in the Preparation field.
in your TSO session
Specify the command type (COPY, MOVE, This field is pre-set by the option selected in the Move
EXPORT, or IMPORT)
Facility Selection Panel (Figure 3-32).
Specify the source listing file from which
members will be copied, moved,
exported, or the sequential file from
which members will be imported.
Enter a dataset name in the From File field.
Specify the source listing file to which
members will be copied, moved, or
imported
Enter a dataset name in the To File field.
If this dataset does not exist, you will be prompted to enter
the C command to display the CSS Utilities - Create/Format
Source Listing File screen (Figure 3-16 on page 3-22 if From
File is a standard DDIO, or Figure 3-34 on page 3-38 if From
File is a shared directory or database).
3-36
Compuware Shared Services User/Reference Guide
Table 3-9.
Source Listing File Move Facility Fields
To:
Do This:
Specify the sequential file to which
members will be exported
Enter a dataset name in the To File field.
If this dataset does not exist, it will be created as part of the
generated EXPORT job in the JCL.
Perform commands (COPY, MOVE,
IMPORT, EXPORT, and LIST) on members
matching a particular prefix
Optional: Enter the prefix in the Member Name field. Prefix
can be a wild card (followed by an asterisk), or the entire
name.
Note: If a prefix or name is not specified, commands will be
performed on all members in the specified file.
Specify a particular source member for
processing by member number
Enter the member number in the Member Number field.
View and select members in the From File Enter L at the Command prompt.
dataset
Note: See “Selecting Specific Members for Processing” on
page 3-7 for step-by-step instructions.
Edit advanced parameters
Enter A at the Command prompt.
For a complete description of the advanced parameters, see
“Setting Advanced Parameters” on page 3-39.
Edit the CSS Utilities - General Settings
Enter SETUP at the Command prompt.
8. After you have finished editing the fields, perform the appropriate action:
– To submit the COPY, MOVE, IMPORT, or EXPORT, ensure that the Command
prompt is blank and press ENTER.
– To cancel the changes and return to the previous screen, enter END at the
Command prompt.
Moving Members
To move members from one source listing file to another, complete the following steps:
Note:
If you are including new members into a Source Shared Directory VIA (Copy,
Move, Import) function, the Dynamic Source DDIO file creation may take place
if your target Shared Directory has the DBMODEL functionality setup.
1. Ensure that the CSS Utilities - Source Listing File Facility screen (Figure 3-14 on page
3-20) is displayed.
You can display this screen by selecting option 2 (Source) from the CSS Utilities Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Source Listing Files list on this screen. If it does not contain the file from
which you want to move members, enter the file name on the blank line at the top of
the list.
3. Enter M to the left of the file name.
4. Press Enter. The CSS Utilities - Move Facility Selection Panel popup screen is
displayed (Figure 3-32 on page 3-34).
5. Specify the desired option M (MOVE) from the options shown.
6. Press Enter. The CSS Utilities - Source Listing File Move Facility screen (Figure 3-33 on
page 3-35) is displayed.
7. Complete the fields on this screen using Table 3-9 on page 3-35 as a guide.
– MOVE should be already specified in the Option field (from the popup screen); if
not, enter MOVE in the Option field.
CSS Utilities
3-37
– Enter a dataset name in the To File field.
Exporting Members
To export members from a source listing file to a sequential dataset, complete the
following steps:
1. Ensure that the CSS Utilities - Source Listing File Facility screen (Figure 3-14 on page
3-20) is displayed.
You can display this screen by selecting option 2 (Source) from the CSS Utilities Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Source Listing Files list on this screen. If it does not contain the file from
which you want to export members, enter the file name on the blank line at the top
of the list.
3. Enter M to the left of the file name.
4. Press Enter. The CSS Utilities - Move Facility selection Panel popup screen (Figure 332 on page 3-34) is displayed.
5. Specify the desired option E (Export) from the options shown.
6. Press Enter. The CSS Utilities - Source Listing File Move Facility screen (Figure 3-33 on
page 3-35) is displayed.
7. Complete the fields on this screen using Table 3-9 on page 3-35 as a guide.
– EXPORT should already be specified in the Option field (from the popup screen);
if not, enter EXPORT in the Option field.
– Enter the name of a sequential dataset in the To File field. If this dataset does not
exist, it will be created as part of the generated EXPORT job in the JCL; a default
of 200 blocks will be generated in the SPACE parameter if the estimated number
of blocks cannot be determined.
Importing Members
To import members from a sequential dataset into a source listing file, complete the
following steps:
Note:
If you are including new members into a Source Shared Directory VIA (Copy,
Move, Import) function, the Dynamic Source DDIO file creation may take place
if your target Shared Directory has the DBMODEL functionality setup.
1. Ensure that the CSS Utilities - Source Listing File Facility screen (Figure 3-14 on page
3-20) is displayed.
You can display this screen by selecting option 2 (Source) from the CSS Utilities Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Source Listing Files list on this screen. If it does not contain the file to
which you want to import members, enter the file name on the blank line at the top
of the list.
3. Enter M to the left of the file name.
4. Press Enter. The CSS Utilities - Move Facility Selection Panel popup screen (Figure 332 on page 3-34) is displayed.
5. Specify the desired option of I (IMPORT) from the options shown.
6. Press Enter. The CSS Utilities - Source Listing File Move Facility screen (Figure 3-33 on
page 3-35) is displayed.
7. Complete the fields on this screen as shown in Table 3-9 on page 3-35.
3-38
Compuware Shared Services User/Reference Guide
– IMPORT should already be specified in the Option field (from the popup screen);
if not, enter IMPORT in the Option field.
– Enter the name of a source listing export file in the From File field.
Note:
EXPORT & IMPORT: When exporting members of a shared directory with 2 or
more attached databases of the same type, the import of these members will
(generally) not have the same member distribution in the databases attached to
the import's shared directory. To have the same member distribution in the
databases you must do the export and import for each individual database.
Specifying C to Create the To File for Shared Directory or Database
If you are prompted to enter the C command to create the file name specified on the To
File field and if the From File is either a shared directory or a database file, this file type
selection panel will be displayed. You may create either a database that will be attached
to an existing shared directory, or you may create a new shared directory and then also
must create a database to be attached to it. For Source Listings, see Figure 3-17 and Figure
3-18 on page 3-23.
Figure 3-34. Select Desired File Type Panel
--------CSS UTILITIES - Select Desired File Type -------CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
File Name entered: 'CX.NEW.LP.SD'
1
Shared Directory
- Create a shared directory
NOTE: You must also next create at least
one database file that will be
attached to this shared directory.
2
Database File
- Create a DDIO/Database that will be
attached to an EXISTING shared directory.
Enter END command to terminate
Selecting Specific Members for Processing
To copy, move, or import specific members within a dataset, complete the following
steps:
1. Enter L at the command prompt on the CSS Utilities - Source Listing File Move
Facility screen (Figure 3-33 on page 3-35).
A list appears containing all members in the From File dataset (Figure 3-35).
CSS Utilities
3-39
Figure 3-35. Selecting Members for COPY, MOVE, or IMPORT
COMPUWARE/VF ----- 'CX.LISTFILE' ---------------- V16.5.0 --- Row 1 to 18 of 39
COMMAND INPUT ===>
SCROLL ===> PAGE
Line Commands:
PROGRAM
PLIBASD
PLITEST
PLIBASD
PLIBASD
PLIBASD
PLIBASD
COBABEND
FEA02P2
FEA02P2
FEA02P2
FEA02P2
FEA02P2
FEA02P2
FEA02P2
FEA02P2
FEA02P2
FEA02P2
FEA02P2
S (Select for processing)
SOURCE LISTING DATASET DIRECTORY
LIST NUMBER
COMP DATE
TIME
RC
(M)
43
01 APR 2002 14:10:53 00
(L)
42
31 MAR 2002 10:32:00 00
41
31 MAR 2002 09:06:58 04
40
31 MAR 2002 09:05:25 00
39
30 MAR 2002 16:25:05 00
38
30 MAR 2002 16:14:51 00
(L)
37
28 JAN 2002 16:21:32 00
(L)
35
15 JAN 2002 09.38.39 04
34
15 JAN 2002 09.18.11 04
33
15 JAN 2002 09.05.47 04
32
13 JAN 2002 15.14.37 04
*I
31
13 JAN 2002 14.49.14 00
*I
30
13 JAN 2002 14.33.49 00
29
13 JAN 2002 14.28.19 04
28
13 JAN 2002 14.23.59 04
*I
27
13 JAN 2002 11.40.30 00
*I
26
13 JAN 2002 11.34.09 00
*I
25
13 JAN 2002 11.22.45 00
LANGUAGE
PL/I V2
PL/I V2
PL/I V2
PL/I V2
PL/I V2
PL/I V2
COBOL/390
PL/I V1R5
PL/I V1R5
PL/I V1R5
PL/I V1R5
PL/I V1R5
PL/I V1R5
PL/I V1R5
PL/I V1R5
PL/I V1R5
PL/I V1R5
PL/I V1R5
SIZE(K)
32
32
32
32
32
32
32
128
128
128
128
32
32
128
128
32
32
32
2. Select members by entering an S to the left of the member names.
Selected members are marked with an asterisk and the word SELECTED.
3. Press F3 to return to the CSS Utilities - Source Listing File Move Facility screen (Figure
3-33 on page 3-35).
4. Ensure that the command prompt is blank, then press Enter.
Setting Advanced Parameters
To set source listing file advanced parameters, complete the following steps:
1. Ensure that the CSS Utilities - Source Listing File Move Facility screen (Figure 3-33 on
page 3-35) is displayed.
2. Enter A at the command prompt.
The Source Listing File Move Function - Advanced Parameters screen (Figure 3-36) is
displayed.
3-40
Compuware Shared Services User/Reference Guide
Figure 3-36. Source Listing File Move Function - Advanced Parameters
----- Source Listing File Move Function - ADVANCED PARAMETERS ---- V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for COPY/MOVE/EXPORT/IMPORT:
DEFAULTS:
Age old ===>
Age Units ===>
CONTINUE
DELETE
LABEL
EXEC
===>
===>
===>
===>
nnn
(DAYS/MONTHS/YEARS)
DAYS
(YES/NO)
(NO/YES)
(1 to nn)
(SUMMARY/CHECK/RUN)
YES
NO
1
SUMMARY
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process
or
enter END command to terminate
3. Edit the parameters as needed, using the following table as a guide.
Table 3-10. Source Listing File Move Function Advanced Parameters
To:
Do This:
Specify whether advanced
parameters will be displayed
each time a COPY, MOVE,
EXPORT, IMPORT, or LIST
command is processed
Enter one of the following in the Prompt This Panel Upon Process field:
Y: Displays advanced parameters before processing COPY, MOVE,
EXPORT, IMPORT, and LIST commands.
N: Processes these commands without displaying advanced parameters
Restrict the COPY, MOVE,
EXPORT, and IMPORT
commands to members older
than nnn months, days, or
years
Specify whether COPY, MOVE,
EXPORT, and IMPORT
commands will continue if a
recoverable error is detected
1. Specify a number in the Age Old field.
2. Specify a unit (months, days, or years) in the Age Units field.
Enter one of the following in the CONTINUE field:
Y: (Default) Command continues, if possible, when an error is detected.
N: Command stops when an error is detected.
Specify whether members will Enter one of the following in the DELETE field:
be deleted from the original file
(the From File) after they are
Y: Deletes members after they are exported.
successfully exported
N: (Default) Does not delete members after they are exported.
Control how the COPY, MOVE, Enter one of the following in the EXEC field:
EXPORT, and IMPORT
SUMMARY: (Default) Transfers data and produces a summary report.
commands are processed
The summary includes a list of transferred members and a list of any
(Not present for Database
members deleted from the From File during the transfer.
and/or Shared Directory files)
CHECK: Produces a detailed report without moving any data. This
report includes a list of transferred members, a list of any members
deleted from the From File during the transfer, and a list of attributes
from the To and From files. It also includes a list of any members
unlocked or deleted during MOVE, COPY, or IMPORT commands.
RUN: Transfers data and produces a detailed report. See CHECK
(above) for a description of the report contents.
CSS Utilities
3-41
Table 3-10. Source Listing File Move Function Advanced Parameters
To:
Do This:
Reference multiple export files Enter the file number of a sequential dataset in the LABEL field. This
using a single ddname — create parameter will be used with the IMPORT and EXPORT commands.
export files on a single tape
You can include the LABEL parameter in your JCL. However, a LABEL
parameter specified on this panel overwrites any LABEL setting in your
JCL.
4. After you have finished editing the parameters, perform the appropriate action:
– To apply the advanced parameter settings and return to the previous screen, press
Enter.
– To cancel the changes and return to the previous screen, enter END at the
command prompt.
Advanced Functions - Source
Working with Source Listing Files
Figure 3-37. Source DDIO File - Source Listing Advanced Functions - Main Panel
------ Source DDIO File - Advanced Functions ----- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Source File: 'CX.LISTFILE'
Volser: PRD932
1
Delete
- Delete the source DDIO file
Enter END command to terminate
Select 1 to delete the source DDIO file. The CSS Utilities - Confirm Delete screen appears
(see Figure 3-38).
Figure 3-38. Source DDIO File - CSS Utilities CONFIRM DELETE
-----------------COMMAND ===>
CSS UTILITIES CONFIRM DELETE
-------------------- V16.5.0
Dataset Name: CX.LISTFILE
Press ENTER to confirm delete process or enter END to cancel this request.
Note:
This function performs an immediate dynamic file delete, just like using the
original D function on the create panel.
3-42
Compuware Shared Services User/Reference Guide
Working with Source Shared Directory Files
Figure 3-39. Source Listing Shared Directory - Advanced Functions - Main Panel
-------- Shared Directory ADVANCED FUNCTIONS - Source ------ CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Shared Directory: 'PFHBWK0.TEST83.SD'
Volser: PRD911
1
2
3
4
5
6
LISTDB
EXPAND
DELETE
VERIFY
CHANGE
REFRESH
-
List all attached databases
Expand size of the shared directory
Delete the shared directory
Verify the integrity of the shared directory
Create/Change AUTOLOCKMAX and/or DUPMAX settings
One-time adjustment of duplicate members
with the shared directory
Enter END command to terminate
Select 1 (LISTDB) to list all attached databases. The Shared Directory - Attached Database
Report screen appears (see Figure 3-40).
Figure 3-40. Shared Directory - Attached Database Report
COMPUWARE/VF --- Shared Directory - Attached Database Report - Row 1 to 3 of 3
COMMAND INPUT ===>
SCROLL ===> CSR
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Shared Directory: 'CX.LP.SHRDIR'
Volser: PRD988
I-info C-change T-detach D-delete
R-scratch
S-list member
M-move member
SEL --------------- Database List -------------Type Volser
_
CX.NEW.LPDDIO2
SRC
PRD93H
_
CX.TEST.LPDDIO3
SRC
PRD903 PRD926 PRD927
_
CX.TEST.LPDDIO5
SRC
PRD975
******************************* Bottom of data ********************************
• Select I to display the Source Listing Database Information Screen screen (Figure 3-25
on page 3-30).
• Select C to display the CSS Utilities - CHANGE AUTODELETE screen (Figure 3-50 on
page 3-47).
• Select T to display the CSS Utilities - DETACH Database screen (Figure 3-49 on page
3-47).
• Select D to display the CSS Utilities - DELETE Database screen (Figure 3-51 on page
3-48).
• Select R to display the CSS Utilities - SCRATCH Database screen (Figure 3-41 on page
3-43).
• Select S to display the database Source Listing Database Member List (Not
LONGNAME) screen (Figure 3-30 and Figure 3-31 on page 3-34).
• Select M to display the CSS Utilities - Source Listing File Move Facility Screen screen
(Figure 3-33 on page 3-35).
Note:
Pressing PF3 from any of these screens will return you to the Shared Directory Attached Database Report screen (Figure 3-40).
CSS Utilities
3-43
Figure 3-41. CSS Utilities - SCRATCH Database
---------- COMPUWARE CSS UTILITIES - SCRATCH Database ---------- CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.SD01.DB08'
Volser: PRD908
Attached to: 'CX.SD01.SHRDIR'
Volser: PRD995
Preparation ===> BATCH
Press ENTER to process
(Batch/Editjcl/Foreground)
or
enter END command to terminate
An immediate program call or batch utility job will be generated to perform the “scratch”
function and remove the specified database from this shared directory. This should only
be done when the database has been destroyed.
Note: You will not get this panel if the selected database is a valid database, instead you
will get an error message on the previous selection panel.
Select 2 (EXPAND) to bring up the CSS Utilities - EXPAND Shared Directory screen (see
Figure 3-42).
Figure 3-42. CSS Utilities - EXPAND Shared Directory
------ COMPUWARE CSS UTILITIES - EXPAND Shared Directory ------ CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Shared Directory: 'CX.SDLP.SHRDIR'
Volser: PRD90B
Preparation ===> BATCH
(Batch/Editjcl/Foreground)
Model DSN ===>
Space Units ===> CYLINDERS
Quantity ===> 4
(Blocks/Tracks/Cylinders)
CISIZE ===>
Press ENTER to process
or
enter END command to terminate
An immediate program call or batch utility job will be generated, based on the fields
entered above.
Select 3 (DELETE) to bring up the CSS Utilities - DELETE Shared Directory screen (see
Figure 3-43).
3-44
Compuware Shared Services User/Reference Guide
Figure 3-43. CSS Utilities - Delete Shared Directory
------ COMPUWARE CSS UTILITIES - DELETE Shared Directory ------ CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Shared Directory: 'CX.SD01.SHRDIR'
Volser: PRD995
Preparation ===> FOREGROUND
(Batch/Editjcl/Foreground)
Attached Databases ===> DELETE
(Delete/Detach)
DEFAULT:
DETACH
NOTE: Specifying DELETE will delete ALL databases attached
to the shared directory
Press ENTER to process
or
enter END command to terminate
This panel will generate an immediate program call or batch utility job to delete the
shared directory, and will also either detach or delete all attached databases, according to
the fields entered above.
Select 4 (VERIFY) to bring up the CSS Utilities - VERIFY Shared Directory screen (Figure
3-44).
Figure 3-44. CSS Utilities - VERIFY Shared Directory
------ COMPUWARE CSS UTILITIES - VERIFY Shared Directory ------ CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Shared Directory: 'CX.SD01.SHRDIR'
Volser: PRD995
Preparation ===> FOREGROUND
Press ENTER to process
or
(Batch/Editjcl/Foreground)
enter END command to terminate
This will generate an immediate program call or batch utility job to verify the shared
directory and database integrity.
Select 5 (CHANGE) to bring up the CSS Utilities - Change Shared Directory screen (Figure
3-44).
CSS Utilities
3-45
Figure 3-45. CSS Utilities - CHANGE Shared Directory
------ COMPUWARE CSS UTILITIES - CHANGE Shared Directory ------ CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Shared Directory: 'PFHBWK0.LP.CATALOG1'
Preparation ===> EDITJCL
(Batch/Editjcl/Foreground)
To enable/disable the compile-time duplicate-member autolock &/or maximum
duplicates shared directory feature. At least one value must be changed.
---------------------------------------------------------------------------New Setting
Current Setting
------------------------AUTOLOCKMAX ===>
('NO',1-99)
DUPMAX ===>
('NO',1-99)
Note:
If AUTOLOCKMAX and/or DUPMAX are being changed from a value
of "NO" (or from a higher value), you may want to also run
the REFRESH utility function to do a one-time adjustment of
all duplicate members using these new values.
Press ENTER to process
or
enter END command to terminate
This will generate an immediate program call or batch utility job to change (or add) one
or both of the AUTOLOCKMAX and DUPMAX settings in the shared directory.
Select 6 (REFRESH) to bring up the CSS Utilities - REFRESH Shared Directory screen
(Figure 3-45)
Figure 3-46. CSS Utilities - REFRESH Shared Directory
------ COMPUWARE CSS UTILITIES - REFRESH Shared Directory ----- CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Shared Directory: 'USERID.TEST83.SD'
Preparation ===> EDITJCL
Type of run ===> CHECK
(Batch/Editjcl/Foreground)
(Update/Check)
Adjust autolock setting of duplicates across the shared directory:
---------------------------------------------------------------------------Current shared directory AUTOLOCKMAX setting ===> 01
Specify AUTOLOCKMAX setting to use for this run ===>
(optional: 1-99)
Adjust the number of duplicate members across the shared directory:
---------------------------------------------------------------------------Current shared directory DUPMAX setting ===> 02
Specify DUPMAX setting to use for this run ===>
(optional: 1-99)
Press ENTER to process
or
enter END command to terminate
This will generate an immediate program call or batch utility job to do the REFRESH
command, using one or both of the values entered above.
3-46
Compuware Shared Services User/Reference Guide
Working with Source Listing Database Files
Figure 3-47. Source Listing Source Listing Database - Advanced Functions - Main Panel
---------- Database - ADVANCED FUNCTIONS ---------------------CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Database: 'CX.LP.DATABASE'
Volser: PRD925
1
2
3
4
5
ATTACH
DETACH
CHANGE
DELETE
RESET
-
Attach database to a shared directory
Detach database from the shared directory
Change the Autodelete (AD) attribute
Delete the database
Clear the shared directory information; only
to be used if the shared directory has been
damaged
Press ENTER to process or enter END command to terminate
Select 1 (ATTACH) to bring up the CSS Utilities - ATTACH Database screen (Figure 3-48).
Figure 3-48. CSS Utilities - ATTACH Database
---------- COMPUWARE CSS UTILITIES - ATTACH Database --------CSS V9.0.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.SD01.DB08'
Volser: PRD908
Preparation ===> BATCH
(Batch/Editjcl/Foreground)
Attach to
Shared Directory ===> 'CX.SD01.SHRDIR'
Press ENTER to process
or
enter END command to terminate
An immediate program call or batch utility job will be generated to attach the specified
database to the specified shared directory.
Note:
You will not get this panel if the selected database was already attached to a
shared directory, instead you will get an error message on the main selection
panel.
Select 2 (DETACH) to bring up the CSS Utilities - DETACH Database screen (Figure 3-49).
CSS Utilities
3-47
Figure 3-49. CSS Utilities - DETACH Database
---------- COMPUWARE CSS UTILITIES - DETACH Database ---------COMMAND ===>
Commands:
blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
CSS V9.0.0
LP (LP tutorial)
Database: 'CX.SD01.DB08'
Volser: PRD908
Attached to: 'CX.SD01.SHRDIR'
Volser: PRD995
Preparation ===> EDITJCL
Press ENTER to process
or
(Batch/Editjcl/Foreground)
enter END command to terminate
An immediate program call or batch utility job will be generated based on the fields
entered to detach the above database from the specified shared directory.
Note:
You will not get this panel if the selected database is already detached, instead
you will get an error message on the main selection panel.
Select 3 (CHANGE) to bring up the CSS Utilities - CHANGE AUTODELETE screen (Figure
3-50).
Figure 3-50. CSS Utilities - CHANGE AUTODELETE
-------- COMPUWARE CSS UTILITIES - CHANGE AUTODELETE ------- CSS V9.0.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.SD01.DB08'
Volser: PRD908
Attached to: 'CX.SD01.SHRDIR'
Volser: PRD995
Preparation ===> BATCH
(Batch/Editjcl/Foreground)
Current Autodelete ===> NO
New Autodelete ===> DUPS
Press ENTER to process
(No/Yes/Dups/Staged)
or
enter END command to terminate
An immediate program call or batch utility job will be generated based on fields entered
to change the autodelete setting of the specified database.
Select 4 (DELETE) to bring up the CSS Utilities - DELETE Database screen (Figure 3-51).
3-48
Compuware Shared Services User/Reference Guide
Figure 3-51. CSS Utilities - DELETE Database
---------- COMPUWARE CSS UTILITIES - DELETE Database ---------- CSS V9.0.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.SD01.DB08'
Volser: PRD908
Attached to: 'CX.SD01.SHRDIR'
Volser: PRD995
Preparation ===> BATCH
Press ENTER to process
(Batch/Editjcl/Foreground)
or
enter END command to terminate
An immediate program call or batch utility job will be generated based on the fields
entered that will first detach the specified database from its shared directory, then the
database will be deleted.
Select 5 (RESET) to bring up the CSS Utilities - RESET Database screen (Figure 3-52).
Figure 3-52. CSS Utilities - RESET Database
---------- COMPUWARE CSS UTILITIES - RESET Database ---------- CSS V9.0.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.SD01.DB08'
Volser: PRD908
Attached to: 'CX.SD01.SHRDIR'
Volser: PRD995
Preparation ===> BATCH
Press ENTER to process
(Batch/Editjcl/Foreground)
or
enter END command to terminate
An immediate program call or batch utility job will be generated to reset the database,
and the shared directory name will be removed. This should only be done if the shared
directory was destroyed.
Note:
This panel will not appear if the database is attached to an existing shared
directory, you will get an error message on the previous selection panel instead.
CSS Utilities
3-49
AAREPORT - Working with Abend-AID Report Files
Abend-AID report files are DDIO, shared directory, and database files that contain one or
more Abend-AID reports. CSS Utilities enables you to perform a number of Abend-AID
report file functions, including:
• Creating and formatting Abend-AID report files
• Reformatting existing Abend-AID report files
• Copying, moving, importing, and exporting Abend-AID report file members
• File manipulation (for example, file deletion, verify shared directory, attached
database list (for shared directory), change database auto-delete characteristics, etc.)
Note:
The AAREPORT SECTION, manipulates Abend-AID batch reports and Abend-AID
for CICS reports, we DO NOT support Abend-AID 'SYSTEM DUMPS' at this time.
To work with Abend-AID report files, select AAREPORT from the CSS Utilities - Primary
Menu (Figure 3-1 on page 3-2). The CSS Utilities - Abend-AID Report File Facility screen
(Figure 3-53) is displayed.
Figure 3-53. CSS Utilities - Abend-AID Report File Facility Screen
-------------- CSS UTILITIES - Abend-AID Report File Facility ----- V16.5.0
COMMAND ===>
Commands: SEtup
DDIOCALC (DDIO calculator)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Processing Options
Confirm Delete
Show print setup
Language
SEL Options:
SEL
_
_
_
_
_
_
_
_
_
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
for S/Member List:
===> YES (Yes or No)
===> YES (Yes or No)
===> ENGLISH
(ENGLISH/JAPANESE/USAMIX/USAUC)
C (Create) I (Info) S (Member List)
M (Move/Copy/Export/Import)
A (Adv Function)
----Abend-AID Report Shared Directories/Databases/DDIO file(s)---_______________________________________________________________
'CX.TECH.CX79.SHRDIR1.AA'
'CX.TECH.AA.AADB1'
'CX.QA.DDIO.AA.SHRDIR'
'CX.QA.R81SYST.AARPTMLT'
'CX.QA.DDIO.AA.DB01'
Setting Abend-AID Report File Options
The CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53) enables you to set a
number of Abend-AID report file options, described in Table 3-11. These options apply to
the member list that is displayed when the S (Member List) option is selected.
For a listing of advanced parameters, see “Setting Advanced Parameters” on page 3-39.
Table 3-11. Abend-AID Report File Options
To:
Do This:
Edit the CSS Utilities
General Settings
Enter SE at the Command prompt.
3-50
Compuware Shared Services User/Reference Guide
Table 3-11. Abend-AID Report File Options
To:
Do This:
Invoke the DDIOCALC
function.
Enter DDIOCALC at the Command prompt.
Specify whether a
Enter one of the following in the Confirm Delete field:
confirmation screen will be
Y: Displays a confirmation screen before deleting a member from the
displayed before deleting
Abend-AID report file.
members
N: Deletes a member without displaying a confirmation screen.
Specify whether hardcopy
options will be displayed
before a hardcopy of an
Abend-AID report file
member is generated
Enter one of the following in the Show Print Setup field:
Specify the language in
which the member list will
be displayed when S
(member list) is selected
Enter one of the following languages in the Language field:
Y: Displays hardcopy options before creating a hardcopy.
N: Generates a hardcopy without displaying hardcopy options.
English: (Default) Displays the member list in mixed-case English.
Japanese: Displays the member list in Japanese. Requires a terminal that
supports DBCS.
USAMIX: Displays the member list in mixed-case English.
USAUC: Displays the member list in upper-case English.
Creating and Formatting Abend-AID Report Files
On the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on page 3-49),
the Abend-AID Report Files section lists the eight Abend-AID report files that have been
most recently used. To create and format Abend-AID report files, complete the following
steps.
1. Perform the appropriate step:
– To reformat an existing Abend-AID report file, scan the Abend-AID Report Files
list. If it does not contain the file you want to reformat, enter the file name on
the blank line at the top of the list. Then enter C to the left of the file name.
– To create a new Abend-AID report file (and add the file to the list), enter the file
name at the entry line under Abend-AID Report Files, then enter a C to the left of
the file name.
2. Press Enter.
If the file name you entered does NOT exist yet, you will first see the following filetype selection panel. You must select which type of file you want to create. Based on
the type selected, one of the following Create screens will then appear:
CSS Utilities
3-51
Figure 3-54. CSS Utilities - Select Desired File Type
--------CSS UTILITIES - Select Desired File Type ------COMMAND ===>
Commands: SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
CSS V16.5.0
LP (LP tutorial)
File Name entered: 'CX.NEW.FILE'
1
Shared Directory
- Create a shared directory
NOTE: At least one database file must be
attached to this shared directory for it
to be functional.
2
Database File
- Create a Database that will be attached
to an EXISTING shared directory.
3
DDIO File
- Create a non-database DDIO file. Will not
work with Abend-AID 12.4 or newer.
Enter END command to terminate
The CSS Utilities - Create/Format Abend-AID Report screen (Figure 3-55) is displayed
for existing standard DDIO files, CSS Utilities - Create/Format Shared Directory
(Figure 3-56) is displayed for exiting shared directory files, and CSS Utilities Create/Format Report Database (Figure 3-57 on page 3-52) is displayed for existing
Report Database files attached to a shared directory.
Figure 3-55. CSS Utilities - Create/Format Abend-AID File Screen (Standard DDIO Files)
--- COMPUWARE CSS UTILITIES - CREATE/FORMAT Abend-AID Report File -- CSS V16.5.0
COMMAND ===>
Commands: SEtup
A (Advanced Parms)
DDCV (DDIOCalc Values)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Dataset Name ===> 'CX.AA.NEW.DDIO'
Preparation ===> BATCH
DS Organization ===> VSAM
Reallocate ===> NO
Model DSN
Storage Class
Management Class
Data Class
Volume
Unit
(Batch/Editjcl/Foreground)
(Vsam/Sequential)
(Yes/No)
===>
===>
===>
===>
===>
===>
Space Units ===> CYLINDERS
Primary Quantity ===> 50
Number of Members ===> 500
Press ENTER to process
(optional,
(optional,
(optional,
(optional,
(optional,
unless
unless
unless
unless
unless
site
site
site
site
site
requires)
requires)
requires)
requires)
requires)
(Blocks/Tracks/Cylinders)
(1 to 16000)
or
enter END command to terminate
3-52
Compuware Shared Services User/Reference Guide
Figure 3-56. CSS Utilities - Create/Format Abend-AID Shared Directory Files Screen
--- COMPUWARE CSS UTILITIES - CREATE/FORMAT Shared Directory ----- CSS V16.5.0
COMMAND ===>
Commands: SEtup
A (Advanced Parms)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Dataset Name ===> 'CX.AA.NEW.SHRDIR'
Preparation ===> BATCH
Reallocate ===> NO
Model DSN
Storage Class
Management Class
Data Class
Volume
===>
===>
===>
===>
===>
(Batch/Editjcl/Foreground)
(Yes/No)
(optional)
(optional)
(optional)
(optional)
==>
==>
==>
==>
(optional,
(optional,
(optional,
(optional,
unless
unless
unless
unless
site
site
site
site
requires)
requires)
requires)
requires)
Space Units ===> TRACKS (Blocks/Tracks/Cylinders)
Primary Quantity ===> 70
OR
Number of Entries ===>
(optional)
(This field overrides above space parms & calculates space needed)
Press ENTER to process
or
enter END command to terminate
Figure 3-57. CSS Utilities - Create/Format Abend-AID Report Database File
----- COMPUWARE CSS UTILITIES - Create/Format Report Database ---- CSS V16.5.0
COMMAND ===>
Commands: SEtup
A (Advanced Parms)
DDCV (DDIOCalc Values)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Dataset Name ===> 'USER.CSS.DATABASE.DB1'
Preparation
DS Organization
Reallocate
TYPE
Model DSN
Storage Class
Management Class
Data Class
Volume
Unit
===>
===>
===>
===>
===>
===>
===>
===>
===>
===>
EDITJCL
VSAM
NO
BATCH
(Batch/Editjcl/Foreground)
(Vsam/Sequential)
(Yes/No)
(BATCH/CICS)
Space Units
Primary Quantity
Number of Members
Shared directory
===>
===>
===>
===>
CYLINDERS (Blocks/Tracks/Cylinders)
2
5
(1 to 16000)
'USER.CSS.SHAREDIR.SD'
(optional,
(optional,
(optional,
(optional,
(optional,
Press ENTER to process
or
unless
unless
unless
unless
unless
site
site
site
site
site
requires)
requires)
requires)
requires)
requires)
enter END command to terminate
3. Complete the fields on this screen using the following table as a guide.
Table 3-12. Create/Format Abend-AID Report File Fields
To:
Do This:
Edit the CSS Utilities General
Settings
Enter SE at the Command prompt.
Display advanced parameters
Enter A at the Command prompt.
For a complete description of the advanced parameters, see Table
3-13 on page 3-56.
CSS Utilities
3-53
Table 3-12. Create/Format Abend-AID Report File Fields
To:
Do This:
Load values from the DDIOCalc
Utility
Enter DDCV in the Command prompt.
Use batch processing to submit
your job
Enter BATCH in the Preparation field.
Generate JCL for the Create/Format Enter EDITJCL in the Preparation field.
job, then edit the JCL
Immediately perform the desired
function in your TSO session
Enter FOREGROUND in the Preparation field.
Specify the file type
Enter VSAM or SEQUENTIAL in the DS Organization field.
Note: If a Model DSN is specified (see below), this parameter is
optional. If a Model DSN is not specified, you must specify a file
type.
Delete and reallocate the specified
report file
Enter YES in the Reallocate field.
To create an Abend-AID batch
report Database
Enter 'BATCH' in the TYPE field.
To create an Abend-AID CICS report Enter 'CICS' in the TYPE field.
Database
Specify a “template” (another
(Optional) Enter the dataset name in the Model DSN field.
Abend-AID report file) for allocating
Note: All explicitly set parameters on this screen, and on the
and formatting Abend-AID report
Advanced Parameters screen, override settings in the template file.
files
Specify a Storage Management
Subsystem (SMS) storage class
(Optional unless site requires) Enter an eight-character storage
class in the Storage Class field.
Specify an SMS management class
(Optional unless site requires) Enter an eight-character
management class in the Management Class field.
Specify an SMS data class
(Optional unless site requires)Enter an eight-character data
class in the Data Class field.
Specify the volume serial number of (Optional unless site requires) Enter the volser in the Volume
the Abend-AID report file
field.
Specify a device or device type
(Optional unless site requires) Enter the device or device type in
the Unit field.
Specify a unit of measure for the file Enter BLOCKS, TRACKS, or CYLINDERS in the Space Units field.
size
Note: If DS Organization = VSAM and a Model DSN is specified, this
parameter is optional. If not, this parameter is required.
Specify an amount of primary space Enter a value in the Primary Quantity field.
for the Abend-AID report file
Note: If DS Organization = VSAM and a Model DSN is specified,
this parameter is optional. If not, this parameter is required.
(DDIO or Database only)
Enter a value in the Number of Members field.
Specify the maximum number of
members that the Abend-AID
report file can contain
Note: If a Model DSN is specified, this parameter is optional. If not,
this parameter is required.
(Shared Directory only)
(Optional) Enter a value in the Number of Entries field. If a value is
entered here, it will override the space Parameters entered.
Specify the number of entries, Total
number of members, to be stored
In the shared directory.
3-54
Compuware Shared Services User/Reference Guide
Table 3-12. Create/Format Abend-AID Report File Fields
To:
Do This:
(Report Database Only)
Enter the name of the Shared directory you want the Database
attached to.
Specify the shared directory
4. After you have finished editing the fields, perform the appropriate action:
– To submit the Create/Format job or execute Create/Format commands in your
TSO session, ensure that the Command prompt is blank and press Enter.
– To cancel the changes and return to the previous screen, enter END at the
Command prompt.
Setting Advanced Create/Format Parameters
To edit Abend-AID report file Create/Format advanced parameters, complete the
following steps:
1. Enter A at the command prompt on the CSS Utilities - Create/Format Abend-AID
Report File options screen (Figure 3-55 on page 3-51).
2. Make sure the DS Organization field is set to the desired file type.
3. Press Enter.
Note:
Figure 3-58 displays the Abend-AID Report File Create/Format - Advanced
Parameters screen for Sequential Abend-AID report files. Figure 3-59 displays
the Abend-AID Report File Create/Format - Advanced Parameters screen for
VSAM Abend-AID report files.
Figure 3-58. Abend-AID Report File Create/Format - Advanced Parms (Sequential)
----- Abend-Aid REPORT FILE CREATE/FORMAT - ADVANCED PARAMETERS -- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for Sequential Abend-Aid Report file:
Blocksize ===>
Groupcount ===>
Autodelete ===> YES
Extents ===>
(2048 to TRKSIZE)
(1 to 2048)
(Dups/Yes/No)
(1 to 460)
DEFAULTS:
27998
2
YES
460
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process
or
enter END command to terminate
CSS Utilities
Figure 3-59. Abend-AID Report File Create/Format - Advanced Parms (VSAM)
----- Abend-AID Report File CREATE/FORMAT - ADVANCED PARAMETERS -- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for VSAM Abend-AID Report file:
CISIZE ===>
Multivolume ===>
VSAM Catalog ===>
DEFAULTS:
18432
NO
(Yes or No)
Groupcount ===>
Autodelete ===> DUPS
Extents ===>
(1 to 2048)
(Dups/Yes/No)
(1 to 460)
3
YES
460
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process
or
enter END command to terminate
Figure 3-60. Abend-AID Report File Shared Directory Create - Advanced Parms
----- Shared Directory CREATE/FORMAT - ADVANCED PARAMETERS -----CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for VSAM Shared Directory:
CISIZE ===> 8000
Multivolume ===> YES
(Yes or No)
DEFAULTS:
18432
NO
VSAM Catalog ===>
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process or enter
END command to terminate
3-55
3-56
Compuware Shared Services User/Reference Guide
Figure 3-61. Abend-AID Report Database Create/Format - Advanced Parms (VSAM)
---- Report Database Create/Format - Advanced Parameters --- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for VSAM Report Database:
CISIZE ===>
Multivolume ===> YES
DEFAULTS:
18432
NO
(Yes or No)
VSAM Catalog ===>
Groupcount ===> 20
Autodelete ===> YES
Extents ===>
(1 to 2048)
(Dups/Yes/No)
(1 to 460)
3
YES
460
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Figure 3-62. Abend-AID Report Database Create/Format - Advanced Parms (Sequential)
------ Report Database Create/Format - Advanced Parameters ---- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for Sequential Report Database:
Blocksize ===>
Groupcount ===> 20
Autodelete ===> YES
Extents ===>
(2048 to TRKSIZE)
(1 to 2048)
(Dups/Yes/No)
(1 to 460)
DEFAULTS:
27998
2
YES
460
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process
or
enter END command to terminate
4. Complete the fields on this screen, as necessary, using the following table as a guide.
Table 3-13. Create/Format Abend-AID Report File Advanced Parameters
To:
Do This:
Specify whether advanced
parameters will be displayed
each time a Create/Format
Abend-AID Report File
command is processed
Enter one of the following in the Prompt This Panel Upon Process field:
Y: Displays advanced parameters before processing Create/Format
commands.
N: Processes Create/Format commands without displaying advanced
parameters.
CSS Utilities
3-57
Table 3-13. Create/Format Abend-AID Report File Advanced Parameters
To:
Do This:
(Sequential files only)
Enter an integer between 2048 and 32760 in the Blocksize field.
Specify the Abend-AID report file
blocksize
•
If you do not complete this field, the default blocksize of 4096 will
be used.
•
The blocksize is always ignored during the file allocation phase.
(VSAM files only)
Enter an integer in the CISIZE field.
Specify the control interval size
If you do not complete this field, the default value of 4096 will be used.
(VSAM files only)
Enter one of the following in the Multivolume field:
Specify whether VSAM AbendAID report files will be allocated
on multiple volumes
Yes: VSAM Abend-AID report files will be allocated on multiple
volumes.
No: (Default) VSAM Abend-AID report files will not be allocated on
multiple volumes.
Note: The multivolume dataset allocation must be performed in a
batch mode. See Chapter 5, Step 8 of the Enterprise Common
Components Installation and Customization Guide for more information.
After allocation is complete, the file can be formatted using online
Create/Format panels with the Reallocate field value set to NO and
Advanced Parameter Multivolume set to YES.
(VSAM files only)
(Optional) Enter a catalog name in the VSAM Catalog field.
Specify the VSAM catalog in
which the Abend-AID report file
will be created
Specify the number of blocks
Enter a number between 1 and 2048 in the Groupcount field.
allocated to an Abend-AID
report file when additional space Note: Compuware recommends setting the Groupcount to 8. The
default setting is 4.
is needed
Specify whether the oldest
Enter one of the following settings in the Autodelete field:
member of an Abend-AID report
file will be deleted when the file Dups: Unlocks automatically locked members with the same name,
then locks the most recent member.
becomes full
Yes: (Default) Automatically deletes one or more of the oldest
unlocked members to allow new members to be written to the file.
No: You must manually delete members when the DDIO file becomes
full.
For a complete description of these settings, see “Command
Parameters for all DDIO files” on page 8-8.
Specify the maximum number of Enter a number between 1 and 460 in the Extents field.
extents allocated to each AbendIf you do not complete this field, the default value of 64 will be used.
AID report file member
5. After you have finished editing the fields, perform the appropriate action:
– To apply the advanced parameter settings and return to the previous screen,
ensure that the Command prompt is blank and press Enter.
– To cancel the changes and return to the previous screen, enter END at the
Command prompt.
Deleting Abend-AID Report Files
To delete an Abend-AID report file, complete the following steps.
3-58
Compuware Shared Services User/Reference Guide
1. Ensure that the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on
page 3-49) is displayed.
You can display this screen by selecting option 4 (AAREPORT) from the CSS Utilities
- Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Abend-AID Report Files list on this screen. If it does not contain the file that
you want to delete, enter the file name on the blank line at the top of the list.
3. Enter A to the left of the file name.
4. Press Enter.
5. The CSS Utilities Advanced Functions panel will be displayed.
6. Select the Delete option from the menu, press Enter.
7. Follow instructions on the particular Delete function panel that is displayed
(different by file type). See “Setting Advanced Parameters” on page 3-39.
Displaying File Information
To display information about a particular Abend-AID report file, complete the following
steps:
1. Ensure that the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on
page 3-49) is displayed.
You can display this screen by selecting option 4 (AAREPORT) from the CSS Utilities
- Primary Menu (Figure 3-1 on page 3-2).
2. Scan the DDIO Files list on this screen. If it does not contain the file that you want to
view information about, enter the file name on the blank line at the top of the list.
3. Enter I to the left of the file name.
4. Press Enter.
A member list (Figure 3-63 or Figure 3-64) is displayed. Depending on the type of File
that is displayed, Abend-AID (BATCH) or Abend-AID (CICS), a different Figure is
displayed. If a Shared Directory has both types of Databases attached (Abend-AID
'BATCH' and Abend-AID 'CICS') Figure 3-65) will appear.
To scroll through the list, use the PF7 and PF8 keys. To display a list of line
commands available on this screen, press PF1.
CSS Utilities
3-59
Figure 3-63. Abend-AID Batch Report File Information Screen Format
COMPUWARE/VF ..... 'CX.REPTFILE' ............... Row 1 to 21 of 41
COMMAND INPUT ===>
SCROLL ===> PAGE
DIRECTORY INFORMATION
DSN ............................. CX.REPTFILE
VOLSER .......................... PRD933
AM(ACCESS METHOD) ............... BSAM
BLKSIZE ......................... 8185
TYPE ............................ ABEND-AID
REPTCOUNT ....................... 10
GROUPCOUNT ...................... 4
AUTODELETE ...................... DUPS
INDEX ........................... EXTENDED
EXTENTS ......................... 256
OTHER INFORMATION
BLOCKS IN FILE ................ 360
ALLOCATION GROUPS ............. 89
USED ALLOCATION GROUPS ........ 10(11%)
BLOCKS/TRACK .................. 6
FILE FORMATTED BY DDIO RELEASE. 7.4.0
REQUIRED MINIMUM DDIO RELEASE . 5.6.0
CURRENT REPORT NUMBER ......... 11
DIRECTORY ENTRIES/BLOCK ....... 13
DIRECTORY BLOCKS .............. 1
FILE FORMAT................... EXTENDED
Note: To see a complete report sample and a description of the fields on the report, refer
to “Abend-AID Report File DIRX Report” on page 2-26.
Figure 3-64. Abend-AID Report Database Information Screen Format
COMPUWARE/VF ..... 'CX.AA.TEST.DB1' ........................ Row 1 to 21 of 44
COMMAND INPUT ===>
SCROLL ===> CSR
DIRECTORY INFORMATION
DATABASE IS CONNECTED
CATALOG DSN: CX.AA.TEST.SDIR
VOLSER: PRD907
DSN.............................. CX.AA.TEST.DB1
VOLSER .......................... PRD948
AM(ACCESS METHOD) ............... BSAM
BLKSIZE ......................... 4096
TYPE ............................ ABEND-AID DATABASE
REPTCOUNT ....................... 250
GROUPCOUNT ...................... 4
AUTODELETE ...................... NO
INDEX ........................... EXTENDED
EXTENTS ......................... 64
OTHER INFORMATION
BLOCKS IN FILE ................ 7200
ALLOCATION GROUPS ............. 1796
USED ALLOCATION GROUPS ........ 237(13%)
BLOCKS/TRACK .................. 12
FILE FORMATTED BY DDIO RELEASE. 7.9.0
REQUIRED MINIMUM DDIO RELEASE . 7.0.0
CURRENT REPORT NUMBER ......... 11
DIRECTORY ENTRIES/BLOCK ....... 13
DIRECTORY BLOCKS .............. 1
FILE FORMAT................... EXTENDED
3-60
Compuware Shared Services User/Reference Guide
Figure 3-65. Abend-AID Report Shared Directory Information Screen Format
COMPUWARE/VF ..... 'CX.AA.TEST.SDIR' ...................... Row 1 to 20 of 117
COMMAND INPUT ===>
SCROLL ===> CSR
DIRECTORY INFORMATION
DIRX FOR SHARED DIRECTORY: CX.AA.TEST.SDIR
VOLSER: PRD907
SHARED DIRECTORY INFORMATION:
AM ..............................
BLKSIZE .........................
OTHER INFORMATION
DIRECTORY FORMATTED BY DDIO ...
REQUIRES MINIMUM DDIO RELEASE .
TOTAL BLOCKS IN SHARED DIR ....
USED BLOCKS ...................
NUMBER OF EXTENTS .............
VSAM
18425
7.8.0
7.0.0
180
67(37%)
1
NUMBER OF ATTACHED DATABASE(S)................12
NUMBER OF SOURCE DATABASE(S)................12
ATTACHED DATABASE INFORMATION
DATABASE LIST
EFHKAT0.SOURCE.DB
EFHAXS0.SOURCE.DB
EFHKAT0.SOURCE.DB3
EFHKAT0.SOURCE.DB1
DATABASE IS CONNECTED
CATALOG DSN: CX.AA.TEST.SDIR.REPORT
VOLSER: PRD907
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
CX.REPTFILE
PRD933
VSAM
18425
ABEND.AID DATABASE
10
4
DUPS
NON-EXTENDED
256
105
27
10(11%)
Working with Abend-AID Report File Members
CSS Utilities enables you to work with Abend-AID report file members in the following
•
•
•
•
Copy members
Move members
Export members
Import members
These operations are described in the following sections.
Displaying Members
To display the members in a particular Abend-AID report file, complete the following
steps:
1. Ensure that the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on
page 3-49) is displayed.
You can display this screen by selecting option 4 (AAREPORT) from the CSS Utilities
- Primary Menu (Figure 3-1 on page 3-2).
CSS Utilities
3-61
2. Scan the Abend-AID Report Files list on this screen. If it does not contain the desired
file, enter the file name on the blank line at the top of the list.
3. Enter S to the left of the file name.
4. Press Enter.
A member list (Figure 3-66 on page 3-61 or Figure 3-65 on page 3-60) is displayed.
Depending on the type of File that is displayed, Abend-AID (BATCH) or Abend-AID
(CICS) a different Figure is displayed. If a Shared Directory has both types of
Databases attached (Abend-AID 'BATCH' and Abend-AID 'CICS') Figure 3-68 on page
3-61) will appear first. Enter in BATCH or CICS to continue.
To scroll through the list, use the PF7 and PF8 keys. To display a list of the line
commands available on this screen, press PF1.
Figure 3-66. Abend-AID Batch Report File Member List
CSS UTILITIES - file 'USER.ABEND.AID.BATCH.DB1'' ------------ Row 1 of 18
COMMAND INPUT ===>
SCROLL ===> CSR
Abend-AID DATASET DIRECTORY - Report Database
L Lock
JOBNAME REPT NUMBER
JOBABCR
7
JOBABCR2
6
JOBABCR3
8
JOBABCR4
9
JESID
J278510
J191315
J144303
J139051
U Unlock
CODE
S0CB
SF0C
SF0C
SF4F
D Delete
DATE
18APR2005
13OCT2004
04OCT2004
03OCT2004
TIME
15.01.58
08.43.22
16.39.23
18.33.25
DESC
SMITH,
SMITH
SMITH
SMITH
SIZE(K)
168
98
126
56
Figure 3-67. Abend-AID for CICS Report File Member List
CSS UTILITIES - file USER.ABEND.AID.CICS.DB1' ----------------- Row 1 of 11
COMMAND INPUT ===>
SCROLL ===> CSR
Abend-AID DATASET DIRECTORY - Report Database
L Lock
TRAN/TERM
SQLC N006
MA22 1847
MA22 1847
PAYR TW07
U Unlock
REPT NUMBER APPLID
(M)
9
HC1ACTST
(M)
7
HC1ACDEV
(M) 10
HC1ACPRD
8
HC1ACTST
D Delete
CODE
SQLB
ASRA
ASRA
ASRA
DATE
08MAR1999
09MAR2005
09MAR2005
07OCT2004
TIME
14.22.34
16.50.03
16.50.03
08.32.14
PROGRAM
CICSPGM1
CICSPGM2
CICSPGM3
CICSPGM4
NODE
CTS001
CTS002
CTS001
CTS001
Figure 3-68. Abend-AID TYPE POPUP Panel
SELECT DATABASE TYPE
BATCH OR CICS
(
)
SHARED DIRECTORY CONTAINS
BOTH BATCH AND CICS DATABASES
Copying Members
To copy members from one Abend-AID report file to another, complete the following
steps:
3-62
Compuware Shared Services User/Reference Guide
1. Ensure that the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on
page 3-49) is displayed.
You can display this screen by selecting option 4 (AAREPORT) from the CSS Utilities
- Primary Menu (Figure 3-1 on page 3-2).
2. Scan the DDIO Files list on this screen. If it does not contain the file from which you
want to copy members, enter the file name on the blank line at the top of the list.
3. Enter M to the left of the file name.
4. Press Enter. The CSS Utilities - Move Facility Selection Panel popup screen (Figure 369 on page 3-62) is displayed; or, if you selected a Shared Directory that contains
both batch and CICS report members, Figure 3-70 on page 3-62 is displayed.
Figure 3-69. CSS Utilities - Move Facility Selection Panel
--- COMPUWARE CSS UTILITIES - Move Facility Selection Panel - CSS V16.5.0
PLEASE INDICATE THE DESIRED OPTION FROM:
C (COPY)
M
(MOVE)
OPTION:
Press ENTER to process
or
E
(EXPORT)
I
(IMPORT)
_
enter END command to terminate
Figure 3-70. CSS Utilities - Move Facility Selection Panel for a Mixed-use Shared Directory
Move Facility Selection Panel
SHARED DIRECTORY CONTAINS BATCH AND CICS MEMBERS
SELECT MEMBER TYPE: _
B (BATCH)
C (CICS)
PLEASE INDICATE THE DESIRED OPTION FROM:
C (COPY)
M (MOVE)
E (EXPORT)
I (IMPORT)
OPTION: _
5. For Figure 3-69: Specify the desired option C (COPY) from the options shown.
For Figure 3-70: The shared directory contains both Abend-AID batch & CICS report
members. You must select which type of members should be included - specify B
(BATCH) or C (CICS). Specify the desired option C (COPY) from the options shown.
6. Press Enter. The CSS Utilities - Abend-AID Report File Move Facility screen (Figure 371) is displayed.
CSS Utilities
3-63
Figure 3-71. CSS Utilities - Abend-AID Report File Move Facility Screen
COMPUWARE CSS UTILITIES - Abend-Aid Report File Move Facility - V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
L (List of members)
A (Advanced parms)
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Preparation ===> EDITJCL
(Batch/Editjcl/Foreground)
Option ===> COPY
(Copy/Move/Export/Import)
From File ===> 'CX.TECH.AA.AADB1'
To File ===> 'CX.TECH.AA.AADB2'
Member Name ===>
(Optional, specify prefix to be used for
select - can be a wildcard or entire name)
Member Number ===>
(Optional, specify a member number to be
used - will override "Member Name" field)
Press ENTER to process
or
enter END command to terminate
7. Complete the fields on this screen using the Table 3-14 as a guide.
– COPY should already be specified in the Option field (from the popup screen); if
not enter COPY in the option field.
– Enter a dataset name in the To File field.
Note: This table describes the COPY, MOVE, EXPORT, and IMPORT commands. You
will be using the COPY command, so specify COPY in the Option field.
Table 3-14. Abend-AID Report File Move Facility Fields
To:
Do This:
Use batch processing to submit your job Enter BATCH in the Preparation field.
Edit the JCL generated for the COPY,
MOVE, EXPORT, or IMPORT before
submitting the JCL for processing
Enter EDITJCL in the Preparation field.
Immediately perform the desired
function in your TSO session
Enter FOREGROUND in the Preparation field.
Specify the command type (COPY,
MOVE, EXPORT, or IMPORT)
This field is pre-set by the option selected in the Move Facility
Selection Panel (Figure 3-69 on page 3-62 or Figure 3-70 on
page 3-62).
Specify the Abend-AID report file from Enter a dataset name in the From File field.
which members will be copied, moved,
exported, or the sequential file from
which members will be imported
Specify the Abend-AID report file to
Enter a dataset name in the To File field.
which members will be copied, moved,
If this dataset does not exist, you will be prompted to enter the
or imported
C command to display the CSS Utilities - Create/Format AbendAID Report File screen (Figure 3-53 on page 3-49 if From File is
a standard DDIO file, or Figure 3-72 on page 3-66 if From File
is a shared directory or database).
Specify the sequential file to which
members will be exported
Enter a dataset name in the To File field.
If this dataset does not exist, it will be created as part of the
generated EXPORT job in the JCL.
3-64
Compuware Shared Services User/Reference Guide
Table 3-14. Abend-AID Report File Move Facility Fields
To:
Do This:
Perform commands (COPY, MOVE,
IMPORT, EXPORT, and LIST) on
members matching a particular prefix
Optional: Enter the prefix in the Member Name field. Prefix can
be a wild card (followed by an asterisk), or the entire name.
Note: If a prefix is not specified, commands will be performed
on all members in the specified file.
Specify a particular source member for
processing by member number
Enter the member number in the Member Number field.
View and select members in the From
File dataset
Enter L at the Command prompt.
Note: See “Selecting Specific Members for Processing” on
page 3-66 for step-by-step instructions.
Edit advanced parameters
This field is pre-set by the option selected in the Move Facility
Selection Panel (Figure 3-69 or Figure 3-70).
For a complete description of the advanced parameters, see
“Setting Advanced Parameters” on page 3-39.
Edit the CSS Utilities General Settings
Enter SETUP at the Command prompt.
Moving Members
To move members from one Abend-AID report file to another, complete the following
steps:
1. Ensure that the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on
page 3-49) is displayed.
You can display this screen by selecting option 4 (AAREPORT) from the CSS Utilities
- Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Abend-AID Report Files list on this screen. If it does not contain the file
from which you want to move members, enter the file name on the blank line at the
top of the list.
3. Enter M to the left of the file name.
4. Press Enter. The CSS Utilities - Move Facility Selection Panel popup screen (Figure 369 on page 3-62 or Figure 3-70 on page 3-62) is displayed.
5. For Figure 3-69: Specify the desired option M (MOVE) from the options shown.
For Figure 3-70: The shared directory contains both Abend-AID batch & CICS report
members. You must select which type of members should be included - specify B
(BATCH) or C (CICS). Specify the desired option M (MOVE) from the options shown.
6. Press Enter. The CSS Utilities - Abend-AID Report File Move Facility screen (Figure 371 on page 3-63) is displayed.
7. Complete the fields on this screen using Table 3-14 on page 3-63 as a guide.
– MOVE should already be specified in the Option field (from the popup screen); if
not, enter MOVE in the option field.
– Enter a dataset name in the To File field.
Exporting Members
To export members from an Abend-AID report file to a sequential dataset, complete the
following steps:
1. Ensure that the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on
page 3-49) is displayed.
CSS Utilities
3-65
You can display this screen by selecting option 4 (AAREPORT) from the CSS Utilities
- Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Abend-AID Report Files list on this screen. If it does not contain the file
from which you want to export members, enter the file name on the blank line at the
top of the list.
3. Enter M to the left of the file name.
4. Press Enter. The CSS Utilities - Move Facility Selection Panel popup screen (Figure 369 on page 3-62 or Figure 3-70 on page 3-62) is displayed.
5. For Figure 3-69: Specify the desired option E (EXPORT) from the options shown.
For Figure 3-70: The shared directory contains both Abend-AID batch & CICS report
members. You must select which type of members should be included - specify B
(BATCH) or C (CICS). Specify the desired option E (EXPORT) from the options
shown.
6. Press Enter. The CSS Utilities - Abend-AID Report File Move Facility screen (Figure 371 on page 3-63) is displayed.
7. Complete the fields on this screen using Table 3-14 on page 3-63 as a guide.
– EXPORT should already be specified in the Option field (from the popup screen);
if not, enter EXPORT in the Option field.
– Enter the Abend-AID report export file in the From File field.
Importing Members
To import members from a sequential dataset into an Abend-AID report file, complete the
following steps:
1. Ensure that the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on
page 3-49) is displayed.
You can display this screen by selecting option 4 (AAREPORT) from the CSS Utilities
- Primary Menu (Figure 3-1 on page 3-2).
2. Scan the Abend-AID Report Files list on this screen. If it does not contain the file to
which you want to import members, enter the file on the blank line at the top of the
list.
3. Enter M to the left of the file name.
4. Press Enter. The CSS Utilities - Move Facility Selection Panel popup screen (Figure 369 on page 3-62 or Figure 3-70 on page 3-62) is displayed.
5. For Figure 3-69: Specify the desired option of I (IMPORT) from the option shown.
For Figure 3-70: The shared directory contains both Abend-AID batch and CICS
report members. You must select which type of members should be included - specify
B (BATCH) or C (CICS). Specify the desired option I(IMPORT) from the options
shown.
6. Press Enter. The CSS Utilities - Abend-AID Report File Move Facility screen (Figure 368 on page 3-61) is displayed.
7. Complete the fields on this screen as shown in Table 3-14 on page 3-63.
– IMPORT should already be specified in the Option field (from the popup screen):
if not, enter IMPORT in the Option field.
– Enter the name of an Abend-AID report file in the From File field.
Specifying C to Create the To File for Shared Directory or Database
If you are prompted to enter the C command to create the file name specified on the To
File field, and if the From File is either a shared directory or a database file, this file type
3-66
Compuware Shared Services User/Reference Guide
selection panel will be displayed. You may create either a database that will be attached
to an existing shared directory, or you may create a new shared directory and then also
must create a database attached to it. For Abend-AID, see Figure 3-56 and Figure 3-57 on
page 3-52.
Figure 3-72. Select Desired File Type
--------CSS UTILITIES - Select Desired File Type -------CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
File Name entered: 'CX.NEW.LP.SD'
1
Shared Directory
- Create a shared directory
NOTE: You must also next create at least
one database file that will be
attached to this shared directory.
2
Database File
- Create a DDIO/Database that will be
attached to an EXISTING shared directory.
Enter END command to terminate
Selecting Specific Members for Processing
To copy, move, or import specific members within a dataset, complete the following
steps:
1. Enter L at the command prompt on the CSS Utilities - Abend-AID Report File Move
Facility screen (Figure 3-71 on page 3-63).
A list containing all members in the From File dataset (Figure 3-73) is displayed.
Figure 3-73. Selecting Members for COPY, MOVE, or IMPORT
COMPUWARE/VF ----- 'CX.REPTFILE' ---------------- V16.5.0 --- Row 1 to 10 of 10
COMMAND INPUT ===>
SCROLL ===> PAGE
Line Commands:
S (Select for processing)
Abend-Aid REPORT DATASET DIRECTORY
JOBNAME
REPT NUMBER JESID CODE
DATE
TIME
DESC
SIZE(K)
JOBABCR (L)
10 J29906 S0CB
01 APR 1998 14.18.34 SMITH
32
JOBABCR *I
9 J21264 S0C1
31 MAR 1998 8.47.03 SMITH
32
JOBABCB (L)
8 J19762 S0CB
28 JAN 1998 16.27.11 SMITH,
32
JOBABCB
7 J03229 S0CB
26 JAN 1998 13.16.24 SMITH,
32
JOBABCB
6 J01638 S0CB
26 JAN 1998 9.20.35 SMITH,
32
JOBABCB
5 J24405 S0CB
23 JAN 1998 9.05.15 SMITH,
32
JOBABCB
4 J18937 S0CB
22 JAN 1998 11.31.48 SMITH,
32
JOBABCB
3 J21640 S0CB
17 DEC 1997 15.03.29 SMITH,
32
JOBABCB
2 J21549 S0CB
17 DEC 1997 14.57.06 SMITH,
32
JOBABCB
1 J18260 S0CB
17 DEC 1997 10.27.03 SMITH,
32
******************************* Bottom of data ********************************
2. Select members by entering an S to the left of the member names.
Selected members are marked with an asterisk and the word SELECTED.
3. Press F3 to return to the CSS Utilities - Abend-AID Report File Move Facility screen
(Figure 3-71 on page 3-63).
4. Ensure that the command prompt is blank, then press Enter.
CSS Utilities
3-67
Setting Advanced Parameters
To set Abend-AID report file advanced parameters, complete the following steps:
1. Ensure that the CSS Utilities - Abend-AID Report File Move Facility screen (Figure 371 on page 3-63) is displayed.
2. Enter A at the command prompt.
The Abend-AID Report File Move Function- Advanced Parameters screen (Figure 3-74)
is displayed.
Figure 3-74. Abend-AID Report File Move Function - Advanced Parameters Screen
----- Abend-Aid Report File Move Function - ADVANCED PARAMETERS ---- V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Prompt this panel upon process ===> N
(Y/N)
Enter/Modify parameters for COPY/MOVE/EXPORT/IMPORT:
DEFAULTS:
Age old ===>
Age Units ===>
CONTINUE
DELETE
EXEC
LABEL
===>
===>
===>
===>
nnn
(DAYS/MONTHS/YEARS)
DAYS
(YES/NO)
(NO/YES)
(SUMMARY/CHECK/RUN)
(1 to nn)
YES
NO
SUMMARY
1
Note: Once any of the above parameters are modified, the new values will
remain in effect for future formatting until they are modified again.
Press ENTER to process
or
enter END command to terminate
3. Edit the parameters as needed, using Table 3-15 as a guide.
Table 3-15. Abend-AID Report File Advanced Parameters
To:
Do This:
Specify whether advanced
parameters will be displayed
each time a COPY, MOVE,
EXPORT, IMPORT, or LIST
command is processed
Enter one of the following at the Prompt This Panel Upon Process field:
Y: Displays advanced parameters before processing COPY, MOVE,
EXPORT, IMPORT, and LIST commands.
N: Processes these commands without displaying advanced
parameters.
Restrict the COPY, MOVE,
EXPORT, and IMPORT
commands to members older
than nnn months, days, or years
Specify whether COPY, MOVE,
EXPORT, and IMPORT
commands will continue if a
recoverable error is detected
1. Specify a number in the Age Old field.
2. Specify a unit (months, days, or years) in the Age Units field.
Enter one of the following in the CONTINUE field:
Y: (Default) Command continues if possible when an error is detected.
N: Command stops when an error is detected.
Specify whether members will
Enter one of the following in the DELETE field:
be deleted from the original file
Y: Deletes members after they are exported.
(the From File) after they are
successfully exported
N: (Default) Does not delete members after they are exported.
3-68
Compuware Shared Services User/Reference Guide
Table 3-15. Abend-AID Report File Advanced Parameters
To:
Do This:
Control how the COPY, MOVE,
EXPORT, and IMPORT
commands are processed
Enter one of the following in the EXEC field:
(Not present for Database
and/or Shared Directory files)
SUMMARY: (Default) Transfers data and produces a summary report.
The summary includes a list of transferred members and a list of any
members deleted from the From File during the transfer.
CHECK: Produces a detailed report without moving any data. This
report includes a list of transferred members, a list of any members
deleted from the From File during the transfer, and a list of attributes
from the To and From files. It also includes a list of any members
unlocked or deleted during MOVE, COPY, or IMPORT commands.
RUN: Transfers data and produces a detailed report. See CHECK
(above) for a description of the report contents.
Reference multiple export files
Enter the file number of a sequential dataset in the LABEL field. This
using a single ddname — create parameter will be used with the IMPORT and EXPORT commands.
export files on a single tape
You can include the LABEL parameter in your JCL. However, a LABEL
parameter specified on this panel overwrites any LABEL setting in your
JCL.
4.
After you have finished editing the parameters, perform the appropriate action:
– To apply the advanced parameter settings and return to the previous screen,
ensure that the Command prompt is blank and press Enter.
– To cancel the changes and return to the previous screen, enter END at the
command prompt.
Advanced Functions - Abend-AID
Working with Abend-AID Report Files
Figure 3-75. Standard DDIO Advanced Function Panel - Abend-AID Report File - Main Panel
------ AbendAID Report File - ADVANCED FUNCTIONS ----- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
AbendAID DDIO File: 'CX.REPTFILE'
Volser: PRD964
1
DELETE
- Delete the AbendAID DDIO file
Press ENTER to process or enter END command to terminate
Select 1 to bring up the CSS Utilities - CONFIRM Delete screen (Figure 3-76).
CSS Utilities
3-69
Figure 3-76. CSS Utilities - CONFIRM Delete
-----------------COMMAND ===>
CSS UTILITIES CONFIRM DELETE
-------------------- V16.5.0
Dataset Name: CX.REPTFILE
Press ENTER to confirm delete process or enter END to cancel this request.
Note:
This performs an immediate dynamic file delete, just like the original D (Delete)
function on the create panel.
Working with Report Shared Directory Files
Figure 3-77. Abend-AID Report File Shared Directory - Advanced Functions - Main Panel
--------- Shared Directory - ADVANCED FUNCTIONS --------- CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Shared Directory: 'USERID.DDIO.AA.SHRDIR'
Volser: PRD996
1
2
3
4
LISTDB
EXPAND
DELETE
VERIFY
5
VERIFY
-
List all attached databases
Expand size of the shared directory
Delete the shared directory
Verify the integrity of the shared directory
with attached BATCH Databases
- Verify the integrity of the shared directory
with attached CICS Databases
Select 1 (LISTDB) to bring up the Shared Directory - Attached Database Report screen
(Figure 3-78).
Figure 3-78. Shared Directory - Attached Database Report
COMPUWARE/VF --- Shared Directory - Attached Database Report --- Row 1 of 3
COMMAND INPUT ===>
SCROLL ===> CSR
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Shared Directory: 'USERID.CSS.DDIO.MIXED.SD'
Volser: PRD000
I-info C-change T-detach D-delete R-scratch
S-list member
M-move member
SEL ---- Database List -------------------Type Vol
_
USERID.CSS.DDIO.BATCH.DB1
BATCH PRD000
_
USERID.CSS.DDIO.CICS.DB1
CICS PRD000
_
USERID.CSS.DDIO.BATCH.DB2
BATCH PRD000
****************************** Bottom of data ******************************
• Select I to display the Abend-AID Report Database Information Screen Format (Figure
3-64 on page 3-59).
• Select C to display the CSS Utilities - CHANGE AUTODELETE screen (Figure 3-86 on
page 3-74).
• Select T to display the CSS Utilities - DETACH Database screen (Figure 3-85 on page
3-73).
• Select D to display the CSS Utilities - DELETE Database screen (Figure 3-87 on page
3-74).
• Select R to display the “CSS Utilities - SCRATCH Database” screen (Figure 3-79).
3-70
Compuware Shared Services User/Reference Guide
• Select S to display the CSS Utilities - CHANGE AUTODELETE screen (Figure 3-66 on
page 3-61).
• Select M to display the CSS Utilities - Abend-AID Report File Move Facility Screen
(Figure 3-71 on page 3-63).
Note:
Pressing PF3 from any of these screens will return you to the Shared Directory Attached Database Report screen (Figure 3-78).
Select R (SCRATCH) to bring up the CSS Utilities - SCRATCH Database screen (Figure 379).
Figure 3-79. CSS Utilities - SCRATCH Database
---------- COMPUWARE CSS UTILITIES - SCRATCH Database ---------- CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.QA.DDIO.AA.DB01'
Volser: PRD916
Attached to: 'CX.QA.DDIO.AA.SHRDIR'
Volser: PRD9A1
Preparation ===> EDITJCL
Press ENTER to process
(Batch/Editjcl/Foreground)
or
enter END command to terminate
An immediate program call or batch utility job will be generated to do the Scratch
function — removing the specified database from this shared directory. This should only
be done when the database has been destroyed.
Note: You will not get this panel if the selected database is a valid database, you will get
an error message on the previous selection panel instead.
Select 2 (EXPAND) to bring up the CSS Utilities - EXPAND Shared Directory screen
(Figure 3-80).
CSS Utilities
3-71
Figure 3-80. CSS Utilities - EXPAND Shared Directory
------ COMPUWARE CSS UTILITIES - EXPAND Shared Directory ------ CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Shared Directory: 'CX.QA.DDIO.AA.SHRDIR'
Volser: PRD9A1
Preparation ===> BATCH
(Batch/Editjcl/Foreground)
Model DSN ===>
Space Units ===> TRACKS
Quantity ===> 100
(Blocks/Tracks/Cylinders)
CISIZE ===>
Press ENTER to process
or
enter END command to terminate
An immediate program call or batch utility job will be generated, based on the fields
entered above.
Select 3 (DELETE) to bring up the CSS Utilities - DELETE Shared Directory screen (Figure
3-81).
Figure 3-81. CSS Utilities - DELETE Shared Directory
------ COMPUWARE CSS UTILITIES - DELETE Shared Directory ------ CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Shared Directory: 'CX.QA.DDIO.AA.SHRDIR'
Volser: PRD9A1
Preparation ===> BATCH
(Batch/Editjcl/Foreground)
Attached Databases ===> DELETE
(Delete/Detach)
DEFAULT:
DETACH
NOTE: Specifying DELETE will delete ALL databases attached
to the shared directory
Press ENTER to process
or
enter END command to terminate
This panel will generate an immediate program call or batch utility job to delete the
shared directory, and will also either detach or delete all attached databases, according to
the fields entered above.
Select 4 (VERIFY) to bring up the CSS Utilities - VERIFY Shared Directory screen (Figure
3-82).
3-72
Compuware Shared Services User/Reference Guide
Figure 3-82. CSS Utilities - VERIFY Shared Directory
------ COMPUWARE CSS UTILITIES - VERIFY Shared Directory ------ CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Shared Directory: 'CX.QA.DDIO.AA.SHRDIR'
Volser: PRD9A1
Preparation ===> FOREGROUND
Press ENTER to process
or
(Batch/Editjcl/Foreground)
enter END command to terminate
This will generate an immediate program call or batch utility job to verify the integrity
between a shared directory and Abend-AID BATCH database.
Select 5 (VERIFY) to bring up the CSS Utilities - VERIFY Shared Directory Screen (Figure
3-82).
This will generate an immediate program call or batch utility job to verify the integrity
between a shared directory and Abend-AID CICS database.
Working with Abend-AID Report Database Files
Figure 3-83. Abend-AID Report File Report Database - Advanced Functions - Main Panel
---------- Database - ADVANCED FUNCTIONS --------------CSS V16.5.0
COMMAND ===>
Commands: SEtup DD (DDIO tutorial) SD (SD/DB tutorial) LP (LP tutorial)
Database: 'CX.TECH.TEST.DB98'
Volser: PRD954
1
2
3
4
5
ATTACH
DETACH
CHANGE
DELETE
RESET
-
Attach database to a shared directory
Detach database from the shared directory
Change the Autodelete (AD) attribute
Delete the database
Clear the shared directory information; only
to be used if the shared directory has been
damaged
Press ENTER to process or enter END command to terminate
Select 1 (ATTACH) to bring up the CSS Utilities - ATTACH Database screen (Figure 3-84).
CSS Utilities
3-73
Figure 3-84. CSS Utilities - ATTACH Database
---------- COMPUWARE CSS UTILITIES - ATTACH Database --------- CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'COMPWARE.AA.DB1'
Volser: PRD940
Preparation ===> BATCH
(Batch/Editjcl/Foreground)
Attach to
Shared Directory ===> 'cx.aa.shrdir'
Press ENTER to process
or
enter END command to terminate
An immediate program call or batch utility job will be generated to attach the specified
database to the specified shared directory.
Note:
You will not get this panel if the selected database was already attached to a
shared directory - you will get an error message on the main selection panel
instead.
Select 2 (DETACH) to bring up the CSS Utilities - DETACH Database screen (Figure 3-85).
Figure 3-85. CSS Utilities - DETACH Database
---------- COMPUWARE CSS UTILITIES - DETACH Database ---------- CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.QA.DDIO.AA.DB01'
Volser: PRD916
Attached to: 'CX.QA.DDIO.AA.SHRDIR'
Volser: PRD9A1
Preparation ===> BATCH
Press ENTER to process
(Batch/Editjcl/Foreground)
or
enter END command to terminate
An immediate program call or batch utility job will be generated based on the fields
entered to detach the above database from the specified shared directory.
3-74
Compuware Shared Services User/Reference Guide
Note:
You will not get this panel if the selected database is already detached, you will
get an error message on the main selection panel instead.
Select 3 (CHANGE) to bring up the CSS Utilities - CHANGE AUTODELETE screen (Figure
3-86).
Figure 3-86. CSS Utilities - CHANGE AUTODELETE
-------- COMPUWARE CSS UTILITIES - CHANGE AUTODELETE ------- CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.QA.DDIO.AA.DB01'
Volser: PRD916
Attached to: 'CX.QA.DDIO.AA.SHRDIR'
Volser: PRD9A1
Preparation ===> BATCH
(Batch/Editjcl/Foreground)
Current Autodelete ===> YES
New Autodelete ===> NO
Press ENTER to process
(No/Yes/Dups)
or
enter END command to terminate
An immediate program call or batch utility job will be generated based on fields entered
to change the autodelete setting of the specified database.
Select 4 (DELETE) to bring up the CSS Utilities - DELETE Database screen (Figure 3-87).
Figure 3-87. CSS Utilities - DELETE Database
---------- COMPUWARE CSS UTILITIES - DELETE Database ---------- CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.QA.DDIO.AA.DB01'
Volser: PRD916
Attached to: 'CX.QA.DDIO.AA.SHRDIR'
Volser: PRD9A1
Preparation ===> EDITJCL
Press ENTER to process
(Batch/Editjcl/Foreground)
or
enter END command to terminate
CSS Utilities
3-75
An immediate program call or batch utility job will be generated based on the fields
entered that will first detach the specified database from its shared directory, then the
database will be deleted.
Select 5 (RESET) to bring up the CSS Utilities - RESET Database.
Figure 3-88. CSS Utilities - RESET Database
---------- COMPUWARE CSS UTILITIES RESET Database ---------- CSS V16.5.0
COMMAND ===>
Commands: blank (Process)
SEtup
DD (DDIO tutorial)
SD (SD/DB tutorial)
LP (LP tutorial)
Database: 'CX.QA.DDIO.AA.DB01'
Volser: PRD916
Attached to: 'CX.QA.DDIO.AA.SHRDIR'
Volser: PRD9A1
Preparation ===> EDITJCL
Press ENTER to process
(Batch/Editjcl/Foreground)
or
enter END command to terminate
An immediate program call or batch utility job will be generated to reset the database —
the shared directory name will be removed. This should only be done if the shared
directory was destroyed.
Note:
This panel will not appear if the database is attached to an existing shared
directory, you will get an error message on the previous selection panel instead.
Compuware DDIO Calculator — DDIOCALC
The Compuware DDIO Calculator is a tool for calculating your allocation and formatting
of DDIO files (source and report) and databases (source, report and transaction).
Although an existing file is not required to use this tool, it is highly recommended for
use as a fine-tuning model. Otherwise, calculating file size and determining optimal
formatting parameters will result in trial and error. In addition, the values used here are
saved and can be used from the Create/Format screen by using the DDCV command.
Note:
It is not used for shared directory allocation or tuning.
Usage
The DDIO Calculator is available as a menu selection on the CSS Utilities main menu
(Figure 3-1 on page 3-2); as a panel option on the CSS Utilities Source Listing File Facility
screen (Figure 3-14 on page 3-20) and the Abend-AID Report File Facility screen (Figure 353 on page 3-49); or, optionally, as a TSO REXX command DDIOCALC, found in the CSSsupplied SLCXEXEC library.
3-76
Compuware Shared Services User/Reference Guide
Figure 3-89. DDIOCALC Primary Calculations Screen
Compuware Shared Services DDIO File Size Calculator
Primary Calculations Screen
Command ===>
If you have a catalogued DDIO file, enter the DSN below
=== >
Or, do you have DIRX report data Y/N ==> Y
Formatted Report Count (1 to 16000)
Actual Number of Members
Average Member Size (in bytes)
Largest Member in file (in bytes)
Blocksize or CISIZE (2048 to 32760)
Blocks/Track or CIs/CA: 30
Group Count (1 to 2048)
Extents (1 to 460)
==>
==> N/A
==>
==> N/A
==>
Access Method (VSAM or SEQUENTIAL)
Device Type (3380 or 3390)
==> VSAM
==> 3390
Total file size in cylinders
==>
==>
==>
Press Enter to re-calculate, END to exit, or RESET to restore defaults.
An existing DDIO is recommended to check the file efficiency and to make adjustments.
You can enter an existing DDIO file DSN name that will be used to obtain the necessary
DIRX information and fill in the values. Alternately, you can enter the DIRX information
manually. You will need to obtain a DIRX report for file statistics. This information can
be obtained in one of two ways:
– Run a batch DIRX report (using CWDDSUTL for DDIO files, CWAASDUT for
report databases, CWFXSDUT for transaction databases, or CWDDLPUT for
source databases) against your current DDIO file or database.
– Select option 3. Source or 4. AAReport from the CSS Utilities Primary Menu. You
will then place an I next to the file of choice.
1. Enter the DSN for a catalogued DDIO file that can be used to obtain the DIRX data
necessary (recommended).
If a DSN is entered here, the DIRX information will be obtained directly from the file.
The screen shown in Figure 3-89 will display with the values already filled in.
Continue with step 4 on page 3-78.
2. Enter Y or N for an existing DIRX report (optional).
3. Enter data obtained from the DIRX report.
If a Y was entered for an existing DIRX report, the screen in Figure 3-90 will display:
CSS Utilities
3-77
Figure 3-90. DDIOCALC DIRX Report Data Input Screen
Compuware Shared Services DDIO File Size Calculator
DIRX Report Data Input Screen
Enter the following information directly from the DIRX report:
Access Method (VSAM or SEQ)
Blksize
ReptCount
GroupCount
Extents
Blocks in File
Number of Members
Largest Member Size (in groups)
Average Member Size (in groups)
==>
==>
==>
==>
==>
==>
==>
==>
==>
VSAM
0
0
0
0
0
0
0
0
Additional information:
Device Type (3380 or 3390)
This DDIO file currently FULL? Y/N
==> 3390
==> N
Calculated file size in cylinders:
Press Enter to re-calculate, or END to return to the primary screen.
The required fields can be taken directly from the DIRX report. Note that some of the
information is located at the top of the DIRX report (Figure 3-91).
Figure 3-91. Top of the DIRX Report
ENTER UTILITY COMMAND:
DIRX
DSN ----------------------------VOLSER -------------------------AM(ACCESS METHOD) --------------BLKSIZE ------------------------TYPE ---------------------------REPTCOUNT ----------------------GROUPCOUNT ---------------------AUTODELETE ---------------------INDEX --------------------------EXTENTS ------------------------OTHER INFORMATION
BLOCKS IN FILE ---------------ALLOCATION GROUPS ------------USED ALLOCATION GROUPS -------FILE FORMATTED BY DDIO RELEASEREQUIRED MINIMUM DDIO RELEASE CURRENT REPORT NUMBER --------DIRECTORY ENTRIES/BLOCK ------DIRECTORY BLOCKS -------------FILE FORMAT -------------------
CX.TRAIN.VSMREPT
PRD950
VSAM
4089
ABEND-AID DATABASE
100
4
YES
EXTENDED
460
18000
4493
80(2%)
7.6.0
5.6.0
3
4
25
EXTENDED
The remaining information is located at the bottom of the DIRX report (Figure 3-92).
3-78
Compuware Shared Services User/Reference Guide
Figure 3-92. Bottom of the DIRX Report
MEMBER SUMMARY OF CX.TRAIN.VSMREPT
NO OF MEMBERS -------------------------------NO OF LOCKED MEMBERS ------------------------NO OF UNLOCKED MEMBERS ----------------------NO OF INCOMPLETE MEMBERS --------------------LARGEST MEMBER SIZE (IN GROUPS) -------------SMALLEST MEMBER SIZE (IN GROUPS) ------------AVERAGE MEMBER SIZE (IN GROUPS) --------------
2
0
2
1
64
14
39.0
SPACE SUMMARY BASED ON AUTODELETE=YES
MAXIMUM ALLOCATION GROUPS -------------------AVAILABLE ALLOCATION GROUPS -----------------MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) -AVAILABLE NO OF DIRECTORY ENTRIES ------------
4493
4491
100
100
ENTER UTILITY COMMAND:
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
All required fields will highlight if left blank. After all fields have been entered, you will
see the percentage of used space on the file:
Figure 3-93. DDIOCALC DIRX Report Data Input Screen
Compuware Shared Services DDIO File Size Calculator
DIRX Report Data Input Screen
Enter the following information directly from the DIRX report:
Access Method (VSAM or SEQ)
Blksize
ReptCount
GroupCount
Extents
Blocks in File
Number of Members
Largest Member Size (in groups)
Average Member Size (in groups)
==>
==>
==>
==>
==>
==>
==>
==>
==>
VSAM
4096
100
4
460
18000
2
64
39
(Minimum = 1)
(1,048,576 BYTES)
(638,976 BYTES)
Additional information:
Device Type (3380 or 3390)
This DDIO file currently FULL? Y/N
Calculated file size in cylinders:
==> 3390
==> N
(1.7% Full)
100
Press Enter to re-calculate, or END to return to the primary screen.
4. Make file allocation and format adjustments.
At this point, if the DIRX input screen is displayed, you may press PF3 to take you back to
the first panel. Here, you can begin making adjustments to the file allocation by
increasing/decreasing the file size and seeing the effects on the file, as well as making
adjustments to the formatting parameters to increase DASD utilization.
Note:
It is important to make one modification at a time and press Enter. It may be
difficult to determine the effect on the file if you make multiple modifications
simultaneously.
Helpful Hints
Here are a few suggestions to follow when making file adjustments.
• Increase the number of listings that can be written to the file.
CSS Utilities
3-79
Examine the file full percentage. Compare that value to the actual number of
members. If the file is not 100% full, yet you have reached the maximum number of
members, the file is not being utilized efficiently. The file will never run to 100%
space capacity as it is limited by the report count set at the time it was formatted.
Report Count defaults to 100. If the file is not full, and you have not reached the
maximum RC, this calculator can be used to determine how many members, based
on average size, can be written to the file.
If you want to see the effect on the file by increasing the number of actual members
to a higher number, modify only one setting at a time based on the following
scenarios:
– File not full, maximum report count not reached
Increase the actual number of members gradually until a file full condition is
met. Was the maximum number of members reached? If not, are you satisfied
with the number? If not, the file is too small and you will need to allocate more
space. If the maximum number of members was reached before the file was full,
see next item.
– File not full, maximum report count reached
First, increase the Report Count to an amount you feel will fill up the additional
space or to a number you feel needs to be maintained to meet your shop's needs.
Press Enter. There should be no visible change in the file percentages. If a
substantial increase has been entered, there may be a warning about the required
header record size.
The next step is to increase the actual number of members gradually to meet a
file full condition. This will tell you how many members will actual fit in the
space provided.
Note:
Pay close attention to the total file size in cylinders as you make
modifications to the actual number of members. It will automatically
increase to accommodate the new number of members entered. If the
new “number of members” value has exceeded the intended number of
cylinders, decrease the number of members first, then decrease the total
number of cylinders.
• Increase the file space allocation to accommodate more members.
If the maximum number of members is not reached due to a file full condition, you
may increase the number of cylinders to determine how much space is required to
hold the desired number of members. You may also have a maximum file size and
want to determine how many additional members will fit. This can be done in two
ways:
– Increase the file size based on required report count.
By increasing the report count and actual number of members to the desired
amount, the total number of cylinders will automatically increase to
accommodate the new total.
– Increase the number of reports based on maximum file size.
The total number of cylinders can be increased to a desired amount. From there,
the report count and actual number of members can be increased to determine
how many members will actually fit within that file allocation.
• Increase DASD utilization.
Ideally, DASD utilization should run near 100%. Any percentage under 90% is worth
looking at to see if improvements can be made. The two parameters to consider for
DASD utilization are blocksize (or CISIZE) and Group Count (GC). The physical
allocation is divided into equal allocation groups (or Extents). The size of these
Extents is determined by the blocking factor or CISIZE multiplied by the Group
Count. A typical installation will have CISIZE=4096. If GC=4, each Extents setting
3-80
Compuware Shared Services User/Reference Guide
would be 4096 x 4 = 16384 bytes. The default Extents setting is 64. The Extents
parameter is offered to override that default up to a maximum of 460.
Note:
Keep in mind that the larger the allocation group is in size, the more
potential waste there will be on the file. This means that if a member
acquires an additional allocation group and only uses a few bytes, the
remainder of the allocation group will not be used until the member has
been deleted from the file. Multiply the possible amount of wasted space by
the number of members in the file and you can see how a file may become
full quickly without actually utilizing the space.
To increase DASD utilization, Compuware recommends third-track blocking. You
accomplish this by allocating the file with CISIZE=18432. The previous practice of
using CISIZE=4096 required Group Counts to be higher to accommodate large
members. With the use of third-track blocking, a smaller GC will reduce the amount
of wasted space per member. Third-track blocking requires the GC to be in multiples
of 3.
Change the CISIZE first. You should note a change in DASD utilization immediately.
Next, change the Group Count. You will not see DASD utilization change; however,
you will notice a change in the maximum member size. This represents the size of
the largest member this file can accommodate. Compare this to the actual largest
member currently written to the file. If the actual member is much smaller, you may
be able to lower the GC if it is higher than 3. Otherwise, the space is available to
accommodate larger members, if needed in the future.
4-1
Chapter 4.
Batch File Utility CWDDSUTL
Chap 4
Prior to release CSS 8.3, there were four different utility programs used to manage
Compuware DDIO files. The choice of program was based on the type of DDIO file.
• CWDDSUTL - Standalone report files and standalone source file.
• CWAASDUT - Report databases and report shared directories used by Abend-AID.
• CWFXSDUT - Report databases and report shared directories used by Abend-AID for
CICS.
• CWDDLPUT - Source databases and source shared directories populated by
Compuware language processors and used by many Compuware products for source
support.
Beginning with release 8.3 of CSS, there is a new single utility, CWDDALLU, which can
deal with all types of DDIO files.
Note:
You do not need to change your JCL. The four utilities named above still exist as
entry points in CWDDALLU. There is no conversion required.
For detailed information on these utilities, refer to Chapter 8, “Batch File Utility
CWDDALLU”. This chapter documents all of the commands and command parameters
that can be used for any of the four older utilities, CWDDSUTL, CWAASDUT, CWFXSDUT
or CWDDLPUT.
4-2
Compuware Shared Services User/Reference Guide
5-1
Chapter 5.
Batch File Utility CWFXSDUT
Chap 5
Prior to release CSS 8.3, there were four different utility programs used to manage
Compuware DDIO files. The choice of program was based on the type of DDIO file.
• CWDDSUTL - Standalone report files and standalone source files.
• CWAASDUT - Report databases and report shared directories used by Abend-AID.
• CWFXSDUT - Report databases and report shared directories used by Abend-AID for
CICS.
• CWDDLPUT - Source databases and source shared directories populated by
Compuware language processors and used by many Compuware products for source
support.
Beginning with release 8.3 of CSS, there is a new single utility, CWDDALLU, which can
deal with all types of DDIO files.
Note:
You do not need to change your JCL. The four utilities named above still exist as
entry points in CWDDALLU. There is no conversion required.
For detailed information on these utilities, refer to Chapter 8, “Batch File Utility
CWDDALLU”. This chapter documents all of the commands and command parameters
that can be used for any of the four older utilities, CWDDSUTL, CWAASDUT, CWFXSDUT
or CWDDLPUT.
5-2
Compuware Shared Services User/Reference Guide
6-1
Chapter 6.
Batch File Utility CWAASDUT
Chap 6
Prior to release CSS 8.3, there were four different utility programs used to manage
Compuware DDIO files. The choice of program was based on the type of DDIO file.
• CWDDSUTL - Standalone report files and standalone source files.
• CWAASDUT - Report databases and report shared directories used by Abend-AID.
• CWFXSDUT - Report databases and report shared directories used by Abend-AID for
CICS.
• CWDDLPUT - Source databases and source shared directories populated by
Compuware language processors and used by many Compuware products for source
support.
Beginning with release 8.3 of CSS, there is a new single utility, CWDDALLU, which can
deal with all types of DDIO files.
Note:
You do not need to change your JCL. The four utilities named above still exist as
entry points in CWDDALLU. There is no conversion required.
For detailed information on these utilities, refer to Chapter 8, “Batch File Utility
CWDDALLU”. This chapter documents all of the commands and command parameters
that can be used for any of the four older utilities, CWDDSUTL, CWAASDUT, CWFXSDUT
or CWDDLPUT.
6-2
Compuware Shared Services User/Reference Guide
7-1
Chapter 7.
Batch File Utility CWDDLPUT
Chap 7
Prior to release CSS 8.3, there were four different utility programs used to manage
Compuware DDIO files. The choice of program was based on the type of DDIO file.
• CWDDSUTL - Standalone report files and standalone source files.
• CWAASDUT - Report databases and report shared directories used by Abend-AID.
• CWFXSDUT - Report databases and report shared directories used by Abend-AID for
CICS.
• CWDDLPUT - Source databases and source shared directories populated by
Compuware language processors and used by many Compuware products for source
support.
Beginning with release 8.3 of CSS, there is a new single utility, CWDDALLU, which can
deal with all types of DDIO files.
Note:
You do not need to change your JCL. The four utilities named above still exist as
entry points in CWDDALLU. There is no conversion required.
For detailed information on these utilities, refer to Chapter 8, “Batch File Utility
CWDDALLU”. This chapter documents all of the commands and command parameters
that can be used for any of the four older utilities, CWDDSUTL, CWAASDUT, CWFXSDUT
or CWDDLPUT.
7-2
Compuware Shared Services User/Reference Guide
8-1
Chapter 8.
Batch File Utility CWDDALLU
Chap 8
This chapter describes the CWDDALLU batch file utility program, used to manage
Compuware datasets that contain either source listings, or reports created by Abend-AID
or Abend-AID for CICS. The single utility program CWDDALLU can now perform any of
the functions formerly performed by the separate Compuware utilities CWAASDUT,
CWDDLPUT, CWDDSUTL and CWFXSDUT. All four of these previous utilities remain
available, however; there is no need to modify any existing JCL.
Use of the older utilities CWAASDUT, CWDDLPUT, CWDDSUTL, and CWFXSDUT
required you to know which kind of Compuware file you were processing; each of the
four utilities was appropriate only for certain types. In almost every case (exceptions
noted below), you may now use CWDDALLU without regard to the nature of the
Compuware file you are manipulating. CWDDALLU will determine the file type, and
route your request to the appropriate utility code.
In fact, even the four older utilities will now determine the file type of the dataset you
want to deal with, and will reroute your request, if necessary, to the appropriate utility.
For example, if you invoke CWDDLPUT, suitable only for source listing files, but the file
you are addressing is an Abend-AID report shared directory, CWDDLPUT will reroute
your request to CWAASDUT, the utility appropriate for such a file. This all happens
automatically, and does not generate error- or warning-level return codes.
When you must declare a file type to CWDDALLU
When you use one of the older utilities, CWAASDUT, CWDDLPUT or CWFXSDUT, the
choice of utility indicates what kind of data you want to deal with. In terms of a TYPE=
parameter, the implied type is:
• CWAASDUT: TYPE=AA
• CWDDLPUT: TYPE=SOURCE
• CWFXSDUT: TYPE=CICS
When using CWDDSUTL against a plain source file or report file, there is never a need for
a TYPE= specification, since an individual source file or report file can contain only one
kind of data.
When you invoke CWDDALLU, which is capable of handling any type of data, you may
have to add a TYPE= specification to indicate which data type you want to handle. When
a utility command refers to an existing dataset that contains only one type of data,
CWDDALLU needs no TYPE= parameter, since the type is apparent from examining the
dataset. This leaves two situations in which you need to specify TYPE=.
1. The command does not refer to any existing dataset.
The two commands of this type are:
– CREATE
– ESTIMATE
For these two commands, if you invoke CWDDALLU by name, you must supply a
TYPE= parameter.
2. The existing dataset contains multiple data types.
Only a shared directory can contain multiple data types, and the only two possible
types are TYPE=AA (for Abend-AID reports) and TYPE=CICS (for Abend-AID for CICS
8-2
Compuware Shared Services User/Reference Guide
reports). If you direct a utility command to a shared directory that contains both
these types, you will need to specify TYPE=AA or TYPE=CICS. The commands to
which this can apply are:
– COPY
– DELETE
– DIR
– DIRX
– EXAMINE
– EXPORT
– LOCK
– MOVE
– VERIFY
– UNLOCK
Again, the TYPE= parameter is required for these commands only if:
a. The dataset being acted on is a shared directory with both Abend-AID and
Abend-AID for CICS databases attached, and
b. You direct the utility command to CWDDALLU directly, via a JCL entry reading
EXEC PGM=CWDDALLU.
File Structures
There are seven kinds of files that can be manipulated by CWDDALLU:
1. Report Files - these files contain abend reports produced by Abend-AID
2. Source Files - these files contain program listings processed by a Compuware
Language Processor
3. Transaction Databases - these files contain transaction abend reports produced by
Abend-AID for CICS
4. Report Databases - these files contain abend reports produced by Abend-AID
5. Source Listing Databases - these files contain program listings produced by a
Compuware Language Processor
6. Report Shared Directories - these are catalogs of Report and/or Transaction Databases
7. Source Listing Shared Directories - these are catalogs of Source Listing Databases
A Shared Directory is a catalog of databases. The databases included in a shared directory
are said to be attached to the shared directory. A shared directory contains only a list of
attached databases, and a combined index of all the individual items contained in any
attached database. It does not contain actual report or source listing data.
Databases are distinguished from Files by being structured to permit attaching the
databases to a Shared Directory. Thus a Source File is a standalone file containing source
listings processed by a Compuware Language Processor. It cannot be attached to a source
shared directory. A Source Database is similar, but with the additional possibility of
attaching the source database to a source shared directory.
Attaching databases to a shared directory makes it possible to efficiently scan multiple
databases for a desired member. Long Program Name (LONGNAME) compiler support for
C, VisualAge PL/I, and Enterprise PL/I must utilize Source Listing shared directory
processing for member names greater than eight characters. Compuware recommends
using databases and shared directories, instead of the standalone source files and report
files.
Throughout this chapter, the term entry or member refers to a program source listing in a
source file or database, or to an individual abend report, created by Abend-AID or AbendAID for CICS, in a report file or report database.
Batch File Utility CWDDALLU
8-3
The term DDIO file refers to any of the seven types of files described above. DDIO is a
proprietary Compuware access method.
CAUTION:
No utility other than CWDDALLU, CWAASDUT, CWDDLPUT, CWDDSUTL or
CWFXSDUT (or DDIO management facilities provided in the Host Explorer plug-in
of the Compuware Workbench) should ever be used to alter a Compuware DDIO file,
of any kind.
File-AID/MVS and other VSAM-related vendor products (including vendor packages
that compress or enhance buffer management on VSAM files) should NOT be used
against Compuware DDIO files. Doing so can corrupt the contents of the DDIO file.
Summary of CWDDALLU Utility Commands
The following is a list and brief description of the commands available for the
CWDDALLU batch file utility. Each command is discussed in detail later in this chapter.
ATTACH
Reconnects a detached database to a shared directory.
CHANGE
Changes the auto-delete characteristic for a database, changes or sets the
AUTOLOCKMAX and/or DUPMAX source duplicate-control parameters
in the shared directory, or changes the attributes of a DBMODEL
previously created.
CONVERT
Converts a standard source or report DDIO file to a database format and
connects it to a shared directory.
COPY
Copies entries from one shared directory, database, or source or report
file to another shared directory, database, or source or report file.
CREATE
Allocates and formats a shared directory or database file. May also be
used to format a pre-allocated shared directory or database file. For
source databases or shared directories, creates a DBMODEL entry in the
shared directory that will be used in conjunction with the new dynamic
Source Listing Database create feature (DYNCREATE).
DELETE
Deletes a shared directory file, database file, report or source file, or
member entries in any of those, or a DBMODEL entry.
DETACH
Disconnects a database file from a shared directory.
DIRECTORY
Lists the entries in a shared directory, database or source or report file.
DIRS
Lists the directory entries in a sequential file that was produced by the
EXPORT command.
DIRX
Reports on the characteristics of a shared directory, a database, or a
report or source file, and on the characteristics of all entries in the file. A
shared directory report includes information on all databases attached
to the shared directory.
ESTIMATE
Calculates the number of blocks to allocate for a shared directory when
the allocation is performed outside of CSS.
EXAMINE
Reads, analyzes, and optionally repairs the selected shared directory.
Optionally deletes incomplete members in the shared directory and
attached databases (if DELETEIC is specified).
8-4
Compuware Shared Services User/Reference Guide
EXPAND
Resizes an existing shared directory's space allocation and/or CISIZE.
EXPORT
Copies entries from a shared directory, a database, or a source or report
file, to a sequential file, from which they can later be restored into the
same or another shared directory, database, or source or report file,
using the IMPORT command.
FLAG
Marks changed lines of a source listing with text of your choice, based
on comparing the source listing to another listing for the same program.
FORMAT
Initially formats a pre-allocated VSAM or BDAM file to be a source file or
a report file.
IMPORT
Restores previously exported entries from a sequential dataset.
LOCK
Locks selected entries of a shared directory, database, or source report
file, so entries cannot be automatically deleted when the file becomes
full.
MOVE
Copies entries from one shared directory, database, or source or report
file to another shared directory, database, or source or report file, and
deletes them from the From file only if they were successfully copied.
PRINT
Prints a single source member from a source listing Database, shared
directory, or a source file, or prints a DBMODEL's specifications. Also
prints an abend report created by Abend-AID, optionally adding source
information from source file, source database or shared directory.
REFRESH
Adjusts the number of duplicate source listing members within the
shared directory, as well as providing a way to adjust the number of
autolocked (L) source members at the shared directory level, during a
single execution.
RESET
Disconnects a database from a shared directory when the shared
directory is lost or damaged.
SCRATCH
Removes the entries in a shared directory for a database that has been
lost or damaged.
TEST
Allows a test create and format of a Source Listing Database as specified
in the DBMODEL used for the dynamic source database create feature
(DYNCREATE). The file will not be attached to the shared directory.
UNCONVERT Detaches a Source Listing Database or Abend-AID Report Database from
its shared directory and then converts it back to a standard DDIO source
listing or report file format. Long-name members will still be in the
converted DDIO source listing file, but will not correctly identify
themselves and will not be usable.
UNLOCK
Unlocks selected entries of a shared directory, a database, or a source or
report file, so they can be automatically deleted (see AUTODELETE)
when the file becomes full.
VERIFY
Ensures that the information contained in a shared directory matches
the information contained in its databases. This command produces a
report that lists any inconsistencies.
Usage Considerations
This section discusses special considerations for using the CWDDALLU utility.
Batch File Utility CWDDALLU
8-5
Renaming Shared Directories and Databases
To rename a database, you must first detach it from its shared directory and then rename
it. You must then re-attach it to the shared directory in order to retain the correct
references. The newly renamed databases must be attached to the shared directory before
it can be used.
To rename a shared directory, you must first detach all its databases from the old shared
directory. Then, re-attach all of the databases to the renamed shared directory.
Dynamic Creation of Source Listing Databases
This new feature allows dynamic creation of a new Source Listing Database, during
creation of a new source listing member, if all attached files in the shared directory are
not selectable (full, or not enough space for that member) and you specified CWPDDIO
as a shared directory. You must also have previously set up a valid DBMODEL with
DYNCREATE=YES in that shared directory using CREATE. The dynamic create function is
NOT invoked during the CWDDLPUT utility functions ATTACH or CONVERT. It is not
applicable to report files, report databases or report shared directories.
DD Statements Used with CWDDALLU
The following is a description of each DD statement required for CWDDALLU. DD
Statements Used with CWDDALLU Batch Commands list the required and optional DD
statements used with CWDDALLU batch commands.
ABNLPARM
The ABNLPARM DD statement specifies the control dataset. Normally, the control dataset
resides in the input stream; however, it can reside on a system input device or it can be
defined as a member in a partitioned dataset. You must specify the ABNLPARM DD
statement each time you run the batch file utility. The ddname ABNLPARM cannot be
altered.
ABNLREPT
The ABNLREPT DD statement specifies a sequential dataset for messages and reports
produced by CWDDALLU. You must specify the ABNLREPT DD statement each time you
run the batch file utility. The ddname ABNLREPT cannot be altered. The recommended
record length for a ABNLREPT dataset is 133
ABNLFROM
The ABNLFROM DD statement specifies the default input file for the COPY, EXPORT,
IMPORT, and MOVE commands. This default can be overridden using the FROMDD or
FROMDSN parameter.
ABNLTO
The ABNLTO DD statement specifies the default output file for the COPY, EXPORT,
IMPORT, and MOVE commands. This default can be overridden using the TODD or
TODSN parameter.
ABNLDFIL
The ABNLDFIL DD statement, if supplied, specifies the default primary input file for most
CWDDALLU commands. This default can be overridden using the DDNAME or DSN
parameter.
Anyname1
The Anyname1 DD statement specifies an optional sequential dataset for a printed
member for the PRINT command. The actual ddname is defined by the OUTDD
8-6
Compuware Shared Services User/Reference Guide
parameter of the PRINT command. If this parameter is not defined, the member will be
written to the file specified by the ABNLREPT DD statement.
The dataset specified by the anyname1 DD statement must use RECFM=FBM and
LRECL=133. The BLKSIZE must be a multiple of the LRECL value. If the dataset is a new
dataset (DISP=NEW) and the DCB parameters are not specified, the default BLKSIZE value
is 133.
Table 8-1.
DD Statements Used with CWDDALLU Batch Commands
ABNLPARM
ABNLREPT
ABNLDFIL
ATTACH
X
X
O
CHANGE
X
X
O
CONVERT
X
X
O
COPY
X
X
CREATE
X
X
DELETE
X
X
O
DETACH
X
X
O
DIR
X
X
O
DIRS
X
X
O
DIRX
X
X
O
ESTIMATE
X
X
EXAMINE
X
X
O
EXPAND
X
X
O
EXPORT
X
X
FLAG
X
X
FORMAT
X
X
IMPORT
X
X
LOCK
X
X
MOVE
X
X
PRINT
X
X
REFRESH
X
X
O
RESET
X
X
O
SCRATCH
X
X
TEST
X
X
O
UNCONVERT
X
X
O
UNLOCK
X
X
O
VERIFY
X
X
O
X — Required; O — Optional
ABNLFROM
ABNLTO
O
O
O
O
O
O
O
O
anyname1
O
O
Batch File Utility CWDDALLU
8-7
Usage Restrictions
1. CWDDALLU is the only utility recommended for use with any kind of Compuware
DDIO file. However, existing JCL invoking the older utilities CWAASDUT,
CWDDLPUT, CWDDSUTL, and CWFXSDUT will continue to function correctly.
2. CWDDALLU must be used to delete Shared Directories and/or Databases to avoid
possible internal corruption. However, existing JCL invoking the older utilities
CWAASDUT, CWDDLPUT, CWDDSUTL and CWFXSDUT will continue to function
correctly.
3. File-AID/MVS and other VSAM-related vendor products (including vendor packages
that compress or enhance buffer management on VSAM files) should NOT be used
against Compuware DDIO files. Doing so can corrupt the contents of the file.
4. IDCAMS should only be used to "pre-allocate" a dataset (DEFINE); it must then be
formatted as a shared directory or database by using the "CREATE" command syntax
for a pre-allocated file.
Command Conventions
Use the following conventions when specifying commands:
• Enter commands and their parameters as control cards in the dataset defined by the
ABNLPARM DD statement.
• Commands can start in any column.
• Separate the command from its parameters by one or more spaces.
• Separate parameters by commas without intervening spaces.
• When typing parameter names, type either the whole parameter name or the
shortcut in parentheses in the parameters list (see “Command Parameters for all
DDIO files” on page 8-8), or the uppercase letters shown in the syntax diagram for
the command. Typing a shortened version of the parameter won’t work. For example,
typing AUTOD for the AUTODELETE parameter is not valid — you must type
AUTODELETE or AD.
• Control cards can be continued on successive lines. Each line of a multiple-line
control card statement must contain at least one parameter. To continue on a new
line, enter a comma followed by a space immediately after the last parameter on the
line.
• To include a comment on a line, enter at least one blank space after the last
parameter on the line, followed by the comment text.
• Any line containing an asterisk (*) followed by a space in the first two columns is
treated as a comment line.
• The CWDDALLU utility stops when it reaches an end-of-file (EOF) or null input
control card.
• The asterisk (*) is the generic or wildcard character indicator, and it can be used in
the following parameters:
– PROGRAM
– ABEND
– JESID
– JOBNAME
– APPLID
– CICSCODE
8-8
Compuware Shared Services User/Reference Guide
– TRAN
The wildcard character can be used only at the end of the parameter being specified.
• Parameter strings with blanks must have apostrophes around them.
Command Parameters for all DDIO files
This section describes the parameters accepted by the commands that manage existing
shared directories, databases, source files, report files and DBMODEL (used for dynamic
creation feature). Not all parameters are available for all commands.
ABEND (A):
Selects Abend-AID reports by abend code. Wildcard characters are valid. However,
valid abend codes must begin with U or S.
AM:
Specifies the access method for the file being created. This parameter is only used
when allocating or reallocating a file. Allowable values are:
VSAM:
The access method is VSAM.
BSAM:
The access method is sequential.
Note:
A shared directory or source listing database used by Xpediter/CICS must be
created as a VSAM file
APPLID:
Selects transactions by system APPLID. Wildcard characters are valid.
AUTODELETE (AD):
Determines the action taken when an attempt is made to write a member to a DDIO
file that is full. The AUTODELETE parameter specifies whether the oldest member in
the DDIO file is automatically deleted when the file becomes full. An individual
database, report file or source file is considered full when all of the groups (EXTENTs)
in the file have been allocated or the number of members specified by REPTCOUNT
has been reached.
The autodelete process is based on manual and automatic locks. Manual locks are
created online using the L line command from any directory screen or with the batch
utility LOCK command. Automatic locks are created whenever a member is added to
a database, source file or report file formatted using the AUTODELETE=DUPS or
AUTODELETE=STAGED options. The most recent member on that database is
automatically locked.
Members that have been manually locked retain their locks during the autodeletion
process. They may be unlocked by using the U line command online or with the
UNLOCK batch command. A DELETE command in batch, or the D line command
online, will unlock a member prior to executing the delete.
When a shared directory is specified in the creation of a new member, the autodelete
attributes are reflected at the database level unless the AUTOLOCKMAX value has
been set in the shared directory, then the autolocking is reflected at the shared
directory level. First, a database is selected to receive the new member. All attached
databases participate in the selection process based on their free space amounts. After
selection, that database's autodelete setting determines any autodeletion and
automatic locking.
For source listings, the oldest member is the program with the earliest compile date
and time. For reports from Abend-AID or Abend-AID for CICS, the oldest member is
Batch File Utility CWDDALLU
8-9
the report with the earliest creation date and time. The following are valid values for
AUTODELETE.
YES:
(Default): Allows new members to be written to a full DDIO file by
deleting the oldest unlocked members. This method is commonly
referred to as wrap-around mode, and is typically used for files
where members are added as needed. AUTODELETE=YES does not
automatically lock members. A file full condition will occur when
AUTODELETE=YES and all members are manually locked or in use.
You can resolve a file full condition by manually deleting members
from the file, manually unlocking members, or using the DBMODEL
feature for source shared directory files.
Notes:
1. If you want to keep a specific member for a longer period, you
can lock it, and it will be bypassed when autodelete processing
selects the next report member to be automatically deleted.
2. The DELETE DUPS parameter should only be used against
AUTODELETE=DUPS or AUTODELETE=STAGED files. Using
DELETE DUPS=UNLOCKED against an AUTODELETE=YES file
will delete all unlocked members (ALL members).
DUPS:
This option ensures that one entry of each name remains in a source
file, report file, or database; or, in a source shared directory if
AUTOLOCKMAX is set. When a new member is added to a database,
all automatically locked members with the same name are unlocked
except the member with the most recent compile (for source) or
creation (for reports) date and time. Members with the same name
that have been manually locked using the L line command or the
LOCK batch command remain locked and will not be deleted. If the
DDIO file becomes full, the oldest unlocked member not in use,
regardless of name, is chosen for deletion. When OBJECT=SRCEDIR
or OBJECT=SHRDIR is specified for member create, each of its
attached databases will participate in the selection process, but only
the selected database (if it is DUPS) participates in this automatic
unlock-lock process; the most current duplicate member for the
selected database will be locked if it is DUPS.
Note: If AUTOLOCKMAX=n is set for a shared directory and a new
source member is added ALL automatically locked members
with the same name within the shared directory are
unlocked except the "n" most recent compiles (manually
locked members are ignored during this unlock process).
After a source database is then selected the normal
autodelete process is used on the selected database as
needed.
A file full condition will occur when all members are manually or
automatically locked or in use. You can resolve a file full condition
by manually deleting members from the file, manually unlocking
members, by using the DBMODEL feature for source shared
directories, or by limiting the number of duplicate source members
via the REFRESH command or by setting the DUPMAX value in the
shared directory to limit the total number of duplicates at LP
compile time.
8-10
Compuware Shared Services User/Reference Guide
STAGED: This option is similar to AUTODELETE=DUPS, and is valid for source
listings only.
When a new member is added to a DDIO file, all automatically
locked members with the same name are unlocked except the
member with the most recent compile (for source) or creation (for
reports) date and time. Members with the same name that have been
manually locked remain locked and will not be deleted. If the DDIO
file becomes full, the oldest unlocked member not in use is chosen
for deletion. When OBJECT=SRCEDIR or OBJECT=SHRDIR is
specified for member create, each of its attached databases will
participate in the selection process, but only the selected database (if
it is STAGED) participates in this automatic unlock-lock process. The
most current duplicate member for the selected database will be
locked (if it is STAGED).
However, if all members are locked or in use, then the oldest
automatically locked member not in use is deleted.
Note: If AUTOLOCKMAX=n is set for a shared directory and a new
source member is added ALL automatically locked members
with the same name within the shared directory are
unlocked except the "n" most recent compiles (unless they
are manually locked). After a source database is then
selected the normal autodelete process is used on the
selected database as needed.
CAUTION:
If you need to retain the most current version of each source
listing member, you should format your source listing database
with AUTODELETE=DUPS or AUTODELETE=NO.
A file full condition will occur when all members are manually
locked or in use. You can resolve a file full condition by manually
deleting members from the file, manually unlocking members, or by
using the DBMODEL feature for a source listing shared directory.
NO:
Prevents members from being written to a DDIO file when it
becomes full. To add members to a full file, one or more members of
the file must be manually deleted using the DELETE command.
For example, if a Source Listing Database file holds production
source listings, you may want to use AUTODELETE=NO so that the
production listings are not automatically deleted before a new
member is successfully added. A Source Listing Database file that
holds listings from development could be formatted with
AUTODELETE=DUPS or AUTODELETE=STAGED. With the AD=DUPS
or AD=STAGED option, new members may be added to the full
DDIO file if there are any members eligible to be automatically
deleted.
A file full condition will occur when the file is full. You can resolve a
file full condition by manually deleting members from the file or by
using the DBMODEL feature of source listing shared directories.
Note:
A DIR/DIRX member list of the shared directory will reflect the mixture of
database-level locking attributes unless AUTOLOCKMAX is set in the shared
directory.
Batch File Utility CWDDALLU
8-11
DDIO File Full Condition
A file full condition exists when new members cannot be added to a full DDIO file, in
which case an error is returned. A file full condition will occur with the following
AUTODELETE options:
YES:
All members are manually or automatically locked or in use.
DUPS:
All members are manually or automatically locked or in use.
STAGED:
All members are manually locked or in use.
NO:
The file is full.
Resolving a File Full Condition
You can perform the following steps to resolve a file full condition:
– Manually delete members from the file.
– Manually unlock members when AUTODELETE=YES or AUTODELETE=DUPS.
– Allocate and format a larger file, and use the MOVE or COPY commands to
transfer the contents of the full file to the new file.
– Use the EXPORT command with the DELETE option to archive all or some
members to a sequential file (tape or disk).
Using EXPORT, space can be freed up without losing members, since members
can be imported back into the file as needed. This method also avoids the
overhead created by formatting new files.
– (Source Listing database and shared directory only). Set up your shared directory
to perform dynamic source database creation. You must first create a DBMODEL
in your shared directory, which defines the parameters that will be used to create
and format a new Source Listing Database dynamically. [See the CREATE
command, CREATE (CRE)].
The DYNCREATE parameter must also be set to YES. The CWPDDIO DD
statement must point to your shared directory (NOT to a specific Source Listing
Database). When the file-full condition is encountered, a new Source Listing
Database will dynamically be created and formatted and the source member
created in that database. An informational message is generated to let you know
this has occurred.
– (Source Listing database and shared directory only). Run the REFRESH command
to delete older duplicate versions of all source programs, using the DUPMAX
parameter to determine the desired number of duplicates remaining.
– (Source listing database and shared directory only). Set up the DUPMAX
parameter in the shared directory to limit the total number of duplicate versions
of a program automatically as a new version is added.
AUTOLOCKMAX (ALMAX):
This parameter is applicable only to shared directories of type source and is valid only for
the CREATE, CHANGE & REFRESH commands. The AUTOLOCKMAX parameter, if
specified, controls the number of duplicate members that will be left autolocked (L)
within the specified shared directory (across all attached source databases). When this
parameter is specified, ALL attached source databases must be of type AD=DUPS and/or
AD=STAGED, otherwise an error message will be generated and the job will complete
with a RC=8. Any manually locked member (M) will be ignored for the autolock process,
and will remain manually locked in addition to the specified number of autolocked
duplicates. Values 1 through 99 are valid, with NO also allowed for the CHANGE
command to turn-off a previously-stored setting. When specified in the CREATE or
CHANGE commands the value is stored in the shared directory and will be used at
member-add time to automatically adjust the number of autolocked versions to the "n"
most current versions of that program within the shared directory. When specified in
8-12
Compuware Shared Services User/Reference Guide
the REFRESH command the value determines a one-time adjustment to the autolock
settings of all programs within the shared directory.
If you have ALMAX=NO no autolock-adjustment action will be taken, resulting in a
possibility for duplicate locking on different databases. For example, ALMAX=1 would
unlock any existing autolocked programs with the same name as the one to be added,
before adding the new program.
For example: If you have 2 occurrences of program "TEST1" and 3 occurrences of program
"MYPROG" within one shared directory: using ALMAX=1 will autolock only the most
recent version each of TEST1 & MYPROG; ALMAX=2 will set the autolock on the 2 most
recent versions each of TEST1 & MYPROG.
BASEDDIO (BDDIO):
(FLAG command only). Specifies the ddname of the DDIO file, source database, or source
shared directory that contains the baseline members. If the CURRDDIO file contains
both the baseline and the current members, this DD statement is not required. The
default is the ddname specified with the CURRDDIO parameter, which in turn defaults to
CURRENT.
BASENUMBER (BRN):
(FLAG command only). Specifies a baseline member's listing number. This parameter is
required if the PROGRAM parameter is not used.
BLKSIZE (BLK):
If you specified AM=BSAM, use this parameter to specify a blocksize for the sequential
Database. The default is 27998 and the maximum BLKSIZE is 32767. The BLKSIZE should
be between 2048 (or 2 KB) and the track size. If you pre-allocated your database using
AM=BSAM you must still specify BLKSIZE or it will default to 27998 during format, the
blocksize specified at original create is ignored.
CICSCODE:
Specifies transaction reports by transaction abend code. Wildcard characters are valid.
CISIZE:
If you specified AM=VSAM, use this parameter to specify the control interval size.
If neither the CISIZE nor the BLKSIZE parameter is specified, then the default CISIZE is
18432, and the default blocksize is 18425.
If the CISIZE parameter is not specified, but the BLKSIZE parameter is specified, then the
value for CISIZE is determined by adding 7 to the value of the BLKSIZE parameter.
If the BLKSIZE parameter is not specified, but the CISIZE parameter is specified, then the
blocksize is determined by subtracting 7 from the value of the CISIZE parameter.
If both the CISIZE and the BLKSIZE parameters are specified, then the specified BLKSIZE
parameter value is ignored. In this case, the blocksize is determined by subtracting 7 from
the value of the CISIZE parameter.
CONTINUE:
Specifies whether the command will continue if recoverable errors are detected. A value
of YES (default) specifies that the command will continue, if possible, when a recoverable
error occurs. A value of NO specifies that the command will be stopped when an error
occurs. This parameter is valid for the EXPORT, IMPORT, COPY, and MOVE commands.
CURRDDIO (CDDIO):
(FLAG command only). Specifies the ddname of the DDIO file, source database, or source
shared directory that contains the current members. If this file also contains the baseline
Batch File Utility CWDDALLU
8-13
members, the BASEDDIO parameter should not be used. This parameter is required. The
default value is the CURRENT DD statement.
CURRNUMBER (CRN):
(FLAG command only). Specifies a current member's listing number. This parameter is
required if the PROGRAM parameter is not used.
CYLINDERS (CYL):
To use cylinders as the unit of measure for the size of the file, use this parameter to
specify the number of cylinders. This parameter is valid for both VSAM and sequential
files.
DATABASEDISP (DBDISP):
When a shared directory is deleted, this parameter determines the disposition of the
databases attached to the shared directory. Allowable values are:
DETACH:
(Default) Detach all attached databases from the shared directory
prior to deleting the shared directory. This choice preserves the
databases and allows you to attach them to another shared
directory.
DELETE:
Do not detach the databases from the shared directory. This choice
deletes both the shared directory and the attached databases.
DATACLAS:
Specifies the eight-character data class name for the Storage Management Subsystem
(SMS) operating environment. This parameter is valid only for new shared directories or
databases, or when the REALLOCATE parameter is set to YES.
DATEUSED:
This parameter works in conjunction with the SELECTDAYS parameter, and is used only
for source listing members. DATEUSED=COMPILE is the default and specifies that the
number of days set in the SELECTDAYS parameter will use the listing's compile date for
selection. DATEUSED=CREATE can be specified to use the date the source listing was
actually post-processed instead of the original compile date of a post-processed listing
member.
Note:
For pre-processed listing members, specifying CREATE or COMPILE should result
in the same selection of members.
DAYSOLD:
Allows you to select just those entries in a DDIO file that are older than nnn days. For
example, using the DELETE command for a Source Listing Database with DAYSOLD=30
deletes all source listing entries that are more than 30 days old.
DDNAME (DDN):
Use this parameter for the ddname on the JCL DD statement that specifies the dataset
name of the DDIO file you want to direct your command to. For commands that require
specifying both a database and a shared directory (ATTACH), use DDN= for the database,
and DIRDD= for the shared directory.
DELETE:
Applies only to the EXPORT command. Specifies whether successfully exported entries
will be deleted from the FROM file. A value of YES specifies that the entries will be
deleted. A value of NO specifies that the entries will not be deleted. The default value is
NO.
8-14
Compuware Shared Services User/Reference Guide
DELETEIC:
Applies only to the EXAMINE command. Deletes any incomplete listings from the shared
directory and attached database. Incomplete listings are partial members that did not
complete due to outages or processing failures, while writing to the database.
DIRDD:
This parameter specifies the ddname on a JCL DD statement. For commands that require
specifying both a database and a shared directory (ATTACH), use DDN= for the database,
and DIRDD= for the shared directory. For commands that refer to only one dataset, you
may use DIRDD= as a synonym for DDN=.
DIRDSN:
If you need to specify a shared directory and will not be using a JCL DD statement for the
dataset name, use this parameter to specify the dataset name of the shared directory. This
parameter contains the actual dataset name.
For commands that require specifying both a database and a shared directory (ATTACH),
use DSN= for the database, and DIRDSN= for the shared directory. For commands that
refer to only one dataset, you may use DIRDSN= as a synonym for DSN=.
Note:
You can use either the DIRDD or the DIRDSN parameter depending on whether
you are using a JCL statement for the dataset name of the shared directory.
DIRENTS:
Applies only to the ESTIMATE command and the CREATE command for a shared
directory (only). This parameter specifies the total number of members (reports or source
listings) expected in the Shared Directory. The total number of directory entries is the
sum of the total number of entries in each attached database.When combined with a
blocksize, the DIRENTS parameter is used by CWDDALLU to calculate a reasonable
number of blocks for allocation. The blocksize can be specified directly in the BLKSIZE
parameter, or indirectly through the CISIZE or MODEL parameter. If you will be using an
external method to allocate blocks (e.g., IDCAMS or Compuware's File-AID), you can use
the ESTIMATE command to determine the number of blocks you will need. See ESTIMATE
for more information on the ESTIMATE command. If you use DIRENTS in the CREATE
command for a shared directory the estimated number of blocks will be used to allocate
the file. See CREATE for more information on the CREATE command.
DIRVOL:
If you are using the CREATE command to create a shared directory, and will not be using
a JCL statement for the volume serial of the shared directory, you can use this parameter
to specify the volume serial number.
DSN:
If you need to specify a DDIO file and will not be using a JCL DD statement for the
dataset name, use this parameter to specify the dataset name of the file. This parameter
contains the actual dataset name.
If you specified OBJECT=DBMODEL, the DSN specification dbmodelname is stored and
used later to dynamically build the actual DSN of the Source Listing Database that is
created during the dynamic database create function (DYNCREATE). When the DSN is
specified for either CREATE or CHANGE of a DBMODEL, certain tokens are allowed for
specifying DSN qualifiers along with (or in place of) literals. The tokens are prefixed with
an "&" and must be separated by a ".". If the combined length of literals, generated
qualifiers, and separators is greater than 44, an error will occur when trying to build the
name. The TEST function is available to test the actual DSN creation. The allowable
tokens are:
&JOB:
insert job name as qualifier
Batch File Utility CWDDALLU
8-15
&STEP:
insert job step as qualifier
&USER:
insert user/owner ID (if the user/owner ID is unavailable, the token will be treated
a NULL)
&DATE:
insert current date in Julian format preceded by the letter “D” (YYYYDDD)
&TIME:
insert current time preceded by the letter “T” (HHMMSS format)
&SEQ:
insert a sequentially increasing number preceded by the letter “S” (NNNNNNN)
Example:
To build a DSN with high-level qualifier of job name, literal test, date, time specify:
DSN=&JOB..TEST.&DATE..&TIME
DUPMAX:
This parameter is applicable only to source databases and source shared directories and is
valid only for the CREATE, CHANGE & REFRESH commands. The DUPMAX parameter, if
specified, limits the total number of duplicate members (members with the same
program name) that will be left within the specified source shared directory across all
attached source databases. Any manually-locked member will be ignored for this process,
and will remain in the shared directory in addition to the maximum duplicate limit
specified. Any member residing on a database with the AD=NO attribute will also be
ignored for this process. Any unlocked and/or autolocked duplicate members over the
specified DUPMAX value will be deleted. Values 1 through 99 are valid, with NO also
allowed for the CHANGE command to turn-off a previously-stored setting. When
specified in the CREATE or CHANGE commands the value is stored in the shared
directory and will be used when a new member is added to automatically adjust the
number of duplicate members to the N most current versions of that program within the
shared directory. When specified in the REFRESH command the value determines a onetime adjustment to the number of duplicates for all programs in the shared directory.
DUPMAX=1 limits the shared directory to a single, most current version of a given
program - the delete action is done first, so DUPMAX=1 would delete any existing
program versions with the same name as the program to be added before adding the new
program.
For example: If you have 2 occurrences of program "TEST1" and 3 occurrences of program
"MYPROG" within one shared directory, using DUPMAX=1 will delete the older version of
TEST1 and both older versions of MYPROG, leaving just one version of each program;
DUPMAX=2 would not affect TEST1, and would delete the oldest version of MYPROG,
leaving 2 versions.
DUPS:
Specifies whether all entries, only locked entries, only unlocked entries, or only the latest
version of each entry is selected. The available values are: ALL, LOCKED, UNLOCKED, or
LATEST. The default value is ALL. The LATEST value only applies to source entries.
Warning: DUPS=ALL selects ALL members matching any specified selection criteria. If
no other selection parameters are specified, all members in the file will be selected.
DYNCREATE:
If set to YES, specifies that dynamic database creation will be invoked if the attached
databases do not have enough space to create a new source listing member. The default
value is NO. This is used only with OBJECT=DBMODEL.
ENDDATE (EDATE):
When you restrict a command to only some members of a DDIO file, you can use this
parameter to specify that members with a higher date are not to be considered. For source
DDIO files, ENDDATE represents the latest compile date to be considered. For report
DDIO files, ENDDATE represents the last report creation date to be considered.
8-16
Compuware Shared Services User/Reference Guide
This parameter can be specified as either MM/DD/YY or MM/DD/YYYY. Acceptable fourdigit years are 1970 through 2069. If ENDDATE is specified, then STARTDATE must also
be specified. The highest valid ENDDATE is 12/31/2069.
ENDTIME (ETIME):
When you restrict a command to only some members of a DDIO file, you can use this
parameter to specify that members with a higher time are not to be considered. For
source DDIO files, ENDTIME represents the latest compile time to be considered. For
report DDIO files, ENDTIME represents the last report creation time to be considered.
This parameter must be specified as HH:MM[:SS] or HH.MM[.SS]. If seconds are omitted,
the default is 59.
This parameter must be preceded by the STARTTIME parameter. If the STARTTIME
parameter is specified and the ENDTIME parameter is omitted, then ENDTIME defaults to
24:00:00.
When using STARTTIME and ENDTIME in conjunction with STARTDATE and ENDDATE,
entries are first selected by date, then by time.
EXEC:
Specifies how certain commands are to be run.
Allowable values for the FLAG command:
• RUN: Creates flagged members, and provides a detailed report.
• SIMULATE: Creates a detailed report, but does not create any flagged members.
Allowable value for the REFRESH command (only valid for source shared directory):
• CHECK: Does not allow the command to alter data. Instead, produce a detailed
report on what actions would have taken place if the command had been run
without the "CHECK" option.
Allowable values for the COPY/MOVE/IMPORT/EXPORT commands, when using a standalone DDIO file only (not valid for shared directory and/or database files):
• SUMMARY: (default) Transfers data and produces a summary report. The summary
report contains a list of transferred members and a list of deleted "from" DDIO file
members (if applicable).
• CHECK: Produces a detailed report without any data being moved. In addition to the
summary report, the detailed report includes the lists of attributes of the "to" and
"from" DDIO files. For the MOVE, COPY and IMPORT commands, it also includes the
names of the members that will be locked and/or deleted in the "to" DDIO file,
provided actual data movement occurs. The detailed report produced by
EXEC=CHECK may be different at RUN time if the "to" and/or "from" DDIO file is
updated before the EXEC=RUN is performed. Note: When EXEC=CHECK is specified,
these commands are emulated with the header and directory blocks residing in
memory. To keep the header and directory blocks in memory you may need a larger
region when executing these commands.
• RUN: Transfers data and produces a detailed report. In addition to the summary
report, the detailed report includes the lists of attributes of the "to" and "from" DDIO
files. For the MOVE, COPY and IMPORT commands it also includes the names of
locked and/or deleted members in the "to" DDIO file during execution of the
command.
By coding EXEC=CHECK or SIMULATE you can make a trial run of the command, not
actually altering anything, but getting a report on what would happen if you ran the
command without EXEC=CHECK.
Batch File Utility CWDDALLU
8-17
EXTENTS:
Specifies the maximum number of extents to be allocated for any one entry in a report
file, a source file, or a database. If the EXTENTS parameter is not specified, the default
value is 460. The maximum value is 460.
FLAGGEDDDIO (FDDIO):
(FLAG command only). Specifies the ddname of a DDIO file to receive the tagged
members. If the CURRDDIO file will be used for the tagged members, this parameter
should not be specified. If you omit this parameter, each new flagged member will
replace the corresponding member in the CURRDDIO file. If you supply this parameter,
the baseline and current members will not be altered or replaced. Instead, a new flagged
member will be created in the FLAGGEDDDIO file.
Note:
The FLAGGEDDDIO file may not be a source database or source shared directory.
If the BASEDDIO or CURRDDIO file is a source database or source shared
directory, the FLAGGEDDIO parameter cannot be used.
FROMDD:
Specifies the JCL ddname of the DDIO file from which entries are copied, exported, or
moved. It also specifies the ddname of the sequential file from which previously exported
entries are imported.
FROMDSN:
Specifies the dataset name of the DDIO file from which entries are copied, exported, or
moved. It also specifies the dataset name of the sequential file from which previously
exported entries are imported.
FROMOBJECT:
This parameter is maintained for compatibility with prior releases. It is no longer
necessary to supply it in your job. It specifies the type of file from which the entries are
copied, exported, or moved. Allowable values are:
Note:
SHRDIR:
The from file is a shared directory.
DATABASE:
The from file is a database.
For compatibility with previous releases, SRCEDIR is an accepted synonym for
SHRDIR.
FROMVOL:
Specifies the VOLSER of the DDIO file from which entries are copied, exported, or
moved. It also specifies the VOLSER of the sequential file from which previously exported
entries are imported. Unless you have not cataloged the DDIO file on your system, it is
not necessary to supply this parameter.
GROUPCOUNT (GC):
Specifies the number of blocks allocated to a report file, source file, or database entry
each time additional space is needed. The minimum value is 1, and the maximum value
is 2048. The default value is 3 for VSAM and 2 for BSAM.
ID:
(FLAG command only). Specifies the user-defined identifier and its location. The first
parameter is the ID, which has a maximum length of eight bytes. The ID must be
contained within columns 73-80. The second parameter is the starting column position.
The values are enclosed in parentheses. For example: ID=(BOB,73). This field will be used
as a filter by the Code Coverage reporting facility.
8-18
Compuware Shared Services User/Reference Guide
INC:
Specifies whether to include incomplete entries in the selection. Allowable values are:
YES:
Select both complete and incomplete entries.
NO:
Select only complete entries.
ONLY:
Select only incomplete entries.
INDD (I):
Specifies an alternative ddname for an input DDIO file. This parameter also specifies the
ddname of a sequential file containing exported members for the DIRS command. If the
INDD parameter is not specified, the default ddname ABNLDFIL is used.
INDEX:
(FORMAT command only). When used, this parameter's only permissible value of EXT
allows indexes to occupy more than one block. This parameter is only useful for AbendAID report files. INDEX=EXT is now the default for Abend-AID report files.
CAUTION:
You cannot COPY, MOVE, or IMPORT members from a DDIO file formatted with
INDEX=EXT to a file formatted without that parameter. You can, however, COPY,
MOVE, or IMPORT from a file formatted without the INDEX parameter to a file
formatted with INDEX=EXT. INDEX=EXT is only useful for Abend-AID report files.
Note:
The maximum size for DDIO files is 4 gigabytes, which is not the same as the
maximum size for VSAM files.
JESID:
Specifies reports by JESID. Wildcard characters are valid.
(JESID=J12345| T12345| S12345)
JOBNAME:
Specifies abend reports by the JOB name. Wildcard characters are valid.
(JOBNAME=ACCTNG
JOBNAME=A*)
LABEL:
Specifies the file number for the sequential dataset on the tape for the IMPORT, EXPORT,
and DIRS commands. (VOL=SER=, and other parameters should be specified on the
corresponding DD statement). The default value is 1. The LABEL parameter allows you to
reference multiple export files using a single ddname. This provides a means by which
you can create multiple export files on a single tape. For example, to include a Source
Listing Database on a tape that already contains the related source code and compiler
output as files 1 and 2, you can specify LABEL=3 in the EXPORT command for that
Source Listing Database. This will append the Source Listing Database on the tape as file
3. To perform a DIRS or IMPORT on that file at a later time, include LABEL=3 with the
command. The LABEL parameter is valid for IMPORT, EXPORT, and DIRS. You can
include the LABEL parameter in your JCL.
Note:
If you include the LABEL parameter in your JCL, but have also specified a LABEL
parameter with the IMPORT or EXPORT batch command, the LABEL parameter
in the JCL will be overridden.
For compatibility with the IBM Tape Management System, the label number ".Lnnn" is
appended to the tape DSNAME as the last qualifier. If the combined length of the
Batch File Utility CWDDALLU
8-19
specified DSNAME and the appended label number exceeds the maximum length for
DSNAME, an error message is issued.
LANGUAGE (LANG):
Specifies the available language support and the type of letter case used. Valid values are:
ENGLISH:
(Default) Mixed-case English
USAMIX:
Alias for mixed-case English
USAUC:
Uppercase English
LINESIZE (LIN):
Specifies the line width of the PRINT command output. Allowable values are:
S:
(Default) Short, 80-column output
L:
Long, 133-column output
MGMTCLAS:
Specifies the eight-character management class name for the Storage Management
Subsystem (SMS) operating environment. This parameter is only valid for new shared
directories or databases, or when the REALLOCATE parameter is set to YES.
MODEL:
Use this parameter to specify the dataset name of an existing shared directory or database
that can be used as a template for creating a new shared directory or database with the
same VSAM characteristics. When the MODEL parameter is used, you can override any of
the VSAM or BSAM parameters by including the appropriate parameter with the CREATE
or EXPAND command. For example, to use a particular shared directory as a template for
creating a new shared directory, but with a different CISIZE, include the CISIZE
parameter in the CREATE command.
MONTHSOLD:
Allows you to select just those entries in a DDIO file that are older than nnn months. For
example, using the DELETE command for a Source Listing Database with
MONTHSOLD=6 deletes all source listing entries older than six months.
MULTIVOLUME:
Allows a VSAM DDIO file to be allocated across multiple volumes.
• The MULTIVOLUME parameter is only applicable for VSAM DDIO files, and the
VSAM cluster must be pre-allocated.
• This parameter indicates that primary allocation occurs on multiple volumes.
NOTFOUND:
Specifies whether to request a return code 00 or 04, instead of the default code 44, when
an entry is not found. The valid values are:
ERROR:
(Default) Allows the default code 44.
IGNORE:
Forces a return code 00.
WARNING:
Forces a return code of 04.
OBJECT (OBJ):
This parameter is required only for the CREATE and DELETE commands and when
dealing with a DBMODEL for a source shared directory. It is maintained as valid for other
commands, for compatibility with previous releases. OBJ= specifies the type of object
8-20
Compuware Shared Services User/Reference Guide
being changed, deleted, locked, unlocked, created, reallocated, or formatted. Allowable
values are:
Note:
SHRDIR:
A shared directory
DATABASE:
A database
ENTRY:
An individual member in the database or shared directory. This
option is used only with the DELETE command when removing
an entry from a database and the shared directory to which it is
attached.
DBMODEL:
Model database specifications for the dynamic database creation
feature (DYNCREATE).
For compatibility with previous releases, SRCEDIR is an accepted synonym for
SHRDIR.
OUTDD (O):
Specifies the ddname for the alternative output file for the PRINT member command. If
the OUTDD parameter is not specified, the output of the PRINT member command is
written to the file specified by the ABNLREPT DD statement, along with all CWDDALLU
messages and reports. Refer to Anyname1 on “DD Statements Used with CWDDALLU” on
page 8-5 for more information on this ddname and the PRINT command.
PAGESIZE (PG):
Specifies the number of lines per page for the PRINT command output. Allowable values
are any number from 20 to 99. The default value is 60.
PROGRAM (P):
Specifies source listings by program name. Wildcard characters are valid, and long names
are supported. Example:
DELETE OBJECT=ENTRY,
DIRDSN=CW.SHRDIR,P=A_very_long_member_name_from_a_C_language_function
REALLOCATE (REALLO):
If the shared directory or database you have specified already exists, you can use this
parameter to reallocate the file. Allowable values are:
NO:
(Default) Pre-allocated (but empty) VSAM and sequential files will be
formatted as a shared directory or database, as specified. A detached
sequential database will be reformatted using the new specifications.
YES:
For both VSAM and sequential files, the file will be deleted and then
reallocated, using the new specifications. If a database is specified that
is still attached to a shared directory, the database will first be detached.
If a shared directory is specified, first ensure all databases have been
detached.
RECORDS (RECS):
If you have specified AM=VSAM and want to use records as the unit of measure for the
size of the file, use this parameter to specify the number of records. This parameter is
valid for VSAM files only.
REPAIR:
Attempts repair of any shared directory file structure errors and directory entry
mismatches between the shared directory and all of its attached databases.
Batch File Utility CWDDALLU
Note:
8-21
The REPAIR parameter is only valid for the EXAMINE command.
REPTCOUNT (RC):
Specifies the maximum number of entries in a report file, source file, or database. The
maximum will be enforced, but may be unattainable if there is not enough space. The
minimum value is 1, and the default value is 100. The maximum REPTCOUNT is 16000
depending on the formatting parameters used. However, specifying a large REPTCOUNT
can greatly reduce the efficiency of your DDIO file. Refer to "Compuware DDIO
Calculator - DDIOCALC" on page 3-73 for determining the optimal formatting
parameters.
REPTNUMBER (RN):
Specifies an entry's number. If this parameter is specified, all other selective parameters
are ignored. Maximum length is ten digits.
RETAINRN:
Specifies whether the entry’s report number will be retained during a move or copy.
Allowable values are:
NO:
(Default) Do not retain the number.
YES:
Retain the number. In this case, if the number to be retained is already
being used in the “to” file, then the next highest available number will
be used. This value should only be used when moving or copying to a
shared directory.
SECTION (SECT):
(PRINT command only). Specifies which sections of a COBOL program are to be printed.
Specify one or more values to indicate which section is desired. Valid values are:
DD:
Prints the data division.
PD:
Prints the procedure division.
DI
Prints the diagnostic information section (compiler error messages).
If the SECTION parameter is not specified, the entire program listing will be printed.
SEEFLAGS:
(PRINT command only). Specifies whether text added by a previous run of the FLAG
command should be included in the printed line. Valid values are:
YES:
(Default) Text added by the FLAG command is included in the output.
NO:
Text added by the FLAG command is suppressed.
SELECTDAYS:
The SELECTDAYS parameter allows selection of just those members in a DDIO file that
are within "nnn" days prior and including the current date, designed primarily for use in
the EXPORT, IMPORT,COPY & MOVE commands; it can also be used in the directory
commands (DIR,DIRS) to show those members that would be selected. For example, to
export members created today and yesterday specify SELECTDAYS=2; to select members
created today specify SELECTDAYS=1. This parameter is invalid for the DELETE
command.
8-22
Compuware Shared Services User/Reference Guide
SLSDD:
For Abend-AID source support, this parameter specifies the ddname of the optional
source listing file for which the PRINT command will provide source support. If the
SLSDD parameter is not specified, the default ddname SLSF001 is used.
If the SLSDD parameter is omitted and the SLSF001 DD statement is not coded, only the
basic diagnostic report will be provided by the PRINT command.
SORT:
Specifies the order in which entries are selected for the execution of a command. By
default, entries are selected in descending date/time order. Entries are first ordered by
date, from newest (most recent) to oldest. Entries with the same date are then ordered by
time (from latest to earliest). Valid sort keys, their abbreviations, and the sorting
sequence they cause are specified in Source Listing Sort Keys, Batch Abend Report Sort
Keys for Abend-AID, and Transaction Abend Report Sort Keys for Abend-AID for CICS,
the next three tables.
Table 8-2.
Sort Key
Abbreviation
Source Listing Sort Keys
Primary Sort
Field
PROGRAM
PGM
PROGRAM
NUMBER
NUM
Sequence
Ascending
Secondary
Sort Field
DATE/TIME
Tertiary Sort
Field
Sequence
Descending LIST-NUMBER
Descending
Sequence
LIST-NUMBER
Descending
DATE
DATE/TIME
Descending LIST-NMBER
Descending
RC (return
code)
RC
Ascending
DATE/TIME
Descending LIST-NUMBER
Descending
LANGUAGE
Ascending
DATE/TIME
Descending LIST-NUMBER
Descending
SIZE
Descending DATE/TIME
Descending LIST-NUMBER
Descending
Tertiary Sort
Field
Sequence
LANGUAGE
LANG
SIZE
Table 8-3.
Sort Key
JOBNAME
Abbreviation
Primary Sort
Field
Sequence
Secondary
Sort Field
Sequence
JOBNAME
Ascending
DATE/TIME
Descending REPT-NUMBER Descending
JESID
JESID
Descending DATE/TIME
Descending REPT-NUMBER Descending
DESCRIPTION DESC
DESCRIPTION
Ascending
DATE/TIME
Descending REPT-NUMBER Descending
SIZE
SIZE
Descending DATE/TIME
Descending REPT-NUMBER Descending
NUMBER
JN
Batch Abend Report Sort Keys for Abend-AID
REPT-NUMBER
Descending
CODE
NUM
CODE
Ascending
DATE
DATE/TIME
Descending REPT-NUMBER
Table 8-4.
Sort Key
JOBNAME
Abbreviation
JN
DATE/TIME
Descending REPT-NUMBER Descending
Descending
Transaction Database Sort Keys for Abend-AID for CICS
Primary Sort
Field
Sequence
Secondary
Sort Field
Sequence
Tertiary Sort
Field
Sequence
JOBNAME
Ascending
DATE/TIME
Descending REPT-NUMBER Descending
TRAN
TRAN
Ascending
DATE/TIME
Descending REPT-NUMBER Descending
TERM
TERM
Ascending
DATE/TIME
Descending REPT-NUMBER Descending
SYSTEM
SYSTEM
Ascending
DATE/TIME
Descending REPT-NUMBER Descending
DATE/TIME
Descending REPT-NUMBER Descending
NETNAME
NET
NETNAME
Ascending
NUMBER
NUM
NUMBER
Descending
Batch File Utility CWDDALLU
Sort Key
Abbreviation
DATE
Primary Sort
Field
DATE/TIME
Sequence
Secondary
Sort Field
Descending REPT-NUMBER
Sequence
Tertiary Sort
Field
8-23
Sequence
Descending
STARTDATE (SDATE):
Specifies the compile date of a source listing, or the creation date of an abend report. The
STARTDATE parameter is used with the ENDDATE parameter to specify a date range. The
STARTDATE parameter can be specified as either MM/DD/YY or MM/DD/YYYY.
Acceptable four-digit years are 1970 through 2069. When this parameter is used alone, all
entries for the specified date are selected. The earliest valid start date is 01/01/1970.
STARTTIME (STIME):
Specifies the beginning compile time of a source listing, or the creation time of an abend
report. This parameter must be specified as HH:MM[:SS] or HH.MM[.SS]. If seconds are
omitted, the default is 00. This parameter must precede the ENDTIME parameter (if
ENDTIME is specified).
If the STARTTIME parameter is specified and the ENDTIME parameter is omitted, then
ENDTIME defaults to 24:00:00.
When using STARTTIME and ENDTIME in conjunction with STARTDATE and ENDDATE,
entries are first selected by date, then by time.
STORCLAS:
Specifies the eight-character storage class name for the Storage Management Subsystem
(SMS) operating environment. This parameter is only valid for new shared directories or
databases, or when the REALLOCATE parameter is set to YES.
SUBTYPE:
Further specifies the type of members the DDIO file can contain. This parameter is used
in conjunction with the TYPE parameter.
If you are formatting source listing files for Abend-AID for CICS and you are using user or
system DSECT files, you must specify SUBTYPE=FX. The TYPE parameter defaults to
TYPE=CICS.
TODD:
Specifies the ddname of the database or shared directory to which the entries are copied,
imported, or moved. It also specifies the ddname of the sequential file to which entries
are exported.
TODSN:
Specifies the DSN of the database or shared directory to which the entries are copied,
imported, or moved. It also specifies the DSN of the sequential file to which entries are
exported.
TOOBJECT:
This parameter is maintained for compatibility with prior releases. It is no longer
necessary to supply it in your job. It specifies the type of file to which the entries are
copied, exported, imported or moved. Allowable values are:
SHRDIR:
The to file is a shared directory.
DATABASE:
The to file is a Source Listing database.
8-24
Compuware Shared Services User/Reference Guide
Note:
For compatibility with previous releases, SRCEDIR is an accepted synonym for
SHRDIR.
TOVOL:
Specifies the VOLSER of the database or shared directory to which the entries are copied,
imported, or moved. It also specifies the VOLSER of the DDIO file to which previously
exported entries are imported.
TRACKS (TRKS):
To use tracks as the unit of measure for the size of the file, use this parameter to specify
the number of tracks. This parameter is valid for both VSAM and sequential files.
TRAN (T):
Specifies Abend-AID for CICS transaction reports by transaction ID or by transaction and
terminal ID concatenation. Wildcard characters are valid.
TYPE:
When creating a DDIO file, use this parameter to specify the type of entries the file can
contain. For a Source Listing file, code TYPE=SOURCE. For a file that will contain AbendAID reports, specify TYPE=AA. For a file that will contain Abend-AID for CICS reports,
specify TYPE=CICS.
UNIT:
If you specified AM=BSAM, use this parameter to specify a device or device type. The
default is SYSDA.
VOLSER (VOL):
If you are directing a command to a database or shared directory, which you specify with
the DSN= parameter, you may use this parameter to specify the volume serial number of
the dataset.
VSAMCAT:
If you specified AM=VSAM, use this parameter to specify the VSAM catalog in which the
file will be defined. This is an optional parameter.
YEARSOLD:
Allows you to select entries in a DDIO file that are older than nnn years. For example,
using the DELETE command for a Source Listing Database with YEARSOLD=1 deletes all
source listing entries that are older than one year.
Command Descriptions and Syntax
This section provides a detailed description of the commands available for existing all
DDIO files, including valid command abbreviations and the parameters allowed for each
command. With the exception of specifying REPTNUMBER, you can enter more than one
parameter with a command. If REPTNUMBER is specified, all other selective parameters
are ignored.
ATTACH (ATT)
The ATTACH command connects a database to a shared directory and populates the
shared directory with entries from the database. A database must be attached to a shared
directory before it can be used.
Batch File Utility CWDDALLU
8-25
The following diagram illustrates the syntax for the ATTACH command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Attach a Source Listing Database to a shared directory.
ATTACH DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01,
DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR
Note:
If an error occurs during the ATTACH process, when adding members into the
shared directory, the database will set attach in progress (will show on a DIRX), and
the shared directory may contain entries for only some (but not all) of the
database members. If the problem cannot be solved by another attempt to
ATTACH, then run DETACH on the database to clear the ATTACH setting and
remove entries added during the ATTACH process.
CHANGE (CHG)
The CHANGE command changes the AUTODELETE attribute of a database, changes or
sets the AUTOLOCKMAX and/or DUPMAX source duplicate-control parameters in the
shared directory; or, changes the attributes of a previously-defined DBMODEL in a
specified source shared directory.
Change Command – Database AUTODELETE Attributes
The following diagram illustrates the syntax for the CHANGE command, AUTODELETE
attribute. The AutoDelete=STAGED attribute is only valid for a source database.
Note:
If AUTOLOCKMAX has been set to a value 1 - 99 in the associated shared
directory (via CREATE/CHANGE) and you are attempting to change the database
AD setting to NO or YES, you will get an error message and RC=8. You must first
set AUTOLOCKMAX to NO.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Change the AUTODELETE attribute of a transaction report database from
AUTODELETE=NO to AUTODELETE=YES.
8-26
Compuware Shared Services User/Reference Guide
CHANGE DSN=COMPWARE.AACICS.SERVER1.TRANDB01,AD=YES
Change Command - Change Shared Directory autolock and duplicate-control attributes
AUTOLOCKMAX & DUPMAX
The following diagram illustrates the syntax for the CHANGE command
AUTOLOCKMAX and/or DUPMAX attributes, used to set the compile-time duplicatemember handling for source shared directory members.
Note: When setting the AUTOLOCKMAX and/or DUPMAX parameters for compile-time
control, you may also want to run the REFRESH utility function using these same
settings to do a one-time adjustment of all duplicate source members within the
shared directory.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Change (or set) the AUTOLOCKMAX value to 2 and change (or set) the DUPMAX value to
4 in the specified shared directory.
CHANGE DSN=COMPWARE.SOURCE.SHRDIR,ALMAX=2,DUPMAX=4
Example
Turn off the DUPMAX setting in the shared directory. (Any AUTOLOCKMAX value
already set will remain unchanged).
CHANGE DSN=COMPWARE.SOURCE.SHRDIR,DUPMAX=NO
Batch File Utility CWDDALLU
8-27
CHANGE Command – DBMODEL Attributes
This CHANGE syntax diagram illustrates the syntax for allocating and formatting a new
Source Listing Database.
Notes:
1. The DIRDD parameter (or DIRDSN) specifies the name of the shared directory to
which the DBMODEL is attached.
2. The "dbmodelname" used here specifies the name to be created for the new Source
Listing Database. It consists of literals and/or symbolic tokens that will generate the
final DSN name at creation time. Remember, the total of generated characters plus
separator periods must not exceed 44. See the DSN parameter description for more
detail.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Change one or more of the DBMODEL attributes for creating a new Source Listing
Database in the specified Source Listing Shared Directory, including turning the
DYNCREATE feature on or off.
Change DSN name to be created with date and time included, use VSAM, and set for
DUPS:
CHANGE,DSN=COMPWARE.LP.SOURCE..&DATE..&TIME,
AD=DUPS,AM=VSAM,DIRDSN=COMPWARE.LP.SHRDIR
Turn DYNCREATE off for this DBMODEL:
CHANGE,DIRDSN=COMPWARE.LP.SHRDIR,DYNCREATE=NO
8-28
Compuware Shared Services User/Reference Guide
CONVERT (CNVT)
The CONVERT command first changes the internal format of an existing standard DDIO
source file or report file (specified in the DDNAME or DSN parameter) to that of a Source
Listing Database or Report Database format. Then it performs the ATTACH function on
the file, attaching it to an existing shared directory, specified by the DIRDD or DIRDSN
parameter.
The following diagram illustrates the syntax for the CONVERT command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Convert a standard DDIO source file to a Source Listing Database and attach it to a shared
directory.
CONVERT DSN=COMPWARE.SOURCE.DDIO,
DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR
Note:
This command will modify a record in the existing DDIO file, so it is advisable
that you perform a file backup before executing this command. The source or
report DDIO file name you specified in the command parameters will remain the
same for the new database format. The CONVERT command merely changes the
type and function of the DDIO file. If you want the source or report database to
have a different name after it becomes attached to a shared directory, you must
rename the original DDIO file prior to executing the CONVERT command.
If an error occurs during the CONVERT process in the attach phase of adding members
into the shared directory, the database will set attach in progress (will show on a DIRX), and
the shared directory MAY contain entries for only some (but not all) of the database
members. If the problem cannot be solved by another attempt at the CONVERT, then
perform the following procedure to eliminate possible integrity problems:
• Run UNCONVERT on the database to clear the attach setting, remove entries added
to the shared directory during the process, and reset it back to a standard DDIO file
format. Then run CONVERT again after determining the cause of the original errors.
• A return code of 100 (X’64’) and message "DDIO0100 - Request is incompatible with
file's format" indicates you are trying to convert a DDIO file formatted with the old
non-extended format (release 5.6 & earlier). A return code of 1080 (x'438') and
message "Report file is not formatted with INDEX=EXT" indicates you are trying to
convert a report DDIO file formatted without the INDEX=EXT parameter. Follow the
steps below:
a. CREATE a new database using CWDDALLU.
b. EXPORT the old DDIO file using CWDDALLU.
c. IMPORT from this exported file into the new database using CWDDALLU
Batch File Utility CWDDALLU
8-29
COPY
The COPY command copies selected entries in any of the following ways:
•
•
•
•
•
•
From
From
From
From
From
From
one report file to another report file
one source file to another source file
one database to another database
a database to a shared directory
a shared directory to a database
one shared directory to another shared directory
You may not use COPY to mix members of different types in a single database. The three
types of members are source, Abend-AID report, and Abend-AID for CICS report.
Use the FROMDD and TODD parameters to specify the From and To file ddnames. When
an entry is copied to or from a database, which is attached to a shared directory, the
shared directory is also updated immediately. If none of the parameters are specified,
then all entries are copied.
Note:
Since IDR token is a unique key within a source listing shared directory, it is
possible to encounter a duplicate IDR condition during member COPY. No such
situation can arise within a report shared directory. A warning message will be
issued, and the member will not be copied. The remaining COPY processing
continues with a return code of 4.
Copy - Source Listing
The following diagram illustrates the syntax for the COPY command.
Note:
The use of EXEC is only valid for stand-alone source DDIO files, not for shared
directory and/or database files.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
8-30
Compuware Shared Services User/Reference Guide
Example
Copy all entries from one database to another database.
COPY TODSN=COMPWARE.LP.SOURCE.LISTING.LPDBO1,
FROMDSN=COMPWARE.LP.SOURCE.LISTING.LPDBO2
Copy - Abend-AID report
The following diagram illustrates the syntax for the COPY command.
The TYPE parameter is required for this command only if:
• The dataset being acted on is a shared directory with both Abend-AID and
Abend-AID for CICS databases attached
AND
• You send the utility command to CWDDALLU directly, via a JCL entry
reading EXEC PGM=CWDDALLU
Note:
The use of EXEC is only valid for stand-alone Abend-AID report DDIO files, not
for shared directory and/or database files.
For a description of each parameter, see “Command Parameters for all DDIO files”
on page 8-8
Example
Copy all entries from a report database to another report database.
Batch File Utility CWDDALLU
8-31
COPY TODSN=COMPWARE.AA.DBO1,
FROMDSN=COMPWARE.AA.DB02
Copy - Abend-AID for CICS report
The following diagram illustrates the syntax for the COPY command.
Note:
The TYPE parameter is required for this command only if:
• The dataset being acted on is a shared directory with both Abend-AID and
Abend-AID for CICS databases attached
AND
• You send the utility command to CWDDALLU directly, via a JCL entry
reading EXEC PGM=CWDDALLU
For a description of the parameters, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Copy all entries from a transaction database to another transaction database.
COPY TODSN=COMPWARE.AACICS.SERVER1.TRANDB01,
FROMDSN=COMPWARE.AACICS.SERVER2.TRANDB02
8-32
Compuware Shared Services User/Reference Guide
CREATE (CRE)
The CREATE command is used to perform the following functions:
•
•
•
•
•
Allocate and format a new shared directory
Format a pre-allocated shared directory
Allocate and format a new database
Format a pre-allocated database
Create a DBMODEL entry for dynamic database creation (DYNCREATE) in the
specified shared directory, to be invoked during creation of a source listing member if
all of the attached Source Listing Databases are full
CAUTION:
This command erases all of the information in the specified file.
Only VSAM files can be used for shared directory files. However, either VSAM or
sequential files can be used for databases. Xpediter/CICS requires that all source listing
databases used in a CICS region be VSAM.
When you create a database, it is automatically connected to the shared directory that
you specify as a parameter of the CREATE command. A database must be connected to a
shared directory before it can be used.
When you create a DBMODEL (for source shared directories only), the information is
stored in the shared directory for future use in dynamic creation of a new Source Listing
Database.
Sample JCL Members
Sample JCL members for the CREATE command are available in CSS installation library
members. Please refer to Sample JCL Members for CREATE Command for a list of the
sample members.
Table 8-5.
Sample JCL Members for CREATE Command
If you want to format...
Use sample member...
Sequential Source Listing Databases
CXALLBLP
VSAM Source Listing Databases
CXALLVLP
Multi-volume VSAM Source Listing Databases
CXDCRLDB
Shared Directories
CXALLDLP
Shared Directory with multi-volume VSAM Source Listing Database
CXDCRLSD
Sequential Transaction Databases
CXALLBSD
VSAM Transaction Databases
CXALLVSD
Multi-volume VSAM Transaction Databases
CXDCRTDB
Shared Directories
CXALLMC
Shared Directory with multi-volume VSAM Transaction Database
CXDCRTSD
Sequential Report Databases
CXALLBAA
VSAM Report Databases
CXALLVAA
Multi-volume FSAM Report Databases
CXDCRADB
Shared Directories
CXALLDAA
Shared Directory with multi-volume VSAM Report Database
CXDCRASD
The following diagrams illustrate the syntax used for the CREATE command based on the
function you want to perform.
Batch File Utility CWDDALLU
8-33
Allocating and Formatting a New Shared Directory:
The first CREATE syntax diagram illustrates the syntax for allocating and formatting a
new shared directory.
Note:
AUTOLOCKMAX and DUPMAX are only used for source members.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Create a shared directory with a CISIZE of 24569, which can occupy five cylinders.
CREATE OBJECT=SHRDIR.DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
AM=VSAM,CYLINDERS=5,CISIZE=24569
Formatting a Pre-Allocated Shared Directory
This CREATE syntax diagram illustrates the syntax for a pre-allocated shared directory.
Note:
AUTOLOCKMAX and DUPMAX are only used for source members.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Format a pre-allocated shared directory. If the directory was allocated on multiple
volumes, set the Multivolume value to YES (optional).
CREATE OBJECT=SHRDIR.DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
MULTIVOLUME=YES
8-34
Compuware Shared Services User/Reference Guide
Allocating and Formatting a New Database
This CREATE syntax diagram illustrates the syntax for allocating and formatting a new
database. The AutoDelete=STAGED attribute is only valid for a source database
(TYPE=SOURCE.
Notes:
1. The DIRDD parameter (or DIRDSN) specifies the name of the shared directory to
which you are attaching the new database. The DDNAME parameter (or DSN)
specifies the name of the new database itself.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Create a sequential Source Listing Database with the following characteristics:
• The maximum number of entries in the file is 50.
• At least one entry of each name will remain in the Source Listing Database.
• When additional space is required in the Source Listing Database, one block will be
allocated.
• The maximum number of extents to be allocated to each Source Listing Database
entry is 256.
Batch File Utility CWDDALLU
8-35
• The Source Listing Database can occupy five cylinders.
• The blocksize is 24569.
CREATE OBJECT=DATABASE.DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
DSN-COMPWARE.LP.SOURCE.LISTING.LPDB01,TYPE=SOURCE,
RC=50,AD=DUPS,GC=1,EXTENTS=256,AM=BSAM,CYLINDERS=5,
BLKSIZE=24569
Example
Create a VSAM report database for Abend-AID with the following characteristics:
• The maximum number of entries in the database is 50.
• When additional space is required in the report database, three blocks will be
allocated.
• The maximum number of extents to be allocated to each report database entry is 256.
• The report database can occupy 5 cylinders.
• The blocksize is 18432.
CREATE OBJECT=DATABAES.TYPE=AA,DIRDSN=COMPWARE.AA.SHRDIR,
DSN=COMPWARE.AA.DB01,
RC=50,AD=YES,GC=3,EXTENTS=256,AM=VSAM,CYLINDERS=5,CISIZE=18432
Example
Create a sequential transaction database, for Abend-AID for CICS, with the following
characteristics:
• The maximum number of entries in the file is 50.
• At least one entry of each name will remain in the transaction database.
• When additional space is required in the transaction database, one block will be
allocated.
• The maximum number of extents to be allocated to each transaction database entry
is 256.
• The transaction database can occupy five cylinders.
• The blocksize is 24569.
CREATE OBJECT=DATABASE.DIRDSN=COMPWARE.AACICS.SERVER1.SHRDIR,
DSN=COMPWARE.AACICS.SERVER1.TRANDB01,VOLSER=PRD924,TYPE=CICS,
RC=50,AD=YES,GC=1,EXTENTS=256,AM=BSAM,CYLINDERS=5,BLKSIZE=24569
8-36
Compuware Shared Services User/Reference Guide
Formatting a Pre-Allocated Database
This CREATE syntax diagram illustrates the syntax for formatting a pre-allocated
database.
Notes:
1. The DIRDD parameter (or DIRDSN) specifies the name of the shared directory to
which you are attaching the new database. The DDNAME parameter (or DSN)
specifies the name of the database.
2. Group count defaults to 3 if the database is VSAM, but will default to 2 if the
database is sequential.
3. BLKSIZE only applies to a sequential database and defaults to 27998 if not specified.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Format a pre-allocated Source Listing Database with the following characteristics:
• The maximum number of entries in the file is 100.
• Autodelete entries when full.
• When additional space is required in the Source Listing Database, two blocks will be
allocated.
• The maximum number of extents to be allocated to each Source Listing Database
entry is 64.
CREATE OBJECT=DATABASE,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01,TYPE=SOURCE,
RC=100,AD=YES,GC=2,EXTENTS=64
Batch File Utility CWDDALLU
8-37
Creating a DBMODEL
This CREATE syntax diagram illustrates the syntax for creating a DBMODEL entry. The
DBMODEL feature applies only to source shared directories.
Notes:
1. The DIRDD parameter (or DIRDSN) specifies the name of the shared directory to
which you are attaching the DBMODEL. The DSN specifies a template for the name
of a new database.
2. The dbmodelname used here specifies the name to be created for the new Source
Listing Database. It consists of literals and/or symbolic tokens that will generate the
final DSN name at creation time. Remember, the total of generated characters plus
separator periods must not exceed 44. See the DSN parameter description for more
detail.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Create a DBMODEL for a sequential Source Listing Database with the following
characteristics:
• The maximum number of entries in the file is 50.
• At least one entry of each name will remain in the Source Listing Database.
• When additional space is required in the Source Listing Database, one block will be
allocated.
• The maximum number of extents to be allocated to each Source Listing Database
entry is 256.
• The Source Listing Database can occupy five cylinders.
• The blocksize is 24569.
• Dynamic database creation will be invoked if no attached databases are eligible for
create.
8-38
Compuware Shared Services User/Reference Guide
• The new DSN name will have an incremental sequence number assigned.
CREATE OBJECT=DBMODEL,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
DSN=COMPWARE.LP.SOURCE.LISTING.&SEQ,DYNCREATE=YES,
RC=50,AD=DUPS,GC=1,EXTENTS=256,AM=BSAM,CYLINDERS=5,
BLKSIZE=24569
DELETE (DEL)
The DELETE command deletes selected entries from any form of DDIO file, deletes a
selected database, deletes a selected shared directory, or deletes the DBMODEL
information contained in the selected shared directory.
CAUTION:
To delete entries from the Shared Directory and associated databases use,
OBJECT=ENTRY. Deletion may be specific using RN(REPTNUMBER) or non-specific using
parameters (for example, PROGRAM=, STARTDATE=).
DELETE an ENTRY from any form of DDIO file
If you delete an entry from either a shared directory or a database, the DELETE command
automatically removes the entry from both files. Database entries can only be deleted if
the database is attached to a shared directory. You must specify either the DIRDD or
DIRDSN parameter to delete members across the shared directory (all databases), or the
DDNAME or DSN parameter to delete members on a specific database within a shared
directory. (To delete an entry from a database and shared directory you must specify
OBJECT=ENTRY; it is not required if you are deleting an entry from a Source Listing file
or Report file).
Warning: Specifying the "DUPS=ALL" parameter in your DELETE command will be
handled as an error unless one or more other selection parameters are also specified.
Batch File Utility CWDDALLU
8-39
Delete - Source Listing
The following diagram illustrates the syntax for the DELETE command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Notes:
1. If you are deleting entries from a DDIO source file, as opposed to a database or shared
directory, you may omit OBJECT=ENTRY.
Example
Delete all entries with a name beginning with ‘COBA’.
DELETE OBJECT=ENTRY.DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
PROGRAM=COBA*
Delete all entries with a program name of 'PAYROLL' from only the specified database.
DELETE OBJECT=ENTRY.DDN=COMPWARE.AACICS.DATABASE.DB1,
PROGRAM=PAYROLL
Delete - Abend-AID Reports
Be certain to specify OBJECT=ENTRY to delete reports from the shared directory and
associated report database.
8-40
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the DELETE command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Notes:
1. If you are deleting entries from a DDIO report file, as opposed to a database or shared
directory, you may omit OBJECT=ENTRY.
Examples
Delete all entries with a JOBNAME of DAILYRUN.
DELETE OBJECT=ENTRY,
DIRDSN=COMPWARE.AA.SHRDIR,
JOBNAME=DAILYRUN
Delete all entries with a JOBNAME of AA950058 from the specified database.
DELETE OBJECT=ENTRY,
DDN=COMPWARE.AACICS.DATABASE.DB1,
JOBNAME=AA950058
Batch File Utility CWDDALLU
8-41
Delete- Abend-AID for CICS Reports
The following diagram illustrates the syntax for the DELETE command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Note:
Enqueues are held on DDIO members being viewed in the Abend-AID for CICS
viewing server. You must exit members before issuing batch deletes.
Examples
Delete all entries with an APPLID of CICSAPPL.
DELETE OBJECT=ENTRY,
DIRDSN=COMPWARE.AACICS.SERVER1.SHRDIR,
APPLID=CICSAPPL
Delete all entries with a TRAN of AADM from the specified database.
DELETE OBJECT=ENTRY,
DDN=COMPWARE.AACICS.DATABASE.DB1,
TRAN=AADM
8-42
Compuware Shared Services User/Reference Guide
DELETE a Database (and Detach It from the Shared Directory)
If the database is attached to a shared directory, DELETE also detaches it from the shared
directory prior to deletion. You must specify either the DDNAME or the DSN parameter.
To delete an entire database, specify OBJECT=DATABASE.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Delete a database (and detach it from the shared directory).
DELETE OBJECT=DATABASE,
DSN=COMPWARE.LP.SOURCE.LISTING.DB01
DELETE a Shared Directory
When deleting a shared directory, you can choose whether to also DELETE all attached
databases (DATABASEDISP=DELETE), or DETACH all attached databases prior to the
deletion (DATABASEDISP=DETACH). You must specify either the DIRDD or the DIRDSN
parameter. To delete an entire shared directory, specify OBJECT=SRCEDIR or
OBJECT=SHRDIR.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Note that all databases are deleted if you delete a shared directory using
DATABASEDISP=DELETE. If there are some databases for Batch Abend-AID reports (type
AA) and some databases for Abend-AID CICS reports (type CICS), both types will be
deleted.
Examples
Delete a shared directory and any databases attached to it.
DELETE OBJECT=SHRDIR,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
DBDISP=DELETE
Delete a shared directory, but first detach any databases attached to it (does NOT delete
databases).
Batch File Utility CWDDALLU
8-43
DELETE OBJECT=SHRDIR,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
DBDISP=DETACH
DELETE the DBMODEL Information from the Shared Directory
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Delete a DBMODEL:
DELETE OBJECT=DBMODEL,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR
DETACH
The DETACH command disconnects a database from a shared directory and removes the
database entries from the shared directory.
To ensure that you are aware of the shared directory from which you are detaching the
database, you can optionally use the DIRDSN parameter to specify the name of the
shared directory. If the shared directory is incorrectly specified, an error will be returned.
If the DIRDSN is not specified, then the database will be unconditionally detached from
the appropriate shared directory.
The following diagram illustrates the syntax for the DETACH command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Detach a database from a shared directory.
DETACH DDNAME=LPFILE1
Note:
If an error occurs during the DETACH process, when deleting members from the
shared directory, the database will set detach in progress (will show on a DIRX) but
will still appear attached, and the shared directory may still contain entries for
members on the database that had not yet been removed from the shared
directory. To eliminate possible integrity problems perform the following:
1. Run RESET on the database to clear the attach setting.
8-44
Compuware Shared Services User/Reference Guide
2. Run SCRATCH on the shared directory for that database to remove any
entries left for that database.
DIRECTORY (DIR, D) and DIRX (DX)
The DIRECTORY command lists selected entries in any form of DDIO file.
The function of the DIRX command is similar to the DIRECTORY command, but it also
displays attribute and allocation information. When a DIRX is performed on a shared
directory, it displays the attribute and allocation information for the shared directory
and all databases attached to that shared directory. DBMODEL information is displayed
for Source Listing Shared Directories, as well as any Autolockmax and/or Dupmax
settings.
Note:
If the database or DDIO file is empty (no members) and/or no selection
parameters are used, the return code set will be 0 — the NOTFOUND value is not
used.
Directory (DIR, D) and DIRX (DX) - Source Listing
The following diagram illustrates the syntax for the DIRECTORY or DIRX command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Batch File Utility CWDDALLU
8-45
Example 1
List all entries in a shared directory.
DIR DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR
Example 2
List all entries in a Source Listing Database sorted by program name (PGM), and include
attribute and allocation information.
DIRX DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01,
SORT=PGM
Directory (DIR, D) and DIRX (DX) - Abend-AID
The following diagram illustrates the syntax for the DIRECTORY or DIRX command.
Note:
The TYPE parameter is required for this command only if:
• The dataset being acted on is a shared directory with both Abend-AID and
Abend-AID for CICS databases attached
AND
• You send the utility command to CWDDALLU directly, via a JCL entry
reading EXEC PGM=CWDDALLU
8-46
Compuware Shared Services User/Reference Guide
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8. Refer to Shared Services SLCXCNTL installation library member CXAADIRX for
sample JCL for the DIRX command.
Example 1
List all entries in a shared directory.
DIR DIRDSN=COMPWARE.AA.SHRDIR
Example 2
List all entries in a report database sorted by JOBNAME, and include attribute and
allocation information.
DIRX DSN=COMPWARE.AA.RPT01,SORT=JOBNAME
Directory (DIR, D) and DIRX (DX) - Abend-AID for CICS
The following diagram illustrates the syntax for the DIRECTORY or DIRX command.
Note:
The TYPE parameter is required for this command only if:
• The dataset being acted on is a shared directory with both Abend-AID and
Abend-AID for CICS databases attached
AND
Batch File Utility CWDDALLU
8-47
• You send the utility command to CWDDALLU directly, via a JCL entry
reading EXEC PGM=CWDDALLU
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8. Refer to Shared Services SLXCNTL installation library member CXCFDIRX for sample
JCL for the DIRX command.
Example 1
List all entries in a shared directory.
DIR DIRDSN=COMPWARE.AACICS.SERVER1.SHRDIR
Example 2
List all entries in a transaction database sorted by transaction name (TRAN), and include
attribute and allocation information.
DIRX DSN=COMPWARE.AACICS.SERVER1.TRANDB01,
SORT=TRAN
DIRECTORY SEQUENTIAL (DIRS)
The DIRS (DIRectory Sequential) command lists selected directory entries in a sequential
file produced by the EXPORT command. If none of the parameters are specified, then all
entries are listed. The LABEL parameter can be specified for multiple export files residing
on tape. Refer to “Command Parameters for all DDIO files” on page 8-8 for more
information on this parameter.
8-48
Compuware Shared Services User/Reference Guide
Directory Sequential (DIRS)- Source Listing
The following diagram illustrates the syntax for the DIRECTORY SEQUENTIAL command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Export all unlocked entries and list all directory entries on the resulting sequential file.
EXPORT DUPS=UNLOCKED,FROMDSN=COMPWARE.AA.DB01,TODSN=TEST.EXFILE1
DIRS DSN=TEST.EXFILE1
Batch File Utility CWDDALLU
8-49
Directory Sequential (DIRS)- Abend-AID
The following diagram illustrates the syntax for the DIRECTORY SEQUENTIAL command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Example
Export all unlocked entries and list all directory entries on the resulting sequential file.
EXPORT DUPS=UNLOCKED
DIRS DSN=TEST.EXFILE1
8-50
Compuware Shared Services User/Reference Guide
Directory Sequential (DIRS)- Abend-AID for CICS
The following diagram illustrates the syntax for the DIRECTORY SEQUENTIAL command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Example
Export all unlocked entries and list all directory entries on the resulting sequential file.
EXPORT DUPS=UNLOCKED
DIRS DSN=TEST.EXFILE1
ESTIMATE
The ESTIMATE command is used to determine a reasonable number of blocks to allocate
for a shared directory when the allocation is being performed outside of CSS (i.e.,
through IDCAMS or Compuware's File-AID product). The resulting calculation is
expressed in records.
Batch File Utility CWDDALLU
8-51
The following diagram illustrates the syntax used for the ESTIMATE command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Estimate the number of blocks for a source shared directory with CISIZE=24569 and
approximately 200 directory entries.
ESTIMATE CISIZE=24569,DIRENTS=200,TYPE=Source
EXAMINE
The EXAMINE command reads, analyzes, and optionally repairs the selected shared
directory to ensure the following:
• Internal shared directory structure integrity.
• Shared directory index and data components match - that is, all entries in the shared
directory are accessible via an indexed search, and are selectable for abend diagnosis
viewing.
• All databases attached to the shared directory still exist in the MVS catalog.
• All entries in the shared directory exist in the attached databases.
This command creates a report of any inconsistencies and optionally with the REPAIR
directive specified:
• repairs shared directory index pointers
• deletes from the shared directory orphaned data entries that are not selectable via the
indexed path
• deletes members from the shared directory that no longer exist in the attached
database files
• deletes members from the attached databases that are no longer in the shared
directory
• deletes incomplete members in the shared directory and attached databases (if
DELETEIC specified)
• finds members from the attached database that are no longer in the shared directory
and restores them to the shared directory
8-52
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the EXAMINE command.
Note:
The TYPE parameter is required for this command only if:
• The dataset being acted on is a shared directory with both Abend-AID and
Abend-AID for CICS databases attached
AND
• You send the utility command to CWDDALLU directly, via a JCL entry
reading EXEC PGM=CWDDALLU
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Note:
The REPAIR directive attempts exclusive ENQ control of the selected shared
directory.
EXAMINE may be run any time, without the REPAIR and/or DELETEIC directive, to
analyze the shared directory’s integrity. However, during periods of heavy compile
activity, INDEX/DATA mismatches may be erroneously reported on the EXAMINE report.
An effort was made to prevent EXAMINE/REPAIR from rendering the shared directory or
its contents, unusable or impaired after REPAIR processing. However, a backup of the
shared directory before using REPAIR is advised.
Runtime Example
EXAMINE DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR
Batch File Utility CWDDALLU
8-53
EXPAND
The EXPAND command reallocates an existing shared directory using new allocation
parameters and copies all of the entries to the newly allocated shared directory. After the
copy has completed successfully, the old shared directory is renamed to a temporary
name, the new shared directory is renamed to the original name, and the old shared
directory is then deleted. You can use this command to increase or decrease the space
allocated for a shared directory and/or change the CISIZE.
When using the EXPAND command, the following rules apply:
• The shared directory must already exist (i.e., you cannot use EXPAND to create a new
shared directory).
• The shared directory must not be in use.
Use the DIRDD or DIRDSN parameter to specify the existing shared directory. You can
optionally use the VOLSER to specify the desired volume location for the new expanded
shared directory.
The following diagram illustrates the syntax for the EXPAND command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Expand an existing shared directory, but change the CISIZE to 8192.
EXPAND,DIRDD=CAT11,
MODEL=COMPWARE.LP.SOURCE.LISTING.SHRDIR,CISIZE=8192
8-54
Compuware Shared Services User/Reference Guide
EXPORT
The EXPORT command exports selected entries from any form of DDIO file to a
sequential file. The sequential file can then be used as input to the IMPORT command.
The From file can be specified using the FROMDSN or FROMDD parameter or ABNLFROM
DD statement.
The "to" file (sequential file) can be specified using both the TODSN and TOVOL
parameters, TODD parameter or ABNLTO DD statement. However, if you are exporting to
a tape, you must use the TODD parameter. When an entry is exported from a database
and DELETE=YES, the shared directory is also updated.
If no other parameters are specified, then all entries are exported.
Multiple EXPORT commands can be used, if you include a unique TODD (or TODSN
and TOVOL) parameter for each output dataset. If the output file is a PDS, the target
member must also be specified. A command must be designated for each PDS
member. If unique parameters are not used, each successive export will overlay the
previous export. Refer to label for information on importing multiple files from
tape.
Note: When exporting members of a shared directory with 2 or more attached databases
of the same type, the import of these members will (generally) not have the same
member distribution in the databases attached to the import's shared directory.
To have the same member distribution in the databases you must do the export &
import for each individual database.
Note:
Importing from multi-volume datasets is not supported. When importing from
multi-volume datasets, the following message is issued: CXUTL3041S Error
during POINT-RECORD DDIO/database operation in IMPORT RC=0000000C.
When exporting members, insure that a multi-volume dataset is not used.
Batch File Utility CWDDALLU
8-55
Export- Source Listing
The following diagram illustrates the syntax for the EXPORT command.
Note:
The use of EXEC is only valid for stand-alone source DDIO files, not for shared
directory and/or database files.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8. Refer to Shared Services SLCXCNTL installation library member CXLPEXPO for
sample JCL for the EXPORT command.
Example
For a Source Listing Database, export all complete source listings for the program names
starting with ABCD and compiled on May 1, 2000 to a tape. Delete all entries that have
been successfully exported.
EXPORT FROMDD=ABNLFROM,
TODD=ABNLTO,
PROGRAM=ABCD*,STARTDATE=05/01/2000,
INC=NO,DELETE=YES
8-56
Compuware Shared Services User/Reference Guide
Export- Abend-AID
The following diagram illustrates the syntax for the EXPORT command.
Note:
The use of EXEC is only valid for stand-alone Abend-AID report DDIO files, not
for shared directory and/or database files.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8. Refer to Shared Services SLCXCNTL installation library member CXAAEXPO for
sample JCL for the EXPORT command.
Example
For a report database, export all complete Abend-AID reports for the JOBNAME beginning
with AACNT to a tape. Delete all entries that have been successfully exported.
EXPORT FROMOBJECT=DATABASE,FROMDD=ABNLFROM,TODD=ABNLTO,
JOBNAME=AACNT*,INC=NO,DELETE=YES
Batch File Utility CWDDALLU
8-57
Export- Abend-AID for CICS
The following diagram illustrates the syntax for the EXPORT command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8. Refer to Shared Services SLCXCNTL installation library member CXCFEXPO for
sample JCL for the EXPORT command.
Example
For a transaction database, export all complete transaction dump information entries for
the transaction IDs starting with ABCD and abended with CICS transaction abend code
ASRA to a tape. Delete all entries that have been successfully exported.
EXPORT FROMOBJECT=DATABASE,FROMDD=ABNLFROM,TODD=ABNLTO,
TRAN=ABCD*,CICSCODE=ASRA,INC=NO,DELETE=YES
FLAG
FLAG modifies or creates a source listing (member in a DDIO file, source database, or
source shared directory) to show which of its source lines have changed since a prior
version of the program. Data definition source lines as well as executable source lines are
compared and flagged as appropriate.
The old or baseline version of the program is contained in the DDIO file, source database,
or source shared directory specified with the BASEDDIO parameter. The current version
8-58
Compuware Shared Services User/Reference Guide
of the program is contained in the DDIO file, source database, or source shared directory
specified with the CURRDDIO parameter. FLAG compares these two versions of the
program and creates a new version that looks like the current version except that lines
inserted or modified since the baseline version are flagged. Flags consist of a userspecified string of characters placed at a user-specified location on the source line (within
the range of columns 73-80), as denoted by the ID parameter.
Note:
There is no indication of lines present in the baseline version but
subsequently deleted from the current version.
The new flagged member can be created in a separate DDIO file with no alteration of
either baseline or current members, or it can be created in the same DDIO file as the
current member, in which case it replaces the current member. The baseline member is not
altered, replaced, or deleted in either case. The FLAGGEDDDIO parameter is used to
specify the separate DDIO file to receive the flagged members. If this parameter is
omitted, the new flagged members replace the corresponding current members in the
CURRDDIO file.
Note:
If the CURRDDIO file is a source database or source shared directory, the
FLAGGEDDDIO file must also be either a source database or source shared
directory. If the CURRDDIO file is a classic source DDIO file then the
FLAGGEDDDIO file must also be a classic source DDIO.
There are three ways to specify that DDIO members represent the baseline and the
current versions of the program:
1. Use the BASENUMBER= and CURRNUMBER= parameters to specify (by member
number) which two members are to be compared. The BASENUMBER= value is the
member number of the baseline version of the program in the DDIO file specified in
the BASEDDIO parameter. The CURRNUMBER= value is the member number of the
current version of the program in the DDIO file specified in the CURRDDIO
parameter.
2. Use the PROGRAM= parameter to specify the name of a program. FLAG locates
members in the BASEDDIO and CURRDDIO files with this name, and selects the
BASEDDIO member with the oldest compile date and time as the baseline member,
and the CURRDDIO member with the most recent compile date and time as the
current member.
Note: Members from different language families (Assembler, COBOL, PL/I, or C) are
not compared, even if their program names match.
3. Use the PROGRAM= parameter to specify a mask for a program name. The mask is 07 characters of a program name followed by an asterisk; for example,
PROGRAM=ACC* or PROGRAM=*. FLAG uses this mask to identify matching
program names, then proceeds as described in step 2.
FLAG locates all pairs of programs (one in BASEDDIO and one in CURRDDIO) of the
same language family and with the same name, with a common name matching the
mask. FLAG selects the program in BASEDDIO with the oldest compile date and time as
the baseline member of the pair, and the one in CURRDDIO with the most recent
compile date and time as the current member of the pair. FLAG then compares these two,
and creates a new flagged member in the FLAGGEDDDIO file (or replaces the current
member, if the FLAGGEDDDIO parameter was not specified).
Repeated Use of the FLAG Command
To ensure the most efficient use of I/O and CPU resources, FLAG does not reflag currently
flagged members on subsequent runs when the FLAGGEDDDIO parameter is omitted.
Batch File Utility CWDDALLU
8-59
Example
You have used FLAG to compare two members, and have omitted the FLAGGEDDDIO
parameter to ensure that lines changed from the baseline to the current member are
flagged in the current DDIO file. If you run FLAG a second time on the same two
members, CWDDSUTL detects the changes that have already been flagged, and bypasses
these listings. This logic permits you to run FLAG against entire DDIO files, and use only
the resources needed to analyze the changed programs in these files.
FLAG Report Output
FLAG printed output contains the following:
• The dataset names of the BASEDDIO, CURRDDIO, and (if used) FLAGGEDDDIO
datasets.
• The name, member number, etc., of the baseline, current, and (if FLAGGEDDDIO is
used) flagged members.
If a program mask is used, there are potentially multiple pairs of members to display in
the report. In this case, the report contains two sections that list members:
1. A Selection Report showing every pair of listings that will be compared. This list is
created early in FLAG processing to ensure that it is available in the job output, even
if the job is subsequently canceled.
2. An Action Report showing the actions taken with each pair of members in the
Selection Report.
If you run with EXEC=SIMULATE, only the Selection Report is produced. This report can
then be used to verify and approve all proposed comparisons. If necessary, you can use
individual lines from the Selection Report to create separate FLAG commands that
specify BASENUMBER= and CURRNUMBER= parameters in lieu of a PROGRAM= mask.
Multiple FLAG commands can be entered in a single run of the CWDDSUTL utility.
Supported Compilers
FLAG supports all releases of COBOL, PL/I, and Assembler.
Note:
CA-OPTIMIZER products are not supported.
Flag Command Syntax
The following diagram illustrates the syntax for the FLAG command.
8-60
Compuware Shared Services User/Reference Guide
For a description of the parameters, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Flag the newest version of the programs with names beginning with PREP to show which
lines differ from the oldest version. Place the string ARQ in columns 76-78 of the
altered/new lines.
FLAG PROGRAM=PREP*,ID=(ARQ,76)
FORMAT
The FORMAT command prepares a DDIO file for use after the file has been allocated, or it
reformats an existing sequential DDIO file. The FORMAT command cannot be used to
create or format databases or shared directories. See the CREATE command for
instructions on creating a database or shared directory.
Note:
See Chapter 2, “Allocating and Formatting DDIO Files” for more information
about using these parameters and certain restrictions when setting up DDIO files.
CAUTION:
The FORMAT command erases all of the information in the specified file.
The file being formatted is specified with the ABNLDFIL DD statement. The INDD
parameter may be used to override the ddname.
• For Abend-AID report files, all parameters are optional. Code a parameter only if a
default will be changed.
• For source listing files, specify TYPE=SOURCE. All other parameters are optional.
Note:
Source listing files that will be used by Xpediter/CICS in a CICS region must
be pre-allocated as VSAM.
• For Abend-AID for CICS source listing files, when you are formatting system or user
DSECT files, code SUBTYPE=FX. TYPE=CICS is the default when SUBTYPE=FX is
specified. All other parameters are optional.
To reformat a VSAM DDIO file, you must first delete the file, and then reallocate it before
formatting it again. If the size of the VSAM DDIO file must be increased, do not use
IDCAMS and the REPRODUCE command to copy the file. Instead, allocate a new file,
format the file, and use the COPY or MOVE commands to copy or move members from
the old DDIO file to the new DDIO file. If you specify the SPEED parameter as part of the
DEFINE CLUSTER command, the FORMAT command will execute faster.
FORMAT Command Sample Programs
Sample programs for the FORMAT command are available in CSS installation library
members. Refer to Table 8-6 for a list of sample JCL members that contain information on
using the FORMAT command.
Table 8-6.
Sample Programs for FORMAT Command
To format...
Use sample JCL member...
Report Files
CXFMTAA
Multi-volume Report Files
CXDFMAA*
Source Listing files
CXFMTSL
Multi-volume Source Listing Files
CXDFMSL*
* Job also does VSAM file allocation.
Batch File Utility CWDDALLU
8-61
FORMAT Command Syntax
The following diagram illustrates the syntax for the FORMAT command.
For a description of the parameters, see “Command Parameters for all DDIO files” on
page 8-8.
Notes:
1. The MULTIVOLUME parameter is only valid for VSAM DDIO files that have been preallocated.
2. This parameter is only useful for Abend-AID report files, and is now the default for
formatting report files.
Example 1:
Format a sequential Abend-AID report file with a blocksize of 8 KB, and a report count of
500.
FORMAT BLKSIZE=8192,REPTCOUNT=500
Example 2:
Format a source listing file to be used by Abend-AID and Xpediter/CICS.
FORMAT TYPE=SOURCE,GROUPCOUNT=8,AUTODELETE=DUPS
IMPORT
The IMPORT command selectively restores previously exported entries from a sequential
file to the specified DDIO file.
The From file (sequential file) can be specified using both the FROMDSN and FROMVOL
parameters, or the FROMDD parameter.
The To DDIO file can be specified using both the TODSN and TOVOL parameters, or the
TODD parameter. When an entry is imported to a database that is attached to a shared
directory, the shared directory is also updated.
8-62
Compuware Shared Services User/Reference Guide
Note:
If the access method is VSAM, then you must specify DISP=SHR for the TODSN
DD statement in your JCL.
Since IDR token is a unique key within a Source Listing Shared Directory, it is possible to
encounter a duplicate IDR condition during member IMPORT - a warning message will be
issued and the member will not be imported. The remaining IMPORT processing
continues with a return code of 4.
Multiple IMPORT commands can be used, if you include a unique FROMDD (or
FROMDSN and FROMVOL) parameter for each input dataset. If the input file is a
PDS, the contributing member must also be specified. A command must be
designated for each PDS member. Refer to label for information on importing
multiple files from tape.
Note: When exporting members of a shared directory with 2 or more attached databases
of the same type, the import of these members will (generally) not have the same
member distribution in the databases attached to the import's shared directory.
To have the same member distribution in the databases you must do the export &
import for each individual database.
Note:
Importing from multi-volume datasets is not supported. When importing from
multi-volume datasets, the following message is issued: CXUTL3041S Error
during POINT-RECORD DDIO/database operation in IMPORT RC=0000000C.
Import- Source Listing
If none of the parameters are specified, then all entries are imported. The following
diagram illustrates the syntax for the IMPORT command.
Batch File Utility CWDDALLU
Note:
8-63
The use of EXEC is only valid for stand-alone source DDIO files, not for shared
directory and/or database files.
For a description of each parameter, see “Command Parameters for all DDIO files”
on page 8-8. Refer to Shared Services SLCXCNTL installation library member
CXLPIMPO for sample JCL for the IMPORT command.
Example
Restore all entries from a sequential file to a Source Listing Database.
IMPORT FROMDSN=COMPWARE.LP.DB01,
TODSN=COMPWARE.LP.SOURCE.LISTING.LPDB01
Import- Abend-AID
The following diagram illustrates the syntax for the IMPORT command.
Note:
The use of EXEC is only valid for stand-alone Abend-AID report DDIO files, not
for shared directory and/or database files.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8. Refer to Shared Services SLCXCNTL installation library member CXAAIMPO for
sample JCL for the IMPORT command.
Example
Restore all entries from a sequential file to a report database.
8-64
Compuware Shared Services User/Reference Guide
IMPORT FROMDSN=COMPWARE.AA.DB01,
TODSN=COMPWARE.AA.RPT02
Import - Abend-AID for CICS
The following diagram illustrates the syntax for the IMPORT command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8. Refer to Shared Services SLCXCNTL installation library member CXCFIMPO for
sample JCL for the IMPORT command.
Example
Restore all entries from a sequential file to a transaction database.
IMPORT FROMDSN=COMPWARE.AACICS.DB01,
TODSN=COMPWARE.AACICS.SERVER1.TRANDB01
LOCK
The LOCK command locks selected entries of one or more specified DDIO files. While an
entry is locked with this command (this is called manually locked), it cannot be
automatically deleted when the DDIO file becomes full. At least one selective parameter
must be specified on the LOCK command.
The scope of the LOCK command can be a single source file or report file, or a single
database, or all databases attached to a specified shared directory. If you specify the
DIRDD= or DIRDSN= parameter, and supply a DDname or dataset name for a shared
directory, the LOCK command will apply to every database attached to that shared
directory. All other forms of the LOCK command apply only to one dataset.
Batch File Utility CWDDALLU
8-65
Lock - Source Listing
The following diagram illustrates the syntax for the LOCK command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
For a Source Listing Database, lock source listing number 1105.
LOCK,DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01,REPTNUMBER=1105
8-66
Compuware Shared Services User/Reference Guide
Lock - Abend-AID
The following diagram illustrates the syntax for the LOCK command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Example
For a report database, lock report number 1105.
LOCK,DSN=COMPWARE.AA.RPT02,RN=1105
Batch File Utility CWDDALLU
8-67
Lock - Abend-AID for CICS
The following diagram illustrates the syntax for the LOCK command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Example
For a transaction database, lock transaction dump information entry number 1105.
LOCK,DSN=COMPWARE.AACICS.SERVER1.TRANDB01,
REPTNUMBER=1105
MOVE
The MOVE command copies selected entries from one DDIO file to another, and deletes
them from the From file, provided they are successfully copied. Entries can be moved in
any of the following ways:
•
•
•
•
•
•
from
from
from
from
from
from
one report file to another report file
one source file to another source file
one database to another database
a database to a shared directory
a shared directory to a database
one shared directory to another shared directory
You may not use MOVE to mix members of different types in a single database. The three
types of members are source, Abend-AID report, and Abend-AID for CICS report.
8-68
Compuware Shared Services User/Reference Guide
Use the FROMDD and TODD parameters to specify the From and To file ddnames. When
an entry is moved to or from a database, which is attached to a shared directory, the
shared directory is also updated immediately. If none of the parameters are specified,
then all entries are moved.
Note:
Only successfully copied entries are deleted from the From file.
Since IDR token is a unique key within a Source Listing Shared Directory, it is possible to
encounter a duplicate IDR condition during member MOVE - a warning message will be
issued and the member will not be moved. The remaining MOVE processing continues
with a return code of 4.
The following diagram illustrates the syntax for the MOVE command.
Move - Source Listing
The following diagram illustrates the syntax for the MOVE command.
Note:
The use of EXEC is only valid for stand-alone source DDIO files, not for shared
directory and/or database files.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8. Refer to Shared Services SLXCNTL installation library member CXLPMOVE for
sample JCL for the MOVE command.
Batch File Utility CWDDALLU
8-69
Examples
Move all entries from one shared directory to another, and do not retain the report
numbers.
MOVE TODSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR.
FROMDSN=COMPWARE.LP.SOURCE.LISTING2.SHRDIR.
RETAINRN=NO
Move all unlocked entries from one Source Listing Database to another Source Listing
Database.
MOVE TODSN=COMPWARE.LP.SOURCE.LISTING.LPDB02.
FROMDSN=COMPWARE.LP.SOURCE.LISTING.LPDB01
DUPS=UNLOCKED
Move - Abend-AID
The following diagram illustrates the syntax for the MOVE command.
8-70
Compuware Shared Services User/Reference Guide
Note:
The use of EXEC is only valid for stand-alone Abend-AID report DDIO files, not
for shared directory and/or database files.
Note:
The TYPE parameter is required for this command only if:
• The dataset being acted on is a shared directory with both Abend-AID and
Abend-AID for CICS databases attached
AND
• You send the utility command to CWDDALLU directly, via a JCL entry
reading EXEC PGM=CWDDALLU
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8. Refer to Shared Services SLCXCNTL installation library member CXAAMOVE for
sample JCL for the MOVE command.
Examples
Move all entries from one shared directory to another, and do not retain the report
numbers.
MOVE,TODSN=COMPWARE.AA.SHRDIR1,
FROMDSN=COMPWARE.AA.SHRDIR2,
RETAINRN=NO
Move all unlocked entries from one report database to another report database.
MOVE,TODSN=COMPWARE.AA.DB01,
FROMDSN=COMPWARE.AA.DBAA01,
DUPS=UNLOCKED
Batch File Utility CWDDALLU
8-71
Move - Abend-AID for CICS
The following diagram illustrates the syntax for the MOVE command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8. Refer to Shared Services SLXCNTL installation library member CXCFMOVE for
sample JCL for the MOVE command.
Examples
Move all entries from one shared directory to another, and do not retain the report
numbers.
MOVE,TODSN=COMPWARE.AACICS.SERVER2.SHRDIR,
FROMDSN=COMPWARE.AACICS.SERVER1.SHRDIR,
RETAINRN=NO
Move all unlocked entries from one transaction database to another transaction database,
for example, if you are moving the reports from the database to a file attached to a new
server.
MOVE,TODSN=COMPWARE.AACICS.SERVER2.TRANDB02,
FROMDSN=COMPWARE.AACICS.SERVER1.TRANDB01,
DUPS=UNLOCKED
8-72
Compuware Shared Services User/Reference Guide
PRINT (P)
There are three uses for the PRINT command; printing a source listing, printing an
Abend-AID report, and printing the specifications for a previously-defined DBMODEL.
To provide source support, the source listing file must be specified by the SLSF001DD
statement or the DD statement specified by the SLSDD parameter. See the note in the
SLSF001 statement under “Usage Considerations” on page 8-4 if you require more than
one source listing file.
If the OUTDD parameter is omitted, the output is sent to the file specified by the
ABNLREPT DD statement. If the OUTDD parameter is coded, the output is sent to the file
with the ddname specified by the OUTDD parameter.
At least one parameter must be specified. For source shared directory either
REPTNUMBER or PROGRAM must be specified; if the program parameter is used, only the
most current matching member will be printed.
The following diagram illustrates the syntax for the PRINT command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8. See the Shared Services SLCXCNTL installation library member CXPDDSU for
sample JCL to run the PRINT command.
Batch File Utility CWDDALLU
8-73
Example
Print report number 207.
PRINT RN=207
Printing DBMODEL specifications
To print the specifications of a DBMODEL, you must specify OBJECT=DBMODEL as well
as the shared directory containing that DBMODEL.
If the OUTDD parameter is omitted, the output (along with other CWDALLU messages
and reports) is sent to the file specified by the ABNLREPT DD statement. If the OUTDD
parameter is coded, the output is sent to the file with the ddname specified by the
OUTDD parameter.
The following diagram illustrates the syntax for the PRINT command with
OBJECT=DBMODEL.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
PRINT OBJECT=DBMODEL.DIRNSN=COMPUWARE.LP.SOURCE.LISTING.SHRDIR.
REFRESH
This command applies only to Source Shared Directories.
The REFRESH command can be used to control the number of duplicate source listing
members within a source shared directory, as well as provide a way to control the number
of autolocked (L) members at the shared directory level, during a single execution. To
refresh the desired number of autolocked and/or duplicate members within the shared
directory, the REFRESH command must be run again, as needed.
The REFRESH command has two action parameters: AUTOLOCKMAX and DUPMAX. At
least one of these parameters must be specified or an error message will be generated.
When the AUTOLOCKMAX parameter is specified, the number of autolocked duplicate
members will be adjusted to the specified value across the shared directory (excluding
manually locked members) by autolocking the most current duplicate members and/or
unlocking the older duplicate autolocked members, based on compile time/date. The
AUTOLOCKMAX parameter requires that ALL attached source databases must be
AD=DUPS and/or AD=STAGED, if not an error message will be generated and the job will
complete with an RC=8. No changes will be made to any of the attached databases.
When the DUPMAX parameter is specified, the number of duplicate members residing
across the shared directory will be limited to the specified value (excluding manually
locked members) by deleting the older duplicate members, based on compile date/time.
Any member residing on a database with the AD=NO attribute will also be ignored for the
DUPMAX process.
8-74
Compuware Shared Services User/Reference Guide
If both parameters are specified, the AUTOLOCKMAX value will be applied first, followed
by the DUPMAX value.
There is also an optional parameter EXEC=CHECK that can be specified, in addition to
one or both of the action parameters, that will bypass any updates to the shared directory
and attached databases while still producing the detailed report of actions that would
have been taken. The report produced when using EXEC=CHECK shows what the actions
would have been -- but NO UPDATES were actually done to the members shown.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Examples
Force a maximum of one autolocked duplicate member each within the shared directory:
REFRESH DIRDSN=SOURCE.LISTING.SHRDIR,AUTOLOCKMAX=1
Limit the total number of duplicate members to two each within the shared directory:
REFRESH DIRDSN=SOURCE.LISTING.SHRDIR,DUPMAX=2
To do both of the above at once:
REFRESH DIRDSN=SOURCE.LISTING.SHRDIR,DUPMAX=2,
AUTOLOCKMAX=1
To see what actions would have taken place with DUPMAX=2 and ALMAX=1, but without
actually updating the files:
REFRESH DIRDSN=SOURCE.LISTING.SHRDIR,DUPMAX=2,
ALMAX=1,EXEC=CHECK
RESET
The RESET command disconnects a database from a shared directory when the shared
directory is lost or damaged. The database can then be attached to another shared
directory.
The following diagram illustrates the syntax for the RESET command.
Batch File Utility CWDDALLU
8-75
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Disconnect a Source Listing Database from a damaged shared directory by resetting all
the flags.
RESET DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01
SCRATCH (SCR)
The SCRATCH command clears all entries from a shared directory for a specified database
that has been lost or damaged.
The following diagram illustrates the syntax for the SCRATCH command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Scratch all entries from a shared directory for a lost Source Listing Database.
SCRATCH DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01
TEST
The TEST command allows testing of the DBMODEL specification and dbmodelname
previously defined for the specified source shared directory. The TEST request will create
and format a Source Listing Database according to the DBMODEL specifications but will
NOT attach it to the shared directory.
The following diagram illustrates the syntax for the TEST command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Test the allocation and formatting of the DBMODEL previously created for a shared
directory.
TEST OBJECT=DBMODEL,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR
8-76
Compuware Shared Services User/Reference Guide
UNCONVERT (UNCNVT)
The UNCONVERT command first detaches a Source Listing Database or Report Database
from its shared directory, and then changes the format of the Source Listing Database
back to that of a Source Listing file, or changes the format of the Report Database back to
that of a Report file. Long name members will still be in the source listing file but will
not correctly identify themselves and will not be usable.
To ensure that you are aware of the shared directory from which you are detaching the
database, you can optionally use the DIRDSN parameter to specify the name of the
shared directory. If the shared directory is incorrectly specified, an error will be returned.
If the DIRDSN is not specified, then the specified database will be unconditionally
detached from the appropriate shared directory before changing the format.
The following diagram illustrates the syntax for the UNCONVERT command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Change the Source Listing Database back to a standard source listing file. It will
automatically be detached from its shared directory.
UNCONVERT DSN=COMPWARE.SOURCE.DDIO.DB
The source listing database name (or report database name) you specified in the
command parameter will remain the same when it reverts back to the standard source
listing file (or report file) format. The UNCONVERT command merely changes the type
and functioning of the source listing database (or report database) back to the old style
format. If you want the source (or report) file to have a different name after it becomes
detached from the shared directory, you must rename it after executing the UNCONVERT
command.
If an error occurs during the UNCONVERT process, while in the detach phase of deleting
members from the shared directory, the database will set detach in progress (will show on a
DIRX) but will still appear attached, and the shared directory may still contain entries for
members in the database that had not yet been removed from the shared directory. To
eliminate possible integrity problems, perform the following:
1. Run RESET on the database to clear the attach setting.
2. Run SCRATCH on the shared directory for that database to remove any entries left for
that database.
3. Run ATTACH on the database to re-add to the shared directory.
4. Run UNCONVERT again.
UNLOCK (UNLK)
The UNLOCK command unlocks selected entries of a specified source file, report file,
source or report database or all databases attached to a specified shared directory. When
an entry is unlocked, it can be automatically deleted when the dataset becomes full if the
database has been formatted with AUTODELETE=YES or AUTODELETE=DUPS. At least
one selective parameter must be specified.
Batch File Utility CWDDALLU
8-77
Unlock - Source Listing
The following diagram illustrates the syntax for the UNLOCK command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
Unlock entries in Source Listing Databases attached to a shared directory that are older
than six months.
UNLOCK,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
MONTHSOLD=6
8-78
Compuware Shared Services User/Reference Guide
Unlock - Abend-AID
The following diagram illustrates the syntax for the UNLOCK command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Example
Unlock entries in report databases attached to a shared directory that are older than six
months.
UNLOCK,DIRDSN=COMPWARE.AA.SHRDIR2,MONTHSOLD=6
Batch File Utility CWDDALLU
8-79
Unlock - Abend-AID for CICS
The following diagram illustrates the syntax for the UNLOCK command.
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
Example
Unlock entries in transaction databases attached to a shared directory that are older than
six months.
UNLOCK,DIRDSN=COMPWARE.AACICS.SERVER1.SHRDIR,MONTHSOLD=6
VERIFY (VER)
The VERIFY command examines a selected shared directory to ensure the following:
• All databases attached to the Shared Directory exist.
• All entries in the Shared Directory exist in the attached databases, and, for source,
names and IDR tokens match.
• All entries in the attached databases are also in the Shared Directory, and, for source,
names and IDR tokens match.
• Shared Directory internal integrity of member numbers, if source.
• Shared Directory internal integrity of IDR tokens, if source.
Note:
This command creates a report of any inconsistencies but does not perform any
maintenance or repairs.
8-80
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the VERIFY command.
For a description of each parameter, see “Command Parameters for all DDIO files” on
page 8-8.
Example
For a shared directory, verify that all attached Source Listing Databases exist and that the
entries in the Source Listing Database match the entries in the shared directory.
VERIFY DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR
9-1
Chapter 9.
COBOL Language Processor
Chap 9
A language processor writes a source listing to a VSAM or sequential DDIO file. For
COBOL, the source listing includes a compiler listing and other information about a
program. This chapter describes the outputs and commands associated with the COBOL
language processor.
Operation
The COBOL language processor reads one or more the compiler listing produced by the
COBOL compiler and writes either the compiler listing or an enhanced listing to the
DDIO file. The source listing can then be used to provide source support during a
debugging or diagnostic session using any of the following products:
•
•
•
•
•
•
Abend-AID
Abend-AID for CICS
Xpediter/CICS
Xpediter/TSO
Xpediter/Eclipse
Strobe
The COBOL language processor can be run either as a preprocessor or as a postprocessor.
Compuware recommends that you use the preprocessor instead of the postprocessor. The
postprocessor should only be used in situations where compiled source listings have been
stored in machine-readable format.
Note:
CSS is downward compatible with listings created by a previous release of CSS.
CSS is also upward compatible with the next release of CSS, allowing CSS to be
upgraded in a development environment where the listing is created, while
utilizing it in a production environment running the previous release of CSS.
The release of CSS installed with the companion product where the listing is
being utilized (such as Abend-AID or Xpediter) must no more than one release
level lower than that used to create the listing.
Preprocessor
Some information about a program module is not always available from the compiler
listing. The preprocessor, in addition to gathering information from the compiler listing,
gathers information from SYSIN and SYSLIB. The preprocessor provides additional
functionality for Xpediter/CICS and Xpediter/TSO.
Preprocessor Steps
1. Determines the proper compiler options required to process the listing file.
2. Automatically invokes the compiler or assembler to compile or assemble your source
program.
3. Writes the listing to the DDIO file. An enhanced listing for COBOL programs can be
produced, if desired.
9-2
Compuware Shared Services User/Reference Guide
Preprocessor Benefits
• Better handling of compiler errors. By using the preprocessor, you can avoid the
potential problems of processing a listing with compiler errors. The preprocessor, in
conjunction with the CONDDDIO parameter, internally checks the return code from
the compiler and does not write a DDIO listing that contains errors. For example, if
you set the CONDDDIO parameter to 8, the preprocessor will write the compiler
listing to the DDIO file unless the compiler return code exceeds 8. The preprocessor
can process compiler errors more effectively than the postprocessor can.
• Capturing of suppressed source code. When the following parameter is used,
sections of source code can be suppressed from the compiler listing:
For COBOL Copy SUPPRESS
The preprocessor captures this information from SYSIN and SYSLIB.
• Automated compiler options. The postprocessor requires that certain compiler
options be specified in order to process all needed sections of the compiler listing.
When processing a single source code unit, the preprocessor can automatically pass
the required options to the compiler. See “Processing Multiple Compile Units in a
Single Execution” on page 9-5 for requirements and restrictions.
For a list of the required compiler options, see “Required Options for Supported
COBOL Compilers” on page 9-12.
• Simplified JCL. While the postprocessor requires that you add a step after the
compile step, the preprocessor requires only that minor modifications be made to
your existing compile step.
Dynamically Allocated Files
The following files are dynamically allocated by the Compuware preprocessor. The
attributes can be overridden by specifying a DD in the JCL.
Table 9-1.
Files Dynamically Allocated by the Preprocessor
DDname
Attributes
CWPWRKn (0-6)
BLKSIZE=19000 SPACE(TRK,(100,80)) UNIT=SYSDA
SORTWK01
BLKSIZE=19000 SPACE(TRK,(100,80)) UNIT=SYSDA
TEMPLIN
BLKSIZE=3200 SPACE(TRK,(200,100)) UNIT=SYSDA
CWPERRM
SYSOUT=*
CWPWBNV
SYSOUT=*
SYSPRINT
SYSOUT=*
SYSOUT
SYSOUT=*
CWPPRTI
BLKSIZE=16093 SPACE(TRK,(100,200)) UNIT=SYSDA DISP=MOD
CWPPDS2
SPACE (TRK,(100,80,80)) UNIT=SYSDA
CWPPRTO is dynamically allocated as a work file (for the preprocessor). SYSPRINT is
where the listing goes.
Postprocessor
The postprocessor is executed as a single step, and it can be a job separate from the
compile. It reads one or more listing created from the compiler. Information is gathered
from the source listing(s), XREF, data maps, and object code sections of the listing(s).
This information is stored in a DDIO file member(s) and is used by various Compuware
companion products.
COBOL Language Processor
9-3
While the preprocessor is the preferred method of loading the compiled listing to the
DDIO, there are situations that necessitate use of the postprocessor as a viable
alternative. This is commonly found in production environments where the listings may
be archived. Note that these are usually the default options at many shops.
If the programs contain suppressed source code, certain additional control statements
must be added to the language processor.
If the programs are compiled with the COBOL compiler option OFFSET as well as the
COBOL compiler option OPT(imize), certain additional control statements must be
added to the language processor.
Benefits of Postprocessing
• Postprocessing provides an exact match of compiled output listings with the
executable load module. This benefit is especially important in production
environments where time is critical and where the production program was compiled
with a version of the compiler that is no longer available.
• Postprocessing eliminates the risk of copybook or source code changes prior to
recompiling the code since the listing reflects the code that is being executed.
• The processor resources utilized to process source listings are significantly reduced
compared to recompiling the source code, and the language processor can
automatically run on the specialty processor (zIIP) when available.
Summary of COBOL Language Processor Commands
The following is a list and brief description of the commands available for the COBOL
language processor. Each command is discussed in detail later in this chapter.
CICSTEST
Instructs the COBOL language processor to print either a warning
or severe message regarding the status of the COBOL compile
options for running a program in CICS.
COBOL
Controls the compiler listing destination.
CONDDDIO
(Can only be used with the preprocessor) Specifies that the source
listing will be written to the source listing file unless the compiler
return code exceeds the maximum value you set.
CONDERRL
(Can only be used with the preprocessor) Indicates that the hard
copy listing will contain only error messages and lines in error if
the compiler condition code exceeds the maximum.
CONDSTEP
(Can only be used with the preprocessor) Controls the condition
code set by the postprocessor when it is invoked by the
preprocessor.
DDIO
Identifies the sections of the COBOL compiler listing that are
written to the source listing file.
File-overrides
(Can only be used with the postprocessor) Used to override the
default file definitions.
INCLUDE
(Can only be used with the preprocessor) Used to include a library or
sequential file member that contains another set of language
processor options to be processed.
LANGPARM
(Can only be used with the preprocessor) Specifies parameters to be
passed to the compiler invoked by the language processor.
9-4
Compuware Shared Services User/Reference Guide
LANGUAGE
Specifies the type of compiler for the COBOL language
preprocessor and postprocessor.
PRINT
Identifies the sections of the listing that will be printed.
PROCESSOR
Specifies the output parameters of the COBOL language processor.
PROGRAM-NAME Specifies an override name for members in the source listing file.
SYSTEM
Performs miscellaneous functions.
ZIIP
Controls use of an available zIIP processor.
The commands can be entered in two ways:
• Parameters on the PARM statement of the EXEC — (Overrides input from the
CWPPRMO file.)
• Input from the CWPPRMO file — (Comments are not valid and all command strings
must be within columns 1 through 71.)
Most commands have parameters and some parameters have values. Some commands
don’t have parameters but require only a value such as the PROGRAM-NAME command.
When including parameters and/or values with a command, the parameters and values
must be written immediately after the commands, enclosed in parentheses, and separated
by commas.
If conflicting command options are entered, the last option specified is used.
Usage Considerations
This section includes information that you need to know in order to be able to use the
COBOL language processor most efficiently.
Language Processor DD Statements
The following table lists the DD statements for the COBOL language processor.
Table 9-2.
Language Processor DD Statements.
DDname
Purpose
CWPWRK (0-6)
LP work files
CWPPRMO
LP parameter input dataset
CWPDDIO
Target source listing DDIO file
CWPPRTI
Compiler listing input to postprocessor
CWPPRTO
Compiler listing output from postprocessor
CWPLOAD
Option LOAD or OBJECT module input to postprocessor
CWPDECK
Option DECK module input to postprocessor
CWPERRM
LP Error Messages
CWPWBNV
Workbench navigation information
Note:
CWPLOAD and CWPDECK correspond to the SYSLIN and SYSPUNCH compiler
outputs. If you specify compiler option OBJECT, you should use CWPLOAD in
your postprocessor JCL. If you specify compiler option DECK, you should use
CWPDECK in your postprocessor JCL. Do not feed the SYSLIN output into
CWPDECK or the SYSPUNCH output into CWPLOAD. The updated OBJECT
COBOL Language Processor
9-5
contained in CWPLOAD and CWPDECK should be used in the program’s linkedit
step. The preprocessor does not use CWPLOAD and CWPDECK.
COBOL Samples and Program Names
The following is a list of members in the CSS installation library that contain sample JCL
for executing the COBOL language processor:
Table 9-3.
COBOL Sample JCL Members
CXCOBPRE
JCL for running the COBOL language preprocessor
CXCOB1
JCL to be added after the compile to process the compiler listing through the COBOL
language postprocessor
CXCOB2
JCL to postprocess COBOL compiler listings stored from a previous compile job
CXLPCOBB
Sample COBOL language processor options (batch programs)
CXLPCOBC
Sample COBOL language processor options (CICS programs)
The following program names are used for the COBOL language processor:
Table 9-4.
COBOL Program Names
CWPCMAIN
COBOL preprocessor program
CWPCDRVR
COBOL postprocessor program
Using the zIIP processor
If available on your system, performance of the language processor will be enhanced by
executing selected portions of the language processor on a zIIP processor. Execution on a
zIIP processor can result in less billable CPU time used and significantly fewer I/O
operations required to run the language processor.
Enabling the language processor for zIIP execution will buffer much of the I/O operations
to DASD into memory. This increases the amount of virtual storage used by the language
processor. Therefore, if your system has a high paging rate zIIP processing should be
disabled.
The choice of execution on a zIIP processor can be controlled with the language
processor ZIIP command. zIIP processing is enabled by default. The ZIIP command can be
used to disable zIIP execution and control memory allocation. In addition, an alternate
mechanism is available to disable zIIP processing during language processor execution by
specifying a //CXZPIGNR DD DUMMY statement in your language processor JCL stream.
Other Usage Considerations
Processing Multiple Compile Units in a Single Execution
Note:
This support is provided for the Enterprise COBOL series of compilers only.
The compiler listing output that results from batched compilation can be fed into the
postprocessor as any other COBOL listing. All of the normal requirements for using
the postprocessor apply: the specification of the required compiler options during
the actual compilation and the use of the standard COBOL postprocessor DD
statements. As such, no special requirements or changes are needed in order to
handle a batch compile listing.
When processing multiple source code units with the preprocessor, which invokes
the compiler during its processing, there are some special considerations. Normally,
9-6
Compuware Shared Services User/Reference Guide
the preprocessor determines the necessary compiler options required and sets them
prior to invoking the compiler. When processing multiple source code units, the
required compile options are not automatically determined and must be specified
either on the EXEC PARM field for the step invoking the COBOL preprocessor
program or in the LANGPARM command in the LP parameter input dataset. For a list
of the required compiler options, see “Required Options for Supported COBOL
Compilers” on page 9-12.
Also, you must specify $NO on the PROCESSOR command when processing multiple
source code units.
To summarize the requirements necessary to use batched source programs with the
COBOL preprocessor, specify the following in your CWPPRMO input options or in
your EXEC PARM field:
//CWPPRMO DD*
...your usual CWPPRMO input options...
PROC($NO)
LANGPARM(MAP,SOURCE,XREF(FULL),OFFSET)
/*
--OR-//PRE EXEC PGM=CWPCMAIN,
//PARM=’PROC($NO),MAP,SOURCE,XREF(FULL),OFFSET’
The following are restrictions for processing multiple compile units in a single step
(preprocessor or postprocessor):
– Exercise caution in specifying options in a CBL or PROCESS statement that
change the characteristics of the source code or the listing format. For example,
specifying PROCESS APOST on one source program and having the next source
program specify PROCESS QUOTE changes the characteristics of the way the
source is analyzed. As another example, specifying PROCESS LIST for one source
program and PROCESS NOLIST,OFFSET for the next source program changes the
format of the listing output. Other combinations exist besides these scenarios;
uses of options in this manner are not supported.
– For the preprocessor, CBL and PROCESS statements are permitted within the
source to control individual compiler options used for each separate compilation
of the source program. However, the options specified on any such CBL or
PROCESS statements must not nullify the specification of any required compiler
options.
– Output from the COBOL Language Processor in the form of an Enhanced or
CobolAID listing that was also batched together cannot be re-input into the
processor for reprocessing. Only single Enhanced listings are supported for
reprocessing.
Using Alternative Reserved Word Tables
The alternative reserved word feature of the COBOL language processor lets you
create synonyms for compiler reserved words, package them into a load module table
for later use, and instruct the compiler to allow COBOL programs to use these
synonyms. For example, you could set CALCULATE to be a synonym for COMPUTE.
The compiler will then recognize CALCULATE and treat it in every instance as if it
were a COMPUTE word.
The WORD option is not supported when $NO or $NG is specified. Since $NO
bypasses the dummy compile and flexible options processing, CSS is unable to detect
the presence of the WORD option.
To invoke the WORD option for the CSS COBOL preprocessor, use one of the
following methods:
The WORD command can only be used in the CSS preprocessor.
COBOL Language Processor
9-7
– Add WORD(tabl) to the list of parameters (PARM=) included on the EXEC
statement that executes CWPCMAIN.
– Include LANGP(WORD(tabl)) on a separate line in the dataset specified by the
CWPPRMO DD statement.
The tabl variable should be replaced with the name (up to 4 characters) of the
alternative reserved word table that has been created or NOOO if the IBM alternate
table is desired.
Note:
Effective with COBOL for z/OS and OS/390 3.1.0, the option WORD(NOOO)
is no longer valid.
Processing Listings with Errors
Unpredictable results may occur if you postprocess a compiler listing with serious
errors. If you use the preprocessor, you can avoid these potential problems. The
preprocessor, in conjunction with the CONDDDIO command, internally checks the
return code from the compiler and doesn’t write out a DDIO listing that contains
errors. Using the preprocessor prevents unnecessary processing of an error-filled
compiler listing by not calling the postprocessor. For more information on the
CONDDDIO command, refer to “CONDDDIO (CONDD)” on page 9-17.
Language Processing Output Considerations
If you route your SYSPRINT or CWPPRTO output to a PDS or sequential dataset,
please consider the following DCB restrictions.
– The preprocessor will force the SYSPRINT file to be LRECL=133 and RECFM=FBA.
– The postprocessor will force the CWPPRTO file to be LRECL=133 and
RECFM=FBA.
Prevent Truncated Messages
Compiler messages are always truncated to 110 characters within the listing. To
prevent this truncation and obtain the complete message, use the PROCESSOR($NO)
preprocessor option. Please refer to “PROCESSOR (PROC)” on page 9-25 for more
information on this option.
CAUTION:
If you use a postprocessed source listing with Xpediter/TSO, you may experience
some loss of functionality. Refer to the Xpediter/TSO COBOL User’s Guide for more
information.
Handling Suppressed Statements
The postprocessor will not support listings that contain suppressed statements. If the
listing contains suppressed statements, you must run the preprocessor. Suppressed
statements include statements that are not generated in the compiler listing due to a
COPY SUPPRESS for COBOL. If the postprocessor is run and it encounters any
suppressed statements, you will receive the following message and the postprocessor
will stop immediately.
PCDRVR051-S POSTPROCESSOR TERMINATED; PREPROCESSOR MUST BE USED DUE TO
COPY SUPPRESS
You can bypass this restriction by using the PROCESSOR($ASUP) parameter. This
parameter allows a listing with suppressed statements to be postprocessed. Specify
this parameter to postprocess listings with suppressed statements that have been
stored in machine-readable format. $ASUP should be used with caution since there
may be problems postprocessing a listing containing suppressed statements and
using this listing with your Compuware products.
9-8
Compuware Shared Services User/Reference Guide
Effect of Optimization Logic on Execution Pointer
While the language processor supports the use of optimized code, occasionally the
code execution pointer could follow a different path than expected due to the
optimization logic. The effect of optimization on the COUNTS command may show
unexpected results. This consideration only applies to Xpediter/TSO and
Xpediter/CICS users.
Insufficient Primary Space Allocation
During preprocessing, you may receive a B37 abend on the CWPPRTI DD statement.
This is due to insufficient space on the temporary volume used by MVS for the
dynamically allocated dataset. To correct this problem, first try resubmitting the job.
If the problem persists, you can include your own CWPPRTI DD statement in the
preprocessor JCL. Be sure to allocate enough primary space to contain your compile
listing. DCB= (RECFM=FBA, LRECL=133, BLKSIZE=16093)
Support for Compuware Workbench
The COBOL and PL/I language processors have been enhanced to provide additional
support to the Compuware Workbench. Workbench users can take advantage of this
support which allows them to display error messages resulting from a compilation in
an easy to use Problems View. Using the window controls, users can position directly to
the original source line within their program or in a copy member that is identified
by the error message. Users can also position directly to the line within the compiler
listing containing the error to view the surrounding statements.
The language processors automatically generate the information for the Workbench
during their execution. This additional information is written out to a new output
DD statement named CWPWBNV. In order to take advantage of this support, the job
output from the compilation should remain in the JES output queues so that the
Workbench can obtain the information from the CWPWBNV DD statement output.
The job output can be purged at any time as necessary, but the Workbench can
obtain the information only from jobs whose output is in the JES output queues.
If the CWPWBNV DD output is not desired or if your installation is not using the
Workbench, the feature can be disabled two ways:
– To stop an individual language processor job from producing the CWPWBNV DD
output, specify the PROCESSOR($NOWB) preprocessor option.
– To stop all language processor jobs from producing the CWPWBNV DD output,
use the Customer Modification Facility (CMF) parameter WBNV to alter the
default behavior. Set the parameter to N to stop producing CWPWBNV output.
For example, using the CXCFGINI sample member of the SLCXCNTL dataset as a
guide, the parameter would be coded as shown below:
*
KEYWORD
VALUE
WBNV
N
See Appendix A, “Using the Customer Modification Facility” for more information
about how to specify CMF parameters to change Shared Services behaviors.
Updating the OBJECT Deck
The Compuware language preprocessor and postprocessor, when correctly coded as
described in “Language Processor DD Statements” on page 9-4, will update the
OBJECT deck by placing an IDR record in the END card containing the program
name, the compile date/timestamp and a 1-byte code to indicate the release of the
compiler.
The END card, which is linked into the load module, has historically been used by all
products utilizing source support to find this data in one single location. The data is
used for DDIO source matching to the executable load module. The END card is used
COBOL Language Processor
9-9
by all supported languages. If this data is not present in the END card, the product
will need to search the IBM Signature area for this information.
Note:
In Enterprise COBOL for z/OS Version 5.1.x, the new Generalized Object File
Format (GOFF) is used to store the IDR record located in a single TXT record
(structured record data). This additional record contains:
•
•
•
•
•
1-byte language release (Compuware internal code)
x’00’
8-byte CSECT-Name
6-byte compile time (hhmmss)
The rest contains x'00'.
Additionally, the language processors will insert an IDENTIFY record into the
OBJECT deck. The IDENTIFY record is used to contain the program name and the
name of the DDIO file the program was written to in an encrypted format. This
information can be utilized by CSS to dynamically allocate the file when debugging a
program in Xpediter, merging source into a report for Abend-AID, or incorporating
source into a Strobe profile. The benefit is to provide the ability to locate matching
source when the DDIO file where the member resides has not been defined to the
product that requires source support. As long as the DDIO files are defined to the
products that use them, the IDENTIFY record is not needed.
To disable the updating of the OBJECT deck, pass the following parameters via the
CWPPRMO DD statement in the language processor step:
– PROC($NIDR) — Bypass the placement of the date and timestamp on the object
module
– PROC(IDENTNO) — Bypass the placement of an IDENTIFY record on the object
module
See page 9-26 and page 9-27 for more details on these override parameters.
Output Parameter Considerations
The OUTPUT parameter is the most commonly used COBOL language processor
parameter. The OUTPUT parameter controls which type of listing (compiler or enhanced)
is written to a DDIO file. This section discusses the DDIO and PRINT values for the
parameter.
OUTPUT - DDIO Value
Use the DDIO value in the COBOL(OUTPUT) parameter or PROCESSOR(OUTPUT)
parameter to specify which type of listing to write to the DDIO file. Only one type of
listing can be written to a source listing file. The language processor uses the lastsupplied parameter.
• If COBOL(OUTPUT(DDIO)) is specified, then the compiler listing is written to the
DDIO file.
• If PROC(OUTPUT(DDIO)) is specified, then the enhanced listing is written to the
DDIO file.
OUTPUT - PRINT Value
Use the PRINT value in the COBOL(OUTPUT) parameter or PROCESSOR(OUTPUT)
parameter to specify which type of listing to print. One or both of these listings can be
printed.
• If COBOL(OUTPUT(PRINT)) is specified, then the compiler listing is printed.
• If PROC(OUTPUT(PRINT)) is specified, then the enhanced listing is printed.
9-10
Compuware Shared Services User/Reference Guide
Performance Considerations
When using the COBOL command instead of the PROCESSOR command, the COBOL
language processor uses less CPU time and performs fewer input/output operations.
Using the DDIO command to suppress the writing of certain sections of the compiler
listing to a source listing file accomplishes the following:
• Performance is improved because the number of CPU cycles and input/output
operations is reduced.
• Less space is used in the source listing file.
Usage Restrictions
The following restrictions apply to the COBOL language processor.
Restricted Compiler Options
1. The COBOL language processor (all COBOL releases) does not support the compile
option *CONTROL (*CBL) when the NOLIST, NOMAP, or NOSOURCE parameters for
this option are specified.
2. When using the LANGUAGE option, for all COBOL releases, do not place it on the
CBL or PROCESS cards or the Compuware language processor cannot correctly parse
the listing.
3. If running the preprocessor, specify the LANGUAGE option in the preprocessor
parameter list or in the CWPPRMO dataset.
4. If running the postprocessor, specify the LANGUAGE option in the parameter list for
the compiler.
5. If using the NUM compile option, the number of program statements cannot exceed
999,999. This is due to a six-digit limitation on the program statement number.
6. The preprocessor requires that the IGYCOPT (default options) module for
COBOL/370 and VS COBOL II have ALOWCBL=YES specified. The preprocessor sets
the required compiler options by adding CBL statements to the beginning of the
source code.
7. If the CA-OPTIMIZER III (for all releases) installation default is NOCOPT, you must
specify PROCESSOR($NO) and LANGPARM(COPT) to execute the preprocessor
properly.
8. The COBOL compiler option FLAGSTD is not supported.
9. If the postprocessor is used, the listing must be compiled complete with carriage
control characters. The record format should contain either the A ANSI or M
machine specification; for example, RECFM=FBA.
Other Restrictions
1. ANS Version 2 and 3 and FACOM COBOL compilers are not supported.
2. Programs using segmentation or the LISTER feature are not supported.
3. Compiler-generated data names, such as PRINT-SWITCH, -0002, or RPT.RCD as used
by the report writer feature, do not appear in the compiler listing.
4. Use of the IBM Report Writer product (PO 5798-DYR) is supported. No other use of a
compiler input or output exit routine is supported if it modifies the compiler input
or output.
5. When using the preprocessor, the SYSIN and SYSLIB datasets must be fixed length 80byte records.
COBOL Language Processor
9-11
6. DBCS characters are not supported if the DBCS field contains mixed-case DBCS
EBCDIC characters.
7. User comment lines that look exactly like EXEC translator statements (CICS, SQL, or
DB2) are not supported. For example, the following user comments are not
distinguishable from a translated EXEC statement and may cause unpredictable
results:
*EXEC SQL ROLLBACK END-EXEC
*****EXEC SQL ROLLBACK END-EXEC
8. These types of comments may cause invalid results and possible source display issues
when viewing the source code with Xpediter/TSO.
9. ORACLE's SQL translator is not supported.
10. Any directive or compiler option that limits or suppresses portions of the compiler
listing is not supported. The COPY SUPPRESS directive is not supported when using
the postprocessor.
11. Optimized nested COBOL programs are supported; however due to the nature of
optimization, erratic stepping may be evident when using the Xpediter debuggers.
12. The enhanced FIND feature is not supported for nested COBOL programs. Processing
will continue; however, the enhanced FIND feature will be disabled.
13. Declarative statements in COBOL/370 and VS COBOL II programs are not supported
when the OPTIMIZE compiler option is specified.
14. Multiple data items on a single line are not supported when the MMAP or MDMAP
compiler options are used with CA-OPTIMIZER.
15. COBOL reserved words cannot be split across multiple lines (continued from one line
to the next).
16. No object-oriented structures, keywords, or compiler options are allowed with the
COBOL for MVS and VM compiler. In addition, the following reserved words are
prohibited except when used in conjunction with the WORD(NOOO) option. See
Using Alternative Reserved Word Tables on page 10-5 for more information.
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
CLASS-ID
END-INVOKE
INHERITS
INVOKE
LOCAL-STORAGE
METACLASS
METHOD
METHOD-ID
OBJECT
OVERRIDE
RECURSIVE
REPOSITORY
RETURNING
SELF
SUPER
17. The last compiler supported for Abend-AID/COBOL ('CAID-TEXT') is AD/Cycle
COBOL/370 1.1. Abend-AID/COBOL support has been functionally stabilized at
Abend-AID Release 8.0. For further information, contact Abend-AID Technical
Support.
18. Datanames that are split across two or more lines are not supported. A dataname
must be completely contained within the legal source area of a single line.
9-12
Compuware Shared Services User/Reference Guide
Required Options for Supported COBOL Compilers
The following is a list of the COBOL compiler options that must be used with the COBOL
language processor.
COBOL/370 1.1
•
•
•
•
•
•
•
ALOWCBL (See note 3 on page 9-13)
MAP
NONUMBER (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 9-13)
NOTEST (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 9-13)
OFFSET or LIST (See note 1 on page 9-13)
SOURCE
XREF or XREF(SHORT) or XREF(FULL)
COBOL for MVS and VM 1.2 and 1.2.2 (MLE Support);
COBOL for OS/390 2.1 and 2.1.1 (MLE Support)
COBOL for OS/390 2.2
Enterprise COBOL for z/OS and OS/390 R3.1, 3.2, 3.3, 4.1, 4.2, 4.3, 5.1
•
•
•
•
•
•
•
•
ALOWCBL (See note 3 on page 9-13)
MAP
NONUMBER (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 9-13)
NOTEST (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 9-13)
PGMNAME(COMPAT) (See note 6 on page 9-13)
OFFSET or LIST (See note 1 on page 9-13)
SOURCE
XREF or XREF(SHORT) or XREF(FULL)
VS/COBOL II (all releases)
•
•
•
•
•
•
•
•
ALOWCBL (See note 3 on page 9-13)
MAP
NOFDUMP (Xpediter/TSO only) (See note 5 on page 9-13)
NONUMBER (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 9-13)
NOTEST (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 9-13)
OFFSET or LIST (See note 1 on page 9-13)
SOURCE
XREF or XREF(SHORT) or XREF(FULL) (See note 2 on page 9-13)
OS/VS COBOL
•
•
•
•
•
•
•
•
•
•
•
•
•
CLIST or PMAP
DMAP
NOBATCH
NOCDECK
NOFDECK
NOFLOW (Xpediter/TSO only) (See note 5 on page 9-13)
NOLST
NOSTATE (Xpediter/TSO only) (See note 5 on page 9-13)
NOSYMDMP
NOTEST (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 9-13)
SOURCE
VERB
XREF or SXREF
CA-OPTIMIZER II (See note 4 on page 9-13)
•
•
•
•
•
LIST or OFFSET or MOFFSET or CLIST or PMAP or MLIST
MAP or DMAP or MMAP or MDMAP
NOCXREF
NOXMDMAP
XREF or MXREF
COBOL Language Processor
9-13
CA-OPTIMIZER III (See note 4)
•
•
•
•
•
•
•
CLIST or PMAP or MLIST (Xpediter/TSO requires PMAP)
DMAP or MDMAP
NOCSL (Xpediter/TSO only) (See note 5)
NOCSXREF
NOCXREF
NOXCOUNT (Xpediter/TSO only) (See note 5)
NOXMDMAP
Notes:
1. Compuware recommends that you use the LIST option, instead of OFFSET, when
using OPTIMIZE with COBOL/370 or VS/COBOL II. The parameter
PROCESSOR($AOFF), is available for postprocessing the listing with the OFFSET
compiler option. However, using this parameter may cause unpredictable results
when using Xpediter/TSO or Xpediter/CICS to debug optimized code. For more
information, see “$AOFF Parameter” on page 9-25.
2. When compiling with VS/COBOL II 1.2, use the XREF option.
3. This option is a COBOL installation option and cannot be overridden on the EXEC
parameter. Please contact your systems programmer for more information.
4. When using CA-OPTIMIZER, all the options required of the COBOL compiler being
used are also required by CA-OPTIMIZER.
5. These options are not forced on by the language preprocessor during the preliminary
compile phase. See the PROCESSOR($NO) parameter, “PROCESSOR (PROC)” on page
9-25, for more information.
6. This option required only for releases earlier than CSS 7.8.
Enhanced Listing
The enhanced listing is a convenient source of quick reference information and program
documentation. It significantly reduces the amount of documentation a programmer
must examine during program development and maintenance. The enhanced listing is
easier to work with because you do not have to make any hexadecimal calculations.
The enhanced listing merges DMAP information, BL, BLW, BLL, and Displacement into
the Data Division. The enhanced listing displays subordinate data items with decimal
lengths and relative positions (From - Thru). Due to space constraints, an asterisk (*)
displays in the decimal length field if the Thru field length exceeds seven digits.
OFFSET/CLIST information is also merged into the Procedure Division. CLIST
information displays up to two verb addresses. The COBOL compiler options currently in
effect are sorted alphabetically and appear at the beginning of the enhanced listing. The
memory map, printed two-up, includes the displacement within the TGT as well as the
displacement within the program.
The PROCESSOR(OUTPUT(PRINT)) command prints the enhanced listing (this is the
default). You can also write the enhanced listing to a source listing file by specifying
PROCESSOR(OUTPUT(DDIO)). See Figure 9-1, Figure 9-2, and Figure 9-3, for examples of
enhanced listings.
9-14
Compuware Shared Services User/Reference Guide
Figure 9-1. Enhanced Listing - Merged DMAP/Data Division Map
BASE DISPL STMT
*
BLW=1
BLW=1
BLW=1
BLW=1
000
000
003
006
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
SEQ.
COBOL PROCESSOR SUBPGM1
12.40.17 01/17/2002 PAGE
3
IDENT.
----+-*A-1-B--+----2----+----3----+----4----+----5----+----6----+----7-]--+----8
000001 IDENTIFICATION DIVISION.
000002 PROGRAM-ID. ’SUBPGM1’.
000003*INSTALLATION. COMPUWARE.
000004*REMARKS.
000005*
THIS SUBROUTINE CALCS
000006*
000007 ENVIRONMENT DIVISION.
000008 DATA DIVISION.
000009 WORKING-STORAGE SECTION.
000010 01 CONSTANTS.
000011
03 MIN-FCTR
000012
03 MAX-FCTR
000013
03 ZERO-FCTR
**ERROR**
IKF2190I-W
BLW=1
BLW=1
BLW=1
BLW=1
BLW=1
BLW=1
00014
00015
00016
00017
00018
00019
010
010
014
020
020
027
**ERROR**
VALUE +0.02.
VALUE +0.15.
VALUE 0.00.
3
6
9
9
3
3
3
00140000 PRINT-VARIABLES
00150000
1
4
00160000
5
11
00170000 WORK-VARIABLES
00180000
1
7
00190000
8
10
11
4
7
17
7
3
1
4
7
PICTURE CLAUSE IS SIGNED, VALUE CLAUSE UNSIGNED. ASSUMED POSITIVE.
000014 01
000015
000016
000017 01
000018
000019
IKF1043I-W
00010000
00020000
00030000
00040000
00050000
00060000
00070000
00080000
00090000
00100000 CONSTANTS
00110000
00120000
00130000
THE SAVINGS PLAN AMOUNT.
PIC S9V99
PIC S9V99
PIC S9V99
FROM THRU LENGTH
PRINT-VARIABLES.
03 PRINT-FCTR
03 MIN-MAX-PRT
WORK-VARIABLES.
03 WS-GROSS-PAY
03 WS-SAVINGS-FCTR
PIC 9.99.
PIC X(7)
VALUE SPACES.
PIC 9(5)V99
PIC 9V99
VALUE 0
VALUE 0.
END OF SENTENCE SHOULD PRECEDE 03 . ASSUMED PRESENT.
Figure 9-2. Enhanced Listing - File Definition and Record Layout for a VSAM File
BASE DISPL STMT
*
VSAM
BLF=0
BLW=0
BLW=0
BLW=0
BLW=0
BLW=0
BLW=0
BLW=0
BLW=0
000023
000024
FILE 000025
000026
000027
000 000028
000029
000 000030
000 000031
008 000032
00A 000033
02A 000034
031 000035
037 000036
039 000037
SEQ.
COBOL PROCESSOR MAINPGM
17:25:59 01/17/2002 PAGE
4
IDENT.
----+-*A-1-B--+----2----+----3----+----4----+----5----+----6----+----7-ž--+----8
DATA DIVISION.
FILE SECTION.
FD TIMECARD
RECORD CONTAINS 80 CHARACTERS
DATA RECORD IS T-RECORD.
01 T-RECORD
PIC X(80).
WORKING-STORAGE SECTION.
01 TIME-RECORD.
03 EMPLOYEE-NO
PIC 9(8).
03 MONTH-CODE
PIC XX.
03 EMPLOYEE-NAME
PIC X(32).
03 GROSS-PAY
PIC 9(5)V99.
03 TOTAL-TAXES
PIC 9(4)V99.
03 SAVINGS-FACTOR
PIC V99.
03 FILLER
PIC X(23).
FROM
THRU LENGTH
00230000
00240000
00250000 ** FIXED LENGTH RECORDS **
00260000
00270008
00280000 T-RECORD
80
00290000
00300000 TIME-RECORD
80
00310000
1
8
8
00320000
9
10
2
00330000
11
42
32
00340000
43
49
7
00350000
50
55
6
00360020
56
57
2
00370000
58
80
23
Figure 9-3. Enhanced Listing - Merged CLIST/OFFSET Information
STMT
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
SEQ
COBOL PROCESSOR SUBPGM1
12.40.17 01/17/2002 PAGE
4 VERB-1
----+-*A-1-B--+----2----+----3----+----4----+----5----+----6----+----7-]--+----8
PROCEDURE DIVISION USING GROSS-PAY, SAVINGS-FCTR,
SAVINGS-AMT, EMPLOYEE-NO.
CALC-SAVINGS.
MOVE GROSS-PAY
TO WS-GROSS-PAY.
MOVE SAVINGS-FCTR TO WS-SAVINGS-FCTR.
MOVE ZEROS
TO WS-SAVINGS-AMT.
MOVE SPACES
TO MIN-MAX-PRT.
MULTIPLY WS-SAVINGS-FCTR BY WS-GROSS-PAY GIVING
WS-SAVINGS-AMT.
MOVE WS-SAVINGS-AMT TO SAVINGS-AMT.
00270000
00280000
00290000
00300000
00310000
00320000
00330000
00340000
00350000
00360000
ADDR-1 VERB-2
ENTRY
000398
MOVE
MOVE
MOVE
MOVE
MULTIPLY
0003C0
0003CE
0003E0
0003E6
0003F0
MOVE
000412
ADDR-2
Reprocess Enhanced Listings Support
Beginning with CSS 7.8, an enhanced listing that was previously created by the COBOL
Language Processor can now be reprocessed to create a DDIO source listing file member.
Any enhanced listing created by prior releases of CSS is supported. Reprocessing
enhanced listings can only be performed using the postprocessor. Use the same JCL to
perform this function as you would to postprocess a COBOL listing, pointing the
CWPPRTI DD statement to the dataset containing the enhanced listing.
COBOL Language Processor
9-15
Listing Features
The VS COBOL II enhanced listing shown in Figure 9-2 on page 9-14 displays the BLF and
BLW cell and displacement that are printed on the left side of the corresponding source
statement. The field name for each 77- and 01-level data item is printed on the right side
of the corresponding source statement along with the total length of the item in decimal
format. For data items subordinate to the 01-level, the enhanced listing displays the
decimal “From Thru” position within the 01-level item and the total length of the item.
These are printed to the right of the source statement.
If the data item has an OCCURS or REDEFINES clause, or is (or contains) the object of the
DEPENDING ON option of an OCCURS clause, the appropriate indicator appears on the
far right side of the source statement:
R
Redefines
O
Occurs
D/O
Depending on
F
File
E
External
G
Global
Record lengths, including the beginning and ending positions of all data elements within
a record, are shown in decimal format (see Figure 9-2 on page 9-14). The location and
length of all items in working storage are also shown in decimal format, eliminating the
need to perform hexadecimal-to-decimal conversions. This format makes it very easy to
correct program errors after compilation.
Procedure Division: The enhanced listing displays all verbs and displacements on the
right side of the source statement as illustrated in Figure 9-3.
COBOL LP Command Descriptions and Syntax
This section describes the COBOL language processor commands and their parameters
and values.
CICSTEST (CIC)
The CICSTEST command instructs the COBOL language processor to print either a
warning or severe message regarding the status of the COBOL compile options for
running a program in CICS.
Note:
The CICSTEST command does not flag illegal use of CICS verbs. Specifying the
COBOL compiler option WORD (CICS) will flag illegal verb usage, but may cause
compile failure with a RC=12. If this occurs, the CSS language processor will not
be invoked and CICSTEST command will fail to execute.
The following diagram illustrates the syntax for the CICSTEST command.
9-16
Compuware Shared Services User/Reference Guide
NOOPTIONS (NOO):
(Default) Does not print either a warning or severe error message, even if the
program was compiled with invalid options for CICS.
OPTIONS (O):
Specifies the options for controlling the CICS test error messages. Select from the
following parameter values:
SEVERE (S):
Prints a warning and a severe message if the program was compiled with invalid
CICS options.
WARNING (W):
Prints a warning message if the program was compiled with invalid CICS options.
NO (N):
Does not print a message.
COBOL (COB)
The COBOL command controls the compiler listing destination. The parameter for the
COBOL command is OUTPUT.
The following diagram illustrates the syntax for the COBOL command OUTPUT
parameter.
OUTPUT (OU):
Specifies whether the compiler listing will be printed or written to a DDIO file.
COBOL(OUTPUT(DDIO)) and PROCESSOR(OUTPUT(DDIO)) are mutually exclusive.
The language processor uses the last-supplied parameter. Select from the following
values:
NOPRINT (NOPR):
(Default) Does not print the compiler listing.
PRINT (PR):
Prints the compiler listing.
NODDIO (NODD):
(Default) Does not write the compiler listing to a DDIO file.
DDIO (DD):
Writes the compiler listing to a DDIO file.
BOTH (BO):
Has the same effect as specifying COBOL(OUTPUT(PRINT,DDIO)).
NONE (NON):
Does not print the compiler listing and does not write it to a DDIO file.
COBOL Language Processor
9-17
CONDDDIO (CONDD)
The CONDDDIO command specifies that the source listing will be written to the source
listing file unless the compiler return code exceeds x. The default is 4. Permissible values
are 0-8.
Note: Unpredictable results may occur when attempting to use a listing created with the
CONDDDIO parameter set to 8 and the compiler return code set to 8. The listing
will be stored in the DDIO file with these settings; however, unpredictable results
may occur.
The CONDDDIO command can only be used with the preprocessor.
The following diagram illustrates the syntax for the CONDDDIO command.
CONDERRL (CONDE)
The CONDERRL command, valid only for OS/VS COBOL and CA-OPTIMIZER, indicates
that the hard copy listing will contain only error messages and lines in error if the
compiler condition code is greater than x. If the compiler condition code does not
exceed x, then all requested portions of the listing will be printed. If x is omitted, the
value defaults to 4 for OS/VS COBOL and 6 for CA-OPTIMIZER.
The CONDERRL command can be used only with the preprocessor.
The following diagram illustrates the syntax for the CONDERRL command for OS/VS
COBOL.
The following diagram illustrates the syntax for the CONDERRL command for CAOPTIMIZER.
CONDSTEP (CONDS)
The CONDSTEP command controls the condition code set by the postprocessor when it
is invoked by the preprocessor. The CONDSTEP parameter is ignored when the
postprocessor is invoked as a separate job step after the compile; the postprocessor return
code is always used.
The CONDSTEP command can be used only with the preprocessor.
9-18
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the CONDSTEP command.
HIGHEST (HI):
(Default) The condition code will be set to the value of the COBOL language
processor return code or the compiler return code, whichever is higher.
COMPILER (CO):
The condition code is always set to the compiler return code. This option is typically
used to allow a subsequent linkedit step to execute when the compile executes
normally but the postprocessor is unable to execute successfully.
DDIO (DD)
The DDIO command identifies the sections of the COBOL compiler listing that are
written to the source listing file. The parameter for the DDIO command is OUTPUT.
The following diagram illustrates the syntax for the DDIO command OUTPUT parameter.
OUTPUT (OU):
Specifies the options for a source listing that is written to the source listing file.
NOFIND (NOFI):
(Default) Does not generate records for enhanced FIND.
FIND (FI):
Generates records needed for the enhanced FIND feature.
Note:
Xpediter/TSO (only) requires the FIND command in order to use the
enhanced FIND feature.
NOCOMPRESS (NOCO):
(Default) Does not compress the compiler listing. The size of the LP source
members is not reduced.
COMPRESS (CO):
Enables compression. Depending on the size of your program and the options
you set, the size of LP source members may be reduced.
Note:
XREF (XR):
Performance is affected when compression is used. More CPU and
memory is required for compression/decompression of the compiler
listing. This is especially important for online usage.
COBOL Language Processor
9-19
(Default) Writes the XREF sections of the listing.
NOXREF (NOXR):
Does not write the XREF sections of the listing.
PMAP (PM):
(Default) Writes the PMAP section of the listing.
NOPMAP (NOPM):
Does not write the PMAP section of the listing.
DMAP (DM):
(Default) Writes the DMAP section of the listing.
NODMAP (NODM):
Does not write the DMAP section of the listing.
LIST (LI):
(Default) Writes the Assembler section of the listing.
NOLIST (NOLI):
Does not write the Assembler section of the listing.
CLIST (CL):
(Default) Writes the CLIST section of the listing.
NOCLIST (NOCL):
Does not write the CLIST section of the listing.
OFFSET (OF):
(Default) Writes the OFFSET section of the listing.
NOOFFSET (NOOF):
Does not write the OFFSET section of the listing.
File-Overrides Commands
The File-overrides commands are used to override the default file definitions. The
following overrides are available:
•
•
•
•
•
•
WRK0 - WRK4
PRTI
PRTO
ERRM
LOAD
DECK
The File-overrides commands can be used only with the postprocessor.
Note: The LOAD or DECK ddname is used by the COBOL language processor depending
on the options selected for the compile step. If both LOAD and DECK are
specified, both will be processed by the COBOL language processor. If you are
using a temporary dataset for your object, and only one option (LOAD or DECK)
is specified, eliminate the ddname that corresponds to the option that is NOT
specified. For example, if you specify LOAD, then eliminate the DECK ddname.
9-20
Compuware Shared Services User/Reference Guide
WRK0-WRK4 File-Overrides Commands
Specifies the work files.
Note (1): In this diagram, WRKn represents WRK0 - WRK4.
If you omit DD(ddname), the assumed ddname will be CWPWRKn.
PRTI File-Overrides Command
Specifies the compiler listing input.
If you omit DD(ddname), the assumed ddname will be CWPPRTI.
PRTO File-Overrides Command
Specifies COBOL language processor output.
If you omit DD(ddname), the assumed ddname will be CWPPRTO.
ERRM File-Overrides Command
Prints the COBOL language processor error messages.
If you omit DD(ddname), the assumed ddname will be CWPERRM.
LOAD File-Overrides Command
Specifies the object library (indicated by the LOAD option of the compiler).
If you omit DD(ddname), the assumed ddname will be CWPLOAD.
COBOL Language Processor
9-21
DECK File-Overrides Command
Specifies the object library (indicated by the DECK option of the compiler).
If you omit DD(ddname), the assumed ddname will be CWPDECK.
Optional Override Values
The keywords below cause the language processor to override its default values:
DDNAME (DD):
Specify a ddname instead of accepting the default ddname.
BLKSIZE (BLK):
Specify a decimal blocksize instead of accepting the default blocksize.
BUFFERS (BUF):
Specify a decimal number as the number of buffers instead of accepting the default
number of buffers, which is 2. Only the first two buffers are used for buffering
input/output. Extra buffers are used as in-core work space for the file. Therefore,
records placed in the work space will never be written to the work files. If the storage
is available, use the BUFFERS parameter with the BLKSIZE parameter to increase the
language processor speed.
If the language processor is running in the MVS/XA or MVS/ESA environments, and
is above the 16-MB line, a value of zero specifies that as much storage as is available
will be used. Using zero places a greater amount of overhead on startup and should
not be used for small programs.
LRECL (LR):
Specify a decimal number as the logical record length instead of accepting the default
logical record size.
RECFM (RE):
Specify a record format instead of accepting the default record format. Valid formats
include:
F
Fixed
FA
FixedASA
FM
FixedMachine
V
Variable
VA
VariableASA
VM
VariableMachine
INCLUDE (IN)
Use the INCLUDE command to include a library or sequential file member that contains
another set of language processor options to be processed.
An included set of options can, in turn, include another set of options. If a recursive
chain of INCLUDEs is encountered, the language processor will stop with an error
message.
Duplicate or conflicting parameters are resolved as follows:
9-22
Compuware Shared Services User/Reference Guide
• Options are processed left to right.
• When an INCLUDE is encountered, the included member is processed immediately.
Options following the INCLUDE will be processed after the included member is
processed.
• The last option processed takes precedence.
• The sources of options are, in order of descending priority:
–
–
–
–
–
forced options in the COBOL language compiler installation default module
CBL options in the source file (or equivalent for other compilers)
PARM options on the EXEC card
options specified in the CWPPRMO dataset
default options in the COBOL language compiler installation default module.
The INCLUDE command can be used only with the preprocessor.
The following diagram illustrates the syntax for the INCLUDE command.
ddname:
Specifies the DDNAME of the JCL statement that specifies the dataset name. If a
member is not specified, then the ddname must point to a sequential file or library
member.
member:
Specifies the library member name. If the ddname is not specified, then the default
CWPPRMO will be used and a comma must precede the member name.
LANGPARM (LANGP)
The LANGPARM command specifies parameters to be passed to the compiler invoked by
the language processor. If the language processor is run as a separate job step, this option
is ignored.
If you use the CWPPRMO dataset to specify your compiler options, use the LANGPARM
command so that the preprocessor can distinguish between compiler options and
language processor options with the same name. The LANGPARM command allows the
preprocessor to identify compiler options that conflict with language processor names,
thus preventing unpredictable results. If you use the PARM statement to specify your
compiler options, you can also use the LANGPARM command.
The LANGPARM command can be used only with the preprocessor.
The following diagram illustrates the syntax for the LANGPARM command.
parm:
Specifies a parameter to be passed.
COBOL Language Processor
9-23
LANGUAGE (LANG)
The LANGUAGE command specifies the type of compiler to be executed for the COBOL
language preprocessor.
Note:
The preprocessor accepts any of the COBOL language parameters as being
equivalent because the compiler program name (IGYCRCTL) is the same for all
compilers. The compiler that is executed depends on the library specified in the
STEPLIB, JOBLIB, and/or LINKLIST concatenation.
The LANGUAGE command is no longer required for the postprocessor.
The following diagram illustrates the syntax for the LANGUAGE command.
The parameters you may select from are:
VSCOBOLII:
(Default) The language processor assumes a VS COBOL II listing if another compiler
name cannot be determined.
VSCOBOL:
The language processor assumes an OS/VS COBOL I listing if the compiler cannot be
determined.
VSCOBOLIIREL3:
The language processor assumes a VS COBOL II Release 3 listing if the compiler
cannot be determined.
VSCOBOLIIREL4:
The language processor assumes a VS COBOL II Release 4 listing if the compiler
cannot be determined.
COBOL/MVS:
The language processor assumes a COBOL for MVS and VM listing if the compiler
cannot be determined.
COBOL/370:
The language processor assumes a COBOL/370 listing if the compiler cannot be
determined.
COBOL/390:
The language processor assumes a COBOL for OS/390 listing if the compiler cannot
be determined.
COBOLZ/OS
The language processor assumes an Enterprise COBOL for Z/OS listing if the compiler
cannot be determined.
9-24
Compuware Shared Services User/Reference Guide
CA-OPTIMIZER:
The language processor will use the CA-OPTIMIZER tables for the version of COBOL
that processed the listing. CA-OPTIMIZER can be specified with VSCOBOL or
VSCOBOLII. If CA-OPTIMIZER is specified with VSCOBOL, then CA-OPTIMIZER III is
invoked. If CA-OPTIMIZER is specified with VSCOBOLII, then CA-OPTIMIZER II is
invoked.
PRINT (PR)
The PRINT command identifies the sections of the listing that will be printed. The
parameter for the PRINT command is OUTPUT.
The following diagram illustrates the syntax for the PRINT command OUTPUT parameter.
OUTPUT (OU):
Specifies the options for the listing that will be printed.
LIST (LI):
(Default) Prints the Pseudo-Assembler section of the listing.
NOLIST (NOLI):
Does not print the Pseudo-Assembler section of the listing.
CLIST (CL):
(Default) Writes the CLIST section of the listing.
NOCLIST (NOCL):
Does not write the CLIST section of the listing.
OFFSET (OF):
(Default) Prints the Offset section of the listing.
NOOFFSET (NOOF):
Does not print the Offset section of the listing.
XREF (XR):
(Default) Prints the XREF sections of the listing.
NOXREF (NOXR):
Does not print the XREF sections of the listing.
DMAP (DM):
(Default) Prints the DMAP section of the listing for VS COBOL.
NODMAP (NODM):
Does not print the DMAP section of the listing for VS COBOL.
PMAP (PM):
(Default) Writes the PMAP section of the listing.
COBOL Language Processor
9-25
NOPMAP (NOPM):
Does not write the PMAP section of the listing.
MAP (MA):
(Default) Prints the MAP section of the listing for VS COBOL II.
NOMAP (NOMA):
Does not print the MAP section of the listing for VS COBOL II.
SOURCE (SO):
(Default) Prints the Source section of the listing.
NOSOURCE (NOSO):
Does not print the Source section of the listing.
PROCESSOR (PROC)
The PROCESSOR command specifies the output parameters of the COBOL language
processor. The PROCESSOR command parameters are:
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
$AOFF
$ASUP
$BATCH
$NG
$NIDR
$NO
$NOWB
BYPASS
ERRORS
IDENTYES or IDENTNO
OFFSET
OUTPUT
POSITION and OFFSET (mutually exclusive)
SCALELINE
STATISTICS
TEXT
WARNINGS
$AOFF Parameter
Allows postprocessing of a listing with the OFFSET compiler option when using
OPTIMIZE. If the $AOFF parameter is specified, you will receive a warning message
indicating that the OFFSET option was used instead of LIST. $AOFF may cause
unexpected results when using Xpediter/TSO or Xpediter/CICS to debug optimized code.
The following diagram illustrates the syntax for the $AOFF parameter.
$ASUP Parameter
If $ASUP is specified, the postprocessor will allow suppressed statements to be present in
the listing. For more information on $ASUP, refer to “Handling Suppressed Statements”
on page 9-7.
9-26
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the $ASUP parameter.
$NG Parameter
Specifies that the preprocessor’s support of COPY SUPPRESS will be bypassed. The
following diagram illustrates the syntax for the $NG parameter.
Note:
The $NG option should not be specified if the WORD option is used for
alternative reserved words.
$NIDR Parameter
Specifies that placement of the date and time stamp on the object module will be
bypassed. The following diagram illustrates the syntax for the $NIDR parameter.
$NO Parameter
Specifies that the preliminary compilation performed by the preprocessor will be
bypassed. The preliminary compilation is normally used to determine the compiler
options currently in effect. However, if you know that your options satisfy the
requirements of the language processor, you can bypass the preliminary compilation to
reduce the preprocessor’s execution time.
The following diagram illustrates the syntax for the $NO parameter.
Notes:
1. The $NO option should not be specified if the WORD option is used for alternative
reserved words.
2. The $NO option is required when processing multiple source compile units in a
single step.
$NOWB Parameter
By default, the language processor will generate information to assist the Compuware
Workbench in navigation through the compiler listing. This results in the presence of a
CWPWBNV DD statement in the job output after the language processor has completed
execution. If the CWPWBNV DD output is not desired or if your installation is not using
the Workbench, this additional output can be suppressed by specifying the $NOWB
parameter.
COBOL Language Processor
9-27
BYPASS (BY) Parameter
Specifies whether to run the preprocessor and compiler without running the
postprocessor. The following diagram illustrates the syntax for the BYPASS parameter.
NOBYPASS (NOBY):
(Default) Runs the postprocessor.
BYPASS (BY):
Does not run the postprocessor.
ERRORS (ER) Parameter
Specifies how the language processor error messages will be printed. The following
diagram illustrates the syntax for the ERRORS parameter.
UPPER-CASE (UP):
(Default) Errors will print in uppercase letters.
MIXED-CASE (MI):
Errors will print in uppercase and lowercase letters.
IDENTYES or IDENTNO
By default, Compuware language processors attempt to add information to the object deck
produced by a compiler (DD SYSLIN). This information assists Compuware products in
locating the correct member in a Compuware Listing File. Beginning with Compuware
Shared Services Release 8.3, the Language Processors will by default add an IDENTIFY
record to the object deck.
This IDENTIFY record is processed by the Linkage Editor or Binder when the object deck
is transformed into a load module or program object. The data added to the load module
or program object is non-executable, not loaded into memory when the module
executes. It identifies the Compuware Listing File where the language processor stored its
output for that program.
If you want to suppress this IDENTIFY card for a particular run of a Language Processor,
you may supply the input PROCESSOR(IDENTNO) in the CWPPRMO input.
The default value is PROCESSOR(IDENTYES). You may alter this default by using the
Customer Modification Facility (see Appendix A, “Using the Customer Modification
Facility”). If you alter the default to IDENTNO, you may then wish to supply the input
PROCESSOR(IDENTYES) in CWPPRMO, for an individual execution of the Language
Processor.
9-28
Compuware Shared Services User/Reference Guide
OFFSET (OFF) Parameter
Specifies whether offset data will be used in the From-Through data of the enhanced
listing Data Division section. The POSITION and OFFSET parameters are mutually
exclusive.
The following diagram illustrates the syntax for the OFFSET parameter.
OFFSET (OFF):
(Default) Offset data will be used.
NOOFFSET (NOOFF):
Positional data will be used.
OUTPUT (OU) Parameter
Defines options for printing the enhanced listing or writing it to a source listing file. The
COBOL(OUTPUT(DDIO)) and PROCESSOR(OUTPUT(DDIO)) are mutually exclusive. The
language processor uses the last-supplied parameter.
The following diagram illustrates the syntax for the OUTPUT parameter.
PRINT (PR):
(Default) Prints the enhanced listing.
NOPRINT (NOPR):
Does not print the enhanced listing.
NODDIO (NODD):
(Default) Does not write the enhanced listing to a source listing file.
DDIO (DD):
Writes the enhanced listing to a source listing file.
BOTH (BO):
Has the same effect as specifying PROCESSOR(OUTPUT(PRINT,DDIO)).
NONE (NON):
Does not print the enhanced listing and does not write it to a source listing file.
COBOL Language Processor
9-29
POSITION (POS) Parameter
Specifies whether positional data will be used in the From-Through data of the enhanced
listing Data Division section. The POSITION and OFFSET parameters are mutually
exclusive.
The following diagram illustrates the syntax for the POSITION parameter.
POSITION (POS):
(Default) Positional data will be used.
NOPOSITION (NOPOS):
Offset data will be used.
SCALELINE (SCA) Parameter
Specifies whether a scale line will be added to the enhanced listing. The following
diagram illustrates the syntax for the SCALELINE parameter.
SCALELINE (SCA):
(Default) A scale line will be added.
NOSCALELINE (NOSCA):
A scale line will not be added.
STATISTICS (ST) Parameter
Specifies whether to include statistics in the enhanced listing that compare the number
of lines and pages the COBOL language processor printed to the number of lines and
pages of the compiler listing. These statistics provide an effective means of showing the
savings achieved by reformatting the compiler listing into the enhanced listing.
The following diagram illustrates the syntax for the STATISTICS parameter.
STATISTICS (ST):
(Default) Prints all the statistics.
9-30
Compuware Shared Services User/Reference Guide
NOSTATISTICS (NOST):
Suppresses the printing of certain statistics.
Note: To print all of the statistics, you must also use the TEXT parameter. If all statistics
are requested without using the TEXT parameter, the net effect will be that of
specifying NOSTATISTICS; that is, certain statistics will be omitted.
TEXT (TE) Parameter
Specifies when text is generated by the language processor. The TEXT parameter causes
the COBOL language processor to enhance the object module by appending nonexecutable text code to it. The text code generated by the TEXT parameter is used only by
Abend-AID to provide Abend-AID/COBOL support.
The following diagram illustrates the syntax for the TEXT parameter.
ALL (AL):
(Default) Generates text for the COBOL program. If you use the postprocessor when
TEXT=ALL, you must specify either CWPLOAD or CWPDECK as input to the
postprocessor step.
Note:
The TEXT (ALL) parameter is required when using COBOL-AID with AbendAID releases 9.3.2 and earlier. Abend-AID release 9.4 and higher do not
support this parameter.
NONE (NON):
Does not generate any text.
Note:
For COBOL 390 and later releases of COBOL the default is TEXT(NONE).
See the note in “Usage Restrictions” on page 9-10 for more information on using the
COBOL for MVS and VM compiler.
WARNINGS (WA) Parameter
Specifies where warning messages are placed in the enhanced listing. The following
diagram illustrates the syntax for the WARNINGS parameter.
BOTH (BO):
(Default) Prints and embeds warning messages.
NONE (NON):
Does not print or embed warning messages.
COBOL Language Processor
9-31
FRONT (FR):
Prints warnings in the front of the listing.
NOFRONT (NOFR):
Does not print warnings.
EMBED (EM):
Embeds warnings after the appropriate statement.
NOEMBED (NOEM):
Does not embed warnings.
PROGRAM-NAME (PRO)
The PROGRAM-NAME command specifies an override name for members in the source
listing file.
The following diagram illustrates the syntax for the PROGRAM-NAME command.
name:
Specifies an alternative name for a source listing written to the source listing file.
SYSTEM (SYS)
The SYSTEM command performs miscellaneous functions. The following diagram
illustrates the syntax for the SYSTEM command.
ESORT:
Specifies that an estimated sort count will be used instead of an actual sort count.
The language processor keeps track of how many records should be fed into the sort
phase. If a discrepancy exists, a sort error will occur and the language processor stops.
This option allows the language processor to continue if a discrepancy exists.
CAUTION: ESORT should only be used under the direction of Compuware
Customer Support. Although the language processor will complete, the DDIO
member may be unusable.
TRACE (TR):
Specifies that the internal trace will be printed to CWPERRM.
TIME (TI):
Specifies that the internal time will be printed with the trace.
PTF:
Specifies that the PTF numbers currently installed on the CSS library will be printed.
PTF is used by Compuware Technical Support during problem diagnosis.
9-32
Compuware Shared Services User/Reference Guide
ZAP:
Specifies that the PTF numbers currently installed on the CSS library will be printed.
ZAP is used by Compuware Technical Support during problem diagnosis.
Note:
The ZAP parameter is allowed for compatibility with pre-SMP/E releases.
ZIIP (ZIIP)
The ZIIP command controls the use of an available zIIP processor. The command
provides a mechanism to disable zIIP use by the language processor, and to control
memory usage and dump options when zIIP processing is enabled. The following
diagram illustrates the syntax of the ZIIP command:
YES:
Indicates that zIIP processing is to be enabled. This is the default.
NO:
Indicates that zIIP processing is disabled and all language processing will execute on
a general purpose processor. Alternately, zIIP processing can also be disabled by
including a //CXZPIGNR DD DUMMY statement in the language processor JCL stream.
MEM64:
Indicates that 64-bit memory will be used during language processing. This is the
default.
MEM31:
Indicates that normal 31-bit memory will be used during language processing.
DUMP:
Indicates that a machine readable dump will be taken if the language processor
abends while processing during zIIP execution. This is the default.
NODUMP:
Indicates that a machine readable dump will be suppressed if the language processor
abends while processing during zIIP execution.
10-1
Chapter 10.
PL/I Language Processor
Chap 10
IMPORTANT
This chapter, when referring to the PL/I language processor, also refers to the
VisualAge PL/I and Enterprise PL/I language processors.
A language processor writes a source listing to a VSAM or sequential DDIO file. For PL/I,
the source listing includes a compiler listing and other information about a program.
This chapter describes the outputs and commands associated with the PL/I language
processor.
Operation
The PL/I language processor reads the compiler listing produced by the PL/I compiler and
writes the compiler listing to the DDIO file and SYSPRINT. The source listing can then be
used to provide source support during a debugging or diagnostic session using any of the
following products:
•
•
•
•
•
•
Abend-AID
Abend-AID for CICS
Xpediter/CICS
Xpediter/TSO
Xpediter/Eclipse
Strobe
The PL/I language processor can be run as either a preprocessor or postprocessor.
Compuware recommends that you use the preprocessor. The postprocessor should only
be used in situations where compiled source listings have been stored in machinereadable format, and where the program did not use the %NOPRINT statement.
Note:
CSS is downward compatible with listings created by a previous release of CSS.
The viewing facility or the product being used to view the listing (such as AbendAID for CICS or XPED) must be at the same level or higher than that which was
used to create the listing.
Preprocessor
Some information about a program module is not always available from the compiler
listing. The preprocessor, in addition to gathering information from the compiler listing,
gathers information from SYSIN and SYSLIB. The preprocessor provides additional
functionality for Xpediter/CICS and Xpediter/TSO, and is required for PL/I programs that
use the %NOPRINT statement.
Preprocessor Steps
1. Determines the proper compiler options required to process the listing file.
2. Automatically invokes the compiler or assembler to compile or assemble your source
program.
3. Writes the listing to the DDIO file and to SYSPRINT.
10-2
Compuware Shared Services User/Reference Guide
Preprocessor Benefits
• Better handling of compiler errors. By using the preprocessor, you can avoid the
potential problems of processing a listing with compiler errors. The preprocessor, in
conjunction with the CONDDDIO parameter, internally checks the return code from
the compiler and doesn’t write a DDIO listing that contains errors. For example, if
you set the CONDDDIO parameter to 8, the preprocessor will write the compiler
listing to the DDIO file unless the compiler return code exceeds 8. The preprocessor
can process the compiler errors more effectively than the postprocessor.
• Capturing of suppressed source code. When the following parameter is used,
sections of source code can be suppressed from the compiler listing:
For PL/I
%NOPRINT
The preprocessor captures this information from SYSIN and SYSLIB.
• Automated compiler options. The postprocessor requires that certain compiler
options be specified in order to process all needed sections of the compiler listing.
The preprocessor can automatically pass the required options to the compiler.
For a list of the required compiler options, refer to the “Required Options for
Supported PL/I Compilers” on page 10-12.
• Simplified JCL. While the postprocessor requires that the user add a step after the
compile step, the preprocessor requires only that minor modifications be made to
your existing compile step.
Dynamically Allocated Files
The following files are dynamically allocated by the Compuware preprocessor. The
attributes can be overridden by specifying a DD in the JCL.
Table 10-1. Files Dynamically Allocated by the Preprocessor
DDname
Attributes
CWPWRKn (0-6)
BLKSIZE=19000 SPACE(TRK,(100,80)) UNIT=SYSDA
SORTWK01
BLKSIZE=19000 SPACE(TRK,(100,80)) UNIT=SYSDA
TEMPLIN
BLKSIZE=3200 SPACE(TRK,(200,100)) UNIT=SYSDA
CWPERRM
SYSOUT=*
SYSPRINT
SYSOUT=*
SYSOUT
SYSOUT=*
CWPPRTI
BLKSIZE=19000 SPACE(TRK,(100,200)) UNIT=SYSDA
CWPPDS2
SPACE (TRK,(100,80,80)) UNIT=SYSDA
CWPPRTO is dynamically allocated as a work file (for the preprocessor). SYSPRINT is
where the listing goes.
Postprocessor
The postprocessor is executed as a single step — can be a separate job. It reads in the
listing created from the compiler. Information is gathered from the source listing, XREF,
data maps, and object code sections of the listing. This information is stored in a DDIO
file member and is used by various Compuware products.
While the preprocessor is the preferred method of loading the compiled listing to the
DDIO, there are situations that necessitate use of the postprocessor as a viable
alternative. This is commonly found in production environments where the listings may
be archived. Note that these are usually the default options at many shops.
PL/I Language Processor
10-3
If the programs contain suppressed source code, certain additional control statements
must be added to the language processor.
Benefits of Postprocessing
• Exact match of compiled output listings with the executable load module. This is
especially important in production environments where time is critical.
• Eliminates the risk of copybook or source code changes prior to recompiling the code
since the listing reflects the code that is being executed.
• Significantly less time is needed to process source listings as opposed to recompiling.
Summary of PL/I Language Processor Commands
The following is a list and brief description of the commands available for the PL/I
language processor. Each command is discussed in detail later in this chapter.
CONDDDIO
Specifies that the source listing will be written to the source listing
file unless the compiler return code exceeds the maximum value
you set.
CONDSTEP
(Can only be used with the preprocessor) Controls the condition
code set by the postprocessor when it is invoked by the
preprocessor.
DDIO
Identifies the sections of the PL/I compiler listing that are written
to the source listing file.
File-overrides
(Can only be used with the postprocessor) Used to override the
default file definitions.
INCLUDE
(Can only be used with the preprocessor) Used to include a library or
sequential file member that contains another set of language
processor options to be processed.
LANGPARM
(Can only be used with the preprocessor) Specifies parameters to be
passed to the compiler invoked by the language processor.
LANGUAGE
Specifies the type of compiler for the PL/I language preprocessor
and postprocessor.
PL/I
Controls the compiler listing destination.
PRINT
Identifies the listing sections that will be printed.
PROCESSOR
Specifies the output parameters of the PL/I language processor.
PROGRAM-NAME Specifies an override name for members in the source listing file.
SYSTEM
Performs miscellaneous functions
ZIIP
Controls use of an available zIIP processor.
The commands can be entered in two ways:
• As parameters on the PARM statement of the EXEC — (Overrides input from the
CWPPRMO file.)
• As input from the CWPPRMO file — (Comments are not valid and all command
strings must be within columns 1 through 71.)
10-4
Compuware Shared Services User/Reference Guide
Each command has parameters (and some parameters have values) that must be written
immediately after the commands, be enclosed in parentheses, and separated by commas.
If conflicting command options are entered, the last option specified is used.
Usage Considerations
This section includes information that you need to know in order to be able to use the
PL/I language processor most efficiently.
Language Processor DD Statements
The following table lists the DD statements for the PL/I language processor.
Table 10-2. Language Processor DD Statements.
DDname
Purpose
CWPWRK (0-6)
LP work files
CWPPRMO
LP parameter input dataset
CWPDDIO
Target source listing DDIO file
CWPPRTI
Compiler listing input to postprocessor
CWPPRTO
Compiler listing output from postprocessor
CWPLOAD
Option LOAD or OBJECT module input to postprocessor
CWPDECK
Option DECK module input to postprocessor
CWPERRM
LP Error Messages
CWPWBNV
Workbench navigation information
Note:
CWPLOAD and CWPDECK correspond to the SYSLIN and SYSPUNCH compiler
outputs. If you specify compiler option OBJECT, you should use CWPLOAD in
your postprocessor JCL. If you specify compiler option DECK, you should use
CWPDECK in your postprocessor JCL. Do not feed the SYSLIN output into
CWPDECK or the SYSPUNCH output into CWPLOAD. The updated OBJECT
contained in CWPLOAD and CWPDECK should be used in the program’s linkedit
step. The preprocessor does not use CWPLOAD and CWPDECK.
PL/I Samples and Program Names
The following is a list of members in the CSS installation library that contain sample JCL
for executing the PL/I language processor:
Table 10-3. PL/I Sample JCL Members
CXPLIPRE
JCL for running the PL/I language preprocessor
CXPLI
JCL for running the PL/I language postprocessor
CXPLI2
JCL for running the PL/I language postprocessor with compiler listings stored in machinereadable format
CXLPPLI
Sample PL/I language processor options
The following program names are used for the PL/I language processor:
Table 10-4. PL/I Program Names
CWPPMAIN PL/I preprocessor
PL/I Language Processor
10-5
Table 10-4. PL/I Program Names
CWPPDRVR
PL/I postprocessor
Using the zIIP processor
If available on your system, performance of the language processor will be enhanced by
executing selected portions of the language processor on a zIIP processor. Execution on a
zIIP processor can result in less billable CPU time used and significantly fewer I/O
operations required to run the language processor.
Enabling the language processor for zIIP execution will buffer much of the I/O operations
to DASD into memory. This increases the amount of virtual storage used by the language
processor. Therefore, if your system has a high paging rate zIIP processing should be
disabled.
The choice of execution on a zIIP processor can be controlled with the language
processor ZIIP command. zIIP processing is enabled by default. The ZIIP command can
be used to disable zIIP execution and control memory allocation. In addition, an
alternate mechanism is available to disable zIIP processing during language processor
execution by specifying a //CXZPIGNR DD DUMMY statement in your language processor JCL
stream.
Other Usage Considerations
This section describes special considerations for using the PL/I language processor.
Certain restrictions also apply to the PL/I language processor in the following areas:
• Declaration of variables
• Compiler/run-time options
• Programming techniques
For a complete list of these restrictions, see “Usage Restrictions”.
Processing Listings with Errors
Unpredictable results may occur when you postprocess a compiler listing with
serious errors. If you use the preprocessor, however, you can avoid these potential
problems. The preprocessor, in conjunction with the CONDDDIO parameter,
internally checks the return code from the compiler and doesn’t process a listing that
contains errors. Using the preprocessor prevents unnecessary processing of an errorfilled compiler listing by not calling the postprocessor. For more information on the
CONDDDIO parameter, refer to “CONDDDIO (CONDD)” on page 10-13.
Insufficient Primary Space Allocation
During preprocessing, you may receive a B37 abend on the CWPPRTI DD statement.
This is due to insufficient space on the temporary volume used by MVS for the
dynamically allocated dataset. To correct this problem, first try resubmitting the job.
If the problem persists, you can include your own CWPPRTI DD card in the
preprocessor JCL. Be sure to allocate enough primary space to contain your compile
listing.
Handling Suppressed Statements
The postprocessor will not support listings that contain suppressed statements. The
preprocessor must be run if the listing contains suppressed statements. Suppressed
statements include statements that are not generated in the compiler listing due to a
%NOPRINT for PL/I. If the postprocessor is run, and it encounters any suppressed
statements, you’ll receive the following message, and the postprocessor will stop
immediately.
PPDRVR130-S POSTPROCESSOR TERMINATED; PREPROCESSOR MUST BE USED DUE TO
%NOPRINT
10-6
Compuware Shared Services User/Reference Guide
Effect of Optimization Logic on Execution Pointer
While the language processor supports the use of optimized code, it should be noted
that occasionally the code execution pointer could follow a different path than
expected due to the optimization logic. This consideration only applies to
Xpediter/TSO and Xpediter/CICS users.
VisualAge PL/I and Enterprise PL/I Enhanced Listings
The PL/I language processor generates an internal line number that is used by
Xpediter/TSO and Xpediter/CICS that is different than the line.file numbering scheme
used by the compiler. If you want to see these line numbers in your listing output,
use the PROCESSOR(OUTPUT(PRINT)) command to cause them to be placed to the
left of the compiler output.
Support for Compuware Workbench
The Cobol and PL/I language processors have been enhanced to provide additional
support to the Compuware Workbench. Workbench users can take advantage of this
support which allows them to display error messages resulting from a compilation in
an easy to use Problems View. Using the window controls, users can position directly to
the original source line within their program or in a copy member that is identified
by the error message. Users can also position directly to the line within the compiler
listing containing the error to view the surrounding statements.
The language processors automatically generate the information for the Workbench
during their execution. This additional information is written out to a new output
DD statement named CWPWBNV. In order to take advantage of this support, the job
output from the compilation should remain in the JES output queues so that the
Workbench can obtain the information from the CWPWBNV DD statement output.
The job output can be purged at any time as necessary but the Workbench can only
obtain the information from jobs whose output is in the JES output queues.
If the CWPWBNV DD output is not desired or if your installation is not using the
Workbench, the feature can be disabled in either of two ways:
– To stop an individual language processor job from producing the CWPWBNV DD
output, specify the PROCESSOR($NOWB) preprocessor option.
– To stop all language processor jobs from producing the CWPWBNV DD output,
use the Customer Modification Facility (CMF) parameter WBNV to alter the
default behavior. Set the parameter to N to stop producing CWPWBNV output.
For example, using the CXCFGINI sample member of the SLCXCNTL dataset as a
guide, the parameter would be coded as shown below:
*
KEYWORD
WBNV
VALUE
N
See Appendix A, “Using the Customer Modification Facility” for more information
about how to specify CMF parameters to change Shared Services behaviors.
Updating the OBJECT Deck
The Compuware language preprocessor and postprocessor, when correctly coded as
described in “Language Processor DD Statements” on page 10-4, will update the
OBJECT deck by placing an IDR record in the END card containing the program
name, the compile date/timestamp, and a 1-byte code to indicate the release of the
compiler.
The END card, which is linked into the load module, has historically been used by all
products utilizing source support to find this data in one single location. The data is
used for DDIO source matching to the executable load module. The END card is used
by all supported languages. If this data is not present in the END card, the product
will need to search the IBM Signature area for this information.
PL/I Language Processor
10-7
Additionally, the language processors will insert an IDENTIFY record into the
OBJECT deck. The IDENTIFY record is used to contain the program name and the
name of the DDIO file the program was written to in an encrypted format. This
information can be utilized by CSS to dynamically allocate the file when debugging a
program in Xpediter, merging source into a report for Abend-AID, or incorporating
source into a Strobe profile. The benefit is to provide the ability to locate matching
source when the DDIO file where the member resides has not been defined to the
product that requires source support. As long as the DDIO files are defined to the
products that use them, the IDENTIFY record is not needed.
To disable the updating of the OBJECT deck, pass the following parameters via the
CWPPRMO DD statement in the language processor step:
– PROC($NIDR) — Bypass the placement of the date and timestamp on the object
module
– PROC(IDENTNO) — Bypass the placement of an IDENTIFY record on the object
module.
See page 10-22 for more details on these override parameters.
Usage Restrictions
This section describes required conditions or conditions not supported by the PL/I
language processor and provides examples. Some restrictions apply only to particular
products. Other product-specific restrictions may also apply when using the PL/I
language processor. Consult your product documentation for more information.
Restricted Compiler Options
1. The "QUOTE" compiler option is not supported by the language processor. This
option allows the user to change the quote character into some other character. The
language processor does not support compiler options that allow alterations of any
character into other characters.
2. The "BLANK" compiler option is not supported by the language processor. This
option allows the user to change the blank character into some other character. The
language processor does not support compiler options that allow alterations of any
character into other characters.
3. Use of the NAMES compiler option is not supported. The NAMES option allows the
user to change certain characters, such as a pound sign (#) into some other character.
The language processor does not support alterations of any characters into other
characters.
4. The NUMBER option is not supported. Note: The compiler enables the NUMBER
option if GONUMBER or NOSTMT is used.
5. Using +DD:ddname option on the EXEC statement to pass the
LIMITS(FIXEDDEC(15,31)) option is not supported. The JCL EXEC PARM= parameter
must be used to specify this option.
Supported:
//COMPILE EXEC
PGM=program,PARM=('LIMITS(FIXEDDEC(15,31)),OPT1,OPT2,OPT3,...')
Not Supported:
//COMPILE EXEC PGM=program,PARM=('+DD:VAPLIOPT,OPT1,OPT2,OPT3,...')
//*
//VAPLIOPT DD *
LIMITS(FIXEDDEC(15,31))
10-8
Compuware Shared Services User/Reference Guide
Restrictions or Limitations Using Compiler Directives
6. The character strings '%INCLUDE' and '%NOPRINT' cannot be split and continued
on the next line.
For example:
%NOP
RINT;
7. %NOPRINT is not supported by the postprocessor. Programs containing this
directive must be preprocessed. Because %NOPRINT prevents sections of code from
being written to the compiler listing, the postprocessor cannot scan this code and
place it into the DDIO file. The postprocessor stops if it detects this situation since
the listing is incomplete. The language preprocessor, however, supports the use of
%NOPRINT, and processing will proceed normally.
8. %INCLUDE statements in unusual locations, while syntactically correct, may not be
recognized by the Language Processor.
For example:
DCL 1 AA,
2 BB FIXED BIN(%INCLUDE INC1;),
2 CC FIXED;
9. Comments started, and not ended on a line that contain a compiler directive are not
supported. This is not a restriction against multi-line comments. Rather, it is only a
restriction when compiler directives and comments are mixed together on the same
line.
For example:
%INCLUDE INC1; /*
this comment does not end on the same line that it started, but instead ends on the
second line */
Restrictions or Limitations Using Comments
10. Comments in unusual locations, although syntactically correct, will not necessarily
be recognized by the language processor.
The following is invalid:
D/*example comment*/CL ALPHA CHAR(4)
IF ALP/*check alpha name*/HA = 'ABCD' THEN DO;
In effect, no comments may split a complete word, whether it is a compiler
recognized word, such as DECLARE, or a user defined dataname.
Data Declaration Restrictions
11. Adjustable length variables that are defined in automatic storage are not supported.
For example:
DCL ARRAY(X,Y) CHAR(1);
or,
DCL AREA_VAR AREA(X);
In addition to variables with explicitly defined adjustable lengths, any variable with
a length that is determined by the compiler to be adjustable is not supported. These
variables are denoted in the aggregate length table section in the compiler listing by
an 'ADJ' or a '*' notation in the length columns. The IBM compiler flags all entries of
PL/I Language Processor
10-9
an adjustable structure as adjustable, even the elements where the adjustable element
starts. Thus, the language processor may not be able to determine the proper offset
for these items, which could affect the display of these items by other Compuware
products.
12. BASED variables with the ALLOCATE statement are not supported. For example:
DCL ABCD BIN(31) BASED;
DCL PTR1 PTR;
ALLOCATE ABCD SET(PTR1);
Because the address value of PTR1 is determined at execution time, the language
processor cannot anticipate this value when scanning the compiler listing.
13. An array element or an expression used as a base pointer is not supported.
The following examples illustrate these restrictions.
An array element used as a base pointer:
DCL BADDR(5) PTR;
DCL VARA BASED(BADDR(3));
An expression used as a base pointer:
DCL VARA BASED(ADDR(BADDR+8));
The result of the expression is determined at execution time and cannot be computed
by the language processor by scanning the compiler listing.
14. A locator used in a base pointer is not supported.
For example:
DCL XYZ BASED (ADDR(P1 -> P2));
or,
DCL ABC BASED (P3 -> P4);
The result of the expression is determined at execution time and cannot be computed
by the language processor by scanning the compiler listing.
15. AREA variables greater than 32K are not supported. For example:
DCL VARA AREA(32769);
16. Datanames longer than 30 characters are supported only for OS PL/I compiler
releases 2.3 and later, PL/I ADCYCLE, and PL/I for MVS and VM. Datanames up to
100 characters are supported with the VisualAge PL/I and Enterprise PL/I compilers.
Prior to OS PL/I compiler release 2.3, the compiler truncates a dataname of 31
characters or longer (which is legal in all compiler releases) to 30 characters when
displayed in various sections of the compiler listing (such as the cross-reference
section). The language processor cannot determine the true dataname in these
situations due to the possibility of duplicates that are only 30 characters in length.
The language processor issues a warning message in this situation and processing
continues. For OS PL/I compiler releases 2.3 and later, this feature is fully supported.
17. PIC clauses over 163 characters are not supported.
For example:
DCL BIGPIC PIC
'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
If you are using a PIC clause when declaring a variable, the number of characters that
make up the clause must not exceed 163.
10-10
Compuware Shared Services User/Reference Guide
18. Declared Labels, Label arrays and declared FORMAT statements are not supported.
This is a documented IBM Enterprise PL/I compiler restriction for non-data
attributes. The language processors will tolerate the usage but the declared names
may not be usable or displayed correctly by other Compuware products that use the
resulting source listing member. For example:
DECLARE LABEL_ARRAY(12) LABEL;
DECLARE FORLAB(3) LABEL;
FORLAB(1):
FORMAT(A(6)),P'(6)Z9');
19. PL/I words used as datanames or labels are not supported.
For example:
DECLARE DECLARE FIXED BIN(31);
DCL END(2) FIXED;
:
END(1)=DECLARE+1;
:
20. Multiple label names specified on a procedure or entry statement are not supported.
For example:
ABC:
:
ENT1:
XYZ:
ENT2:
PROC OPTIONS(MAIN);
ENTRY;
The use of multiple label names on other types of executable statements is supported.
21. Forward references of TYPE declarations are not supported. The Language Processor
will tolerate the usage but some attributes and lengths may not be assigned to the
variable whose type is being declared. For example:
DCL DOG TYPE ANIMAL;
DEFINE ALIAS ANIMAL FIXED BIN(31);
In order to be processed completely, define the ALIAS variable name prior to its usage
in any TYPE reference (that is, reverse the order of the DCL and DEFINE statements).
22. TYPE declarations that refer to another TYPE declaration are not supported. The
Language Processor will tolerate the usage but some attributes and lengths may not
be assigned to the variable(s) whose types are being declared. For example:
DEFINE ALIAS ANIMAL FIXED BIN(31);
DCL DOG TYPE ANIMAL;
DCL POODLE TYPE DOG;
This restriction also applies to structures or structure members that use TYPE to refer
to another TYPE declaration. Any combination of TYPE referring to another TYPE is
not supported.
Dataname Qualification and Coding Restrictions
23. Datanames that are split across two or more lines are not currently supported. For
example:
DCL READSWITCH CHAR(1) INIT('N');
IF READSW
ITCH='Y' THEN DO;
Note: For the Enterprise PL/I compilers and higher, this restriction is removed. The
dataname must cross exactly at the margin boundaries.
PL/I Language Processor
10-11
Note: Usage of the compiler option "Macro" may inhibit the splitting of datanames
across lines in the listing.
Datanames that are qualified can be split at the point of qualification.
For example:
DCL 1 SWITCHES,
2 READSWITCH CHAR(1),
2 WRITESWITCH CHAR(1);
:
IF SWITCHES.
READSWITCH='Y' THEN DO;
The qualification delimiter character "." must immediately follow the dataname
qualifier without intervening spaces.
24. Spaces, when specified within a qualified data name, are not supported.
For example, the following is invalid:
A
.
B =3 ;
No spaces are allowed between the first and last variable in the qualification. There is
one exception to this restriction: the language processor can recognize a qualified
dataname with spaces when it is split across two lines. The qualification delimiter
character must immediately follow the first variable name.
For example, the following is valid:
A.
B=3;
Miscellaneous Restrictions
25. Support for multiple unique and separate source programs compiled in a single batch
compilation is limited. Multiple compiler listings in SYSPRINT (read in as CWPPRTI)
are not supported. Multiple programs that are compiled together in a single job step
are not supported.
For example:
%PROCESS...
PROC1: PROC OPTIONS(MAIN)
%PROCESS...
PROC2: PROC OPTIONS(MAIN)
26. Program names and/or external procedure names that exceed seven characters if the
$NIDR parameter is used are not supported.
For example:
LONG_PROC_NAME: PROC OPTIONS(MAIN);
DCL LONG_EXTRN_NAME EXTERNAL;
Long procedure names are truncated by the compiler and assigned a new name. The
new name assigned will not match the program name of the member in the DDIO
file. Compuware recommends that the names chosen should not exceed seven
characters. For VisualAge and Enterprise PL/I programs only, long procedure names
that exceed seven characters are permitted if a CSS shared directory dataset is used in
the Language Processor's CWPDDIO DD statement.
27. Language preprocessor SYSIN and SYSLIB datasets must be fixed length 80-byte
records. The compiler allows the SYSIN input stream and included members or
macros in SYSLIB to be variable or fixed-length records, up to 100 bytes in length.
However, the language processor only supports PL/I programs that use standard 80byte records.
10-12
Compuware Shared Services User/Reference Guide
28. If you use PL/I macro processing to generate actual source code as well as %INCLUDE
or %NOPRINT directives, the macro processing must be performed by the compiler
prior to invoking the Compuware PL/I Language Preprocessor.
Because the language preprocessor scans the source program before compilation, any
PL/I macros that internally generate source code or compiler directives cannot be
detected since the macro is not resolved and expanded until compile time. The
language processor is dependent on each line in the macro having a different line
number. Any undetected compiler directives are then passed to the language
postprocessor, which stops if they are detected in the compiler listing.
The best way to resolve this situation, if you must use macro generation, is to
preprocess the source program using the PL/I compiler first by using the INCLUDE,
MACRO, and NOCOMPILE options. This will generate a source program with all of
the macros resolved. This source can then be passed to the language preprocessor in a
subsequent JCL step for proper scanning and compilation.
29. Source programs or listings with missing commas, semicolons, or other syntax errors
are not supported. The compiler may detect some of these situations and will make
assumptions as to where a misplaced comma may belong. Normally when this
happens, the compiler will generate an error message containing "COMMA
ASSUMED AFTER..." or "EXTRANEOUS COMMA DETECTED AFTER...COMMA
IGNORED". The compiler will continue in these cases, but the resulting compiler
listing is not changed to reflect the assumption made (that is, the compiler does not
insert the missing punctuation into the listing). Therefore, when the language
processor encounters these same lines, it may not make the same assumption as the
compiler and may be unable to process correctly.
Similarly, semicolons must be included where needed according to standard PL/I
language syntax. While the compiler may or may not successfully compile the
program and provide appropriate warning messages, the language processor expects
semicolons at the end of each line in order to provide reliable results in the DDIO
listing member. The processor may not be able to process correctly if semicolons are
missing, resulting in unpredictable results during listing processing, or in actual use
of the resulting DDIO listing member during execution by Xpediter or Abend-AID.
30. Use of the language processor's CONDDDIO parameter is not recommended.
CONDDDIO can be used to force the language processor to scan and process a PL/I
program that contains errors flagged by the compiler. These situations are
unpredictable and may result in parsing errors, loops, or abends in the language
processor. Further, the language processor may appear to process successfully and
create a DDIO listing member; but this member may not function correctly when
used by the Xpediter debuggers. All types of situations that could result from the use
of CONDDDIO are not supported.
31. If the postprocessor is used, the listing must be compiled complete with carriage
control characters.
Required Options for Supported PL/I Compilers
The following is a list of the PL/I compiler options that must be used with the PL/I
language processor.
OS/PLI Compilers:
•
•
•
•
•
•
•
AGGREGATE
ATTRIBUTES(FULL)
LIST
MAP
OFFSET
OPTIONS
SOURCE
PL/I Language Processor
•
•
•
•
10-13
STMT
STORAGE
SYNTAX
XREF(FULL)
VisualAge PL/I or Enterprise PL/I Compilers:
•
•
•
•
•
•
•
•
AGGREGATE
ATTRIBUTES(FULL)
LIST
MAP
OPTIONS
SOURCE
SYNTAX
XREF(FULL)
PL/I Language Processor Command Descriptions and
Syntax
This section describes the PL/I language processor commands and their parameters and
values.
CONDDDIO (CONDD)
The CONDDDIO command specifies that the source listing will be written to the source
listing file unless the compiler return code exceeds x. The default is 4. Permissible values
are 0-8.
Note:
Unpredictable results may occur when the CONDDDIO parameter is set to 8.
The following diagram illustrates the syntax for the CONDDDIO command:
CONDSTEP (CONDS)
The CONDSTEP command controls the condition code set by the postprocessor when it
is invoked by the preprocessor. The CONDSTEP parameter is ignored when the
postprocessor is invoked as a separate job step after the compile. The postprocessor
return code is always used.
The CONDSTEP command can be used only with the preprocessor.
The following diagram illustrates the syntax for the CONDSTEP command:
HIGHEST (HI):
(Default) The condition code will be set to the value of the PL/I language processor
return code or the compiler return code, whichever is higher.
10-14
Compuware Shared Services User/Reference Guide
COMPILER (CO)
The condition code will always be set to the compiler return code. This option is
typically used to allow a subsequent link-edit step to execute when the compile
executes normally, but the postprocessor is unable to execute successfully.
DDIO
The DDIO command identifies the information from the PL/I compiler listing that will
be written to the DDIO file. The parameter for the DDIO command is OUTPUT. The
following diagram illustrates the syntax for the DDIO command OUTPUT parameter.
OUTPUT (OU):
Specifies the options for a report file or source listing file that will be written to the
DDIO file.
NOCOMPRESS (NOCO):
(Default) Does not compress the compiler listing. The size of the LP source
members will not be reduced.
COMPRESS (CO):
Enables compression. Depending on your program size and the options you have
set, the size of language processor source members may be reduced.
Note: There are performance implications when compression is used. More CPU and
memory is required for compression/decompression of the compiler listing.
This is especially important for online usage.
XREF (XR): (Default)
Writes the XREF sections of the listing.
NOXREF (NOXR):
Does not write the XREF sections of the listing.
DMAP (DM):
(Default) Writes the DMAP section of the listing.
NODMAP (NODM):
Does not write the DMAP section of the listing.
LIST (LI):
(Default) Writes the Assembler section of the listing.
NOLIST (NOLI):
Does not write the Assembler section of the listing.
OFFSET (OF):
(Default) Writes the OFFSET section of the listing.
NOOFFSET (NOOF):
PL/I Language Processor
10-15
Does not write the OFFSET section of the listing.
VARREF:
(Default) Records information in the DDIO file showing where every variable is
referenced. This parameter is required and is forced on. Therefore, it cannot be
inactivated.
NOVARREF:
This parameter does not cause an error message, but it cannot be set. See VARREF
above.
File-Overrides Commands
The File-overrides commands override the default file definitions. The following
overrides are available:
•
•
•
•
•
•
WRK0 - WRK4
PRTI
PRTO
ERRM
LOAD
DECK
Note: The LOAD or DECK ddname is used by the PL/I language processor depending on
the options selected for the compile step. If both LOAD and DECK are specified,
both will be processed by the PL/I language processor. If you are using a
temporary dataset for your object, and only one option (LOAD or DECK) is
specified, eliminate the ddname that corresponds to the option that is NOT
specified. For example, if you specify LOAD, then eliminate the DECK ddname.
The File-overrides commands can be used only with the postprocessor.
WRK0 - WRK4 File-Overrides Command
Specifies the work files.
Note:
In this diagram WRKn represents WRK0 - WRK4.
If you omit DD(ddname), the assumed ddname will be CWPWRKn.
PRTI File-Overrides Command
Specifies the compiler listing input.
If you omit DD(ddname), the assumed ddname will be CWPPRTI.
10-16
Compuware Shared Services User/Reference Guide
PRTO File-Overrides Command
Specifies PL/I language processor output.
If you omit DD(ddname), the assumed ddname will be CWPPRTO.
ERRM File-Overrides Command
Prints the PL/I language processor error messages.
If you omit DD(ddname), the assumed ddname will be CWPERRM.
LOAD File-Overrides Command
Specifies the object library (indicated by the LOAD option of the compiler).
If you omit DD(ddname), the assumed ddname will be CWPLOAD.
DECK File-Overrides Command
Specifies the object library (indicated by the DECK option of the compiler).
If you omit DD(ddname), the assumed ddname will be CWPDECK.
Optional Override Values
The keywords below cause the language processor to override its default values:
DDNAME (DD):
Specify a ddname instead of accepting the default ddname.
BLKSIZE (BLK):
Specify a decimal blocksize instead of accepting the default blocksize.
BUFFERS (BUF):
Specify a decimal number as the number of buffers instead of accepting the default
number of buffers, which is 2. Only the first two buffers are used for buffering
input/output. Extra buffers are used as in-core work space for the file. Therefore,
records placed in the work space will never be written to the work files. If the storage
PL/I Language Processor
10-17
is available, use this parameter with the BLKSIZE parameter to increase the language
processor speed.
If the language processor is running in the MVS/XA or MVS/ESA environment and is
above the 16-MB line, a value of zero specifies that as much storage as is available
will be used. Using zero places a greater amount of overhead on startup and should
not be used for small programs.
LRECL (LR):
Specify a decimal number as the logical record length instead of accepting the default
logical record size.
RECFM (RE):
Specify a record format instead of accepting the default record format. Valid formats
include:
F
Fixed
FA
Fixed ASA
FM
Fixed Machine
V
Variable
VA
Variable ASA
VM
Variable Machine
INCLUDE (IN)
Use the INCLUDE command to include a library or sequential file member that contains
another set of language processor options to be processed.
An included set of options can, in turn, include another set of options. If a recursive
chain of INCLUDEs is encountered, the language processor will stop with an error
message.
Duplicate or conflicting parameters are resolved as follows:
• Options are processed left to right.
• When an INCLUDE is encountered, the included member is processed immediately.
Options following the INCLUDE will be processed after the included member is
processed.
• The last option processed takes precedence.
• The sources of options are, in order of descending priority:
– forced options in the PL/I language compiler installation default module
– CBL options in the source file (or equivalent for other compilers)
– PARM options on the EXEC card
– options specified in the CWPPRMO dataset
– default options in the PL/I language compiler installation default module.
The INCLUDE command can be used only with the preprocessor.
The following diagram illustrates the syntax for the INCLUDE command:
10-18
Compuware Shared Services User/Reference Guide
ddname:
The DDNAME of the JCL statement that specifies the dataset name. If a member is
not specified, then the ddname must point to a sequential file or library member.
member
The library member name. If the ddname is not specified, then the default
CWPPRMO will be used and a comma must precede the member name.
LANGPARM (LANGP)
The LANGPARM command specifies parameters to be passed to the compiler invoked by
the language processor. If the language processor is run as a separate job step, this option
is ignored.
If you use the CWPPRMO dataset to specify your compiler options, you should use the
LANGPARM command. Otherwise, the preprocessor may not be able to distinguish
between compiler options and language processor options with the same name. The
LANGPARM command allows the preprocessor to identify compiler options that conflict
with language processor names, thus preventing unpredictable results.
If you use the PARM statement to specify your compiler options, you can also use the
LANGPARM command.
The LANGPARM command can be used only with the preprocessor.
The following diagram illustrates the syntax for the LANGPARM command.
parm:
Specifies a parameter to be passed.
LANGUAGE (LANG)
The LANGUAGE command is used to specify the type of compiler to be executed for the
PL/I language preprocessor.
The LANGUAGE command is no longer required for the postprocessor.
The following diagram illustrates the syntax for the LANGUAGE command.
PL/I: (Default)
Specifies that the PL/I compiler should be used.
PLIADCYCLE (PLIAD):
Specifies that the PL/I AD/CYCLE compiler should be used. This is also used for
LE/370 PL/I.
PL/I Language Processor
10-19
VISUALAGEPLI(VAPL/I)
Specifies that the VisualAge PL/I compiler should be used.
ENTERPRISEPLI (ENTPL/I)
Specifies that the Enterprise PL/I compiler should be used.
PL/I
The PL/I command controls the compiler listing destination. The parameter for the PL/I
command is OUTPUT. The following diagram illustrates the syntax for the PL/I command
OUTPUT parameter.
OUTPUT (OU):
Specifies whether the compiler listing will be printed or written to a source listing
file. Select from the following values:
NOPRINT (NOPR):
(Default) - Does not print the compiler listing.
PRINT (PR):
Prints the compiler listing.
NODDIO (NODD):
(Default) - Does not write the compiler listing to a source listing file.
DDIO (DD):
Writes the compiler listing to a source listing file.
BOTH (BO):
Prints the listing and writes it to a source listing file. This has the same effect as
specifying PL/I(OUTOUT(PRINT,DDIO)).
NONE (NON):
Does not print the compiler listing and does not write it to a DDIO file. This has
the same effect as PL/I(OUTPUT(NOPRINT,NODDIO)).
PRINT (PR)
The PRINT command identifies the sections of the listing that will be printed. The
parameter for the PRINT command is OUTPUT.
10-20
Compuware Shared Services User/Reference Guide
OUTPUT (OU):
Specifies the options for a source listing that will be printed.
LIST (LI):
(Default) - Prints the Pseudo-Assembler section of the listing.
NOLIST (NOLI):
Does not print the Pseudo-Assembler section of the listing.
OFFSET (OF):
(Default) - Prints the Offset section of the listing.
NOOFFSET (NOOF):
Does not print the Offset section of the listing.
XREF (XR):
(Default) Prints the XREF sections of the listing.
NOXREF (NOXR):
Does not print the XREF sections of the listing.
SOURCE (SO):
(Default) Prints the Source section of the listing.
NOSOURCE (NOSO):
Does not print the Source section of the listing.
PROCESSOR (PROC)
The PROCESSOR command specifies the output parameters of the PL/I language
processor. The parameters available for the PROCESSOR command are:
•
•
•
•
•
•
•
BYPASS
ERRORS
OUTPUT (VisualAge PL/I or higher only)
$NG
$NIDR
$NO
IDENTYES or IDENTNO
BYPASS (BY) Parameter
Specifies whether to run the preprocessor and compiler without running the
postprocessor. The following diagram illustrates the syntax for the PROCESSOR
command BYPASS parameter.
NOBYPASS (NOBY):
(Default) - Runs the postprocessor.
BYPASS (BY):
Does not run the postprocessor.
PL/I Language Processor
10-21
ERRORS (ER) Parameter
Specifies how the language processor error messages will be printed. The following
diagram illustrates the syntax for the PROCESSOR command ERRORS parameter.
UPPER-CASE (UP):
(Default) - Errors will be printed in uppercase letters.
MIXED-CASE (MI):
Errors will be printed in uppercase and lowercase letters.
OUTPUT (OU) Parameter
Defines options for printing the enhanced listing or writing it to a source listing file. The
PLI(OUTPUT(DDIO)) and PROCESSOR(OUTPUT(DDIO)) commands are mutually
exclusive. The language processor uses the last-supplied parameter.
Note:
This parameter is used by VisualAge PL/I and Enterprise PL/I only.
The following diagram illustrates the syntax for the OUTPUT parameter.
PRINT (PR):
(Default) Prints the enhanced listing.
NOPRINT (NOPR):
Does not print the enhanced listing.
NODDIO (NODD):
(Default) Does not write the enhanced listing to a source listing file.
DDIO (DD):
Writes the enhanced listing to a source listing file.
BOTH (BO):
Has the same effect as specifying PROCESSOR(OUTPUT(PRINT,DDIO)).
NONE (NON):
Does not print the enhanced listing and does not write it to a source listing file.
10-22
Compuware Shared Services User/Reference Guide
$NG Parameter
Specifies that the preprocessor’s support of INCLUDE %NOPRINT will be bypassed. The
following diagram illustrates the syntax for the PROCESSOR command $NG parameter.
$NIDR Parameter
Specifies that placement of the date and time stamp on the object module will be
bypassed. The following diagram illustrates the syntax for the PROCESSOR command
$NIDR parameter.
$NO Parameter
Specifies that the preliminary compilation performed by the preprocessor will be
bypassed. The preliminary compilation is normally used to determine the compiler
options currently in effect. However, if you know that your options satisfy the
requirements of the language processor, you can bypass the preliminary compilation to
reduce the preprocessor’s execution time.
The following diagram illustrates the syntax for the PROCESSOR command $NO
parameter.
IDENTYES or IDENTNO
By default, Compuware language processors attempt to add information to the object deck
produced by a compiler (DD SYSLIN). This information assists Compuware products in
locating the correct member in a Compuware Listing File. Beginning with Compuware
Shared Services Release 8.3, the Language Processors will by default add an IDENTIFY
record to the object deck.
This IDENTIFY record is processed by the Linkage Editor or Binder when the object deck
is transformed into a load module or program object. The data added to the load module
or program object is non-executable, not loaded into memory when the module
executes. It identifies the Compuware Listing File where the language processor stored its
output for that program.
If you want to suppress this IDENTIFY card for a particular run of a Language Processor,
you may supply the input PROCESSOR(IDENTNO) in the CWPPRMO input.
The default value is PROCESSOR(IDENTYES). You may alter this default by using the
Customer Modification Facility (see Appendix B). If you alter the default to IDENTNO,
you may then wish to supply the input PROCESSOR(IDENTYES) in CWPPRMO, for an
individual execution of the Language Processor.
PL/I Language Processor
10-23
PROGRAM-NAME (PRO)
The PROGRAM-NAME command specifies an override name for members in the source
listing file. The following diagram illustrates the syntax for the PROGRAM-NAME
command.
name:
Specifies an alternative name for a source listing written to the source listing file.
SYSTEM (SYS)
The SYSTEM command performs miscellaneous functions. The syntax for SYSTEM is:
TRACE (TR):
Specifies that internal traces be printed to CWPERRM.
TIME (TI):
Specifies that internal time will be printed with the trace.
PTF:
Specifies that PTF numbers currently installed on the CSS library will be printed. This
parameter is used by Compuware Technical Support during problem diagnosis.
ZAP
Specifies that PTF numbers currently installed on the CSS library will be printed. This
parameter is used by Compuware Technical Support during problem diagnosis.
Note:
The ZAP parameter is allowed for compatibility with pre-SMP/E releases.
ZIIP (ZIIP)
The ZIIP command controls the use of an available zIIP processor. The command
provides a mechanism to disable zIIP use by the language processor, and to control
memory usage and dump options when zIIP processing is enabled. The following
diagram illustrates the syntax of the ZIIP command:
YES:
Indicates that zIIP processing is to be enabled. This is the default.
10-24
Compuware Shared Services User/Reference Guide
NO:
Indicates that zIIP processing is disabled and all language processing will execute on a
general purpose processor. Alternately, zIIP processing can also be disabled by including
a //CXZPIGNR DD DUMMY statement in the language processor JCL stream.
MEM64:
Indicates that 64-bit memory will be used during language processing. This is the
default.
MEM31:
Indicates that normal 31-bit memory will be used during language processing.
DUMP:
Indicates that a machine readable dump will be taken if the language processor abends
while processing during zIIP execution. This is the default.
NODUMP:
Indicates that a machine readable dump will be suppressed if the language processor
abends while processing during zIIP execution.
11-1
Chapter 11.
Assembler Language Processor
Chap 11
A language processor writes a source listing to a VSAM or sequential DDIO file. For
Assembler, the source listing includes an assembly listing and other information about a
program. This chapter describes the outputs and commands associated with the
Assembler language processor.
Operation
The Assembler language processor reads the assembly listing produced by the assembler
and writes the listing to the DDIO file and SYSPRINT. The source listing can then be used
to provide source support during a debugging or diagnostic session while using any of
the following products:
•
•
•
•
Abend-AID
Xpediter/CICS
Xpediter/TSO
Strobe
The Assembler language processor can be run as either a preprocessor or postprocessor.
Compuware recommends that you use the preprocessor. The postprocessor should only
be used in situations where compiled source listings have been stored in machinereadable format.
Note:
CSS is downward compatible with listings created by a previous release of CSS.
The viewing facility or the product being used to view the listing (such as AbendAID for CICS or XPED) must be at the same level or higher than that which was
used to create the listing.
Preprocessor
Some information about a program module is not always available from the compiler
listing. The preprocessor, in addition to gathering information from the compiler listing,
gathers information from SYSIN and SYSLIB. The preprocessor provides additional
functionality for Xpediter/CICS and Xpediter/TSO.
Preprocessor Steps
1. Determines the proper compiler options required to process the listing file.
2. Automatically invokes the compiler or assembler to compile or assemble your source
program.
3. Writes the listing to the DDIO file and to SYSPRINT.
Preprocessor Benefits
• Better handling of compiler errors. By using the preprocessor, you can avoid the
potential problems of processing a listing with compiler errors. The preprocessor, in
conjunction with the CONDDDIO parameter, internally checks the return code from
the compiler and doesn’t write a DDIO listing that contains errors. For example, if
you set the CONDDDIO parameter to 8, the preprocessor will write the compiler
listing to the DDIO file unless the compiler return code exceeds 8. The preprocessor
can process the compiler errors more effectively than the postprocessor.
11-2
Compuware Shared Services User/Reference Guide
• Capturing of suppressed source code. When the following parameter is used,
sections of source code can be suppressed from the compiler listing:
For Assembler
PRINT OFF or PRINT NOGEN
The preprocessor captures this information from SYSIN and SYSLIB.
• Automated compiler options. The postprocessor requires that certain compiler
options be specified in order to process all needed sections of the compiler listing.
The preprocessor can automatically pass the required options to the compiler.
For a list of the required compiler options, refer “Required Options for Supported
Assemblers” on page 11-7.
• Simplified JCL. While the postprocessor requires that you add a step after the
compile step, the preprocessor requires only that minor modifications be made to
your existing compile step.
Dynamically Allocated Files
The following files are dynamically allocated by the Compuware preprocessor. The
attributes can be overridden by specifying a DD in the JCL.
Table 11-1. Files Dynamically Allocated by the Preprocessor
DDname
Attributes
CWPWRKn (0-6)
BLKSIZE=19000 SPACE(TRK,(100,80)) UNIT=SYSDA
SORTWK01
BLKSIZE=19000 SPACE(TRK,(100,80)) UNIT=SYSDA
TEMPLIN
BLKSIZE=3200 SPACE(TRK,(200,100)) UNIT=SYSDA
CWPERRM
SYSOUT=*
SYSPRINT
SYSOUT=*
SYSOUT
SYSOUT=*
CWPPRTI
BLKSIZE=16093 SPACE(TRK,(100,200)) UNIT=SYSDA DISP=MOD
CWPPDS2
SPACE (TRK,(100,80,80)) UNIT=SYSDA
CWPPRTO is dynamically allocated as a work file (for the preprocessor). SYSPRINT is
where the listing goes.
Postprocessor
The postprocessor is executed as a single step — can be a separate job. It reads in the
listing created from the compiler. Information is gathered from the source listing, XREF,
data maps, and object code sections of the listing. This information is stored in a DDIO
file member and is used by various Compuware products.
While the preprocessor is the preferred method of loading the compiled listing to the
DDIO, there are situations that necessitate use of the postprocessor as a viable
alternative. This is commonly found in production environments where the listings may
be archived. Note that these are usually the default options at many shops.
If the programs contain suppressed source code, certain additional control statements
must be added to the language processor.
Benefits of Postprocessing
• Exact match of compiled output listings with the executable load module. This is
especially important in production environments where time is critical.
• Eliminates the risk of copybook or source code changes prior to recompiling the code
since the listing reflects the code that is being executed.
Assembler Language Processor
11-3
• Significantly less time is needed to process source listings as opposed to recompiling
the source code.
Summary of Assembler Language Processor Commands
The following is a list and brief description of the commands available for the Assembler
language processor. Each command is discussed in detail later in this chapter.
ASSEMBLER
Controls the assembly listing destination.
CONDDDIO
(Can only be used with the preprocessor) Specifies that the source
listing will be written to the source listing file unless the assembly
code exceeds the maximum value you set.
CONDSTEP
(Can only be used with the preprocessor) Controls the condition
code set by the postprocessor when it is invoked by the
preprocessor.
DDIO
Identifies the information from the Assembler assembly listing that
will be written to the VSAM or sequential DDIO file.
File-overrides
(Can only be used with the postprocessor) Used to override the
default file definitions.
INCLUDE
(Can only be used with the preprocessor) Includes a library or
sequential file member that contains another set of language
processor options to be processed.
LANGPARM
(Can only be used with the preprocessor) Specifies the parameters to
be passed to the assembler invoked by the language processor.
LANGUAGE
Specifies the type of assembler for the Assembler language
preprocessor and postprocessor.
PRINT
Identifies the sections of the assembly listing that will be printed.
PROCESSOR
Specifies the output parameters of the Assembler language
processor.
PROGRAM-NAME
Specifies an override name for members in the source listing file.
SYSTEM
Performs miscellaneous functions.
ZIIP
Controls use of an available zIIP processor.
The commands can be entered in two ways:
• As parameters on the PARM statement of the EXEC — (Overrides input from the
CWPPRMO file.)
• As input from the CWPPRMO file — (Comments are not valid, and all command
strings must be within columns 1 through 71.)
Each command has parameters (and some parameters have values) that must be written
immediately after the commands, be enclosed in parentheses, and be separated by
commas.
If conflicting command options are entered, the last option specified is used.
11-4
Compuware Shared Services User/Reference Guide
Usage Considerations
This section includes information that you need to know in order to be able to use the
Assembler language processor most efficiently.
Language Processor DD Statements
The following table lists the DD statements for the Assembler language processor.
Table 11-2. Language Processor DD Statements.
DDname
Purpose
CWPWRK (0-6)
LP work files
CWPPRMO
LP parameter input dataset
CWPDDIO
Target source listing DDIO file
CWPPRTI
Compiler listing input to postprocessor
CWPPRTO
Compiler listing output from postprocessor
CWPLOAD
Option LOAD or OBJECT module input to postprocessor
CWPDECK
Option DECK module input to postprocessor
CWPERRM
LP Error Messages
CWPWBNV
Workbench navigation information
Note:
CWPLOAD and CWPDECK correspond to the SYSLIN and SYSPUNCH compiler
outputs. If you specify compiler option OBJECT, you should use CWPLOAD in
your postprocessor JCL. If you specify compiler option DECK, you should use
CWPDECK in your postprocessor JCL. Do not feed the SYSLIN output into
CWPDECK or the SYSPUNCH output into CWPLOAD. The updated OBJECT
contained in CWPLOAD and CWPDECK should be used in the program’s linkedit
step. The preprocessor does not use CWPLOAD and CWPDECK.
Assembler Samples and Program Names
The following is a list of members in the CSS installation library that contain sample JCL
for executing the Assembler language processor:
Table 11-3. Assembler Sample JCL Members
CXASMPRE
JCL for running the Assembler language preprocessor
CXASM
JCL for running the Assembler language postprocessor
CXLPASM
Sample Assembler language processor options
The following program names are used for the Assembler language processor:
Table 11-4. Assembler Program Names
CWPAMAIN
Assembler preprocessor
CWPADRVR
Assembler postprocessor
Using the zIIP processor
If available on your system, performance of the language processor will be enhanced by
executing selected portions of the language processor on a zIIP processor. Execution on a
zIIP processor can result in less billable CPU time used and significantly fewer I/O
operations required to run the language processor.
Assembler Language Processor
11-5
Enabling the language processor for zIIP execution will buffer much of the I/O operations
to DASD into memory. This increases the amount of virtual storage used by the language
processor. Therefore, if your system has a high paging rate zIIP processing should be
disabled.
The choice of execution on a zIIP processor can be controlled with the language
processor ZIIP command. zIIP processing is enabled by default. The ZIIP command can
be used to disable zIIP execution and control memory allocation. In addition, an
alternate mechanism is available to disable zIIP processing during language processor
execution by specifying a //CXZPIGNR DD DUMMY statement in your language processor JCL
stream.
Other Usage Considerations
This section describes special considerations for using the Assembler language processor.
For a list of Assembler language processor restrictions, refer to “Usage Restrictions” on
page 11-6.
Processing Listings with Errors
Unpredictable results may occur when you postprocess an assembly listing with
serious errors. If you use the preprocessor, however, you can avoid these potential
problems. The preprocessor, in conjunction with the CONDDDIO parameter,
internally checks the return code from the assembler and does not write out a listing
that contains errors. Using the preprocessor prevents unnecessary processing of an
error-filled assembly listing by not calling the postprocessor. For information on the
CONDDDIO parameter, refer to “CONDDDIO (CONDD) Command” on page 11-8.
Insufficient Primary Space Allocation
During preprocessing, you may receive a B37 abend on the CWPPRTI DD statement.
This is due to insufficient space on the temporary volume used by MVS for the
dynamically allocated dataset. To correct this problem, first try resubmitting the job.
If the problem persists, you can include your own CWPPRTI DD card in the
preprocessor JCL. Be sure to allocate enough primary space to contain your assembly
listing.
CAUTION:
If you use a postprocessed source listing with Xpediter/TSO, you may experience
some loss of functionality. If any statement-suppressing directive such as PRINT
NOGEN or COPY SUPPRESS is used in postprocessed source, the Xpediter commands
FIND, GEN, KEEP, and PEEK may not function properly.
Handling Suppressed Statements
The postprocessor will not support listings that contain suppressed statements. The
preprocessor must be run if the listing contains suppressed statements. Suppressed
statements include statements that are not generated in the assembly listing due to a
PRINT OFF or a PRINT NOGEN for Assembler. If the postprocessor is run and it
encounters any suppressed statements, you will receive the following message, and
the postprocessor will stop immediately.
PADRVR151-S POSTPROCESSOR TERMINATED; PREPROCESSOR MUST BE USED DUE TO
PRINT OFF/NOGEN
You should run the preprocessor if PRINT OFF or PRINT NOGEN is specified. You can
bypass this restriction by using the PROCESSOR($ASUP) parameter. This parameter
allows a listing with suppressed statements to be postprocessed. You should specify
this parameter when you want to postprocess listings with suppressed statements
that have been stored in machine-readable format. $ASUP should be used with
caution since there may be problems postprocessing a listing containing suppressed
statements and using this listing with your Compuware products. For more
11-6
Compuware Shared Services User/Reference Guide
information on the PROCESSOR($ASUP) parameter, please refer to “PROCESSOR
(PROC) Command” on page 11-14.
Updating the OBJECT Deck
The Compuware language preprocessor and postprocessor, when correctly coded as
described in “Language Processor DD Statements” on page 11-4, will update the
OBJECT deck by placing an IDR record in the END card containing the program
name, the compile date/timestamp and a 1-byte code to indicate the release of the
compiler.
The END card, which is linked into the load module, has historically been used by all
products utilizing source support to find this data in one single location. The data is
used for DDIO source matching to the executable load module. The END card is used
by all supported languages. This data is required for Assembler language to do source
member matching of the DDIO file to the executable load module.
Note:
If the program was assembled with the GOFF (Generalized Object File Format)
option or the XOBJECT option, an additional record is used to store the IDR
record located in a single TXT record (structured record data). This additional record
contains:
•
•
•
•
•
1-byte language release (Compuware internal code)
x’00’
8-byte CSECT-Name
6-byte compile time (hhmmss)
The rest contains x'00'.
To disable the updating of the OBJECT deck, pass the following parameters via the
CWPPRMO DD statement in the language processor step:
– PROC($NIDR) — Bypass the placement of the date and timestamp on the object
module
– PROC(IDENTNO) — Bypass the placement of an IDENTIFY record on the object
module.
See page 11-16 for more details on these override parameters.
Usage Restrictions
The following restrictions are in effect when using the Assembler Language Processor:
1. The MNOTE assembler instruction must begin with an asterisk.
2. Assembler preprocessor SYSIN and SYSLIB files must be fixed-length, 80-byte records.
3. If more than one dataset is concatenated to SYSIN in the compile step, the first
dataset must have the largest blocksize or the DCB=BLKSIZE=XXXXX parameter must
be coded.
4. When using the language postprocessor, the assembler listing must be complete and
contain carriage control characters.
5. When using the Assembler Language Postprocessor, any assembler instruction or
parameter that limits or suppresses the detail or content of the listing produced by
the assembler is not supported. This includes, but is not limited to, the NOPRINT
parameter specified on the PUSH or POP instruction, as well as PRINT OFF/NOGEN
instructions.
6. The following items are not supported by the language processor when used with
Assembler H or Assembler F:
– Using mixed case labels or opcodes in the assembler source.
– The DBCS assembler option
Assembler Language Processor
11-7
– The ICTL assembler instruction
7. When using the language processor with High-Level Assembler, the following
assembler instructions are not supported because they affect the detail level, content,
or formatting of the assembler listing:
– PRINT NOMSOURCE assembler instruction
– CEJECT, ACONTROL, or AINSERT assembler instructions
8. The CATTR assembler instruction is not specifically supported, however its use is
tolerated.
9. The ALIAS assembler instruction is supported. However, the length of the alias name
cannot exceed 63 characters. Additionally, if the main CSECT is aliased and the alias
name contains mixed case characters, you may wish to specify the language
processor option "PROC(IDENTNO)" in the CWPPRMO input parameters in order to
avoid an error message issued by the system binder.
10. If you use C macro processing to generate actual source code as well as %INCLUDE or
%NOPRINT directives, the macro processing must be performed by the compiler
prior to invoking the Compuware C Language Preprocessor.
Because the language preprocessor scans the source program before compilation, any
C macros that internally generate source code or compiler directives cannot be
detected since the macro is not resolved and expanded until compile time. The
language processor is dependent on each line in the macro having a different line
number. Any undetected compiler directives are then passed to the language
postprocessor, which stops if they are detected in the compiler listing.
The best way to resolve this situation, if you must use macro generation, is to
preprocess the source program using the C compiler first by using the INCLUDE,
MACRO, and NOCOMPILE options. This will generate a source program with all of
the macros resolved. This source can then be passed to the language preprocessor in a
subsequent JCL step for proper scanning and compilation.
Required Options for Supported Assemblers
The following Assembler options must be used with Assembler F, Assembler H, and High
Level Assembler 1.1:
• ESD
• LIST
The following Assembler options must be used with High Level Assembler 1.2 and higher:
• ESD
• LIST - Specify one of the following subparameters. These values change the
appearance of the listing.
– 121 - Creates a listing similar to release 1.
– 133- Creates a listing with LOC, Addr1, Addr2. MACRO/COPY names on the
right side of the listing are expanded to eight characters.
– MAX - Depending on the LRECL of SYSPRINT, subparameters 121 or 133 will be
used.
Assembler LP Command Descriptions and Syntax
This section describes the Assembler language processor commands and their parameters
and values.
11-8
Compuware Shared Services User/Reference Guide
ASSEMBLER (ASSEM) Command
The ASSEMBLER command controls the assembly listing destination. The parameter for
the ASSEMBLER command is OUTPUT.
OUTPUT (OU):
Specifies whether the assembly listing will print and/or written to a source listing file.
Select from the following values:
NOPRINT (NOPR):
(Default) Does not print the assembly listing.
PRINT (PR):
Prints the assembly listing.
NODDIO (NODD):
(Default) Does not write the assembly listing to a source listing file.
DDIO (DD):
Writes the assembly listing to a source listing file.
BOTH (BO):
Prints the listing and writes it to a source listing file. This has the same effect as
specifying ASSEMBLER(OUTPUT(PRINT,DDIO)).
NONE (NON):
Does not print the assembly listing and does not write it to a DDIO file. This has
the same effect as ASSEMBLER(OUTPUT(NOPRINT,NODDIO)).
CONDDDIO (CONDD) Command
The CONDDDIO command specifies that the source listing will be written to the source
listing file unless the assembly return code exceeds x. The default is 4. Permissible values
are 0-8.
Note:
Unpredictable results may occur when the CONDDDIO parameter is set to 8.
The CONDDDIO command can be used only with the preprocessor.
The following diagram illustrates the syntax for the CONDDDIO command.
CONDSTEP (CONDS) Command
The CONDSTEP command controls the condition code set by the postprocessor when it
is invoked by the preprocessor. The CONDSTEP parameter is ignored when the
Assembler Language Processor
11-9
postprocessor is invoked as a separate job step after the assembly; the postprocessor
return code is always used.
The CONDSTEP command can be used only with the preprocessor.
The following diagram illustrates the syntax for the CONDSTEP command.
HIGHEST (HI):
(Default) The condition code will be set to the value of the Assembler language
processor return code or the compiler return code, whichever is higher.
COMPILER (CO):
The condition code will always be set to the Assembler return code. This option is
typically used to allow a subsequent linkedit step to execute when the assembly
executes normally but the postprocessor is unable to execute successfully.
The DDIO command defines the processor DDIO output.
DDIO Command
Identifies the information from the Assembler assembly listing that will be written to the
VSAM or sequential DDIO file.
The parameters for the DDIO command are:
•
•
•
•
PROGRAM-NAME
DATE
TIME
OUTPUT
PROGRAM-NAME (PRO) Parameter
Specifies that an override name will be used for members in the source listing file. This
parameter is not supported by Abend-AID or Abend-AID for CICS.
name:
Specifies an alternative name for an assembly listing written to the source listing file.
DATE (DAT) Parameter
Overrides the date found in the listing with a different date.
date:
Specifies the alternative date that will be used for the override. The value must be a
maximum length of eight characters.
11-10
Compuware Shared Services User/Reference Guide
TIME (TI) Parameter
Overrides the time found in the listing with a different time.
time:
Specifies the alternative time that will be used for the override. The value must be a
maximum length of eight characters.
OUTPUT (OU) Parameter
Specifies the options for a source listing that is written to the source listing file. The
DDIO output parameter defines the sections of the assembler listing that are written to
the source listing.
XREF (XR):
(Default) Writes the XREF sections of the listing.
NOXREF (NOXR):
Does not write the XREF sections of the listing.
NOCOMPRESS (NOCO):
(Default) Does not compress the assembly listing. The size of the language processor
members will not be reduced.
COMPRESS (CO):
Enables compression. Depending on the size of your program and the options you
have set, the size of language processor source members may be reduced.
Note: There are performance implications when compression is used. More CPU and
memory are required for compression/decompression of the assembly listing.
This is especially important for online usage.
File-Overrides Commands
The File-overrides commands are used to override the default file definitions. The
following overrides are available:
•
•
•
•
•
•
WRK0 - WRK4
PRTI
PRTO
ERRM
LOAD
DECK
Note:
The LOAD or DECK ddname is used by the Assembler language processor
depending on the options selected for the assembly step. If both LOAD and
DECK are specified, both will be processed by the Assembler language processor.
If you are using a temporary dataset for your object, and only one option (LOAD
or DECK) is specified, eliminate the ddname that corresponds to the option that
Assembler Language Processor
11-11
is NOT specified. For example, if you specify LOAD, then eliminate the DECK
ddname.
The File-overrides commands can be used only with the postprocessor.
WRK0 - WRK4 File-Overrides Command
Specifies the work files.
Note:
1. In this diagram, WRKn represents WRK0 - WRK4.
If you omit DD(ddname), the assumed ddname will be CWPWRKn.
PRTI File-Overrides Command
Specifies the assembly listing input.
If you omit DD(ddname), the assumed ddname will be CWPPRTI.
PRTO File-Overrides Command
Specifies Assembler language processor output.
If you omit DD(ddname), the assumed ddname will be CWPPRTO.
ERRM File-Overrides Command
Prints the Assembler language processor error messages.
If you omit DD(ddname), the assumed ddname will be CWPERRM.
LOAD File-Overrides Command
Specifies the object library (indicated by the LOAD option of the assembler).
If you omit DD(ddname), the assumed ddname will be CWPLOAD.
11-12
Compuware Shared Services User/Reference Guide
DECK File-Overrides Command
Specifies the object library (indicated by the DECK option of the assembler).
If you omit DD(ddname), the assumed ddname will be CWPDECK.
Optional Override Values
The keywords below cause the language processor to override its default values:
DDNAME (DD):
Specify a ddname instead of accepting the default ddname.
BLKSIZE (BLK):
Specify a decimal blocksize instead of accepting the default blocksize.
BUFFERS (BUF):
Specify a decimal number as the number of buffers instead of accepting the default
number of buffers, which is 2. Only the first two buffers are used for buffering
input/output. Extra buffers are used as in-core work space for the file; therefore,
records placed in the work space will never be written to the work files. If the storage
is available, use this parameter with the BLKSIZE parameter to increase the language
processor speed.
If the language processor is running in the MVS/XA or MVS/ESA environments and is
above the 16-MB line, a value of zero specifies that as much storage as is available
will be used. Using zero places a greater amount of overhead on startup and should
not be used for small programs.
LRECL (LR):
Specify a decimal number as the logical record length instead of accepting the default
logical record size.
RECFM (RE):
Specify a record format instead of accepting the default record format. Valid formats
include:
F
Fixed
FA
Fixed ASA
FM
Fixed Machine
V
Variable
VA
Variable ASA
VM
Variable Machine
INCLUDE (IN) Command
The INCLUDE command includes a library or sequential file member that contains
another set of language processor options to be processed.
An included set of options can, in turn, include another set of options. If a recursive
chain of INCLUDEs is encountered, the language processor will stop with an error
message.
Duplicate or conflicting parameters are resolved as follows:
Assembler Language Processor
11-13
• Options are processed left to right.
• When an INCLUDE is encountered, the included member is processed immediately.
Options following the INCLUDE will be processed after the included member is
processed.
• The last options processed takes precedence.
• The sources of options are, in order of descending priority:
– forced options in the language assembler installation default module
– CBL options in the source file (or equivalent for other assemblers)
– PARM options on the EXEC card
– options specified in the CWPPRMO dataset
– default options in the language assembler installation default module
The INCLUDE command can be used only with the preprocessor.
The following diagram illustrates the syntax for the INCLUDE command.
ddname:
The ddname of the JCL statement that specifies the dataset name. If a member is not
specified, then the ddname must point to a sequential file or library member.
member:
The library member name. If the ddname is not specified, then the default
CWPPRMO will be used and a comma must precede the member name.
LANGPARM (LANGP) Command
The LANGPARM command specifies the parameters to be passed to the assembler
invoked by the language processor. If the language processor is run as a separate job step,
this option is ignored.
If you use the CWPPRMO dataset to specify your assembler options, you should use the
LANGPARM command. Otherwise, the preprocessor may not be able to distinguish
between assembler options and language processor options with the same name. The
LANGPARM command allows the preprocessor to identify compiler options that conflict
with language processor names, thus preventing unpredictable results.
If you use the PARM statement to specify your assembler options, you can also use the
LANGPARM command.
The LANGPARM command can be used only with the preprocessor.
The following diagram illustrates the syntax for the LANGPARM command.
parm:
Specifies a parameter to be passed.
11-14
Compuware Shared Services User/Reference Guide
LANGUAGE (LANG) Command
The LANGUAGE command specifies the type of assembler to be executed for the
Assembler language preprocessor.
The LANGUAGE command is no longer required for the postprocessor.
The following diagram illustrates the syntax for the LANGUAGE command.
HASM:
(Default) The language processor defaults to an Assembler H listing if the assembler
cannot be determined.
FASM:
The language processor assumes an Assembler F listing if the assembler cannot be
determined.
HLASM:
The language processor assumes a High Level Assembler listing if the assembler
cannot be determined.
PRINT (PR) Command
The PRINT command identifies the sections of the assembly listing that will be printed.
The parameter for the PRINT command is OUTPUT.
OUTPUT (OU):
Specifies the options for a source listing that will be printed.
XREF (XR):
(Default) Prints the XREF sections of the listing.
NOXREF (NOXR):
Does not print the XREF sections of the listing.
SOURCE (SO):
(Default) Prints the Source section of the listing.
NOSOURCE (NOSO):
Does not print the Source section of the listing.
PROCESSOR (PROC) Command
The PROCESSOR command specifies the output parameters of the Assembler language
processor. The parameters for the PROCESSOR command are:
Assembler Language Processor
•
•
•
•
•
•
•
•
11-15
BYPASS
DIAGNOSE
ERRORS
$ASUP
$NG
$NIDR
$NO
IDENTYES or IDENTNO
BYPASS (BY) Parameter
Specifies whether to run the preprocessor and assembler without running the
postprocessor.
NOBYPASS (NOBY):
(Default) Runs the postprocessor.
BYPASS (BY):
Does not run the postprocessor.
DIAGNOSE Parameter
Specifies whether extended diagnostic error messages will be generated.
NONE (NON):
(Default) Does not generate either type of message.
LOW-CORE (LOW):
An error message will be generated when an instruction is coded without any base or
index register. An error message will be generated for each applicable operand. This
option does not perform run time checking of low-core. It only checks object code.
NOLOW-CORE (NOLOW):
The error message will not be generated.
ESA-INDEX (ESA-I):
An error message will be generated when an RX (register-to-index form) instruction is
coded with an index register and no base register.
NOESA-INDEX (NOESA-I):
The error message will not be generated.
ALL:
Has the same effect as specifying PROCESSOR(DIAGNOSE(LOW-CORE,ESA-INDEX)).
11-16
Compuware Shared Services User/Reference Guide
ERRORS (ER) Parameter
Specifies how the language processor error messages will be printed.
UPPER-CASE (UP):
(Default) Errors will print in uppercase letters.
MIXED-CASE (MI):
Errors will print in uppercase and lowercase letters.
$ASUP Parameter
Allows a listing with suppressed statements to be postprocessed. For more information on
using this parameter, refer to “Handling Suppressed Statements” on page 11-5.
$NG Parameter
Specifies that the preprocessor’s support of PRINT OFF or PRINT NOGEN will be
bypassed.
$NIDR Parameter
Specifies that placement of the date and time stamp on the object module will be
bypassed.
$NO Parameter
Specifies that the preliminary assembly performed by the preprocessor will be bypassed.
The preliminary assembly is normally used to determine the assembler options currently
in effect. However, if you know that your options satisfy the requirements of the
language processor, you can bypass the preliminary assembly to reduce the preprocessor’s
execution time.
IDENTYES or IDENTNO
By default, Compuware language processors attempt to add information to the object deck
produced by a compiler (DD SYSLIN). This information assists Compuware products in
Assembler Language Processor
11-17
locating the correct member in a Compuware Listing File. Beginning with Compuware
Shared Services Release 8.3, the Language Processors will by default add an IDENTIFY
record to the object deck.
This IDENTIFY record is processed by the Linkage Editor or Binder when the object deck
is transformed into a load module or program object. The data added to the load module
or program object is non-executable, not loaded into memory when the module
executes. It identifies the Compuware Listing File where the language processor stored its
output for that program.
If you want to suppress this IDENTIFY card for a particular run of a Language Processor,
you may supply the input PROCESSOR(IDENTNO) in the CWPPRMO input.
The default value is PROCESSOR(IDENTYES). You may alter this default by using the
Customer Modification Facility (see Appendix B). If you alter the default to IDENTNO,
you may then wish to supply the input PROCESSOR(IDENTYES) in CWPPRMO, for an
individual execution of the Language Processor.
PROGRAM-NAME (PRO) Command
The PROGRAM-NAME command specifies an override name for members in the source
listing file. The following diagram illustrates the syntax for the PROGRAM-NAME
command.
name:
Specifies an alternative name for a source listing written to the source listing file.
SYSTEM (SYS) Command
The SYSTEM command performs miscellaneous functions. The following diagram
illustrates the syntax for the SYSTEM command.
TRACE (TR):
Specifies that the internal trace will print to CWPERRM.
TIME (TI):
Specifies that the internal time will print with the trace.
PTF:
Specifies that the PTF numbers currently installed on the CSS library will be printed.
This parameter is used by Compuware Technical Support during problem diagnosis.
ZAP:
Specifies that the PTF numbers currently installed on the CSS library will be printed.
This parameter is used by Compuware Technical Support during problem diagnosis.
Note:
The ZAP parameter is allowed for compatibility with pre-SMP/E releases.
11-18
Compuware Shared Services User/Reference Guide
ZIIP (ZIIP)
The ZIIP command controls the use of an available zIIP processor. The command
provides a mechanism to disable zIIP use by the language processor, and to control
memory usage and dump options when zIIP processing is enabled. The following
diagram illustrates the syntax of the ZIIP command:
YES:
Indicates that zIIP processing is to be enabled. This is the default.
NO:
Indicates that zIIP processing is disabled and all language processing will execute on
a general purpose processor. Alternately, zIIP processing can also be disabled by
including a //CXZPIGNR DD DUMMY statement in the language processor JCL stream.
MEM64:
Indicates that 64-bit memory will be used during language processing. This is the
default.
MEM31:
Indicates that normal 31-bit memory will be used during language processing.
DUMP:
Indicates that a machine readable dump will be taken if the language processor
abends while processing during zIIP execution. This is the default.
NODUMP:
Indicates that a machine readable dump will be suppressed if the language processor
abends while processing during zIIP execution.
12-1
Chapter 12.
C Language Processor
Chap 12
A language processor writes a source listing to a VSAM or sequential DDIO file. The DDIO
file may be one of several DDIO files attached to a shared directory. For C, the source
listing includes the compiler listing and other information about the program.
In addition, a language processor updates the object file (SYSLIN) produced by the
compiler. The information added by the language processor enables Xpediter/TSO to
locate the correct source listing file in DDIO when you later debug the compiled
program.
This chapter describes the outputs and commands associated with the C language
processor.
Operation
The C language processor reads the compiler listing produced by the C compiler and
writes the compiler listing to the DDIO file and SYSCPRT. The source listing in DDIO can
then be used to provide source support during a debugging or diagnostic session using
Xpediter/TSO.
Note:
Xpediter debuggers cannot access Inlined C Functions. Please make sure your C
components are compiled with the NOINLINE parameter if you intend to debug
them with Xpediter.
The C language processor can be run as either a preprocessor or postprocessor. The
preprocessor sets up the environment for the C compiler, then invokes the C compiler
and captures and analyzes the compiler listing. The postprocessor captures and analyzes
the listing from a previous run of the C compiler. Compuware recommends that you use
the preprocessor. The postprocessor should only be used in situations where compiled
source listings have been stored in machine-readable format.
Note:
CSS is downward compatible with listings created by a previous release of CSS.
The viewing facility or the product being used to view the listing (such as AbendAID for CICS or XPED) must be at the same level or higher than that which was
used to create the listing.
Preprocessor
Preprocessor Steps
1. Determines the proper compiler options required to process the listing file.
2. Automatically invokes the compiler or assembler to compile or assemble your source
program.
3. Writes the listing to the DDIO file and to SYSCPRT.
Preprocessor Benefits
• Better handling of compiler errors. By using the preprocessor, you can avoid the
potential problems of processing a listing with compiler errors. The preprocessor, in
conjunction with the CONDDDIO parameter, internally checks the return code from
the compiler and doesn’t write a DDIO listing that contains errors. For example, if
12-2
Compuware Shared Services User/Reference Guide
you set the CONDDDIO parameter to 4, the preprocessor will write the compiler
listing to the DDIO file unless the compiler return code exceeds 4. The preprocessor
can process the compiler errors more effectively than the postprocessor.
• Capturing of suppressed source code. When the following parameter is used,
sections of source code can be suppressed from the compiler listing:
For C
NOSHOWINC or NOEXPMAC
The preprocessor captures this information by forcing on more revealing compiler
options.
• Automated compiler options. The postprocessor requires that certain compiler
options be specified in order to process all needed sections of the compiler listing.
The preprocessor can automatically pass the required options to the compiler.
• Simplified JCL. While the postprocessor requires that the user add a step after the
compile step, the preprocessor requires only that minor modifications be made to
your existing compile step.
Dynamically Allocated Files
The following files are dynamically allocated by the Compuware preprocessor. The
attributes can be overridden by specifying a DD in the JCL.
Table 12-1. Files Dynamically Allocated by the Preprocessor
DDname
Attributes
CWPWRKn (0-6)
BLKSIZE=19000 SPACE(TRK,(100,80)) UNIT=SYSDA
TEMPLIN
BLKSIZE=3200 SPACE(TRK,(200,100)) UNIT=SYSDA
CWPERRM
SYSOUT=*
SYSPRINT
SYSOUT=*
SYSOUT
SYSOUT=*
CWPPRTI
BLKSIZE=16093 SPACE(TRK,(100,200)) UNIT=SYSDA DISP=MOD
CWPPRTO is dynamically allocated as a work file (for the preprocessor). SYSPRINT is
where the listing goes.
Postprocessor
The postprocessor is executed as a single step — can be a separate job. It reads in the
listing created from the compiler. Information is gathered from the source listing, XREF,
data maps, and object code sections of the listing. This information is stored in a DDIO
file member and is used by various Compuware products.
While the preprocessor is the preferred method of loading the compiled listing to the
DDIO, there are situations that necessitate use of the postprocessor as a viable
alternative. This is commonly found in production environments where the listings may
be archived. Note that these are usually the default options at many shops.
Benefits of Postprocessing
• Exact match of compiled output listings with the executable load module. This is
especially important in production environments where time is critical.
• Eliminates the risk of copybook or source code changes prior to recompiling the code
since the listing reflects the code that is being executed.
• Significantly less time is needed to process source listings as opposed to recompiling
the source code.
C Language Processor
12-3
Summary of C Language Processor Commands
The following is a list and brief description of the commands available for the C language
processor. Each command is discussed in detail later in this chapter.
C
Controls whether the language processor should print the compiler
listing and/or write it to DDIO.
CONDDDIO
(Can only be used with the preprocessor) Specifies that the source
listing will be written to the DDIO file unless the compiler return
code exceeds the maximum value you set.
CONDSTEP
(Can only be used with the preprocessor) Controls the condition
code set by the preprocessor.
DDIO
Specifies which sections of the C compiler listing will be written to
the DDIO file.
File-overrides
(Can only be used with the postprocessor) Override certain default
file definitions (ddnames) used by the language processors.
INCLUDE
Includes a library or sequential file member that contains another
set of language processor options to be processed.
LANGPARM
(Can only be used with the preprocessor) Specifies parameters to be
passed to the compiler invoked by the language processor.
LANGUAGE
Specifies the type of compiler for the C language preprocessor and
postprocessor.
PRINT
Identifies the sections of the listing that will be printed.
PROCESSOR
Specifies the output parameters of the C language processor.
PROGRAM-NAME
Specifies an override name for members in the source listing file.
SYSTEM
Performs miscellaneous functions.
The commands can be entered in two ways:
• As parameters on the PARM statement of the EXEC — (Override input from the
CWPPRMO file.)
• As input from the CWPPRMO file — (Comments are not valid, and all command
strings must be within columns 1 through 71.)
Each command has parameters (and some parameters have values) that must be written
immediately after the commands, be enclosed in parentheses, and separated by commas.
If conflicting command options are entered, the last option specified is used.
12-4
Compuware Shared Services User/Reference Guide
Usage Considerations
This section includes information that you need to know in order to be able to use the C
language processor most efficiently.
DDIO Member Name
The C language processors write the listing as a member of a DDIO file. The processors
select a member name by applying the following tests (in the order shown).
1. If the PROGRAM-NAME(name) option was specified in CWPPRMO or on the EXEC
PARM= parameters, that name is used as the DDIO member name.
2. If your program includes a ‘#pragma csect(CODE,“name”)’ directive, the name
specified for the CSECT is used as the DDIO member name.
3. If your source program was read from a member of a PDS or PDSE, that member name
is used as the DDIO member name.
4. If your program includes any external-linkage (non-static) functions, the name of the
first such function is used as the DDIO member name.
5. If your program includes any external-linkage (file scope, non-static) variables, the
name of the first such variable is used as the DDIO member name.
6. Failing all of the above, “TEMPNAME” will be used as the DDIO member name.
See Chapter 8, “Batch File Utility CWDDALLU” for a description of how to create a
Source Listing Shared Directory.
Language Processor DD Statements
The following table lists the DD statements for the C language processor:
Table 12-2. Language Processor DD Statements.
DDname
Purpose
CWPPRMO
LP parameter input dataset
CWPDDIO
Target source listing DDIO file
CWPPRTI
Compiler listing input to postprocessor
CWPPRTO
Compiler listing output from postprocessor
CWPLOAD
OBJECT module input to postprocessor
CWPERRM
LP Error Messages
C Samples and Program Names
The following is a list of members in the CSS installation library that contain sample JCL
for executing the C language processor:
Table 12-3. C Sample JCL Members
CXCPRE
JCL for running the C language preprocessor
CXC
JCL for running the C language postprocessor
CXC2
JCL for running the C language postprocessor with compiler listings stored in machinereadable format
CXLPC
Sample C language processor options
C Language Processor
12-5
The program names of the two C language processors are:
Table 12-4. C Program Names
CWPZMAIN C preprocessor
CWPZDRVR
C postprocessor
Other Usage Considerations
This section describes special considerations for using the C language processor.
Processing Listings with Errors
Unpredictable results may occur when you postprocess a compiler listing with
serious errors. However, if you use the preprocessor, you can avoid these potential
problems. The preprocessor, in conjunction with the CONDDDIO parameter,
internally checks the return code from the compiler and does not write out a listing
that contains errors. Using the preprocessor prevents unnecessary processing of an
error-filled compiler listing by not calling the postprocessor if the compiler error
level is too high.
Insufficient Primary Space Allocation
During preprocessing, you may receive a B37 abend on the CWPPRTI DD statement.
This is due to insufficient space on the temporary volume used by MVS for the
dynamically allocated dataset. To correct this problem, first try resubmitting the job.
If the problem persists, you can include your own CWPPRTI DD card in the
preprocessor JCL. Be sure to allocate enough primary space to contain your compile
listing.
Effect of Optimization Logic on Execution Pointer
While the language processor supports the use of optimized code, it should be noted
that occasionally the code execution pointer could follow a different path than
expected due to the optimization logic. This consideration only applies to Xpediter
users.
Batch Compile of Multiple C Programs in a PDS
The Compuware C preprocessor does not support allocating an entire PDS to SYSIN
DD, with the result that every member of the PDS is compiled. You can compile only
one input file (sequential dataset or PDS member) in one run of the Compuware
preprocessor.
Use of HFS Files
The Compuware C language processors do not support the use of HFS (the UNIX file
system) for any input or output files.
Use of the OPTFILE Compiler Option to Specify Any Option Required by the
Language Processors
The Compuware preprocessor supports the use of the OPTFILE compiler option,
which allows you to include compiler options from specified files, but the
preprocessor does not examine the contents of these files as they are included. If, for
example, you specified the SOURCE option only in an OPTFILE, the Compuware
preprocessor would presume that you were using the default NOSOURCE option, and
would alter the listing sent to SYSCPRT to emulate NOSOURCE. If you want to
specify compiler options or language processor options in external files, consider
including these files with the INCLUDE option in CWPPRMO input to the language
processors, since the language processors do examine the contents of INCLUDE files.
12-6
Compuware Shared Services User/Reference Guide
Usage Restrictions
This section describes conditions not yet supported by the C language processor.
Other product-specific restrictions may also apply when using the C language processor.
Consult your CSS-related product documentation for more information.
The following conditions are not currently supported:
• Inconsistent use of the #line directive.
The #line directive of the C/C++ compiler allows the programmer to assert that
subsequent lines of source will be considered as included from a named external file
(which need not exist). The Compuware C language processors support the use of
#line, as long as it does not result in two or more different lines of source being
attributed to the same line number of the same external file, or to the same line
number of the primary input file.
• Use of pre-compiled headers.
The Compuware preprocessor will automatically append the options NOGENPCH
and NOUSEPCH to the options passed to the compiler.
• Use of #pragma to change compiler options.
Use of “#pragma options” to change compiler options dynamically is not supported
for certain options. Specifically, you must not specify any of the following in a
“#pragma options(…)” directive:
•
•
•
•
XREF
NOXREF
OBJECT
NOOBJECT
• If the name in the #pragma CSECT directive is mixed case, the binder will require the
parameter case (mixed) to be specified. This is required when the INDENTYES
compile parm is used (default).
• Use of the OPTFILE compiler option to specify any option required by the language
processors.
The Compuware preprocessor supports the use of the OPTFILE compiler option,
which allows you to include compiler options from specified files, but the
preprocessor does not examine the contents of these files as they are included. If, for
example, you specified the SOURCE option only in an OPTFILE, the Compuware
preprocessor would presume that you were using the default NOSOURCE option and
would alter the listing sent to SYSCPRT to emulate NOSOURCE. To specify compiler
options or language processor options in external files, consider including these files
with the INCLUDE option in CWPPRMO input to the language processors since the
language processors do examine the contents of INCLUDE files.
• Redirection of the compiler listing by specification of an alternate dataset or ddname
on either the LISTING or INLRPT option is not supported.
• The Compuware C language processor does not support all the language constructs
permitted by the IBM compiler when using compiler option LANGLVL(COMMONC).
For example, anonymous unions are not supported.
The following restriction applies when using the postprocessor:
• If the postprocessor is used, the listing must be compiled complete with carriage
control characters.
C Language Processor
12-7
Required Options for Supported C Compilers
The following is a list of the C compiler options that must be used with the C language
processor:
•
•
•
•
•
EXPMAC
LIST
SHOWINC
SOURCE
XREF
If you use the Compuware preprocessor to compile your C programs, it will automatically
invoke the compiler with these options, then adjust the listing to match the options
specified in your JCL. If you use the Compuware postprocessor to process a listing that
was not compiled with all these options, you will receive the message:
PZDRVR305 – S Compiler option OPTION is required
where OPTION is the required option that is missing. The postprocessor will stop with an
error return code.
C Language Processor Command Descriptions & Syntax
This section describes the C language processor commands, along with their parameters
and values.
C
The C command controls whether the language processor should print the compiler
listing and/or write it to DDIO.
The following diagram illustrates the syntax for the C command. You must specify
OUTPUT as the parameter of the C command.
OUTPUT (OU):
Specifies whether the compiler listing will be printed or written to a source listing
DDIO file. Select from the following values:
NOPRINT (NOPR):
(Default) Does not print the compiler listing.
PRINT (PR):
Prints the compiler listing.
NODDIO (NODD):
(Default) Does not write the compiler listing to a source listing file.
DDIO (DD):
Writes the compiler listing to a source listing file.
12-8
Compuware Shared Services User/Reference Guide
BOTH (BO):
Prints the listing and writes it to a source listing file. This has the same effect as
specifying C(OUTPUT(PRINT,DDIO)).
NONE (NON):
Does not print the compiler listing and does not write it to a DDIO file. This has
the same effect as C(OUTPUT(NOPRINT,NODDIO)).
CONDDDIO (CONDD)
The CONDDDIO command specifies that the source listing will be written to the DDIO
file unless the compiler return code exceeds x. The default is 4. Permissible values are 0-4.
The CONDDDIO command can be used only with the preprocessor.
The following diagram illustrates the syntax for the CONDDDIO command:
CONDSTEP (CONDS)
The CONDSTEP command controls the condition code set by the preprocessor. The
CONDSTEP parameter is ignored when the postprocessor is invoked as a separate job or
job step.
The CONDSTEP command can be used only with the preprocessor.
The following diagram illustrates the syntax for the CONDSTEP command:
HIGHEST (HI):
(Default) The condition code will be set to the value of the C language processor
return code or the compiler return code, whichever is higher.
COMPILER (CO):
The step condition code will always be set to the compiler return code. This option is
typically used to allow a subsequent linkedit step to execute when the compile
executes normally, but the language processor’s capture or analysis of the listing is
unable to execute successfully.
DDIO
The DDIO command specifies which sections of the C compiler listing will be written to
the DDIO file.
C Language Processor
12-9
Specify the sections of the compiler listing using the OUTPUT parameter of the DDIO
command. The following diagram illustrates the syntax for the DDIO command.
OUTPUT (OU):
Specifies which sections of the compiler listing will be written to the DDIO file.
XREF (XR):
(Default) Writes the XREF sections of the listing.
NOXREF (NOXR):
Does not write the XREF sections of the listing.
LIST (LI):
(Default) Writes the Pseudo-Assembler section of the listing.
NOLIST (NOLI):
Does not write the Pseudo-Assembler section of the listing.
File-Overrides Commands
The File-overrides commands override certain default file definitions (ddnames) used by
the language processors. These ddnames are used by both the preprocessor and the
postprocessor:
•
•
•
•
CWPERRM
CWPPRTI
CWPPRTO
CWPLOAD
All of these ddnames except CWPERRM must be specified when you run the
postprocessor. None of them is required when you run the preprocessor. Any ddname not
specified by you is allocated dynamically by the language processor.
Any of these four ddnames can be overridden by a file override command. The Fileoverrides commands can be used only with the postprocessor.
The following overrides are available:
ERRM File-Overrides Command
Error and informational messages from the language processor.
The following diagram illustrates the syntax for the ERRM file-override command:
If you omit DD(ddname), the assumed ddname will be CWPERRM.
PRTI File-Overrides Command
The compiler listing to be analyzed.
12-10
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the PRTI file-override command:
If you omit DD(ddname), the assumed ddname will be CWPPRTI.
PRTO File-Overrides Command
The compiler listing printed after the language processor has completed.
The following diagram illustrates the syntax for the PRTO file-override command:
If you omit DD(ddname), the assumed ddname will be CWPPRTO.
LOAD File-Overrides Command
The object file created by the compiler, which the language processor will modify.
The following diagram illustrates the syntax for the LOAD file-override command:
If you omit DD(ddname), the assumed ddname will be CWPLOAD.
Optional Override Values
The keywords below cause the language processor to override its default values.
DDNAME (DD):
Specify a ddname instead of accepting the default ddname.
BLKSIZE (BLK):
Specify a decimal blocksize instead of accepting the default blocksize.
LRECL (LR):
Specify a decimal number as the logical record length instead of accepting the default
logical record size.
RECFM (RE):
Specify a record format instead of accepting the default record format. Valid formats
include:
F
Fixed
FA
Fixed ASA
FM
Fixed Machine
V
Variable
VA
Variable ASA
VM
Variable Machine
C Language Processor
12-11
INCLUDE (IN)
The INCLUDE command includes a library or sequential file member that contains
another set of language processor options to be processed.
An included set of options can, in turn, include another set of options. If a recursive
chain of INCLUDEs is encountered, the language processor will ignore the INCLUDE that
caused the recursion, and continue processing.
Duplicate or conflicting parameters are resolved as follows:
• Options are processed left to right.
• When an INCLUDE is encountered, the included member is processed immediately.
Options following the INCLUDE will be processed after the included member is
processed.
• The last option processed takes precedence.
• The sources of options are, in order of descending priority:
– forced options in the C language compiler installation default module
– #pragma option() options in the source file
– PARM options on the EXEC card
– options specified in the CWPPRMO dataset
– default options in the C language compiler installation default module
The following diagram illustrates the syntax for the INCLUDE command:
ddname:
The DDNAME of the JCL statement that specifies the dataset name. If a member is
not specified, then the ddname must point to a sequential file or library member.
member:
The library member name. If the ddname is not specified, then the default
CWPPRMO will be used and a comma must precede the member name.
LANGPARM (LANGP)
The LANGPARM command specifies parameters to be passed to the compiler invoked by
the language processor. The postprocessor ignores this option.
If you use the CWPPRMO dataset to specify your compiler options, you should use the
LANGPARM command. Otherwise, the preprocessor may not be able to distinguish
between compiler options and language processor options with the same name. The
LANGPARM command allows the preprocessor to identify compiler options that conflict
with language processor names, thus preventing unpredictable results.
If you use the PARM statement to specify your compiler options, you can also use the
LANGPARM command.
The LANGPARM command is meaningful only when used with the preprocessor.
12-12
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the LANGPARM command:
parm:
Specifies a parameter to be passed.
LANGUAGE (LANG)
The LANGUAGE command specifies the type of compiler to be executed for the C
language preprocessor.
The LANGUAGE command is no longer required for the postprocessor.
The following diagram illustrates the syntax for the LANGUAGE command:
C390:
(Default) Specifies that some version of the C/C++ for OS/390 compiler should be
used. The preprocessor will invoke program CBCDRVR, which is an alias for the
compiler module in the libraries distributed for every version of C/C++ for OS/390.
You should include the proper libraries for the compiler version you want to use in
the STEPLIB DD of your JCL.
CMVS:
Specifies that the C/C++ for MVS compiler (CBC320PP) should be used.
CZOS
Specifies that the z/OS 1.2 or higher C/C++ compiler (CCNDRVR) should be used.
PRINT (PR)
The PRINT command identifies the sections of the listing that will be printed.
The following diagram illustrates the syntax for the PRINT command. You must specify
OUTPUT as the parameter of the PRINT command.
OUTPUT (OU):
Specifies the options for a source listing that will be printed.
XREF (XR):
(Default) Prints the XREF sections of the listing.
NOXREF (NOXR):
C Language Processor
12-13
Does not print the XREF sections of the listing.
LIST (LI):
(Default) Prints the Pseudo-Assembler section of the listing.
NOLIST (NOLI):
Does not print the Pseudo-Assembler section of the listing.
SOURCE (SO):
(Default) Prints the Source section of the listing.
NOSOURCE (NOSO):
Does not print the Source section of the listing.
PROCESSOR (PROC)
The PROCESSOR command specifies the output parameters of the C language processor.
The parameters available for the PROCESSOR command are:
ERRORS (ER) Parameter
Specifies how the language processor error messages will be printed.
The following diagram illustrates the syntax for the PROCESSOR command ERRORS
parameter.
UPPER-CASE (UP):
(Default) Errors will be printed in uppercase letters.
MIXED-CASE (MI):
Errors will be printed in uppercase and lowercase letters.
$NIDR Parameter
Specifies that placement of the date and time stamp on the object module will be
bypassed.
The following diagram illustrates the syntax for the PROCESSOR command $NIDR
parameter.
$NO Parameter
Specifies that the preliminary compilation performed by the preprocessor will be
bypassed. The preliminary compilation normally determines the compiler options
currently in effect. However, if you know that your options satisfy the requirements of
the language processor, you can bypass the preliminary compilation to reduce the
preprocessor’s execution time.
12-14
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the PROCESSOR command $NO
parameter.
IDENTYES or IDENTNO
By default, Compuware language processors attempt to add information to the object deck
produced by a compiler (DD SYSLIN). This information assists Compuware products in
locating the correct member in a Compuware Listing File. Beginning with Compuware
Shared Services Release 8.3, the Language Processors will by default add an IDENTIFY
record to the object deck.
This IDENTIFY record is processed by the Linkage Editor or Binder when the object deck
is transformed into a load module or program object. The data added to the load module
or program object is non-executable, not loaded into memory when the module
executes. It identifies the Compuware Listing File where the language processor stored its
output for that program.
If you want to suppress this IDENTIFY card for a particular run of a Language Processor,
you may supply the input PROCESSOR(IDENTNO) in the CWPPRMO input.
The default value is PROCESSOR(IDENTYES). You may alter this default by using the
Customer Modification Facility (see Appendix B). If you alter the default to IDENTNO,
you may then wish to supply the input PROCESSOR(IDENTYES) in CWPPRMO, for an
individual execution of the Language Processor.
PROGRAM-NAME (PRO)
The PROGRAM-NAME command specifies an override name for members in the source
listing file.
The following diagram illustrates the syntax for the PROGRAM-NAME command:
name:
Specifies an alternative name for a source listing written to the source listing file.
SYSTEM (SYS)
The SYSTEM command performs miscellaneous functions.
The following diagram illustrates the syntax for the SYSTEM command:
PTF:
Specifies that the PTF numbers currently installed on the CSS library will be printed.
This parameter is used by Compuware Technical Support during problem diagnosis.
C Language Processor
12-15
ZAP:
Specifies that the PTF numbers currently installed on the CSS library will be printed.
This parameter is used by Compuware Technical Support during problem diagnosis.
Note:
The ZAP parameter is allowed for compatibility with pre-SMP/E releases.
12-16
Compuware Shared Services User/Reference Guide
13-1
Chapter 13.
CSS Security Exit
Chap 13
The CSS Security Exit program is a user-coded program for Compuware products that use
any of the following CSS components:
•
•
•
•
•
•
•
CWDDSUTL batch file utility
CWFXSDUT batch file utility (certain commands only)
CWAASDUT batch file utility (certain commands only)
CWDDLPUT batch file utility (certain commands only)
CWDDALLU batch file utility (certain commands only)
Abend-AID for CICS online viewing facility
AADF (a CICS online viewing facility used by Abend-AID for CICS)
This chapter describes how to prepare the exit.
Note:
The name of the Security Exit program must be CWASSECU. A sample can be
found in the CSS SLCXCNTL installation library, member CWASSECU.
Operation
The Security Exit program enables you to control access to CSS DDIO file members by
controlling access to the user command. Using a security exit program is optional. The
Compuware Security Exit program can be used in conjunction with your existing security
package to secure sensitive data used by the following Compuware products:
•
•
•
•
•
•
•
Abend-AID
Abend-AID for CICS
Xpediter/CICS
Xpediter/TSO and Xpediter/IMS
Xpediter/Code Coverage
Strobe
Compuware Workbench
After the Security Exit program has been coded for any one of these Compuware
products, it will also be called by the remaining listed products if they are installed at
your site and share the same load library.
If the Security Exit program is present, it is called for each member selected. The Security
Exit program determines if the requested command is permitted for the user, and then it
returns the appropriate code to the calling facility (CWDDSUTL, CWFXSDUT,
CWAASDUT, CWDDLPUT, CWDDALLU, Abend-AID for CICS server, or AADF). If the
command is unacceptable for one of the selected members, it will not be executed at all.
Security Exit Program Functions
The functioning of the Security Exit program depends on the type of DDIO file. The exit,
as distributed, has the following default permissions:
Abend-AID report files:
• Permits only the owner of a report file to delete, view, or print the report via batch
processing.
• Prohibits anyone from formatting production datasets.
13-2
Compuware Shared Services User/Reference Guide
• All other commands are available to all users.
Abend-AID for CICS transaction databases:
• Allows general viewing access to the transaction dump information entries or
database directory.
• Allows viewing of a transaction dump information entry or database by an operator
at abend time or by a programming manager at any time.
• Prohibits online deletion of transaction dump information entries.
• Permits all commands except DELETE for batch processing of transaction dump
information entries or databases.
Source Listing Files:
• All commands are available to users.
Abend-AID for CICS Security Exit Considerations
The Security Exit program allows you to restrict access to some utility functions for
transaction databases and source listing files. For transaction databases, you can use the
Security Exit program to restrict access to individual dumps within a transaction
database. When the Compuware Security Exit program and/or an external security
package is used, security is enabled as described in the following table:
Table 13-1. Security Exit Enablement for Abend-AID for CICS Commands
Transaction Databases
Source Listing Files
Online
All commands
All commands except DIR
Batch
Utility commands COPY, DELETE, EXPORT, IMPORT, LOCK, All utility commands
MOVE, UNLOCK
Note:
As already mentioned, after the Compuware Security Exit program is enabled for
any of the listed Compuware products except Abend-AID for CICS, it is
automatically enabled for the other listed Compuware products.
After your external security package has verified that the server region and the user can
access the dataset, security checking is performed as follows:
• Transaction database
If the Compuware Security Exit program is present and the Abend-AID for CICS
EXTERNAL_SECURITY_DDIO_METHOD server configuration parameter is CSS, the
Compuware Security Exit is called and any external security package is ignored. If the
Compuware Security Exit program is not present, or the server configuration
parameter EXTERNAL_SECURITY_DDIO_METHOD equals SAF, the external security
package is called.
• Source listing file
When you are using the Abend-AID for CICS online viewing facility (through ISPF,
AADF, or VTAM) and an attempt is made to open a source listing file, the Compuware
Security Exit program is called to determine whether the user is authorized for the
requested command. (This is only true if the Abend-AID for CICS server
configuration parameter EXTERNAL_SECURITY_DDIO_METHOD equals DDIO.)
When an attempt is made to modify the source listing file, the Compuware Security
Exit program is called to determine whether the user is authorized to use the
requested command.
Note:
When using the Compuware Security Exit program, if the Security Exit program
module is replaced while a Abend-AID for CICS server region is running, the new
copy will not be available until the region is recycled.
CSS Security Exit
13-3
Security Exit Program Inputs and Outputs
Upon entering the Security Exit program, the registers must be saved. A save area is
provided as part of the command list pointed to by R1 (field SECUAREA). The registers
must be restored prior to returning to the original calling facility (CWDDSUTL,
CWFXSDUT, CWAASDUT, CWDDALLU, CWDDLPUT, Abend-AID for CICS server, or
AADF). An exception is R15, which holds the return code or address of the customersupplied message that provides the calling facility with the security check result.
Note:
Any services native to the environment, such as CICS command-level services,
cannot be developed within this exit.
Input Information
The contents of the registers upon entry to the Security Exit program are:
R1
Contains the command list address.
R13
Contains the Save Area address passed by the caller.
R14
Contains the return address to the calling facility.
R15
Contains the entry point address for the CWASSECU Security Exit program.
Command List
The command list passed to the Security Exit program is mapped by CWASSECD DSECT,
which is defined by the CWASSECD macro in SLCXCNTL installation library member
CWASSECD, and is shown in Figure 13-1 on page 13-5.
Each field in the CWASSECD DSECT is followed by a letter code describing the type of file
for which the field is filled. The codes are:
C
Abend-AID for CICS transaction database
E
Source listing file (Abend-AID, Abend-AID for CICS, Xpediter/CICS, Xpediter/
TSO)
O
Abend-AID report file
A
All of the above
The SECUCUSR field contains the USERID when invoked from a batch job using
CWDDSUTL or CWFXSDUT when one of the following conditions is true:
•
•
•
•
RACF is installed.
ACF2 is installed, and the ‘SAF’ option is enabled.
Top Secret is installed, and the ‘SAF’ option is enabled.
The ASXBUSER field in the ASXB control block is filled in with the submitting user
ID by an installation-defined method.
The SECUCMND field contains the command that caused the Security Exit program to be
invoked. The available commands are:
DIR
Display a directory entry for a DDIO file member (for DIRECTORY or DIRX
commands).
DIRS
List the directory entries in a sequential file produced by the EXPORT
command.
VIEW
View the DDIO file member.
DELT
Delete the DDIO file member.
PRNT
Print the DDIO file member.
FORM
Format the DDIO file.
13-4
Compuware Shared Services User/Reference Guide
LOCK
Lock the DDIO file member.
UNLK
Unlock the DDIO file member.
COPY
Copy the DDIO file member.
MOVE
Move the DDIO file member.
IMPR
Import the DDIO file member.
EXPR
Export the DDIO file member.
CSS Security Exit
Figure 13-1. CWASSECD DSECT
MACRO
CWASSECD
CWASSECD DSECT
SECUCMND DS
CL4
A
REQUEST BEING MADE :
*
'DIR ' 'DIRS' 'VIEW' 'DELT'
*
'PRNT' 'FORM' 'LOCK' 'UNLK'
*
'COPY' 'MOVE' 'OPEN' 'PROF'
*
'IMPR' 'EXPR' 'REOR'
*------------------------------------------------------------------*
AA/CICS BATCH COMMANDS:
'DELT' 'LOCK' 'UNLK' 'COPY'
*
'MOVE' 'IMPR' 'EXPR'
*
*------------------------------------------------------------------DS
CL32
RESERVED
SECUAREA DS
16F
A
SAVE AREA FOR USER SECURITY EXIT
DS
CL132
RESERVED
SECUDSNT DS
CL44
A
DDIO DATASET NAME
SECUDSND DS
CL44
A
DESTINATION DSNAME *
COPY/MOVE/IMPORT/EXPORT ONLY
SECUSDSN DS
CL44
CO
USER ENTERED SOURCE DATASET NAME *
PRINT/VIEW/OPEN ONLY
SECUCUSR DS
CL8
A
CURRENT USER ID (EXEPT BATCH)
SECUFILE DS
X
A
TYPE OF CALL
SECUOSON EQU
X'04'
MVS/ABENDAID (ISPF)
SECUOSBT EQU
X'08'
MVS/ABENDAID (BATCH)
SECUCCON EQU
X'0C'
OLD CICS/ABENDAID (ISPF)
SECUCCDF EQU
X'10'
AA/CICS SERVER & CICS/ABENDAID (AADF)
SECUCCBT EQU
X'14'
ABENDAID FOR CICS (BATCH)
SECUSRON EQU
X'18'
SOURCE (ISPF)
SECUSRDF EQU
X'1C'
SOURCE (AA/CICS SERVER & AADF)
SECUSRBT EQU
X'20'
SOURCE (BATCH)
SECURDON EQU
X'24'
RESERVED
SECURDBT EQU
X'28'
RESERVED
DS
0D
*
* INFORMATION SPECIFIC TO ABEND-AID
*
SECUJOB DS
CL8
O
JOBNAME
SECUSTEP DS
CL8
O
STEPNAME
SECUPROC DS
CL8
O
PROCSTEP
SECUJES DS
CL8
O
JES JOB ID
SECUABND DS
CL4
O
TYPE OF ABEND (ABEND CODE)
SECUTIME DS
PL4
O
TIME OF ABEND HHMMSSS+
SECUDATE DS
PL3
O
DATE OF ABEND YYDDD+
SECUPROG DS
CL10
O
PROGRAMMER NAME
DS
CL100
RESERVED
ORG
SECUJOB
*
DS
CL 18
SIZE ADJUSTMENT
* INFORMATION SPECIFIC TO ABEND-AID FOR CICS AND/OR OLD CICS ABEND-AID
*
SECUTRAN DS
CL4
C
ABENDING TRANSACTION CODE
SECUTERM DS
CL4
C
TERMINAL ID OF ABENDING PGM
SECUPGRM DS
CL8
C
ABENDING PROGRAM NAME
SECUNETN DS
CL8
C
ABENDING PROGRAM VTAM NETNAME
SECUAPID DS
CL8
C
CICS APPLID WHEN ABEND TAKEN
SECUCABN DS
CL4
C
TYPE OF ABEND (ABEND CODE)
SECUCTIM DS
PL4
C
TIME OF ABEND HHMMSSS+
SECUCDAT DS
PL3
C
DATE OF ABEND YYDDD+
SECUAUSR DS
CL8
C
CICS USER ID WHEN ABEND TAKEN
SECUCPID DS
CL8
F
CURRENT CICS APPLID
SECUCTRM DS
CL4
F
CURRENT CICS TERMINAL ID
SECUPROF DS
CL8
F
USER ENTERED PROFILE KEY
DS
CL100
RESERVED
ORG
SECUJOB
*
* INFORMATION SPECIFIC TO LISTING FILE
*
SECUELST DS
CL8
E
PROGRAM NAME
SECUEDAT DS
CL8
E
COMPILE DATE
SECUETIM DS
CL8
E
COMPILE TIME
SECUEREL DS
CL8
E
SOURCE LEVEL RELEASE
DS
CL100
RESERVED
*
ORG
SECDSIZE EQU
*-CWASSECD
MEND
13-5
13-6
Compuware Shared Services User/Reference Guide
Output Information
Upon exiting, the Security Exit program passes one of the following return codes or
addresses in R15:
0
Continue processing the requested command.
4
Stop processing the requested command. The default message UNABLE TO
COMPLY WITH REQUEST BECAUSE OF SECURITY REASONS is sent to the
user.
ADDRESS Stop processing the requested command. The customer-supplied message
pointed to by the address in R15 is sent to the user. The customer's message
must comply with the following format:
• 1 Byte: Length of the message
• 80 Bytes (maximum): Message content
A-1
Appendix A.
Using the Customer Modification Facility
Appendix A.
App A
The Customer Modification Facility is a method for activating specialized code
modifications to the CSS base code. A configuration source member is read containing
the keywords you specify. The keywords are used to create a load module that is linked
into your CSS load library. A sample of the configuration source member, and other
necessary JCL, is located in the CSS sample installation library,
COMPWARE.LCXnnn.SLCXCNTL. The following members are used:
• CXCFGINI - Original configuration source member
• CXCFGSET - Assembles and configures a CSS load module from the configuration
source member
• CXCFGEXT - Extracts the existing configuration source member
Note:
A comprehensive keyword list is not provided as majority of these specialized
code modifications are not required for most installations. Implementation of a
keyword without consulting Technical Support may produce unexpected results.
Contact Compuware Technical Support and ask for a CSS representative for
assistance.
If this is the first time you have used the Customer Modification Facility, perform the
steps in “Creating a Configuration Source Member”. If you have already set up and
assembled a configuration source member and want to add additional keywords, you can
choose one of the following methods:
• Add the new keywords to your copy of the CXCFGINI member. Submit CXCFGSET.
For information on using CXCFGSET, refer to “Creating a Configuration Source
Member”.
• Use CXCFGEXT to extract the existing source configuration member into a specified
member. This member becomes the new configuration source member. The new
keywords are added to the specified member and CXCFGSET must be run again. This
method is used if you cannot locate your copy of the CXCFGINI member and/or
don’t know which keywords have been retrofitted. For information on using
CXCFGEXT for this method, refer to “Reconstructing a Configuration Source
Member” on page A-3.
Note:
Each time that your CSS load library is upgraded to a higher release of CSS and
you wish to retain the specialized code modifications, CXCFGSET must be
modified to point to the new CSS library and executed again.
A-2
Compuware Shared Services User/Reference Guide
Creating a Configuration Source Member
Step 1. Copy member CXCFGINI
Copy member CXCFGINI from the CSS sample installation library
(COMPWARE.LCXnnn.SLCXCNTL) into a member of your own dataset. Edit the copied
member for the keywords you want to specify, according to the instructions in the
member. Keyword values may be singular or a string enclosed in quotes.
The CSS system default for the UNIT assignment for allocated work files can be adjusted
with the Customer Modification Facility. The Customer Modification Facility keyword to
change the default is DEFUNIT. By specifying DEFUNIT SYSAB in the CXCFGINI member,
the UNIT=SYSDA default can be modified to SYSAB.
The Language Processor default value, PROCESSOR(IDENTYES), may be changed by
coding the Customer Modification Facility keyword IDENTIFY. If you specify IDENTIFY
NO, the Language Processor default is set to PROCESSOR(IDENTNO).
Step 2. Edit member CXCFGSET
Edit member CXCFGSET in the CSS sample installation library. CXCFGSET assembles and
configures a CSS load module from member CXCFGINI. Edit the following values in this
JCL:
INSRC
Dataset name that contains your configuration source member
INMEM
Name of your configuration source member
ASMBLR
Name of your assembler. Enter one of the following: IFOX00 (Assembler-F),
IEV090 (Assembler-H), or ASMA90 (High Level Assembler)
USECSS
CSS load library to include in the STEPLIB concatenation
EXTCSS
CSS load library in which to build a configuration source member, usually
the same as USECSS
UNIT
Temporary datasets allocated for this job.
Step 3. Submit member CXCFGSET
Submit job CXCFGSET to assemble and link-edit the configuration source member.
Using the Customer Modification Facility
A-3
Reconstructing a Configuration Source Member
To reconstruct a configuration source member from a CSS load library that has been
configured previously, use member CXCFGEXT. CXCFGEXT extracts a configuration
source member from the existing configuration module in a CSS load library. This is the
reverse of what CXCFGSET does.
Step 1. Edit Member CXCFGEXT
Edit the following values in member CXCFGEXT:
OUTPDS
Dataset name in which to build the configuration source member
OUTMEM
Member name of configuration source member to build
USECSS
CSS load library to STEPLIB
EXTCSS
CSS load library from which to read configuration data, usually the same
as USECSS
Step 2. Update Extracted Member
Update the member specified in OUTMEM with any new keywords or changes required,
keeping the existing keywords intact as necessary.
Step 3. Submit Member CXCFGSET
Replace the INMEM name in the CXCFGSET member with the member name specified
for OUTMEM. Submit CXCFGSET. This will reconfigure the existing CSS load module to
reflect the new keywords.
A-4
Compuware Shared Services User/Reference Guide
B-1
Appendix B.
Using the CWDDUNLP Source Extraction Utility
Appendix A.
App B
The CWDDUNLP utility is designed to extract source from a DDIO source listing file. Use
of this utility is limited by the caution and notes supplied below. To invoke this utility,
see the JCL below or reference install lib member CXDDUNLP.
//JOBNAME JOB ('XXXXXXXXXXXX'),REGION=0K,
<--- CHECK
//
CLASS=A,MSGLEVEL=(1,1),MSGCLASS=A
//*
//******************************************************************
//*
SAMPLE JCL TO EXECUTE CWDDUNLP
//*
example JCL can also be found in install lib member (CXDDUNLP)
//******************************************************************
//*
//STEP1
EXEC PGM=CWDDUNLP,PARM=NAME OR NNNN
<--- CHECK
//STEPLIB DD DISP=SHR,DSN=COMPWARE.LCXNNN.SLCXLOAD
<--- CHECK
//SYSPRINT DD SYSOUT=*
//SLSF0001 DD DISP=SHR,DSN=YOUR.SOURCE.LISTING.FILE
<--- CHECK
//CWPSRC
DD DISP=SHR,DSN=YOUR.EXTRACTED.SOURCE
<--- CHECK
//CWPCPY
DD DSN=YOUR.EXTRACTED.COPYLIB,
<--- CHECK
//
DISP=(NEW,CATLG,DELETE),
//
DSORG=PO,LRECL=80,BLKSIZE=800,RECFM=FB,
//
SPACE=(CYL,(10,01,3),RLSE)
CAUTION:
The use of this utility is not intended as a replacement for keeping your original
source.
Notes:
1. CWDDUNLP supports COBOL and PL/I only.
2. The CWPCPY DD is optional and works in conjunction with COBOL copybooks only.
3. CWDDUNLP runs under MVS, OS/390 platforms.
4. The output from CWDDUNLP may not be comparable to the original source.
5. Nested COBOL copy books may not appear correctly.
A parameter is passed to CWDDUNLP on the EXEC card, to specify ‘program name' or the
source listing file ‘number'. If the parm passed to CWDDUNLP is numeric, the DDIO file
open will be by source file number, all other opens will be by 'program name'.
Examples:
//STEP1
//STEP1
EXEC PGM=CWDDUNLP,PARM=PROGRAM1
EXEC PGM=CWDDUNLP,PARM=NNNN
The use of a STEPLIB is optional, but you must use the latest version of (ECC/CSS)
available. This utility may not function if extracting a source member stored with a later
version of (ECC/CSS) than the utility itself.
The SYSPRINT DD will display a small report detailing the utilities actions.
B-2
Compuware Shared Services User/Reference Guide
The SLSF0001 DD statement should point to your shop’s source listing file. Multiple
DDIO source listing files can be specified by including additional DD statements,
SLSF0002 through SLSF0006. All SLSFnnnn files are input source listing files.
The CWPSRC DD is a required statement. It should specify an LRECL=80 output
sequential file. It will contain the extracted source member after successful job
completion.
The CWPCPY DD is not required (if provided, COBOL copy books will be placed as
members within this PDS). If this DD is removed, all copy books are placed in stream
with the CWPSRC source. If the COBOL source contains a ‘COPY replacing' verb, the
copy book will be placed within the CWPSRC as in stream source.
CWDDUNLP Return Codes
The following table lists common return codes from the CWDDUNLP DDIO Source
Extraction Utility. Many are not user recoverable. Contact Compuware Technical Support
if necessary.
Table B-1.
CWDDUNLP Return Codes
Return Code Message
0080
GETMAIN FAILURE, could not obtain needed storage space.
0081
VECTOR REQUEST BLOCK BUILD PROBLEM, check version of (ECC,CSS), or call
COMPUWARE SHARED SERVICES SUPPORT.
0082
REGION VECTOR ERRORS, check version of (ECC,CSS), or call COMPUWARE SHARED
SERVICES SUPPORT.
0083
ASSOCIATE VECTOR ERRORS, check version of (ECC,CSS), or call COMPUWARE SHARED
SERVICES SUPPORT.
0084
SPAWN VECTOR ERRORS, check version of (ECC,CSS), or call COMPUWARE SHARED
SERVICES SUPPORT.
0085
ASSOCIATE VECTOR WITH RQB ERRORS, check version of (ECC,CSS), or call
COMPUWARE SHARED SERVICES SUPPORT.
0086
SYSPRINT DD PROBLEM, check LRECL=133 and compatible BLKSIZE.
0087
CWPSRC DD PROBLEM, check LRECL=80 and compatible BLKSIZE.
0088
LOAD FAILED FOR CWPIDRVB, check version of (ECC,CSS), or call COMPUWARE SHARED
SERVICES SUPPORT.
0089
DDIO VERSION IS NOT EQUAL TO CWDDUNLP, check version of (ECC,CSS), or call
COMPUWARE SHARED SERVICES SUPPORT.
C-1
Appendix C.
Using the CSS TP Application Programming Interface
Appendix A.
App C
The CSS TP contains an application programming interface (TPAPI) that can be invoked
by a user-written mainframe application (the “back-end”) that communicates with a
corresponding user-written application on the Topaz Workbench. The programming
interface provides a mechanism to send and receive data using Topaz Workbench userwritten applications. When using the programming interface, data that you wish to send
or receive is transmitted over TCP/IP using the same HCI connection used by the Topaz
Workbench in support of its components such as Host Explorer, File-AID Data Editor, and
the Xpediter/Eclipse.
Considerations for programming in an interactive environment include response time,
data conversions, file access, and arrangement of the data flow between both sides of the
connection. This document describes the programming interface and its technical
considerations, and provides examples of how to use this programming environment. For
those that have previously written programs to execute in a CICS environment, the
concepts and structure of programming within the CSS TP environment are similar in
many ways.
Supported Languages
The CSS TP Application Programming Interface can be invoked by user-written Cobol,
PL/I, C, or Assembly language programs.
TPAPI Services
The programming interface provides the services necessary to communicate with a Topaz
Workbench client application, plus a small number of additional services to assist the
back-end application. The services provided are:
• SEND – send a data stream to the client.
• RECV – receive a data stream from the client.
• INFO – obtain information about the back-end environment
• ALLOC – allocate a SYSOUT DD statement for execution messages.
• AUTH – obtain information about dataset access authority rights.
• TRACE – write a trace entry for diagnostic purposes
Each of these services can be invoked by the back-end user-written program in any of the
supported languages.
Terminology and Definitions
When used throughout this document, the following terms and definitions apply:
back-end — a user-written application that executes under z/OS for the purposes of
communicating with a corresponding user-written application client executing on the
Topaz Workbench.
client — a user-written plug-in application that executes in the Topaz Workbench
Eclipse-based environment and communicates with a corresponding user-written backend application executing under z/OS on the mainframe.
C-2
Compuware Shared Services User/Reference Guide
platform — the computing hardware and software representing either a workstation
computer running the Topaz Workbench, or the mainframe running IBM’s z/OS
operating system.
sign-on — the process of connecting and logging onto the Topaz Workbench so that your
mainframe user credentials have been authenticated. No user-written applications can
be invoked until sign-on has been completed.
TPAPI — the Compuware Shared Services TP Application Programming Interface.
Basic Design and Structure
Before you begin writing the client and back-end components of a Topaz Workbench
plug-in application, it will be helpful to understand the basic design and structure and
overall flow of data transmission and the handling of the data. For the purposes of
example, imagine your goal is to write a simple Topaz Workbench plug-in application to
accept a person’s last name and search for and display the resulting telephone number
that belongs to the person. However, the file containing the names and telephone
numbers is a mainframe dataset. In its most basic form, these are the tasks (below) that
must be accomplished for this client application to operate. It is assumed that the Topaz
Workbench is already started and signed-on to the mainframe.
1. Client application invokes Eclipse API to present the client application GUI.
2. Client application prompts user to enter a last name.
3. Client application invokes Topaz Workbench API to request that the back-end
application program start execution.
4. Client application invokes Topaz Workbench API to send data (in this case, the last
name that the user typed) to the back-end application. This is a request.
5. Client application invokes Topaz Workbench API to receive the response. The client
application waits until the response is received. In the meantime…
6. Back-end application receives the data from the client request.
7. Back-end application validates that the signed-on user has access authority to the
mainframe dataset containing names and telephone numbers.
8. Back-end application dynamically allocates the dataset.
9. Back-end application opens and reads the dataset until it finds a matching name.
10. Back-end application builds the response data stream to be sent back to the client
application containing the name and telephone number that was found.
11. Back-end application closes the dataset.
12. Back-end application dynamically deallocates the dataset.
13. Back-end application sends the response to the client application. This is a response.
14. Back-end application terminates (or optionally, waits for another request to be
received).
15. Client application receives the response data stream from the back-end application.
16. Client application displays the name and telephone number found in the client GUI
display.
17. Client application terminates or optionally allows user to issue another request.
Note:
Any number of the back-end actions above could be unsuccessful: what if the
user is not allowed access to the dataset? What if the dynamic allocation fails
(perhaps the dataset does not exist)? What if the last name requested is not
found in the dataset? Hence, considerations must be made as to error handling
and the sending of an appropriate error response back to the client application so
the user interacting with the client application can be aware of the problem.
Using the CSS TP Application Programming Interface
C-3
Additionally, it is likely that the request and response transmissions would need to be
converted from one code set to another. Data originating on the mainframe is
predominately EBCDIC data, and data originating on the workstation is predominately
UTF-8 or ASCII-like data. Data from the sending platform would normally need to be
converted into the code set used by the receiving platform in order to process or display
the data on the receiving platform.
Designing Your Application
Numerous considerations should be made prior to designing your application. At the
user interface level there are consideration for the design of the GUI and how the client
program will interact with the user. When errors occur (on either the client side or
mainframe side) how will they be displayed to the user and what kind of actions will be
available to the user?
Typically, the client-side program will be the driver of all actions. The client program
generates requests based on the user activity in the GUI; these requests will be sent to the
back-end program to be serviced. The client then acts on the response from the back-end
and updates the GUI.
On the mainframe side the back-end program must act on requests received from the
client and generate responses and send them to the client. This implies a number of
additional considerations:
• Organizing Requests and Responses: How will requests and responses be organized?
What is their internal format?
• Data Conversion Considerations: Will data conversions between the two platforms
be required?
• Handling of Transmit and Receive Buffers: How will voluminous data be handled?
• Response Time Considerations: How wil long running requests be dealt with?
• Dataset Access Considerations: Who gets to see what?
• Error Handling Considerations: What is recoverable and what is not? How will
errors be communicated to the client?
• Choice Of Programming Language: What language best suits the considered
solution?
Organizing Requests and Responses
Your application program has full control over how you organize data sent and received
by the two platforms. A simple numeric code could be used for the request type (for
example: 1=open file, 2=read file, 3=close file) or a full XML scheme could be developed
to encompass all of the details contained in a request. The resulting responses can
likewise be as simple or as complex as necessary to accomplish the application goals.
This could be simple numeric responses, character string responses, or also XML-based
documents. In short, the task of organizing and formatting requests and responses is up
to the programmers designing the client and back-end applications.
Data Conversion Considerations
Your application program has full control over any data conversions that may be
required. Because the mainframe usually operates on EBCDIC data and the Topaz
Workbench usually operates on UTF-8 data, it is often desirable to convert data being
transmitted from EBCDIC-UTF8 or UTF8-EBCDIC depending on the direction of data
flow. Data conversion is not required; however doing so allows textual data (such as
source code, listings, documents) to be displayed properly on the receiving platform.
Binary data is generally not suitable for conversion. Refer to the section titled “Data
C-4
Compuware Shared Services User/Reference Guide
Conversions between Platforms” for more information on how to perform data
conversion.
Handing Transmit/Receive Buffers
Because your application program will be using an existing communication medium
already established for the Topaz Workbench and the supported Compuware products,
your program will have to operate within the architecture already in place for such
communication. Buffers are used by the back-end program to send and/or receive data
with the client. These buffers are of limited size for performance and storage utilization
reasons within a multiple user environment. Passing large amounts of data that exceeds
the buffer size limits causes additional design and programming considerations that must
be handled by the application on both platforms; specifically how the data might be
broken into pieces and transmitted separately and reconstructed on the receiving
platform. Refer to the section titled “Buffer Management” for more information on how
to handle larger data volumes.
Response Time Considerations
Because the Topaz Workbench user is operating in an interactive mode, consideration
should be given to the types of requests the application will be processing and how long
it may take for the back-end program to provide a response. Most typical
request/response sequences are seemingly instantaneous from a user point of view. The
time required to transmit a request, allocate and open a dataset, read some records, close
and deallocate the dataset, and transmit the data response can often be sub-second. But
some actions can certainly take an excessive amount of time, for example searching a
large dataset or transmitting a large number of data records. Consideration should be
given as to how lengthy waits should be handled from the user point of view, if
necessary. A “this will take a long time” message could be displayed, or a progress-bar
could be invoked.
Dataset Access Considerations
If your application will be accessing datasets, thought should be given to determine if a
given user has access authority (to avoid a S913 abend during OPEN), as well as the effect
on other users that may wish to access the dataset. For example, if a user is updating a
particular dataset then that dataset may be unavailable to other users. Other factors
could include the length of time the dataset remains allocated (could affect batch jobs
that need exclusive access) and record lock-out considerations when using multiple-user
update capabilities. Refer to the section titled “Using Dynamic Allocation” elsewhere in
this document for more information about how to use dynamic allocation.
Error Handling Considerations
When an error occurs, how will it be handled? How will it be communicated to the
client application? What will be the resulting action taken? Within the scope of the
back-end program, there is a myriad of error possibilities, from data transmission errors
to dataset processing errors to programming errors such as abends. The programmer
responsible for developing the client application must work with the programmer
responsible for developing the back-end application to determine how error information
will be communicated. Error codes from the mainframe operating system resulting from
a request failure could be sent to the client by the back-end and the client could then
display an informative message based on those codes. Or, the back-end can just transmit
the informative message. The user may want to retry the request, or take another action.
Transmission of error data to the client and resulting request/response sequences that
follow is just another type of data that may need to be handled. Refer to the section
titled “When Abends Occur in the Back-end Program” elsewhere in this document for
more information about error handling.
Using the CSS TP Application Programming Interface
C-5
Choice of Programming Language.
The choice of which programming language to use is yours. Use the language with
which you are most comfortable. However, if you are fluent in multiple programming
languages, some languages are better equipped to handle the type of programming
necessary to do the functions that a typical back-end program will likely want to do: use
datasets, perform data conversions, work with variable length data, and interface with
other operating system services.
Assembler: Many consider this a difficult language to use and master but the benefits
are total control of your environment. This is the best choice for manipulating datasets
and interfacing with the operating system via its many services. Assembler is tops for
working with buffers and variable length data, and handling the vagaries of data
conversions.
Cobol: Can handle datasets well but dynamic dataset allocation is more difficult to
accomplish. The data conversion mechanism is cumbersome and inefficient due to the
requirement to do a double conversion process from one code page to national, and then
from national to your final code page. Further, lack of good control over variable length
data buffers adds to the complications of using this programming language effectively.
Nevertheless the provided examples demonstrate how it can be used.
PL/I: Good all-around choice.
C: Good all-around choice. When using C, care must be taken if data being transmitted
contains binary zeros, particularly if you are using C library string functions to
manipulate the buffers since many of these functions depend on a binary zero to
terminate a string.
Setting Up Your Program to use TPAPI
Regardless of programming language used, there are two main parts to setting up a
program to use TPAPI.
The first part is including a member called CXTPAPI into your program’s source code
which defines data structures used by TPAPI and your program. You include these
definitions by using the COPY statement in Cobol within the Working Storage section, or
an %INCLUDE directive in PL/I, or an #include directive in C. For Assembler you specify
the CXTPAPI dsect mapping macro.
The second part involves coding your program’s logic flow to perform your desired
actions and issuing calls to the CXTPAPI service in order to send data to the client,
receive data from the client, and to perform a small number of other related functions.
Your program can perform all other actions allowed by your programming language,
including using datasets, arrays, system services, and so forth as your programming
requirements dictate.
The basic program structure in each language essentially follows these formats, below.
Figure C-1. Cobol Example Program Structure.
IDENTIFICATION DIVISION.
PROGRAM-ID.
COBTP.
.
.
WORKING-STORAGE SECTION.
COPY CXTPAPIC.
.
.
PROCEDURE DIVISION.
.
C-6
Compuware Shared Services User/Reference Guide
.
MOVE TP-RECV TO TPREQTYP.
CALL ‘CXTPAPI’ USING TPAPIXIB.
IF RETURN-CODE NOT EQUAL TO 0 …
.
MOVE TP-SEND TO TPREQTYP.
CALL ‘CXTPAPI’ USING TPAPIXIB.
IF RETURN-CODE NOT EQUAL TO 0…
.
STOP RUN.
Figure C-2. PL/I Example Program Structure.
PLITP:
PROC OPTIONS(MAIN);
%INCLUDE CXTPAPIP;
.
.
TPREQTYP=TP_RECV;
CALL CXTPAPI(TPAPIXIB);
IF PLIRETV()
> 0 …
.
TPREQTYP=TP_RECV;
CALL CXTPAPI(TPAPIXIB);
IF PLIRETV()
> 0 …
END;
Figure C-3. C Example Program Structure
#pragma filetag(“IBM-1047”)
int main (int argc, int argv)
{
#include <cxtpapiz.h>
CXTPAPI=(TPAPI*)fetch("CXTPAPI");
.
TPAPIXIB.TPREQTYP=TP_RECV;
rc=CXTPAPI(&TPAPIXIB);
if (!rc) …
.
TPAPIXIB.TPREQTYP=TP_SEND;
rc=CXTPAPI(&TPAPIXIB);
if (!rc) …
.
return 0;
}
Figure C-4. Assembler Example Program Structure
ASMTP
CSECT
STM
14,12,12(13)
.
.
.
MVC
TPREQTYP,=A(TP_RECV)
CALL
CXTPAPI,TPAPIXIB,VL
LTR
15,15
BNZ
…handle error
Using the CSS TP Application Programming Interface
C-7
.
MVC
TPREQTYP,=A(TP_SEND)
CALL
CXTPAPI,TPAPIXIB,VL
LTR
15,15
BNZ
…handle error
LM
14,12,12(13)
BR
14
.
.
.
.
CXTPAPIA
END
Environment
When your program receives control, the following environment is in effect:
Machine state:
Problem state and PSW key 9
Dispatchable unit mode:
Task
Cross memory mode:
PASN=SASN=HASN
AMODE:
31-bit
ASC mode:
Primary
Interrupt status:
Enabled for I/O and external interrupts
APF-authorization
Dependent on TASKLIB DD statement
Your program will be attached directly by the TP main task and will receive control as a
subtask of the TP main task.
Your program will receive control in 31-bit addressing mode (AMODE 31). Use of 24-bit
routines with the compiled languages (Cobol, PL/I, C) is not recommended because the
operating system places the first save area assigned to your program as well as the IBM
Language Environment (LE) anchor area in 31-bit storage. Thus, 24-bit applications are
unable to access the save area or the LE anchor resulting in 0C4 abends shortly after
execution begins. Therefore, use appropriate compiler options (for example the
DATA(31) option associated with the Cobol compiler) in order to ensure your program
will be 31-bit capable. Assembler programmers can use 24-bit applications in this
environment with some care, however the first save area is located in 31-bit storage and
the TPAPI functions require being called in 31-bit mode.
Attaching Additional Subtasks
If your program design includes using subtasks of its own, these subtasks cannot
communicate with TPAPI. Only the initial subtask attached by the TP main task may
issue calls to TPAPI.
Specifying the load library containing your program
Your program should be linked into a standard PDS or PDSE library suitable for
executable programs. The dataset name of this library should be specified in the TASKLIB
DD statement concatenation. This DD statement can contain one or more program
libraries as necessary. The TASKLIB DD statement is part of the cataloged procedure
specified in the TP Configuration File (TPCONFIG) member. The STASK configuration
statement names the cataloged procedure.
C-8
Compuware Shared Services User/Reference Guide
When the Topaz Workbench client application program requests that the corresponding
back-end program be launched, the TP will start the cataloged procedure named by
STASK and the TP will then load and attach your program from the TASKLIB DD
concatenation.
Note:
The Shared Services load library is required in order to use this API. One of the
following options will ensure that this library is available at execution time for
CSS communications.
• In the cataloged procedure, add SLCXLOAD to the STEPLIB and run unauthorized
• In the cataloged procedure, a
• dd SLCXLOAD to the STEPLIB and authorize SLCXLOAD
• Add SLCXLOAD to the LINKLIST
APF-Authorization Considerations
When the TP starts the cataloged procedure, the TP requires APF authorization in order
to connect with the owning HCI address space and communicate (all STEPLIB DD
datasets specified in the cataloged procedure must be authorized libraries). After
initialization is complete, APF authorization is disabled by the TP.
Normally, back-end applications using TPAPI are given control without APFauthorization. Whenever the TASKLIB DD statement is specified, the address space
where your program executes has no APF-authorization.
If the design of your application back-end requires a special feature or interface of the
operating system that requires your program be APF-authorized, then do not place a
TASKLIB DD statement in the cataloged procedure. Instead, place the library containing
your program in the STEPLIB DD concatenation and ensure the library is an APFauthorized library as described in IBM system documentation. Your program will then
receive control with APF-authorization.
Security Considerations
When the TP starts the cataloged procedure, the started-task address space initially has
only the security authority of the default user (essentially, no authority). Shortly after
initialization, the started-task will contact the HCI and establish communication with
the Topaz Workbench. At this time, the sign-on credentials will be received from the
Topaz Workbench and the user id specified in the credentials will be authenticated by the
system security software and that user will become the user of authority for the startedtask. This means that the started-task and its programming will have access to those
resources that the user would normally have access to, no more and no less.
Because of the brief moment when the started-task begins execution and the receipt of
credentials from the Topaz Workbench, the started-task has little or no authority. As a
result, any datasets specified in the cataloged procedure must have universal read access
authority (UACC=READ). Alternately (in lieu of granting universal read access to these
datasets), the started task can be a member of a started task group in your security
software that allows access to these datasets until the user is authenticated.
Because of the initial lack of authority when a started task begins execution, no
additional DD statements should be specified in the cataloged procedure other than
STEPLIB, TASKLIB, and TPCONFIG. Any back-end application that wishes to use a
dataset must dynamically allocate that dataset when it is needed and not specify such
datasets in the cataloged procedure JCL. Specifying the dataset in the cataloged
procedure via a programmer-chosen DD name would require that the dataset have
universal access assigned appropriate for how the back-end program would use the
dataset (for example, UACC=UPDATE if the program wanted to update the dataset). This
means that every user on the system potentially could update and overwrite the dataset.
Instead, by dynamically allocating the dataset at execution time from within the back-
Using the CSS TP Application Programming Interface
C-9
end application program, the allocation will occur after user credentials have been
authenticated and that user would be able to update the dataset only if his security
profile would have permitted such access (and not because the dataset was given
universal UPDATE access as mentioned in the previous example).
Data Conversions between Platforms
Because the mainframe usually operates on EBCDIC data and the Topaz Workbench
usually operates on UTF-8 data, it is often desirable to convert data being transmitted
from EBCDIC-UTF8 or UTF8-EBCDIC depending on the direction of data flow. Data
conversion is not required; however doing so allows textual data (such as source code,
listings, documents) to be displayed properly on the receiving platform. Binary data is
generally not suitable for conversion.
Data conversion operations are the responsibility of the application programmer. When
designing the application you may choose to do data conversions in either on the
mainframe back-end program, or in the client-side program. Or, conversions could be
done on both platforms, for example whichever platform is doing a Send Data operation
is responsible for converting the data prior to sending it. The choice is yours. When
designing the programs you may also choose not to do any conversions, in which case
your applications on both sides will have to handle the data appropriately.
If you choose to perform data conversions in the client program (the Topaz Workbench
Eclipse-based side), then you could choose to use the Java International Components for
Unicode (ICU) (http://www.icu-project.org) . Discussion about using ICU in client
programs is beyond the scope of this document as this document is intended to describe
back-end programming.
In order to perform data conversions in the back-end program, services are available in
the compiled languages as well as Assembly in order to perform this function. These
services will convert data from one code page (CCSID) to another, or vice-versa. This this
environment, you would use these services to convert your data from the code page in
use on the mainframe (e.g., IBM-1047, IBM-037, or any number of EBCDIC code pages) to
code page 1208, which is the code page number designating UTF-8. Data being received
from the client workstation could be converted from UTF-8 (code page 1208) back to an
appropriate EBCDIC code page.
In data conversions, consider the compiler’s code page option in any conversions,
especially if you use literals in your source program. When the compiler processes your
source code, any literals will be assumed to be in the compiler’s code page, which may or
may not be the code page of your actual data that your program will operate on, and may
or may not be the code page chosen when the Topaz Workbench user signed-on to the
mainframe. It may be necessary to specify the compiler’s code page option to alter the
default compilation code page. These compiler options are:
Cobol:
CODEPAGE(xxxx)
PL/I:
CODEPAGE(xxxx)
C:
LOCALE option, or an appropriate #pragma in the source code.
Assembler:
CODEPAGE(xxxx)
In the individual languages, the following services below are available for data
conversions. Consult with the appropriate compiler’s language reference and
programming guide documentation in order to learn how to use the services. The
example programs provided with TPAPI also demonstrate one possible way of performing
data conversions in each language.
C-10
Compuware Shared Services User/Reference Guide
Cobol
Use the NATIONAL –OF( ) function in combination with the DISPLAY-OF( ) function in
order to convert data from one code page to another. This is documented in the Cobol
programming guide within the internationalization chapter, specifically the subsection
titled “Processing UTF-8 data”.
PL/I
Use the MEMCONVERT( ) built-in function to accomplish code page conversions. This is
described in the PL/I language reference documentation in the built-in functions chapter.
C
Use the ICONV( ) utility function to accomplish code page conversions. This is described
in the C programming guide documentation in the Code Set Conversion Utilities
chapter.
Assembler
Use the Unicode Services character conversion service. This is described in the IBM
documentation z/OS Unicode Services User’s Guide and Reference (SA22-7649). Refer to
the chapter titled “Character Conversion”.
Buffer Management
The buffer used to communicate with the client is limited to a maximum length of 32755
bytes. This has implications when sending or receiving large amounts of data with the
client. For data transmissions of less than 32755 bytes no special handling need occur.
For larger transmissions, the data must be split into multiple pieces as necessary with
each piece being no larger than 32755 bytes. Then transmit all of the pieces until all of
the pieces are transmitted. The sending side must split the data; the receiving side must
put the pieces back together. The handling of split data buffers in this fashion is the
responsibility of the application programmer. The TPAPI does not perform this task for
you.
When splitting data into multiple pieces, some mechanism is usually required in order to
let the receiving side know how many pieces to expect. This can be accomplished several
ways, with two possible options being to (1) send a count of the number of pieces that
will be coming in the first transmission, or (2) to send an indicator byte or flag in the last
piece of the transmission which indicates that this is the last piece.
Data conversion is also an important consideration in managing the size of the buffer
used for transmission. Data converted from EBCDIC to UTF-8 will often be larger after
the conversion. Thus, a full 32755 byte data string sent to a conversion service might be
larger than 32755 bytes after the conversion. The result of the conversion in such a case
must be split into multiple pieces before transmission. Larger post-conversion data
lengths are very common if EBCDIC DBCS code pages (for example, CCSID 939) are being
converted to UTF-8. If data conversion services are used by your application, any code
you write to perform data splits into multiple pieces should execute after data
conversions are completed. Likewise, when receiving data that was split into multiple
pieces, the pieces should be reassembled into its original size string before submitting
that string to conversion services.
The length of the data to be transmitted to the client should be placed into the field
TPBUFLEN in the TPAPIXIB structure. This length should not be larger than 32755 or an
error condition will occur. When data is received from the client, the TPBUFLEN field
will contain the actual length of the data received.
Any data received from the client is terminated by a X’00’ byte (LOW-VALUES).
However, the length received does not count the X’00’ byte; the X’00’ terminator
character is added by TPAPI as a convenience to PL/I and C programmers using string
functions.
Using the CSS TP Application Programming Interface
C-11
Security Call to Determine Access Rights
Often it is desirable to determine if a user has access authority to a given dataset before
an attempt is made to open the dataset in order to avoid the S 913 abend that would
result if the user does not have the necessary authority. Because authority validation
requires an APF-authorized environment and since the TPAPI is designed to run in a nonauthorized environment, an API call is available that your application can invoke to
determine access rights for a dataset. You can invoked the security call by passing to it a
dataset name and the level of authority you wish to be verified (for example, READ or
UPDATE access). The security call will determine if the signed-on userid has the
specified access rights and set a return code indicating that the userid has the authority
or does not have the authority. If the userid does not have the authority then the dataset
allocation and open process can be avoided and appropriate messages or actions can be
taken by your application program.
Using Dynamic Allocation
Generally, use the language provided features, functions, and syntax as documented in
the IBM compiler manual to accomplish dynamic allocation. Some languages have
limitations on what types of allocation options you can use. In complex cases, it may be
necessary to write an Assembler language subroutine to be called by your program in
order to accomplish the allocation request. Below is a summary of the language feature
that can be used to issue dynamic allocation requests in the compiled language. Refer to
the appropriate compiler documentation for language syntax specifics and rules for use.
Cobol
Specify an environment variable with the DSN option, and specify the name of the
environment variable in the ASSIGN statement.
PL/I
Use the OPEN FILE TITLE(‘dsn’) syntax for dynamic allocation.
C
Use the dynalloc() function.
Assembler
Full control over dynamic allocation is available to assembler programs. Build your text
units as documented in IBM z/OS Authorized Assembler Services and issue the
DYNALLOC macro or SVC 99. Despite the fact that dynamic allocation is documented in
an authorized programming manual, dynamic allocation can be issued freely in a nonauthorized environment.
Debugging and Handling Errors in TPAPI
Error conditions that occur in your application program can be handled by the program
as the designer saw fit when the program was developed. Error conditions that occur in
TPAPI could also occur, usually for unusual circumstances.
Checking the return codes provided after return from each TPAPI call is important to
detect errors. For example, a request to send data to the client may have failed. Your
program may wish to take an appropriate action. Return codes can also be displayed by
methods available in the compiled languages such as printf( ) in C, or DISPLAY in Cobol
for example.
Some return codes and errors are sufficiently severe that you program should terminate
by closing datasets and deallocating them and releasing any other resources you may
have acquired, and then returning control to the TP.
C-12
Compuware Shared Services User/Reference Guide
An important error condition to be aware of is the disconnection error. Whenever the
connection between HCI and the client is broken, you will receive a return code and
reason code indicating disconnection. Your program must free resources and terminate –
all contact with the client is lost.
Return and reason codes are documented later in this manual.
When Abends Occur in the Back-end Program
If your application program should abnormally end, the abend will be handled by IBM’s
Language Environment (LE). Use normal debugging procedures for the high level
languages to determine the cause of the abend along with any information about the
error provided by LE.
Assembler program abends will not be handled by LE unless the program was written to
be LE compliant. Non-compliant programs have the ability set up their own ESTAE or
ESPIE exit routines to handle abends if desired.
The TP and TPAPI have their own ESTAE environments in effect in order to provide
documentation (PSW, registers, storage dump) for resolution and to attempt to recover
and keep the connection alive. Abends in the TP or TPAPI are not common and any
abends should be reported to Compuware and the documentation about the abend
provided.
Limitations and Restrictions
All languages should be designed as re-enterable. The use of the RENT compiler or
assembler option is required when using TPAPI. Your application program will be loaded
by the system into protected storage and the program will not be able to modify itself.
Failure to have re-enterable programs will result in abends within your application
during execution.
TPAPI Programming
The TP Application Programming Interface consists of a set of routines and a storage area
that provides methods for your application program to communicate with a
corresponding client application over a TCP/IP connection owned and managed by the
TP and HCI.
The programming interface provides the services necessary for communication plus a
small number of additional services to assist the back-end application. The services
provided are:
• SEND – send a data stream to the client.
• RECV – receive a data stream from the client.
• INFO – obtain information about the back-end environment
• ALLOC – allocate a DD statement to SYSOUT for execution messages.
• AUTH – obtain information about dataset access authority rights.
• TRACE – write a trace entry for diagnostic purposes.
TPAPI External Interface Block
The application program works with TPAPI by providing certain values and settings in a
storage area called TPAPIXIB: the TPAPI eXternal Interface Block. Programmers that
have previous written programs for use in a CICS environment will find that
programming for TPAPI is not unlike programming for CICS using the DFHEIB storage
area.
Using the CSS TP Application Programming Interface
C-13
The TPAPIXIB contains a number of fields that are used to pass information to TPAPI
related to the function request you are invoking, as well as fields that are used to return
information from TPAPI back to your program. The TPAPIXIB must be defined to every
application program that will be making function requests to TPAPI. The definitions for
TPAPIXIB for each programming language are available by including the appropriate
member name of the TPAPIXIB definition, as shown in the table below. The TPAPIXIB
definition members are located in the COMPWARE.MLCXnnn.SLCXCNTL dataset.
Language
TPAPIXIB
Definition
Member
Name
Usage
Cobol
CXTPAPI
C
Use a COPY CXTPAPIC statement in the WORKINGSTORAGE SECTION.
PL/I
CXTPAPI
P
Use a %INCLUDE CXTPAPIP directive.
C
CXTPAPI
Z
Use a #include <cxtpapiz.h> directive.
Assembly
CXTPAPI
A
Use the CXTPAPIA dsect mapping macro instruction.
TPAPIXIB Field Definitions
The TPAPIXIB contains a number of fields used for input and output. Different TPAPI
function requests utilize only some of the fields. The table below describes the fields. In
each field description, an I or O character indicates whether the field is an input field or
an output field, respectively, for each type of function request. A blank in the function
request columns means that the named field is not used by that function request.
Field
Purpose
Type
and Size
Send
Recv
Info
Alloc
Auth
I
I
I
TPREQTYP
Type of function
request
4 bytes,
binary
I
I
TPBUFLEN
Length of data in
the data buffer
pointed to by
TPBUFPTR
4 bytes,
pointer
I
O
I
TPBUFPTR
Pointer to data
buffer
4 bytes,
I
O
I
TPERFDBK
Error feedback
code
4 bytes,
binary
O
O
O
O
O
TPERREAS
Error Reason code
4 bytes,
binary
O
O
O
O
O
TPID
TP identification
number
4 bytes,
TPIPORT
IP Port number of
this TP
4 bytes,
binary
O
TPIUSER
Userid of signedon user
8 bytes,
string
O
pointer
O
Binary
Trace
I
C-14
Compuware Shared Services User/Reference Guide
TPIMOD
Module name of
the application
program invoked
8 bytes,
string
O
TPIHCIN
M
Jobname of the
HCI hosting this
connection
8 bytes,
string
O
TPITPNA
M
The name of this
TP as known to
HCI
8 bytes,
string
O
TPIJOBNM
The jobname of
the started-task
(STC) where this
application is
executing.
8 bytes,
string
O
TPIJOBID
The JES job
number of the
STC where this
application is
executing.
8 bytes,
string
O
TPIPCLNL
Length of the
dotted IP number
of the client (in
TPIPCLNT)
4 bytes,
binary
O
TPIPCLNT
Dotted IP number
of the client,
terminated by a
binary zero.
7-44
bytes,
string
O
TPIHCP
Code page
number (CCSID)
selected when
user signed-on.
4 bytes,
binary
O
TPUTRAC
E
User defined trace
data area
16 bytes
TPSATTR
Security attribute
4 bytes,
binary
TPDDNA
ME
DD name to be
used for a
SYSOUT dataset
allocation
8 bytes,
string
I
TPCLASS
SYSOUT class
assigned to
SYSOUT dataset
allocation
1 byte,
characte
r
I
I
I
TPAPI Function Requests
Initialize Communications Environment (TP_INIT)
Return Codes from TP_INIT
The table below describes the possible return codes that could occur during a TP_INIT
function request.
Return
code (decimal)
Return
code (hex)
Extended Reason in
Meaning
TPERREAS (hex)
Using the CSS TP Application Programming Interface
0
0
n/a
Initialization successful.
40
28
n/a
LOAD failed for CXCMCOMM.
See section ‘Specifying the load
library containing your program’
for more information.
44
2C
n/a
OPENSOCKET failed (TCP/IP)
48
30
n/a
INIT SEND failed (TCP/IP)
C-15
Send Data to the Client (TP_SEND)
Use the TP_SEND function to send data to the client. The function requires a pointer to
a buffer containing the data to be transmitted (TPBUFPTR) and a length field (TPBUFLEN)
containing the number of bytes to transmit. The data is not altered during the
transmission; it will be received by the client exactly as sent.
The data length can be from 1 to 32755 bytes. If more than 32755 bytes must be
transmitted then the application is responsible for breaking the data into smaller pieces
and invoking multiple TP_SEND requests in coordination with the client application
until all of the data is transmitted.
In order to use the TP_SEND function request, place the data to be transmitted into a
buffer. Place the address of the buffer into TPBUFPTR. Place the length of the data into
TPBUFLEN. Finally, set the TPREQTYP field to the value TP_SEND. Then, call CXTPAPI
to perform the function. At the completion of the transmission, inspect the return code
fields for errors.
Cobol Example
01 BUFFER1
PIC X(32755).
.
MOVE ‘This is a test SEND transmission.’ TO BUFFER1.
SET TPBUFPTR TO ADDRESS OF BUFFER1.
MOVE 33 TO TPBUFLEN.
MOVE TP-SEND TO TPREQTYP.
CALL ‘CXTPAPI’ USING TPAPIXIB.
IF RETURN-CODE NOT EQUAL TO 0…
PL/I Example
DCL BUFFER1 CHAR(32755);
.
BUFFER1 = ‘This is a test SEND transmission.’;
TPBUFPTR=ADDR(BUFFER1);
TPBUFLEN=33;
TPREQTYP=TP_SEND;
CALL CXTPAPI(TPAPIXIB);
RC=PLIRETV();
IF RC = 0 THEN …
C Example
unsigned char BUFFER1[32756];
.
strcpy(BUFFER1,”This is a test SEND transmission.”);
TPAPIXIB.TPBUFLEN=strlen(BUFFER1);
TPAPIXIB.TPBUFPTR=BUFFER1;
TPAPIXIB.TPREQTYP=TP_SEND;
rc=CXTPAPI(&TPAPIXIB);
if (!rc) …
C-16
Compuware Shared Services User/Reference Guide
Assembly Example
MVC
BUFFER1(33),=C’This is a test SEND transmission.’
LA
R1,BUFFER1
-> buffer to transmit
ST
R1,TPBUFPTR
Place buffer addr in TPAPIXIB
MVC
TPBUFLEN,=F’33’
Set length to transmit
MVC
TPREQTYP,=A(TP_SEND)
Set function request type
CALL
CXTPAPI,TPAPIXIB,VL
Send the data..
15,15
Did an error occur?
LTR
BNZ
…handle error
Branch if non-zero return code
.
BUFFER1
DS
32755X
Transmission buffer area
Return Codes from TP_SEND
The table below describes the possible return codes that could occur during a TP_SEND
function request.
Return
code
(decimal)
Return
code
(hex)
Extended Reason in
TPERREAS (hex)
Meaning
0
0
n/a
Data successfully transmitted.
16
10
n/a
TPAPI was unable to obtain storage in
order to process the request.
20
14
n/a
TPAPI was unable to locate TP control
blocks, or TPAPI was invoked outside of
the TP environment.
24
18
n/a
The function request code value
contained in TPREQTYP was invalid.
28
1C
n/a
TPAPI abended processing the request.
An SVC dump should have been
produced. Provide the dump and the
started-task (STC) job output to
Compuware for resolution.
32
20
n/a
The address of the TPAPIXIB was not
correctly passed to TPAPI. The address
passed was either zero or an invalid
address.
260
104
000000xx
The address of the buffer specified in
TPBUFPTR is either an invalid address,
or the length of the data specified by
TPBUFLEN is larger than the physical
buffer storage area specified by
TPBUFPTR.
In the extended reason code, the xx
value is the hex RC value from the
VSMLOC PVT macro which validated
the buffer address and length.
264
108
000000xx
The SEND transmission has failed. This
error can only occur if the connection
to the client has been lost. This error is
typically seen when the client closes
the socket prematurely before the backend application has finished sending all
of the data. If you cannot determine
why the client is disconnecting and the
error persists, the xx value in the
extended reason may be helpful to
Compuware technicians.
Using the CSS TP Application Programming Interface
C-17
268
10C
n/a
The length in TPBUFLEN exceeds
32755.
292
124
n/a
The length in TPBUFLEN is negative or
zero.
294
128
n/a
The buffer address in TPBUFPTR plus
the length specified in TPBUFLEN
exceeds 2 gigabytes; that is, the
combined address and length is greater
than X’7FFFFFFF’.
C-18
Compuware Shared Services User/Reference Guide
Receive data from the client (TP_RECV)
Use the TP_RECV function to receive data from the client. The function requires a
pointer to a buffer which will be filled with the data received. The data is not altered
during the transmission; it will be received by the back-end exactly as sent. After the
transmission is completed, the field TPBUFLEN will contain the exact number of bytes
received. For the convenience of C programmers, the received data will be terminated by
a binary zero (0x00) terminator character following the last byte of data received;
however, the length of the binary zero terminator is not included in the length
contained in TPBUFLEN. The data length received could be from 1 to 32755 bytes.
In order to use the TP_RECV function request, place the address of the buffer that should
contain the data into TPBUFPTR. Set the TPREQTYP field to the value TP_RECV. Then,
call CXTPAPI to perform the function. At the completion of the transmission, inspect
the return code fields for errors. If transmission was successful, TPBUFLEN will contain
the data received length.
Cobol Example
01 BUFFER1
PIC X(32755).
.
SET TPBUFPTR TO ADDRESS OF BUFFER1.
MOVE TP-RECV TO TPREQTYP.
CALL ‘CXTPAPI’ USING TPAPIXIB.
IF RETURN-CODE NOT EQUAL TO 0…
*Data received is located in BUFFER1
*The length of the data received is in TPBUFLEN
PL/I Example
DCL
BUFFER1
CHAR(32755);
.
TPBUFPTR=ADDR(BUFFER1);
TPREQTYP=TP_RECV;
CALL CXTPAPI(TPAPIXIB);
RC=PLIRETV();
IF RC ^= 0 THEN …
/* Data received is located in BUFFER1 and the length
of the data received is in TPBUFLEN
*/
C Example
unsigned char BUFFER1[32756];
.
TPAPIXIB.TPBUFPTR=BUFFER1;
TPAPIXIB.TPREQTYP=TP_RECV;
rc=CXTPAPI(&TPAPIXIB);
if (!rc) …
/* Data received is located in BUFFER1 and the length
of the data received is in TPBUFLEN
*/
Assembly Example
LA
R1,BUFFER1
-> buffer to hold recv data
ST
R1,TPBUFPTR
Place buffer addr in TPAPIXIB
MVC
TPREQTYP,=A(TP_RECV)
Set function request type
CALL
CXTPAPI,TPAPIXIB,VL
Receive the data
15,15
Did an error occur?
LTR
BNZ
…handle error
Branch if non-zero return code
*Data received is located in BUFFER1, and the length
*of the data received is in TPBUFLEN
.
Using the CSS TP Application Programming Interface
BUFFER1
DS
32755X
C-19
Transmission buffer area
Return Codes from TP_RECV
The table below describes the possible return codes that could occur during a TP_RECV
function request.
Return
code
(decimal)
Return
code
(hex)
Extended Reason in
TPERREAS (hex)
Meaning
0
0
n/a
Data successfully transmitted.
16
10
n/a
TPAPI was unable to obtain storage in order to process the
request.
20
14
n/a
TPAPI was unable to locate TP control blocks, or TPAPI was
invoked outside of the TP environment.
24
18
n/a
The function request code value contained in TPREQTYP was
invalid.
28
1C
n/a
TPAPI abended processing the request. An SVC dump should
have been produced. Provide the dump and the started-task
(STC) job output to Compuware for resolution.
32
20
n/a
The address of the TPAPIXIB was not correctly passed to
TPAPI. The address passed was either zero or an invalid
address.
516
204
000000xx
The address of the buffer specified in TPBUFPTR is either an
invalid address, or the length of the data specified by
TPBUFLEN is larger than the physical buffer storage area
specified by TPBUFPTR.
In the extended reason code, the xx value is the hex RC value
from the VSMLOC PVT macro which validated the buffer
address and length.
520
208
000000xx
The RECV transmission has failed. This error can only occur
if the connection to the client has been lost. This error is
typically seen when the client closes the socket prematurely
before the back-end application has finished receiving all of
the data. If you cannot determine why the client is
disconnecting and the error persists, the xx value in the
extended reason may be helpful to Compuware technicians.
552
228
n/a
The buffer address in TPBUFPTR plus a length of 32755
exceeds 2 gigabytes; that is, the combined address and length
is greater than X’7FFFFFFF’.
Return Environmental Information (TP_INFO)
Use the TP_INFO function to request information be returned that describes the
environment where your application is executing. The information returned by this
function is placed into the fields for this purpose in TPAPIXIB. If, for example, the
application needed to determine the code page number that the user has in effect, this
information is returned by this function request.
When the TP_INFO function is invoked, all of the information fields defined in TPAPIXIB
are returned. There is no need to specify which particular fields you require. Upon
completion of the function, simply utilize the fields that your application program
requires.
In order to use the TP_INFO function request, set the TPREQTYP field to the value
TP_INFO. Then, call CXTPAPI to perform the function. At the completion of the
transmission, inspect the return code fields for errors. If no errors occurred, the
information related fields in TPAPIXIB will be filled.
C-20
Compuware Shared Services User/Reference Guide
Cobol Example
MOVE TP-INFO TO TPREQTYP.
CALL ‘CXTPAPI’ USING TPAPIXIB.
IF RETURN-CODE NOT EQUAL TO 0…
PL/I Example
TPREQTYP=TP_INFO;
CALL CXTPAPI(TPAPIXIB);
RC=PLIRETV();
IF RC = 0 THEN …
C Example
TPAPIXIB.TPREQTYP=TP_INFO;
rc=CXTPAPI(&TPAPIXIB);
if (!rc) …
Assembly Example
MVC
TPREQTYP,=A(TP_INFO)
CALL
CXTPAPI,TPAPIXIB,VL
Set function request type
Request the information..
LTR
15,15
Did an error occur?
BNZ
…handle error
Branch if non-zero return code
.
Return Codes from TP_INFO
The table below describes the possible return codes that could occur during a TP_INFO
function request.
Return
code
(decimal)
Return
code
(hex)
Extended Reason in
TPERREAS (hex)
Meaning
0
0
n/a
Information successfully retrieved.
16
10
n/a
TPAPI was unable to obtain storage in
order to process the request.
20
14
n/a
TPAPI was unable to locate TP control
blocks, or TPAPI was invoked outside of
the TP environment.
24
18
n/a
The function request code value
contained in TPREQTYP was invalid.
28
1C
n/a
TPAPI abended processing the request.
An SVC dump should have been
produced. Provide the dump and the
started-task (STC) job output to
Compuware for resolution.
32
20
n/a
The address of the TPAPIXIB was not
correctly passed to TPAPI. The address
passed was either zero or an invalid
address.
Using the CSS TP Application Programming Interface
C-21
Allocate a SYSOUT Dataset (TP_ALLOC)
Use the TP_ALLOC to allocate a SYSOUT dataset that your application program can write
to. This function request was intended primarily for PL/I programmers, as PL/I requires
that an output dataset be allocated prior to issuing PUT statements such as PUT DATA ( ).
Language Environment (LE) will allocate a SYSOUT dataset with a dynamic DDname
automatically, but this does not occur for PL/I. Assembler programmers can allocate
their own output dataset if one is required, or they can also use this function to do so.
The DDname and SYSOUT class used for the allocation can be of your choosing.
However, if the dataset is to be used for messages issued by statements such PUT in PL/I,
then the DDname specified should be SYSPRINT.
In order to use the TP_ALLOC function request, place the desired DDname to be allocated
into the TPDDNAME field. Specify the SYSOUT class of your choice into the TPCLASS
field. (The SYSOUT class is a single character, normally in the range A-Z, 0-9, or * ).
Finally, set the TPREQTYP field to the value TP_ALLOC. Then, call CXTPAPI to perform
the function. At the completion of the transmission, inspect the return code fields for
errors.
Cobol Example
MOVE ‘SYSPRINT’ TO TPDDNAME.
MOVE ‘*’ TO TPCLASS.
MOVE TP-ALLOC TO TPREQTYP.
CALL ‘CXTPAPI’ USING TPAPIXIB.
IF RETURN-CODE NOT EQUAL TO 0…
PL/I Example
TPDDNAME = ‘SYSPRINT’;
TPCLASS = ‘*’;
TPREQTYP=TP_ALLOC;
CALL CXTPAPI(TPAPIXIB);
RC=PLIRETV();
IF RC = 0 THEN …
C Example
strcpy(TPAPIXIB.TPDDNAME,”SYSPRINT”);
TPAPIAIB.TPCLASS = ‘*’;
TPAPIXIB.TPREQTYP=TP_ALLOC;
rc=CXTPAPI(&TPAPIXIB);
if (!rc) …
Assembly Example
MVC
TPDDNAME,=CL*’SYSPRINT’
Set DDNAME
MVI
TPCLASS,C’*’
Set SYSOUT class character
MVC
TPREQTYP,=A(TP_ALLOC)
Set function request type
CALL
CXTPAPI,TPAPIXIB,VL
Allocate the SYSOUT dataset
LTR
15,15
Did an error occur?
BNZ
…handle error
Branch if non-zero return code
Return Codes from TP_ALLOC
The table below describes the possible return codes that could occur during a TP_ALLOC
function request.
C-22
Compuware Shared Services User/Reference Guide
Return
Return
Extended Reason in
code
code
TPERREAS (hex)
(decimal) (hex)
Meaning
0
0
n/a
Data successfully transmitted.
16
10
n/a
TPAPI was unable to obtain storage in order to
process the request.
20
14
n/a
TPAPI was unable to locate TP control blocks, or
TPAPI was invoked outside of the TP environment.
24
18
n/a
The function request code value contained in
TPREQTYP was invalid.
28
1C
n/a
TPAPI abended processing the request. An SVC
dump should have been produced. Provide the
dump and the started-task (STC) job output to
Compuware for resolution.
32
20
n/a
The address of the TPAPIXIB was not correctly
passed to TPAPI. The address passed was either zero
or an invalid address.
1032
40
8
rrrrssss
The dynamic allocation has failed. The rrrr field is
the S99ERROR value returned by dynamic
allocation. The ssss field is the S99INFO value
returned by dynamic allocation.
Errors allocating SYSOUT datasets are uncommon.
However, should an error occur, look up the error
codes in IBM z/OS MVS Authorized Assembler
Services (SA22-7608). Within the chapter titled
“Requesting dynamic allocation functions” there is
a large number of pages describing all of the
allocation errors where these values are detailed.
For example, if you specified a DDname of JOBLIB,
which is invalid for SYSOUT datasets, dynamic
allocation would fail and the reason value would be
0364 0001, for rrrr and ssss respectively. The
S99INFO value is not specifically documented; that
value is often used as extended information
describing the rrrr value (for example, the text unit
number in error).
Determine Dataset Access Authority (TP_AUTH)
Use the TP_AUTH function to determine if the signed-on userid has authority to use a
specified dataset. The purpose of this function is to determine authority before any
attempt to open the dataset is made which might result in an abend situation. The level
of access authority can be specified when invoking the function; for example you may
wish to determine if the user can update the dataset rather than simply reading the
dataset.
Two values must be input to the function request: a fully qualified dataset name, and the
level of access authority attribute. The dataset specified must be cataloged. The access
authority attribute must be set to one of the following four values:
TPS_READ- Verify if the signed on userid has READ authority to the dataset.
TPS_UPDTE- Verify if the signed-on userid has UPDATE authority to the dataset.
TPS_CNTL- Verify if the signed-on userid has CONTROL authority to the dataset.
TPS_ALTR- Verify if the signed on userid has ALTER authority to the dataset.
Using the CSS TP Application Programming Interface
C-23
In order to use the TP_AUTH function request, place the dataset name to be
authenticated into a buffer. Place the address of the buffer into TPBUFPTR. Place the
exact length of the dataset name into TPBUFLEN. Place the security attribute value into
TPSATTR. Finally, set the TPREQTYP field to the value TP_AUTH. Then, call CXTPAPI to
perform the function. At the completion of the transmission, inspect the return code
fields for errors.
In the examples below, the purpose is to determine if the userid has UPDATE access to
the dataset SYS1.PROCLIB. If the user has UPDATE access, the return code is zero. If the
user does not have access, the return code is X’514’ (decimal 1300).
Cobol Example
01 BUFFER1
PIC X(32755).
.
MOVE ‘SYS1.PROCLIB’ TO BUFFER1.
SET TPBUFPTR TO ADDRESS OF BUFFER1.
MOVE 12 TO TPBUFLEN.
MOVE TPS_UPDT TO TPSATTR.
MOVE TP-AUTH TO TPREQTYP.
CALL ‘CXTPAPI’ USING TPAPIXIB.
IF RETURN-CODE = 1300 GO TO user-does-not-have-update-access.
IF RETURN-CODE NOT EQUAL TO 0…other errors occurred.
PL/I Example
DCL
BUFFER1
CHAR(32755);
.
BUFFER1 = ‘SYS1.PROCLIB’;
TPBUFPTR=ADDR(BUFFER1);
TPBUFLEN=12;
TPSATTR = TPS_UPDT;
TPREQTYP=TP_AUTH;
CALL CXTPAPI(TPAPIXIB);
RC=PLIRETV();
IF RC = 1300 THEN …user-does-not-have-update-access.
IF RC ^= 0 THEN …other errors occurred.
C Example
unsigned char BUFFER1[32756];
.
strcpy(BUFFER1,”SYS1.PROCLIB”);
TPAPIXIB.TPBUFLEN=strlen(BUFFER1);
TPAPIXIB.TPBUFPTR=BUFFER1;
TPAPIXIB.TPSATTR = TPS_UPDT;
TPAPIXIB.TPREQTYP=TP_AUTH;
rc=CXTPAPI(&TPAPIXIB);
if (rc == 1300) …user-does-not-have-update-access.
if (!rc) …other errors occurred.
Assembly Example
MVC
BUFFER1(12),=C’SYS1.PROCLIB’
LA
R1,BUFFER1
-> buffer containing dataset
ST
R1,TPBUFPTR
Place buffer addr in TPAPIXIB
MVC
TPBUFLEN,=F’12’
Set dataset name length
MVC
TPSATTR,=A(TPS_UPDT)
Set attribute code
C-24
Compuware Shared Services User/Reference Guide
MVC
TPREQTYP,=A(TP_AUTH)
CALL
CXTPAPI,TPAPIXIB,VL
Request auth check
C
15,=F’1300’
Does user fail access check?
BE
NOACCESS
Yes, branch if no access
LTR
15,15
Did other error occur?
BNZ
Set function request type
…handle error
Branch if non-zero return code
.
BUFFER1
DS
32755X
Transmission buffer area
Return Codes from TP_AUTH
The table below describes the possible return codes that could occur during a TP_AUTH
function request.
Return
Return
Extended Reason in
code
code
TPERREAS (hex)
(decimal) (hex)
Meaning
0
0
n/a
Data successfully transmitted.
16
10
n/a
TPAPI was unable to obtain storage in order to
process the request.
20
14
n/a
TPAPI was unable to locate TP control blocks, or
TPAPI was invoked outside of the TP
environment.
24
18
n/a
The function request code value contained in
TPREQTYP was invalid.
28
1C
n/a
TPAPI abended processing the request. An SVC
dump should have been produced. Provide the
dump and the started-task (STC) job output to
Compuware for resolution.
32
20
n/a
The address of the TPAPIXIB was not correctly
passed to TPAPI. The address passed was either
zero or an invalid address.
1284
504
000000xx
The address of the buffer specified in TPBUFPTR is
either an invalid address, or the length of the data
specified by TPBUFLEN is larger than the physical
buffer storage area specified by TPBUFPTR.
In the extended reason code, the xx value is the
hex RC value from the VSMLOC PVT macro
which validated the buffer address and length.
1288
508
n/a
The value in TPSAUTH is not one of 2, 4, 8, or 128,
which corresponds to the attribute settings of
TPS_READ, TPS_UPDT, TPS_CNTL, or TPS_ALTR
respectively.
Using the CSS TP Application Programming Interface
1296
510
000000xx
C-25
During a TP_AUTH request, the catalog must be
searched to locate the volser of the specified
dataset. The catalog search has failed. The xx
value is the resulting return code from the catalog
search. These values are:
04 – Invalid dataset name passed to catalog search
08 – Internal catalog search failure
0C – Dataset name was not found in catalog
10 – Dataset name contains invalid characters
1300
514
aassrrnn
The user does not have access to the named
dataset at the specified authority access level.
The meaning of the extended information is as
follows:
aa – the value of the attribute code originally
specified .
ss – the SAF return code
rr – the RACROUTE return code
nn – the RACROUTE reason code
Generally, any value for ss above 4 is considered
to be a denial of access at the specified attribute
code level. A value of 4 can often mean that no
security decision was rendered (meaning, no
profile exists for the dataset for the security
software to make any determination, so access is
allowed).
If you are experiencing troubles with security
validation for a dataset, more information about
the specific meanings of the return and reason
codes can be found in the IBM publication z/OS
Security Server: RACROUTE Macro Reference
(SA22-7692). Refer to the return and reason codes
for the RACROUTE REQUEST=AUTH macro.
294
128
n/a
The buffer address in TPBUFPTR plus the length
specified in TPBUFLEN exceeds 2 gigabytes; that
is, the combined address and length is greater
than X’7FFFFFFF’.
User Trace (TP_TRACE)
Use the TP_TRACE function to write trace records that you define in order to assist you
with problem analysis and debugging of your back-end code. When the user trace
function is invoked a trace record containing your data is written to the HCI journal
dataset. Trace records contained in the HCI journal may be captured and viewed using
the TP Administration Utility (TPAdmin.exe). The TPAdmin utility controls recording to
the journal, capturing the records, and viewing the results.
When the TP_TRACE function is invoked, a single trace record is written to the journal if
the journal is actively recording. If the journal is not recording, the TP_TRACE function
acts as a no-operation and no trace record is written. Therefore, you can include
TP_TRACE function calls throughout your program as needed and they will cause very
C-26
Compuware Shared Services User/Reference Guide
little overhead when journaling is not active (which is the default), but be present and
ready to record trace records the moment journaling is activated.
A trace record is a 16-byte area into which you may place any information that is useful
to your program logic and that might be helpful for problem determination. However, a
few recommendations are in order with regard to how the 16-byte area is used; some
considerations here make reading the trace records much easier.
Generally, the 16-byte area is divided into four 4-byte words. It is suggested that the
following use of these words be adhered to in order to facilitate reading the trace.
– Word 1 – Contains four characters identifying the module name issuing the
TP_TRACE function. This could be the last four characters of the module name
or some other identifying characters so you can determine which program issued
the TP_TRACE request.
– Word 2 – contains four characters consisting of the value of your choice that
uniquely identifies this particular trace record, to distinguish it from other trace
records generated by this same module.
– Word 3 – contains four bytes of character or binary data of your choice.
– Word 4 – contains four bytes of character or binary data of your choice.
When viewing the trace records, the trace record you write will have the following
format:
MOD.TRC
P1
P2
--------------
Time
--------
TP ID
----.----
--------
--------
08:01:46.88191
ID=00001
=MOD1.TRID=
0000E6F3
0000E6F4
..W3..W4
Where:
Time is the timestamp of when the trace record was written to the journal.
TP ID is the identification number of this particular TP task.
MOD is the contents of Word 1 of the trace record (normally identifies the issuing
module name).
TRC is the contents of Word 2 of the trace record (normally a unique trace
identification).
P1 is the contents of Word 3, shown in hex and character format (at right).
P2 is the contents of Word 4, shown in hex and character format (at right).
Trace records written to the journal by your programs will be mixed with trace records
written by the TP itself during the normal course of its processing. You may identify
trace records originating from user-written programs using TPAPI by the equal sign marks
before the MOD value and after the TRC value in when viewing the trace. When mixed
with typical TP activity trace records, your trace records would appear in this fashion,
below. Assume for this example that you wished to write a trace record that indicated
that the program just read another record, and you wish to show the record count and
the first four characters of the record key in the trace record. That particular trace record
can be identified by the = = marks in the formatted trace.
MOD.TRC
P1
P2
--------------
Time
--------
TP ID
----.----
--------
--------
08:14:20.76515
ID=00026
SND .SEND
37CA5000
000000D5
..&....N
08:14:20.76517
ID=00026
SND .BSND
37C85000
010000D6
.H&....O
08:14:20.76519
ID=00026
SND .DATA
013C3F78
4353533E
........
08:14:20.76583
ID=00026
SND .ASND
00000000
00000000
........
08:14:20.76586
ID=00026
SND .EXIT
00000000
00000000
........
08:14:20.76587
ID=00026
=MOD1.READ=
00000017
D9F9F5F3
....R953
Using the CSS TP Application Programming Interface
08:14:20.76588
ID=00026
RCV .ENTR
B7AE0970
37AFCAC0
........
08:14:20.76590
ID=00026
RCV .RECV
37CA5000
00008000
..&.....
08:14:20.76592
ID=00026
RCV .WAIT
009ACF68
00000000
........
C-27
You must use the TP Administration Utility in order to capture and format the trace as
shown above.
In order to use the TP_TRACE function request, you should define the 16-byte space of
the trace record as your needs dictate. Typically it would be defined as four 4-byte words
as described above. Words 3 and 4 can contain binary data or character data, so these
words can be redefined as necessary so that you can move the type of data desired into
the words. The examples below provide some possible ways to define your 16-byte trace
record area. To invoke the function, fill your 16-byte trace record area with the values of
your choice. Cobol programmers will have to move your 16-byte trace area into
TPUTRACE; if using the other supported languages you can either move the 16-byte area
into TPUTRACE or use pointers to define your area that points to TPUTRACE (see
examples below). Set the TPREQTYP field to the value TP_TRACE. Then, call CXTPAPI
to perform the function. The trace record will be sent to the HCI journal routines for
recording if journaling is active, or discarded if journaling is inactive. No errors can
occur for this function; the return code is always zero.
Cobol Example
77 RECORD-COUNT
77 RECORD-KEY
PIC 9(8) COMP.
PIX X(8).
01 TRACE-AREA.
02 TRACE_MOD
PIC X(4).
02 TRACE_ID
PIC X(4).
02 TRACE_P1
PIC X(4).
02 TRACE_P1_BIN REDEFINES TRACE_P1
02 TRACE_P2
02 TRACE_P2_BIN REDEFINES TRACE_P2
..
MOVE ‘MOD1’ TO TRACE_MOD.
MOVE ‘READ’ TO TRACE_ID.
MOVE RECORD-COUNT TO TRACE_P1_BIN.
MOVE RECORD-KEY(1:4) TO TRACE_P2.
MOVE TRACE-AREA TO TPUTRACE.
MOVE TP-TRACE TO TPREQTYP.
CALL ‘CXTPAPI’ USING TPAPIXIB.
PL/I Example
DCL
RECORD_COUNT
FIXED BIN(31);
DCL
RECORD_KEY
CHAR(8);
DCL
P
POINTER;
DCL 1 TRACE_AREA
BASED(P),
2
TRACE_MOD
CHAR(4),
2
TRACE_ID
CHAR(4),
2
*
UNION,
3 TRACE_P1
CHAR(4),
3 TRACE_P1_BIN FIXED BIN(31),
2
*
UNION,
3 TRACE_P2
CHAR(4),
3 TRACE_P2_BIN FIXED BIN(31);
..
P=ADDR(TPUTRACE);
TRACE_MOD=’MOD1’;
TRACE_ID=’READ’;
PIC
9(8) COMP.
PIC
9(8) COMP.
PIC X(4).
C-28
Compuware Shared Services User/Reference Guide
TRACE_P1_BIN=RECORD_COUNT;
TRACE_P2=SUBSTR(RECORD_KEY,1,4);
PREQTYP=TP_TRACE;
CALL CXTPAPI(TPAPIXIB);
C Example
unsigned intiReccnt;
char
RecordKey[8];
typedef struct
{
char TRACE_MOD[4];
char TRACE_ID[4];
union { char TRACE_P1[4]; unsigned int TRACE_P1_BIN; };
union { char TRACE_P2[4]; unsigned int TRACE_P2_BIN; };
}
TRACE_AREA;
TRACE_AREA
*ta;
ta = (TRACE_AREA *) &TPAPIXIB.TPUTRACE;
memcpy(ta->TRACE_MOD,"MOD1",4);
memcpy(ta->TRACE_ID,"READ",4);
ta->TRACE_P1_BIN=iReccnt;
memcpy(ta->TRACE_P2,&RecordKey,4);
TPAPIXIB.TPREQTYP=TP_TRACE;
rc=CXTPAPI(&TPAPIXIB);
Assembly Example
* R6 contains the record count
* R5 points to the record key within the record
MVC
TPUTRACE(4),=C’MOD1’
MVC
TPUTRACE+4(4),=C’READ’
Move module id
Move trace id
ST
6,TPUTRACE+8
Set P1 value to record count
MVC
TPUTRACE+12(4),0(5)
Set P2 value to 1 st 4 record key
MVC
TPREQTYP,=A(TP_TRACE)
Set function request type
CALL
CXTPAPI,TPAPIXIB,VL
Request the information..
.
Return Codes from TP_TRACE
The table below describes the possible return codes that could occur during a TP_TRACE
function request.
Return
code
(decimal)
0
Return
code
(hex)
0
Extended Reason in
TPERREAS (hex)
n/a
Meaning
Information successfully traced.
D-1
Appendix D.
On-the-Fly Language Processing Support
Appendix A.
App D
This appendix describes CSS support for on-the-fly language processing.
CXOTFPRE & CXOTFPST Examples
CSS on-the-fly language processing support is performed by calling one of two REXX or
CLIST members supplied by the user. Depending on the option selected by the user in the
Compuware Viewing Facility when an appropriate source listing cannot be found,
CXOTFPST (postprocessing REXX or CLIST) or CXOTFPRE (preprocessing REXX or CLIST)
will be invoked.
To provide a complete demonstration of on-the-fly language processing support,
Compuware has supplied two examples, complete with corresponding members (CLIST,
PANEL, HELP, Skeleton). It is an actual working example that uses CA-Endevor as the
source code and/or source listing repository.
Although the supplied sample is specific to CA-Endevor, any user-coded CLIST, REXX
and/or program may be called as long as it conforms to the ISPF rules for program
invocation. Refer to the following IBM ISPF manuals for more information about these
APIs:
• SC34-4821-01 — ISPF Dialog Developer's Guide and Reference
• SC34-4819-01 — ISPF Services Guide
Supplied is the following:
REXX/CLIST name
Additional members
Use
CXOTFPST
P@CPST01
Language Postprocess dialog and panel
P@HPST01
Help Panel
CXSPST01
Skeleton Member
P@CPRE01
Language Preprocess dialog and panel
P@HPRE01
Help Panel
CXSPRE01
Skeleton Member
CXOTFPRE
The sample panel below (Figure D-1), is a language postprocessing example (CA-Endevor
P@CPST01). A similar panel (not shown) is distributed for language preprocessing
(P@CPRE01).
D-2
Compuware Shared Services User/Reference Guide
Figure D-1. Language Postprocessing Example for CA-Endeavor
Sample ----------- Retrieve Compiler Source Listing & Post-Process
Command ===>
1.
2.
3.
Retrieve a Compiler source listing from Endevor
Generate JCL to Compuware LP Post-Process this Compiler source
listing into a Compuware Source Listing format
Invoke EDIT to allow changes. Enter SUBMIT in EDIT when complete.
ENDEVOR Information:
ENVIRONMENT ===> AA
ELEMENT
SYSTEM
===> SAMPLE
TYPE
SUBSYSTEM
===> COBOL
STAGE
DATA SET NAME ===> COMPWARE.AAOTF.COBSRC
===> COMP5
===> COBSRC
===> 1
Compuware Post-Process Information:
STEPLIB
===> COMPWARE.ECC15.LOADLIB
CWPDDIO
===> COMPWARE.LE.LST
CWPPRMO
===> COMPWARE.ECC15.SLCXCNTL(CXLPCOBB)
JOBCARD Information:
Line 1 ===> //JOBNAME0 JOB ('ACCOUNT,DEPT'),'User name',
Line 2 ===> // CLASS=L,MSGCLASS=R,NOTIFY=&SYSUID
Method of Operation
Data to be entered on these panels is presented in three parts:
1. CA-Endevor specific. Information is exactly as needed on a foreground execution of
CA-Endevor.
2. Compuware Postprocess specific. Information needed to customize execution of a
language postprocess.
3. JOBCARD or job specific information. Needed to submit JCL to an internal reader.
All input is “as is” in this example (that is, all data is taken exactly as entered and
formatted for job execution). Since this is a sample, customers can modify any of these
CLISTs, panels, etc. (see table above) to suit their individual needs.
At termination of the panel, the data entered will be:
1. Merged with a JCL skeleton.
An ISPSLIB PDS must be available at viewing time containing the Compuwaresupplied skeletons or those that the customer has modified. This PDS can be an
existing ISPSLIB used site-wide and allocated at TSO logon, or it can be one that is
allocated dynamically at viewer startup time. Refer to the previously mentioned ISPF
manuals for more details on customizing skeletons. Refer to the section on installing
the Compuware Viewing Facility in the ECC Installation and Customization Guide for
details on dynamically allocating an ISPSLIB at Viewer startup time.
2. ISPF EDIT will be invoked to allow user changes
3. JOB submission, via use of the “SUBMIT” command in ISPF EDIT.
Refer to the documentation in the Compuware-supplied CXOTFPST CLIST for additional
technical details. A similar CLIST, named CXOTFPRE, is also supplied for a language
preprocess.
G-1
Glossary
Abend-AID. The Compuware product for fault
diagnosis that provides an immediate, detailed
analysis of application program failures in a
comprehensive report format.
Abend-AID Fault Manager. The Compuware
Abend-AID option that assists managers in
monitoring, measuring, controlling, and
improving the fault resolution process in the IT
environment. Abend-AID Fault Manager (formerly
Abend-AID Fault Manager) offers comprehensive
fault management of the IBM OS/390, IBM z/OS,
Windows 2000/NT, IBM/AIX, HP/UX, and Sun
Solaris UNIX environments
Abend-AID for CICS. The Compuware product
for fault diagnosis that provides a full range of
analysis functions for managing abnormal CICS
transaction terminations (abends) and CICS
region outages.
Abend-AID for WebSphere (MQ). The
Compuware product that enables developers to
clearly define reason, return, and error codes,
obtain MQ environment information whenever an
application fails, and quickly solve enterprise and
e-business systems problems. Comprehensive
support is provided for WebSphere MQ/MQSeries
in batch, IMS, and CICIS environments.
Abend-AID products. A generic name for the
Abend-AID product family including Abend-AID
(MVS), Abend-AID for CICS, Abend-AID Fault
Manager, and Abend-AID for WebSphere (MQ).
Abend-AID Report. (1) A set of records
containing data extracted at abend time from the
affected MVS region and associated control blocks
that are stored in the Abend-AID DDIO report file.
(2) A readable report produced at view time using
the records stored in the Abend-AID DDIO report
file.
Abend time. The time when an abend occurs
and Abend-AID products perform their analyses.
Allocation group. A set of blocks assigned to a
DDIO file member when the member requires
additional storage.
APF Authorization. APF can be used to restrict
access to system functions and can require that all
modules loaded by an authorized program be
loaded from an authorized load library. All
modules loaded by LMSINIT must be loaded from
authorized load libraries or LMSINIT will fail. Only
individuals with proper RACF authority will have
permission to update authorized load libraries.
Automatic lock. Automatic locks are created
whenever a member is added to a DDIO file format
using the AUTODELETE=DUPS or
AUTODELETE=STAGED option. The most recent
member is automatically locked. See also manual
lock.
AUTODELETE. An attribute of a DDIO file,
specified during formatting of the file, that
determines the action to be taken when the file
becomes full and an attempt is made to add a new
member to the file.
Base Services. Former component of Abend-AID
Common Components of the Abend-AID product
line. Base Services is an application framework
providing batch, server, subsystem and
presentation components.
Batch File Utility. A set of CSS utilities used to
prepare, maintain, and manipulate DDIO files,
shared directories, and databases.
CEC. Central Electronic Complex designates the
physical computer which can contain one or more
LPARs. CECs can be of the older type designated as
G1 through G6 or can be the new z/800 or z/900.
CEC Licensing. The number of MSUs provided
by that CEC across all LPARs.
CGI. Common Gateway Interface. A way of
interfacing computer programs with HTTP or
WWW servers, so that a server can offer
interactive sites instead of just static text and
images.
CGI-bin. Common Gateway Interface-BINaries. A
special directory where common gateway interface
(CGI) scripts are kept.
Compuware Mainframe Services Controller
(CMSC). A centralized facility providing
license management and common parameter
library services. The CMSC also has the ability
to automatically start HCI address spaces.
Compuware Shared Services (CSS). A set of
components used by several Compuware products
to provide storage, retrieval, and maintenance for
source listings and diagnostic reports.
G-2
Compuware Shared Services User/Reference Guide
Compuware Installer. The Compuware Installer
consists of a set of REXX EXECs, JCL skeletons,
and panels. This facility prompts you for the
installation information and then builds the jobs
required to perform the SMP/E installation of
Compuware mainframe products.
Compuware Viewing Facility
(Compuware/VF). An obsolete online ISPF
application found in earlier releases of CSS. VF
provided menu-driven access to DDIO files such as
Abend-AID reports, databases, shared directories
and source listings. Compuware/VF supported
online viewing, printing, locking, unlocking and
deleting of members in any DDIO file. Most batch
utility functions were also available, including
creating and deleting databases or shared
directories. Source listings on remote files can be
also be viewed. The Compuware/VF was phased
out after the inception of the Abend-AID Viewer.
Customer Modification Facility (CMF). A
method for activating specialized code
modifications to the CSS base code. This facility
can retrofit your restricted zaps from a release
prior to CSS 7.4 to the SMP/E environment.
Customized Translation Table. An optional
table provided by Compuware customers for
translating non-printable characters. It is used by
the batch file utility for printing or displaying
lines containing storage displayed by Abend-AID
products at abend time.
CWAASDUT. The batch file utility used for
Abend-AID shared directories and report
databases. CWAASDUT allows you to manage the
files used by an Abend-AID shared directory and
its associated abend report files. The shared
directory is used to process all directory requests
related to an abend report file and maintain
information about database activity.
CWASSECU. The name of the user-coded
Security Exit program.
CWDDALLU. The batch file utility program that
can manage all source listing and report file DDIO
types previously handled separately by
CWAASDUT, CWDDSUTL, CWFXSDUT and
CWDDLPUT.
CWDDLPUT. The batch file utility program used
to manage source shared directories and databases
for all of the supported languages. The shared
directory maintains information about source
listing processing and database activity.
CWDDSUTL. The program for the batch file
utility used by Abend-AID, Xpediter/CICS, and
Xpediter/TSO. CWDDSUTL allows you to print,
delete, lock, unlock, copy, move, import, and
export DDIO file. members, and to list DDIO file
directory entries. It also allows you to initially
format a DDIO file.
CWFXSDUT. The batch file utility used by
Abend-AID for CICS. CWFXSDUT allows you to
manage the files used by a shared directory and its
associated transaction databases. The shared
directory is used to process all directory requests
related to a transaction database.
CWPDDIO. The DDIO file that contains the
source member output generated during language
processing.
CWPERRM. Dynamically allocated dataset
generated during language processing containing
all the CSS messages.
CWPPRMO. A language processor input dataset
that contains all of the language processor
options. This DD statement can also be used to
specify in-stream options.
CWPPRTI. Compiler or assembler listing input to
the CSS postprocessor.
CXTRACE. A report that CSS technical support
requests to assist in problem resolution. This
report traces processing through CSS code and can
be a useful tool for determining the cause of an
abend.
DBMODEL. The name of an OBJECT that
contains the specifications required to create a
new source listing database during dynamic
database creation (DYNCREATE). The information
is stored in the specified source listing shared
directory. It is used during language processing to
dynamically create a new source listing database
to contain the source member if all attached
databases are full.
DDIO (Dump Dataset Input Output). A
proprietary file access method that stores AbendAID reports, transaction dump information, and
source listings within specially formatted DDIO
files for several Compuware products that use CSS.
You can allocate DDIO files as VSAM or sequential
datasets depending on specific product
requirements.
DDIOCALC. An online calculator provided to
calculate optimal allocation and formatting
parameters for DDIO files. DDIOCALC cannot be
used for shared directories.
DDIO File. A generic term that refers to the DDIO
database or dataset used to store Abend-AID
reports, transaction dump information, or source
listings from Compuware products that use CSS.
G-3
DDIO File Member. A generic name for an
individual diagnostic report in an Abend-AID
report file, a source listing in a source listing file,
or transaction dump information in a transaction
database.
Directory entry. A record in the fixed portion of
the DDIO file (Directory) that contains
information specific to a member. Each member
has a corresponding directory entry. The number
of directory entries is specified during formatting
of the DDIO file and cannot be changed without
reformatting the file.
DIRX Report. A report produced by the DIRX
command of the batch file utility or the “I” line
command of the Compuware V/F utility panel.
This report contains attribute and alloaction
information about the specified DDIO file and a
listing of the directory entries.
DYNCREATE. A term used to denote the
“dynamic database creation” process that can be
invoked when using the CSS Language Processor
with a source shared directory listed for the
compiler output (CWPDDIO). A DBMODEL must
first be defined in the desired source shared
directory using the batch utility CWDDLPUT or
CWDDALLU with DYNCREATE=YES specified to
allow invoking of the dynamic database creation
process. If enough space is not found in any of the
attached source listing databases, then the
DYNCREATE process is invoked. A new source
listing database is created and attached, and the
new source member is written.
Enhanced Listing. A convenient source of quick
reference information and program
documentation that merges DMAP and CLIST
information, in addition to error and diagnostic
messages, with a COBOL source listing.
Compuware Shared Services (CSS). CSS is the
single install image for the following Compuware
facilities:
• Compuware Mainframe Services Controller
(CMSC)
• Compuware Shared Services (CSS)
• License Management System (LMS)
• Host Communications Interface (HCI)
• Base Services
Entry. A generic name for a transaction
diagnostic report in a transaction database for
Abend-AID for CICS.
Formatting a DDIO File. The preparation of an
allocated VSAM or sequential file to be used as a
DDIO file.
Full DDIO File. A DDIO file for which all
allocation groups and/or all directory entries are
allocated to members. This scenario invokes the
AUTODELETE process.
Host Communications Interface (HCI). A
facility that provides connectivity between
mainframe-based programmer productivity
software and peer node software running on other
platforms in a network. It allows application
programs to communicate over any one of several
protocols without knowledge of which protocol is
in use at any given time.
Language Processor (LP). The CSS processor that
analyzes and builds Assembler, C, COBOL, or PL/I
compiler output into sort work records. The C and
COBOL processors then sort and merge these
records with the listing. The Assembler and PL/I
processors build an incore symbol table of all the
identifiers. Processor control blocks are then
generated and written to a source listing DDIO
file. These DDIO members can then be used as
input for Compuware products that require this
information.
License Administration Utility (LAU). The LAU
is the license administration control center for
your organization’s IT professional who is
responsible for managing your access to
Compuware products. The LAU is an ISPF
application that enables
• the creation of a License File
• the import of License Certificates into a
License File
• the maintenance and export of a License File
• the reporting and analysis of your License File
and License Certificate information in virtual
storage
Your organization’s License Administrator will also
set up License Management System parameters
and system operation options using the LAU.
License Certificate. English-like readable
electronic records that contain a portion of the
information from your license agreement for a
product release’s use at a particular site. The
License Certificate is used to update your License
File.
License File. Dataset containing imported
License Certificate information for all licensed
releases of Compuware products. This file is in
ASCII text format.
License Management System (LMS). Facility
that enables you to centrally administer
Compuware product License Certificates and
manage access to Compuware products at your
site. The LMS includes several components that
G-4
Compuware Shared Services User/Reference Guide
together enable you to establish, maintain,
diagnose, and upgrade access to the Compuware
products licensed by your enterprise. The LMS
replaces the customer profile utility provided with
earlier versions of Compuware mainframe
products.
Line command. A command entered next to the
line to be processed. A line command is executed
only for the specified member.
LMVERIFY. See Verification Report.
Locked member. A DDIO file member that was
manually locked using the batch file utility or
automatically locked as a result of
AUTODELETE=DUPS or AUTODELETE=STAGED
processing. A manually locked member is
identified by an M in the directory report or
directory screen while an automatically locked
member is identified by an L in the directory
report or directory screen. When manually locked,
a member cannot be automatically deleted when
the DDIO file becomes full.
LPAR. Logical Partition is one operating system
image, such as OS/390, z/OS, or z/OS-e.
LPAR Licensing. Refers to the defined capacity or
“capped capacity” of the LPAR itself.
Manual lock. A member that was locked by
using the LOCK batch command. Members that
have been manually locked retain their locks
during the autodeletion process. See also
automatic lock.
MIPS. Millions of Instructions per Second. A unit
of measure of processing performance equal to one
million instructions per second.
MSU. Millions of Service Units per Hour.
Oldest member. (1) For report files, the
diagnostic report with the earliest abend date and
time. (2) For source listing files, the program with
the earliest compile date and time.
Primary Command. A command entered in the
COMMAND INPUT field while in TSO.
Problem Documentation Utility. A CSS utility
that captures the documentation needed by
Compuware for resolving technical issues and
problems. This utility allows you to collect the
documentation — such as copybooks, SYSPRINT,
and DDIO members — that CSS Technical Support
requires for problem resolution.
Report File. An Abend-AID DDIO file containing
diagnostic reports.
Security Exit Program. A user-coded program
that allows or denies execution of a requested
command for a selected member by a specific user
against particular DDIO files.
Server Grace. The amount of time an LPAR can
run without being connected to the server.
Shared Directory. A variable-length record
VSAM RRDS that maintains information about
abends and language processing along with the
attached database activity. A shared directory can
contain Abend-AID for CICS directory records for
each region and transaction dump known to a
server, Abend-AID directory records for abend
report processing, or source listing shared
directory records necessary to process source
listing database members.
SMP/E. System Modification Program/Extended
is IBM’s standard facility for installing and
maintaining software modifications in the MVS
environment.
Source Listing. A compiled or enhanced listing
and additional information about a program, that
is stored in a source listing DDIO file.
Source Listing Database. A specially formatted
source listing DDIO file, attached to and managed
by a source shared directory.
Source Listing File. A DDIO file containing
source listings generated by the Language
Processor.
STROBE. The STROBE MVS Application
Performance Measurement System is a product
that determines where and how application time
is spent in online regions and batch processing
programs and how system resources are used.
STROBE collects several types of data as it tracks
activity within an MVS environment and produces
a collection of reports that helps you determine
where to revise applications to improve their
performance.
Suppressed statements. Statements that are not
displayed in the compiler listing. Suppressed
statements in a DDIO source member contain an
internal flag that the Xpediter/TSO product can
use to display or suppress source statements using
the GEN command.
Transaction Database. A DDIO file, containing
transaction dump information, that is managed by
a shared directory in Abend-AID for CICS.
Multiple entries created from CICS transaction
terminations are stored in a single transaction
database.
G-5
Unlocked Member. A DDIO file member that is
not currently locked. The locked member can be
unlocked either manually, using the batch file
utility or automatically as a result of
AUTODELETE=DUPS or AUTODELETE=STAGED
processing. An unlocked member in a full DDIO
file formatted with AUTODELETE=YES,
AUTODELETE=DUPS, or AUTODELETE=STAGED
can be automatically deleted when another
member is added to the file.
Verification Report (LMVERIFY). Displays the
result of a verification program that checks out
each product version in cache. This data is exactly
what a product would receive when it runs.
Running this report will prove that the License
Management System environment is properly set
up for the customer.
View time. The time when a diagnostic report or
source listing is presented in a readable format for
online viewing or printing.
.
G-6
Compuware Shared Services User/Reference Guide
I-1
Index
Special Characters
$AOFF parameter, PROCESSOR command
COBOL Language Processor, 9-25
$ASUP parameter, PROCESSOR command
Assembler Language Processor, 11-16
COBOL Language Processor, 9-7, 9-25
$NG parameter, PROCESSOR command
Assembler Language Processor, 11-16
COBOL Language Processor, 9-6, 9-26
PL/I Language Processor, 10-22
$NIDR parameter, PROCESSOR command
Assembler Language Processor, 11-16
C Language Processor, 12-13
COBOL Language Processor, 9-26
PL/I Language Processor, 10-22
$NO parameter, PROCESSOR command
Assembler Language Processor, 11-16
C Language Processor, 12-13
COBOL Language Processor, 9-6, 9-26
PL/I Language Processor, 10-22
A
AAREPORT option
CSS Utilities, 3-49
ABEND parameter
CWDDALLU batch utility, 8-8
abend time, G-1
Abend-AID, G-1
displaying report file information, 3-58
executing, 1-4
setting report file options, 3-49
Abend-AID Fault Analytics, G-1
Abend-AID for CICS, G-1
executing, 1-4
Security Exit considerations, 13-2
Security Exit Program transaction databases, 13-2
Abend-AID for WebSphere (MQ), G-1
Abend-AID products, G-1
Abend-AID report, G-1
Abend-AID report DDIO files, 3-1
advanced parameters, 3-67
copying members, 3-60–3-61
creating, 3-50
deleting, 3-57
description of, 2-2
displaying file information, 3-58
displaying members, 3-60
exporting members, 3-64
formatting, 3-50
importing members, 3-65
members, 3-60
moving members, 3-64
reformatting, 3-50
Security Exit Program, 13-1
selecting members, 3-66
Abend-AID report file DIRX report, 2-26
ABNLFIL DD statement
CWDDALLU, 8-5
ABNLFROM DD statement
CWDDALLU, 8-5
ABNLPARM DD statement
CWDDALLU, 8-5
ABNLREPT DD statement
CWDDALLU, 8-5
ABNLTO DD statement
CWDDALLU, 8-5
advanced create/format parameters, 3-25
allocating
allocating and formatting a new shared directory,
8-33
DDIO files, 2-1
VSAM cluster, 2-13
allocating and formatting a new Database, 8-34
allocation group, G-1
alternative reserved word tables, COBOL, 9-6
AM parameter
CWDDALLU batch utility, 8-8
Anyname1 DD statement
CWDDALLU, 8-5
APF authorization
definition, G-1
APPLID parameter
CWDDALLU batch utility, 8-8
ASMBLR, 14-2
ASSEMBLER command
Assembler Language Processor, 11-3
Assembler Language Processor
ASSEMBLER command, 11-3, 11-8
CONDDDIO command, 11-3, 11-8
CONDSTEP command, 11-3, 11-8
DDIO command, 11-3, 11-9
DECK File-overrides command, 11-12
description of, 11-1
ERRM File-overrides command, 11-11
File-overrides command, 11-3
File-overrides commands, 11-10
File-overrides, optional override values, 11-12
handling suppressed statements, 11-5
INCLUDE command, 11-3, 11-12
insufficient primary space allocation, 11-5
LANGPARM command, 11-3, 11-13
LANGUAGE command, 11-3, 11-14
LOAD File-overrides command, 11-11
PRINT command, 11-3, 11-14
PRINT NOGEN, 1-3
PRINT OFF, 1-3
processing listings with errors, 11-5
PROCESSOR command, 11-3, 11-14
PROGRAM-NAME command, 11-3, 11-17
PRTI File-overrides command, 11-11
PRTO File-overrides command, 11-11
required assembler options, 11-7
sample JCL and program names, 11-4
SYSTEM command, 11-3, 11-17
updating the OBJECT deck, 11-6
usage considerations, 11-5
WRK0-WRK4 File-overrides commands, 11-11
ZIIP command, 11-3, 11-18
I-2
Compuware Shared Services User/Reference Guide
ATTACH (ATT) command
CWDDALLU batch utility, 8-3, 8-24
AUTODELETE, G-1
AUTODELETE parameter, 2-5, 2-8, 2-23, 2-26, 2-31–
2-32, 2-36, 2-38, 2-50, 2-53
automatic and manual locking, 2-8
CSS Utilities, 3-28, 3-57
CWDDALLU batch utility, 8-8
resolving a file full condition, 2-9
AUTODELETE=DUPS, 3-28, 3-57, 8-9
AUTODELETE=NO, 3-28, 8-10
AUTODELETE=STAGED, 2-14, 2-26, 3-28, 8-10
AUTODELETE=YES, 3-28, 3-57, 8-9
AUTOLOCKMAX (ALMAX) parameter
CWDDALLU batch utility, 8-11
automated compiler options, 1-3
automatic lock, G-1
B
BASEDDIO (BDDIO) parameter
CWDDALLU batch utility, 8-12
BASENUMBER (BRN) parameter
CWDDALLU batch utility, 8-12
batch compile of multiple C programs in a PDS, 12-5
batch file utilities, 1-2
batch file utility
definition, G-1
batch utilities, CWAASDUT
command summary, 6-1
batch utilities, CWDDALLU
ATTACH (ATT), 8-3, 8-24
CHANGE (CHG), 8-3, 8-25
command conventions, 8-7
command summary, 8-1, 8-3
CONVERT (CNVT), 8-3, 8-28
COPY, 8-3, 8-29
CREATE (CRE), 8-3, 8-32
DD statements, 8-5
DELETE (DEL), 8-3, 8-38
DETACH, 8-3, 8-43
DIRECTORY (DIR, D), 8-3, 8-44
DIRS, 8-3, 8-47
DIRX (DX), 8-3, 8-44
ESTIMATE, 8-3, 8-50
EXAMINE, 8-3, 8-51
EXPAND, 8-4, 8-53
EXPORT, 8-4, 8-54
FLAG, 8-4, 8-57
FORMAT, 8-4, 8-60
IMPORT, 8-4, 8-61
LOCK, 8-4, 8-64
MOVE, 8-4, 8-67
PRINT (P), 8-4, 8-72
REFRESH, 8-4, 8-73
RESET, 8-4, 8-74
SCRATCH (SCR), 8-4, 8-75
TEST, 8-4, 8-75
UNCONVERT (UNCNVT), 8-4, 8-76
UNLOCK (UNLK), 8-4, 8-76
usage considerations, 8-4
VERIFY (VER), 8-4, 8-79
batch utilities, CWDDLPUT
command summary, 7-1
batch utilities, CWDDSUTL
command summary, 4-1
batch utilities, CWDFXSDUT
command summary, 5-1
BLKSIZE (BLK) parameter
CWDDALLU batch utility, 8-12
BLKSIZE (BLKSIZE) parameter, 2-6
BYPASS parameter, PROCESSOR command
Assembler Language Processor, 11-15
COBOL Language Processor, 9-27
PL/I Language Processor, 10-20
C
C Language Processor
batch compile of multiple C programs in a PDS,
12-5
C command, 12-3, 12-7
CONDDDIO command, 12-3, 12-8
CONDSTEP command, 12-3, 12-8
DD statements, 12-4
DDIO command, 12-3, 12-8
description of, 12-1
effect of optimization logic on execution pointer,
12-5
ERRM File-overrides commands, 12-9
File-overrides command, 12-3
File-overrides commands, 12-9
HFS files, use of, 12-5
INCLUDE command, 12-3, 12-11
insufficient primary space allocation, 12-5
LANGPARM command, 12-3, 12-11
LANGUAGE command, 12-3, 12-12
LOAD File-overrides command, 12-10
NOSHOWINC, 1-3
OPTFILE compiler option, 12-5
PRINT command, 12-3, 12-12
processing listings with errors, 12-5
PROCESSOR command, 12-3, 12-13
PROGRAM-NAME command, 12-3, 12-14
PRTI File-overrides command, 12-10
PRTO File-overrides command, 12-10
required compiler options, 12-7
restrictions, 12-6
sample JCL and program names, 12-4
SYSTEM command, 12-3, 12-14
usage considerations, 12-5
calculate
CALCULATE synonym, 9-6
DDIO file size, 2-13
DDIO files, allocation in blocks, 2-13
DDIO files, minimum value for BLKSIZE, 2-12
DDIO files, minimum value for CISIZE, 2-12, 2-14
DDIO files, total number of blocks, 2-11, 2-14
DDIO files, value for GROUPCOUNT, 2-11
value for GROUPCOUNT, 2-14
capturing suppressed source code, preprocessor, 1-3
CEC, G-1
licensing, G-1
CGI, G-1
CGI-bin, G-1
CHANGE (CHG) command
CWDDALLU batch utility, 8-3, 8-25
CHANGE command
CWDDALLU batch utility, 8-25
CICSCODE parameter
CWDDALLU batch utility, 8-12
CICSTEST command
I-3
COBOL Language Processor, 9-3, 9-15
CISIZE parameter
calculate minimum value, 2-14
CWDDALLU batch utility, 8-12
CMF (Customer Modification Facility), 14-1
COBOL Language Processor
alternative reserved word tables, 9-6
CICSTEST command, 9-3, 9-15
COBOL command, 9-3, 9-16
command descriptions, 9-15
CONDDDIO command, 9-3, 9-17
CONDERRL command, 9-3, 9-17
CONDSTEP command, 9-3, 9-17
COPY SUPPRESS, 1-3
CWPPRMO, 9-4
DD statements, 9-4
DDIO command, 9-3, 9-18
DECK File-overrides command, 9-21
description of, 9-1
effect of optimization logic on execution pointer,
9-8
enhanced listing, 9-13
enhanced listing features, 9-15
ERRM File-overrides command, 9-20
File-overrides commands, 9-3, 9-19
File-overrides, optional override values, 9-21
INCLUDE command, 9-3, 9-21
insufficient primary space allocation, 9-8
LANGPARM command, 9-3, 9-22
LANGUAGE command, 9-4, 9-23
LOAD File-overrides command, 9-20
output considerations, 9-7
performance considerations, 9-10
preventing truncated messages, 9-7
PRINT command, 9-4, 9-24
processing listings with errors, 9-7
processing multiple compile units in a single execution, 9-5
PROCESSOR command, 9-4, 9-25
PROGRAM-NAME command, 9-4, 9-31
PRTI File-overrides command, 9-20
PRTO File-overrides command, 9-20
required compiler options, 9-12
restricted compiler options, 9-10
restrictions, 9-10
sample JCL and program names, 9-5
suppressed statements, handling, 9-7
SYSTEM command, 9-4, 9-31
updating the OBJECT deck, 9-8
usage considerations, 9-4–9-5
WRK0-WRK4 File-overrides command, 9-20
ZIIP command, 9-32
command conventions
CWDDALLU batch utility, 8-7
command syntax
Assembler Language Processor, 11-7
C Language Processor, 12-7
COBOL Language Processor, 9-15
CWDDALLU batch utility, 8-24
PL/I Language Processor, 10-13
commands, Assembler Language Processor
ASSEMBLER, 11-3, 11-8
CONDDDIO, 11-3, 11-8
CONDSTEP, 11-3, 11-8
DDIO, 11-3, 11-9
DECK File-overrides, 11-12
ERRM File-overrides, 11-11
File-overrides, 11-3, 11-10
File-overrides, optional override values, 11-12
INCLUDE, 11-3, 11-12
LANGPARM, 11-3, 11-13
LANGUAGE, 11-3, 11-14
LOAD File-overrides, 11-11
PRINT, 11-3, 11-14
PROCESSOR, 11-3, 11-14
PROGRAM-NAME, 11-3, 11-17
PRTI File-overrides, 11-11
PRTO File-overrides, 11-11
SYSTEM, 11-3, 11-17
WRK0-WRK4 File-overrides, 11-11
commands, C Language Processor
C, 12-3, 12-7
CONDDDIO, 12-3, 12-8
CONDSTEP, 12-3, 12-8
DDIO, 12-3, 12-8
ERRM File-overrides, 12-9
File-overrides, 12-3, 12-9
INCLUDE, 12-3, 12-11
LANGPARM, 12-3, 12-11
LANGUAGE, 12-3, 12-12
LOAD File-overrides, 12-10
PRINT, 12-3, 12-12
PROCESSOR, 12-3, 12-13
PROGRAM-NAME, 12-3, 12-14
PRTI File-overrides, 12-9
PRTO File-overrides, 12-10
SYSTEM, 12-3, 12-14
commands, COBOL Language Processor
CICSTEST, 9-3, 9-15
COBOL, 9-3, 9-16
CONDDDIO, 9-3, 9-17
CONDERRL, 9-3, 9-17
CONDSTEP, 9-3, 9-17
DDIO, 9-3, 9-18
DECK File-overrides, 9-21
ERRM File-overrides, 9-20
File-overrides, 9-3, 9-19
File-overrides, optional override values, 9-21
INCLUDE, 9-3, 9-21
LANGPARM, 9-3, 9-22
LANGUAGE, 9-4, 9-23
LOAD File-overrides, 9-20
PRINT, 9-4, 9-24
PROCESSOR, 9-4, 9-25
PROGRAM-NAME, 9-4, 9-31
PRTI File-overrides, 9-20
PRTO File-overrides, 9-20
SYSTEM, 9-4, 9-31
WRK0-WRK4 File-overrides, 9-20
ZIIP, 9-4
commands, CWDDALLU batch utility
ATTACH (ATT), 8-3, 8-24
CHANGE, 8-25
CHANGE (CHG), 8-3, 8-25
CONVERT (CNVT), 8-3, 8-28
COPY, 8-3, 8-29
CREATE, 8-32
CREATE (CRE), 8-3, 8-32
DELETE (DEL), 8-3, 8-38
DETACH, 8-3, 8-43
DIRECTORY (DIR, D), 8-3, 8-44
DIRS, 8-3, 8-47
DIRX (DX), 8-3, 8-44
ESTIMATE, 8-3, 8-50
EXAMINE, 8-3, 8-51
EXPAND, 8-4, 8-53
I-4
Compuware Shared Services User/Reference Guide
EXPORT, 8-4, 8-54
FLAG, 8-4, 8-57
FORMAT, 8-4
IMPORT, 8-61
LOCK, 8-4, 8-64
MOVE, 8-4, 8-67
PRINT, 8-72
PRINT (P), 8-4, 8-72
REFRESH, 8-4, 8-73
RESET, 8-4, 8-74
SCRATCH (SCR), 8-4, 8-75
TEST, 8-4, 8-75
UNCONVERT (UNCNVT), 8-4, 8-76
UNLOCK (UNLK), 8-4, 8-76
VERIFY (VER), 8-4, 8-79
commands, PL/I Language Processor
CONDDDIO, 10-3, 10-13
CONDSTEP, 10-3, 10-13
DDIO, 10-3, 10-14
DECK File-overrides command, 10-16
ERRM File-overrides, 10-16
File-overrides, 10-3, 10-15
File-overrides, optional override values, 10-16
INCLUDE, 10-3, 10-17
LANGPARM, 10-3, 10-18
LANGUAGE, 10-3, 10-18
LOAD File-overrides command, 10-16
PL/I, 10-3, 10-19
PRINT, 10-3, 10-19
PROCESSOR, 10-3, 10-20
PROGRAM-NAME, 10-3, 10-23
PRTI File-overrides, 10-15
PRTO File-overrides, 10-16
SYSTEM, 10-3, 10-23
WRK0-WRK4 File-overrides, 10-15
compile errors, handling
preprocessor, 1-3
components of CSS, 1-1
COMPUTE synonym, 9-6
Compuware Shared Services
definition, G-1
CONDDDIO command
Assembler Language Processor, 11-3, 11-8
C Language Processor, 12-3, 12-8
COBOL Language Processor, 9-3, 9-7, 9-17
PL/I Language Processor, 10-3, 10-13
CONDERRL command
COBOL Language Processor, 9-3, 9-17
CONDSTEP command
Assembler Language Processor, 11-3, 11-9
C Language Processor, 12-3, 12-8
COBOL Language Processor, 9-3, 9-17
PL/I Language Processor, 10-3, 10-13
configuration source members
create, 14-2
CXCFGINI, 14-2
CXCFGSET, 14-2
CONTINUE parameter
CWDDALLU batch utility, 8-12
CONVERT (CNVT) command
CWDDALLU batch utility, 8-3
CONVERT command
CWDDALLU batch utility, 8-28
COPY command
CWDDALLU batch utility, 8-3, 8-29
copying
Abend-AID report file members, 3-61
source listing file members, 3-34
CREATE (CRE) command
CWDDALLU batch utility, 8-3
CREATE command
CWDDALLU batch utility, 8-32
CREATEJCL option
CSS Utilities, 3-4
creating
Abend-AID report DDIO files, 3-50
DBMODEL, 8-37
source listing DDIO files, 3-21
CSS
allocating and formatting DDIO files, 2-1
components, 1-1
executing, 1-4
installation library members, 1-5
Security Exit Program, 13-1
CSS Utilities, 1-2
AAREPORT option, 3-49
Abend-AID report files, working with, 3-49
CREATEJCL option, 3-4
CWAASDUT, 6-1
CWDDALLU, 8-1
CWDDLPUT, 7-1
CWDDSUTL, 4-1
CWFXSDUT, 5-1
description of, 2-4
functions of, 3-1
global settings, 3-3
invoking, 3-2
postprocessor, 3-17
preparing compiler listings, 3-4
preprocessor, 3-5
source listing files, working with, 3-19
SOURCE option, 3-19
CURRDDIO (CDDIO) parameter
CWDDALLU batch utility, 8-12
CURRNUMBER (CRN) parameter
CWDDALLU batch utility, 8-13
Customer Modification Facility, 14-1
definition, G-2
customized translation table, G-2
CWAASDUT, 6-1, G-2
CWASSECU, G-2
CWDDALLU, 8-1
CWDDALLU batch utility
allocating and formatting a new shared directory,
8-33
allocating and formatting a new Source Listing Database, 8-34
ATTACH (ATT) command, 8-3, 8-24
CHANGE (CHG) command, 8-3, 8-25
command conventions, 8-7
CONVERT (CNVT) command, 8-3, 8-28
COPY command, 8-3, 8-29
CREATE (CRE) command, 8-3, 8-32
creating a DBMODEL, 8-37
DELETE (DEL) command, 8-3, 8-38
DETACH command, 8-3, 8-43
DIRECTORY (DIR, D) command, 8-3, 8-44
DIRS, 8-47
DIRS command, 8-3
DIRX (DX) command, 8-3, 8-44
ESTIMATE command, 8-3, 8-50
EXAMINE command, 8-3, 8-51
EXPAND command, 8-4, 8-53
EXPORT command, 8-4, 8-54
FLAG command, 8-4, 8-57
FORMAT command, 8-4
I-5
formatting a pre-allocated Shared Directory, 8-33
formatting a pre-allocated Source Listing Database,
8-36
IMPORT command, 8-4, 8-61
LOCK command, 8-4, 8-64
MOVE command, 8-4, 8-67
PRINT (P) command, 8-4, 8-72
REFRESH command, 8-4, 8-73
RESET command, 8-4, 8-74
SCRATCH (SCR) command, 8-4, 8-75
TEST command, 8-4, 8-75
UNCONVERT (UNCNVT) command, 8-4, 8-76
UNLOCK (UNLK) command, 8-4, 8-76
usage restrictions, 8-7
VERIFY (VER) command, 8-4, 8-79
CWDDLPUT, 7-1, G-2
CWDDSUTL, 4-1, G-2
CWDDUNLP source extraction utility, 2-5
return codes, 15-2
CWFXSDUT, 5-1, G-2
CWPCMAIN, 9-7
CWPDDIO, G-2
CWPERRM, G-2
CWPPRMO, G-2
CWPPRMO DD statement, 9-7
CWPPRTI, G-2
CWPPRTI DD statement
preprocessor, COBOL, 9-8
CWPPRTO
COBOL Language Processor, 9-7
CXCFGEXT member
edit, 14-3
CXCFGINI
configuration source member, 14-2
CXCFGSET
configuration source member, 14-2
edit member, 14-2
submit member, 14-2–14-3
CXTRACE, G-2
CYLINDERS (CYL) parameter
CWDDALLU batch utility, 8-13
D
DATABASEDISP (DBDISP) parameter
CWDDALLU batch utility, 8-13
DATACLAS parameter
CWDDALLU batch utility, 8-13
DATAUSEd parameter
CWDDALLU batch utility, 8-13
DATE parameter
DDIO command, 11-9
DAYSOLD parameter
CWDDALLU batch utility, 8-13
DBDISP parameter
CWDDALLU batch utility, 8-13
DBMODEL, G-2
DD statements, Assembler Language Processor, 11-4
DD statements, C Language Processor, 12-4
DD statements, COBOL Language Processor, 9-4
DD statements, CWDDALLU batch utility, 8-5
DD statements, PL/I Language Processor, 10-4
DDIO, G-2
DDIO calculator, 2-15, 3-75
helpful hints, 3-78
primary calculations screen, 3-76
DDIO command
Assembler Language Processor, 11-3, 11-9
C Language Processor, 12-3, 12-8
COBOL Language Processor, 9-3, 9-18
PL/I Language Processor, 10-3, 10-14
DDIO file, G-2
DDIO file member, G-3
DDIO files
Abend-AID report, 2-2
allocating, 2-10
allocating and formatting, 2-1
allocating and formatting example, 2-13
allocating the VSAM cluster, 2-13
AUTODELETE parameter, 2-5
BLKSIZE parameter, 2-6
calculate allocation in blocks, 2-11, 2-13
calculate average member size in KBs, 2-10
calculate file size, 2-11, 2-13
calculate minimum value for CISIZE, 2-14
calculate total number of blocks, 2-11, 2-14
calculate value for BLKSIZE, 2-12
calculate value for CISIZE, 2-12
calculate value for GROUPCOUNT, 2-11, 2-14
decreasing CISIZE, 2-15
description of, 1-1
determine average member size, 2-13
EXTENTS parameter, 2-6
file considerations, 2-7
file full condition, 2-9
formatting, 2-11, 2-13
formatting Abend-AID report DDIO files, 3-50
formatting formulas, 2-11
formatting specifications, 2-14
functions, 3-1
GROUPCOUNT parameter, 2-6
limitations, 2-12
locking members, 2-8
parameters for allocating and formatting, 2-5
reducing the size of, 2-16
reformatting Abend-AID report DDIO files, 3-50
REPTCOUNT parameter, 2-6
resolving file full condition, 2-9
selecting a file access method, 2-6
shared directories, 2-3
size comparison table, 2-16
source listing, 2-2
transaction database, 2-3
tuning, 2-15
viewing file information, 2-5
DDIO member name, 12-4
DDIOCALC, G-2
DDIOCALC DIRX report data input screen, 3-77
DDNAME (DDN) parameter
CWDDALLU batch utility, 8-13
DECK File-overrides command
Assembler Language Processor, 11-12
COBOL Language Processor, 9-21
PL/I Language Processor, 10-16
DEFUNIT keyword, 14-2
DELETE (DEL) command
CWDDALLU batch utility, 8-3, 8-38
DELETE parameter
CWDDALLU batch utility, 8-13
DELETEIC parameter
CWDDALLU batch utility, 8-14
deleting
Abend-AID report DDIO files, 3-57
source listing DDIO files, 3-29
I-6
Compuware Shared Services User/Reference Guide
DETACH command
CWDDALLU batch utility, 8-3, 8-43
determine average member size
DDIO files, 2-13
DIAGNOSE parameter, PROCESSOR command
Assembler Language Processor, 11-15
DIRDD parameter
CWDDALLU batch utility, 8-14
DIRDSN parameter
CWDDALLU batch utility, 8-14
DIRECTORY (DIR, D) command
CWDDALLU batch utility, 8-3, 8-44
directory entry, G-3
DIRENTS parameter
CWDDALLU batch utility, 8-14
DIRS command
CWDDALLU batch utility, 8-3, 8-47
DIRVOL parameter
CWDDALLU batch utility, 8-14
DIRX (DX) command
CWDDALLU batch utility, 8-3, 8-44
DIRX report, G-3
DIRX report for allocation DDIO files, 2-10
DIRX reports
Abend-AID report file DIRX report, 2-26
creating, 2-5
shared directory DIRX report, 2-38
Source Listing Database DIRX report, 2-48
source listing file DIRX report, 2-20
Source Listing Shared Directory (SRCEDIR) DIRX report, 2-55
transaction database DIRX report, 2-33
using the DIRX report, 2-20
displaying
Abend-AID report DDIO files, 3-60
Abend-AID report file information, 3-58
source listing DDIO files, 3-31
DSN parameter
CWDDALLU batch utility, 8-14
DUPMAX parameter
CWDDALLU batch utility, 8-15
DUPS parameter
CWDDALLU batch utility, 8-15
DYNCREATE, G-3
DYNCREATE parameter
CWDDALLU batch utility, 8-15
E
ENDDATE (EDATE) parameter
CWDDALLU batch utility, 8-15
ENDTIME (ETIME) parameter
CWDDALLU batch utility, 8-16
enhanced listing, G-3
enhanced listing, COBOL Language Processor, 9-13
entry, G-3
environment, system, 1-1
ERRM File-overrides command
Assembler Language Processor, 11-11
C Language Processor, 12-9
COBOL Language Processor, 9-20
PL/I Language Processor, 10-16
error messages
CWDDUNLP return codes, 15-2
Problem Documentation Utility, 15-1
ERRORS parameter, PROCESSOR command
Assembler Language Processor, 11-16
C Language Processor, 12-13
COBOL Language Processor, 9-27
PL/I Language Processor, 10-21
errors, processing listings with
Assembler Language Processor, 11-5
C Language Processor, 12-5
COBOL Language Processor, 9-7
PL/I Language Processor, 10-5
ESTIMATE command
CWDDALLU batch utility, 8-3, 8-50
EXAMINE command
CWDDALLU batch utility, 8-3, 8-51
EXEC parameter
CWDDALLU batch utility, 8-16
executing
Abend-AID, 1-4
Abend-AID for CICS, 1-4
CSS, 1-4
Xpediter/CICS, 1-5
Xpediter/TSO, 1-5
execution pointer, effect of optimization logic
in C processing, 12-5
in COBOL processing, 9-8
EXPAND command
CWDDALLU batch utility, 8-4, 8-53
EXPORT command
CWDDALLU batch utility, 8-4, 8-54
exporting
Abend-AID report file members, 3-64
source listing file members, 3-37
EXTCSS load library, 14-2–14-3
EXTENTS parameter, 2-6
CWDDALLU batch utility, 8-17
EXTENTS=
example, 2-14
F
file access method
selecting, 2-6
File-overrides command
Assembler Language Processor, 11-3
C Language Processor, 12-3
COBOL Language Processor, 9-3
PL/I Language Processor, 10-3
File-overrides commands, Assembler
DECK, 11-12
LOAD, 11-11
optional override values, 11-12
PRTI, 11-11
PRTO, 11-11
WRK0-WRK4, 11-11
File-overrides commands, C
ERRM, 12-9
LOAD, 12-10
optional override values, 12-10
PRTI, 12-9
PRTO, 12-10
File-overrides commands, COBOL
DECK, 9-21
ERRM, 9-20
LOAD, 9-20
optional override values, 9-21
PRTI, 9-20
PRTO, 9-20
I-7
WRK0-WRK4, 9-20
File-overrides commands, PL/I
ERRM, 10-16
LOAD, 10-16
optional override values, 10-16
PRTI, 10-15
PRTO, 10-16
WRK0-WRK4, 10-15
FLAG command, CWDDALLU
repeated use, 8-58
report output, 8-59
supported compilers, 8-59
syntax, 8-59
FLAGGEDDDIO (FDDIO) parameter
CWDDALLU batch utility, 8-17
FORMAT command
CWDDALLU syntax, 8-61
formatting
Abend-AID report DDIO files, 3-50
DDIO file, G-3
DDIO files, 2-1, 2-14
source listing DDIO files, 3-21
formatting, CWDDALLU
allocating and formatting new shared directory,
8-33
allocating and formatting new Source Listing Database, 8-34
pre-allocated Database, 8-36
pre-allocated shared directory, 8-33
formatting, CWDDALLU batch utility
pre-allocated Shared Directory, 8-33
FROMDD parameter
CWDDALLU batch utility, 8-17
FROMDSN parameter
CWDDALLU batch utility, 8-17
FROMOBJECT parameter
CWDDALLU batch utility, 8-17
FROMVOL parameter
CWDDALLU batch utility, 8-17
full DDIO file, G-3
functions of Security Exit Program, 13-1
G
GROUPCOUNT (GC) parameter
CWDDALLU batch utility, 8-17
GROUPCOUNT parameter, 2-6
calculate value, 2-14
H
HCI
description, 1-5
HFS files, use of, 12-5
Host Communications Interface, G-3
I
ID parameter
CWDDALLU batch utility, 8-17
IDENTYES or IDENTNO parameter, PROCESSOR command
Assembler Language Processor, 11-16
C Language Processor, 12-14
COBOL Language Processor, 9-27
PL/I Language Processor, 10-22
IMPORT command
CWDDALLU batch utility, 8-3, 8-61
importing
Abend-AID report file members, 3-65
source listing file members, 3-37
INC parameter
CWDDALLU batch utility, 8-18
INCLUDE command
Assembler Language Processor, 11-3, 11-12
C Language Processor, 12-3, 12-11
COBOL Language Processor, 9-3, 9-21
PL/I Language Processor, 10-3, 10-17
INDD (I) parameter
CWDDALLU batch utility, 8-18
INDEX parameter
CWDDALLU batch utility, 8-18
INMEM configuration source member, 14-2
inputs
Security Exit Program, 13-3
INSRC dataset name, 14-2
installation
library members, 1-5
invoking
CSS Utilities, 3-2
J
JCL
creating for preprocessing and postprocessing, 3-4
JESID parameter
CWDDALLU batch utility, 8-18
JOBNAME parameter
CWDDALLU batch utility, 8-18
L
LABEL parameter
CWDDALLU batch utility, 8-18
LANGPARM command
Assembler Language Processor, 11-3, 11-13
C Language Processor, 12-3, 12-11
COBOL Language Processor, 9-3, 9-22
PL/I Language Processor, 10-3, 10-18
LANGUAGE (LANG) parameter
CWDDALLU batch utility, 8-19
LANGUAGE command
Assembler Language Processor, 11-3, 11-14
C Language Processor, 12-3, 12-12
COBOL Language Processor, 9-4, 9-23
PL/I Language Processor, 10-3, 10-18
Language Processor (LP), G-3
Assembler Language Processor, 11-1
C Language Processor, 12-1
COBOL Language Processor, 9-1
functions, 3-1
PL/I Language Processor, 10-1
postprocessor, Assembler, 11-2
postprocessor, C, 12-2
postprocessor, COBOL, 9-2
postprocessor, PL/I, 10-2
I-8
Compuware Shared Services User/Reference Guide
preprocessor, 9-1
preprocessor, Assembler, 11-1
preprocessor, C, 12-1
preprocessor, PL/I, 10-1
supported languages, 1-2
LAU, G-3
license certificate, G-3
license file, G-3
License Management System, G-3
limitations
DDIO files, 2-12
line command, G-4
LINESIZE (LIN) parameter
CWDDALLU batch utility, 8-19
LMVERIFY, G-4
LOAD File-overrides command
Assembler Language Processor, 11-11
C Language Processor, 12-10
COBOL Language Processor, 9-20
PL/I Language Processor, 10-16
LOCK command
CWDDALLU batch utility, 8-4, 8-64
locked member, G-4
locking DDIO members, 2-8
LONGNAME support, 2-3
LPAR, G-4
licensing, G-4
M
manual lock, G-4
messages
CWDDUNLP return codes, 15-2
messages, preventing truncated, COBOL, 9-7
MGMTCLAS parameter
CWDDALLU batch utility, 8-19
MIPS, G-4
MODEL parameter
CWDDALLU batch utility, 8-19
MONTHSOLD parameter
CWDDALLU batch utility, 8-19
MOVE command
CWDDALLU batch utility, 8-4, 8-67
moving
Abend-AID report file members, 3-64
source listing file members, 3-36
MSU, G-4
MULTIVOLUME parameter
CWDDALLU batch utility, 8-19
N
NOTFOUND parameter
CWDDALLU batch utility, 8-19
O
OBJECT (OBJ) parameter
CWDDALLU batch utility, 8-19
OBJECT parameter
CWDDALLU batch utility, 8-19
OFFSET parameter, PROCESSOR command
COBOL Language Processor, 9-28
oldest member, G-4
OPTFILE compiler option, 12-5
optimization logic, effects of
in C processing, 12-5
in COBOL processing, 9-8
in PL/I processing, 10-6
options
for supported Assemblers, 11-7
for supported C compilers, 12-7
for supported COBOL compilers, 9-12
for supported PL/I compilers, 10-12
OUTDD (O) parameter
CWDDALLU batch utility, 8-20
OUTMEM member name, 14-3
OUTPDS dataset name, 14-3
output considerations, COBOL, 9-7
output information
Security Exit Program, 13-6
OUTPUT parameter, Assembler
DDIO command, 11-10
OUTPUT parameter, C
DDIO command, 12-8
OUTPUT parameter, COBOL
COBOL command, 9-16
DDIO command, 9-18
PRINT command, 9-24
PROCESSOR command, 9-28
special considerations, 9-9
OUTPUT parameter, PL/I
DDIO command, 10-14
PL/I command, 10-19
PRINT command, 10-19
PROCESSOR command, 10-21
outputs
Security Exit Program, 13-3
P
PAGESIZE (PG) parameter
CWDDALLU batch utility, 8-20
parameters
AUTODELETE, 2-5
BLKSIZE, 2-6
EXTENTS, 2-6
GROUPCOUNT, 2-6
REPTCOUNT, 2-6
parameters, Assembler
$ASUP, 11-16
$NG, 11-16
$NIDR, 11-16
$NO, 11-16
BYPASS, 11-15
DIAGNOSE, 11-15
ERRORS, 11-16
parameters, C
$NIDR, 12-13
$NO, 12-13
ERRORS, 12-13
parameters, COBOL
$AOFF, 9-25
$ASUP, 9-25
$NG, 9-26
$NIDR, 9-26
$NO, 9-26
BYPASS, 9-27
I-9
ERRORS, 9-27
OFFSET, 9-28
OUTPUT, 9-28
POSITION, 9-29
SCALELINE, 9-29
STATISTICS, 9-29
TEXT, 9-30
WARNINGS, 9-30
parameters, CWDDALLU
ABEND (A), 8-8
AM, 8-8
APPLID, 8-8
AUTODELE (AD), 8-8
AUTODELETE (AD), 8-8
AUTOLOCKMAX (ALMAX), 8-11
BASEDDIO (BDDIO), 8-12
BASENUMBER (BRN), 8-12
BLKSIZE (BLK), 8-12
CICSCODE, 8-12
CISIZE, 8-12
CONTINUE, 8-12
CURRDDIO (CDDIO), 8-12
CURRNUMBER (CRN), 8-13
CYINDERS (CYL), 8-13
DATABASEDISP, 8-13
DATABASEDISP (DBDISP), 8-13
DATACLASS, 8-13
DATAUSED, 8-13
DAYSOLD, 8-13
DDNAME (DDN), 8-13
DELETE, 8-13
DELETEIC, 8-14
DIRDD, 8-14
DIRDSN, 8-14
DIRENTS, 8-14
DIRVOL, 8-14
DSN, 8-14
DUPMAX, 8-15
DUPS, 8-15
DYNCREATE, 8-15
ENDDATE (EDATE), 8-15
ENDTIME (ETIME), 8-16
EXEC, 8-16
EXTENTS, 8-17
FLAGGEDDDIO (FDDIO), 8-17
FROMDD, 8-17
FROMDSN, 8-17
FROMOBJECT, 8-17
FROMVOL, 8-17
GROUPCOUNT (GC), 8-17
ID, 8-17
INC, 8-18
INDD (I), 8-18
INDEX, 8-18
JESID, 8-18
JOBNAME, 8-18
LABEL, 8-18
LANGUAGE (LANG), 8-19
LINESIZE (LIN), 8-19
MGMTCLAS, 8-19
MODEL, 8-19
MONTHSOLD, 8-19
MULTIVOLUME, 8-19
NOTFOUND, 8-19
OBJECT (OBJ), 8-19
OUTDD (O), 8-20
PAGESIZE (PG), 8-20
PROGRAM (P), 8-20
REALLOCATE (REALLO), 8-20
RECORDS, 8-20
RECORDS (RECS), 8-20
REPAIR, 8-20
REPTCOUNT, 8-21
REPTCOUNT (RC), 8-21
REPTNUMBER (RN), 8-21
RETAINRN, 8-21
SECTION (SECT), 8-21
SEEFLAGS, 8-21
SELECTDAYS, 8-21
SLSDD, 8-22
SORT, 8-22
STARTDATE (SDATE), 8-23
STARTTIME (STIME), 8-23
STORCLAS, 8-23
SUBTYPE, 8-23
TODD, 8-23
TODSN, 8-23
TOOBJECT, 8-23
TOVOL, 8-24
TRACKS (TRKS), 8-24
TRAN (T), 8-24
TYPE, 8-24
UNIT, 8-24
VOLSER (VOL), 8-24
VSAMCAT, 8-24
YEARSOLD, 8-24
parameters, PL/I
$NG, 10-22
$NO, 10-22
BYPASS, 10-20
ERRORS, 10-21
OUTPUT, 10-21
PL/I Language Processor
%NOPRINT, 1-3
CONDDDIO command, 10-3, 10-13
CONDSTEP command, 10-3, 10-13
DDIO command, 10-3, 10-14
DECK File-overrides command, 10-16
description of, 10-1
effect of optimization logic on execution pointer,
10-6
ERRM File-overrides command, 10-16
File-overrides commands, 10-3, 10-15
File-overrides, optional override values, 10-16
handling suppressed statements, 10-5
INCLUDE command, 10-3, 10-17
insufficient primary space allocation, 10-5
LANGPARM command, 10-3, 10-18
LANGUAGE command, 10-3, 10-18
LOAD File-overrides command, 10-16
PL/I command, 10-3, 10-19
PL/I Parameter, LANGUAGE command, 10-18
PRINT command, 10-3, 10-19
processing listings with errors, 10-5
PROCESSOR command, 10-3, 10-20
PROGRAM-NAME, 10-23
PROGRAM-NAME command, 10-3
PRTI File-overrides command, 10-15
PRTO File-overrides command, 10-16
required compiler options, 10-12
restrictions, 10-7
sample JCL and program names, 10-4
SYSTEM command, 10-3, 10-23
updating the OBJECT deck, 10-6
usage considerations, 10-5
WRK0-WRK4 File-overrides commands, 10-15
I-10
Compuware Shared Services User/Reference Guide
ZIIP command, 10-3, 10-23
pointer affected by optimization logic
in PL/I processing, 10-6
POSITION parameter, PROCESSOR command
COBOL Language Processor, 9-29
postprocessor, Assembler
benefits, 11-2
description of, 11-2
File-overrides commands, 11-3, 11-11
postprocessor, C
benefits, 12-2
description of, 12-2
File-overrides commands, 12-3, 12-9
postprocessor, COBOL
benefits, 9-2
CSPPRTO file, 9-7
description of, 9-2
File-overrides commands, 9-19
WORD option, 9-6
postprocessor, CSS Utilities, 3-17
postprocessor screen fields, 3-18
running the postprocessor, 3-17
screen fields, 3-18
selecting members for processing, 3-19
submitting JCL for processing, 3-19
using sample JCL, 3-17
postprocessor, PL/I
benefits, 10-2
description of, 10-2
File-overrides commands, 10-3, 10-15
preprocessor
automated compiler options, 1-3
benefits, 1-3
capturing suppressed source code, 1-3
handling compile errors, 1-3
simplified JCL, 1-3
steps, 1-3
preprocessor, Assembler
automated compiler options, 11-2
benefits, 11-1
capturing suppressed source code, 11-2
CONDDDIO command, 11-3, 11-8
CONDSTEP command, 11-3, 11-9
description of, 11-1
dynamically allocated files, 11-2
handling compiler errors, 11-1
INCLUDE command, 11-3, 11-13
LANGPARM command, 11-3, 11-13
simplified JCL, 11-2
preprocessor, C
automated compiler options, 12-2
benefits, 12-1
CONDDDIO command, 12-3, 12-8
CONDSTEP command, 12-3, 12-8
description of, 12-1
dynamically allocated files, 12-2
handling compiler errors, 12-2
LANGPARM command, 12-3, 12-11
simplified JCL, 12-2
preprocessor, COBOL
benefits, 9-2
CONDDDIO command, 9-3, 9-17
CONDERRL command, 9-3
CONDERRL command<>, 9-17
CONDSTEP command, 9-3, 9-17
CWPPRTIDD statement, 9-8
description of, 9-1
dynamically allocated files, 9-2
INCLUDE command, 9-3, 9-22
LANGPARM command, 9-3, 9-22
suppressed statements, 9-7
SYSPRINT file, 9-7
preprocessor, CSS Utilities, 3-5
selecting members for processing, 3-7
submitting JCL for processing, 3-7
preprocessor, PL/I
automated compiler options, 10-2
benefits, 10-2
capturing suppressed source code, 10-2
CONDSTEP command, 10-3, 10-13
description of, 10-1
dynamically allocated files, 10-2
INCLUDE command, 10-3, 10-17
LANGPARM command, 10-3, 10-18
simplified JCL, 10-2
primary command, G-4
primary space allocation
Assembler Language Processor, 11-5
C Language Processor, 12-5
COBOL Language Processor, 9-8
PL/I Language Processor, 10-5
PRINT command
Assembler Language Processor, 11-3, 11-14
C Language Processor, 12-3, 12-12
COBOL Language Processor, 9-4, 9-24
CWDDALLU batch utility, 8-72
PL/I Language Processor, 10-3
Problem Documentation Utility, G-4
Problem Documentation Utility, using, 15-1
PROCESSOR command
Assembler Language Processor, 11-3, 11-14
C Language Processor, 12-3, 12-13
COBOL Language Processor, 9-4, 9-25
PL/I Language Processor, 10-3, 10-20
PROGRAM (P) parameter
CWDDALLU batch utility, 8-20
PROGRAM-NAME command
Assembler Language Processor, 11-3, 11-17
C Language Processor, 12-3, 12-14
COBOL Language Processor, 9-4, 9-31
PL/I Language Processor, 10-3, 10-23
PROGRAM-NAME parameter
DDIO command, 11-9
PRTI File-overrides command
Assembler Language Processor, 11-11
C Language Processor, 12-9
COBOL Language Processor, 9-20
PL/I Language Processor, 10-15
PRTO File-overrides command
Assembler Language Processor, 11-11
C Language Processor, 12-10
COBOL Language Processor, 9-20
PL/I Language Processor, 10-16
R
REALLOCATE (REALLO) parameter
CWDDALLU batch utility, 8-20
reconstructing a configuration source member, 14-3
RECORDS (RECS) parameter
CWDDALLU batch utility, 8-20
reformatting
Abend-AID report DDIO files, 3-50
source listing DDIO files, 3-21
I-11
register entries
Security Exit Program, 13-3
renaming report files
CWDDALLU, 8-5
REPAIR parameter
CWDDALLU batch utility, 8-20
Report Database
file full, 8-11
report file, G-4
reports
Abend-AID report file DIRX report, 2-26
shared directory DIRX report, 2-38
Source Listing Database DIRX report, 2-48
source listing file DIRX report, 2-20
Source Listing Shared Directory (SRCEDIR) DIRX report, 2-55
transaction database DIRX report, 2-33
using the DIRX report, 2-20
REPTCOUNT parameter, 2-6
REPTNUMBER (RN) parameter
CWDDALLU batch utility, 8-21
required options
for supported Assemblers, 11-7
for supported C compilers, 12-7
for supported COBOL compilers, 9-12
for supported PL/I compilers, 10-12
reserved word tables, COBOL, 9-6
RESET command
CWDDALLU batch utility, 8-4, 8-74
restricted zaps
retrofitting, 14-1
restrictions
Assembler Language Processor, 11-6
C Language Processor, 12-6
COBOL Language Processor, 9-10
CWDDALLU, 8-7
PL/I Language Processor, 10-7
RETAINRN parameter
CWDDALLU batch utility, 8-21
return codes
CWDDUNLP source extraction utility, 15-2
running the postprocessor
CSS Utilities, 3-17
running the preprocessor
CSS Utilities, 3-5
S
sample JCL and programs
Assembler Language Processor, 11-4
C Language Processor, 12-4
COBOL Language Processor, 9-5
PL/I Language Processor, 10-4
SCALELINE parameter
COBOL Language Processor, 9-29
SCRATCH command
CWDDALLU batch utility, 8-4
SECTION (SECT) parameter
CWDDALLU batch utility, 8-21
SECUCMND field, 13-3
SECUCUSR field, 13-3
Security Exit Program, 13-1, G-4
Abend-AID for CICS transaction databases, 13-2
Abend-AID report files, 13-1
CSS components, 13-1
functions of, 13-1
inputs and outputs, 13-3
output information, 13-6
register entries, 13-3
source listing files, 13-2
SEEFLAGS parameter
CWDDALLU batch utility, 8-21
SELECTDAYS parameter
CWDDALLU batch utility, 8-21
selecting
Abend-AID report file members, 3-66
members for processing, 3-19
server grace, G-4
setting Abend-AID report file options, 3-49
setting advanced create/format parameters, 3-25, 3-54
setting advanced parameters, 3-39
setting source listing file options, 3-20
shared directories, 2-3
CWDDALLU, renaming, 8-5
description of, 2-3
shared directory DIRX report, 2-38
shared directory, G-4
sharing files
source listing files, 2-8
simplified JCL, 1-3
SLSDD parameter
CWDDALLU batch utility, 8-22
SMP/E, G-4
sort keys
batch Abend Report, 8-22
source listing, 8-22
transaction database, 8-22
SORT parameter
CWDDALLU batch utility, 8-22
source extraction utility
CWDDUNLP, 2-5
source extraction utility, CWDDUNLP
return codes, 15-2
source listing, G-4
Source Listing Database, 2-3
DIRX report, 2-48
Dynamic Creation, 8-5
source listing database, G-4
source listing DDIO files, 2-2, 3-1
creating, 3-21
deleting, 3-29
displaying, 3-31
displaying file information, 3-29
formatting, 3-21
functions, 3-1
sharing, 2-8
Source Listing File Facility screen, 3-20
Source Listing File Information screen, 3-30
working with, 3-19
working with file members, 3-31
source listing file, G-4
source listing files
advanced parameters, 3-39
copying members, 3-34
DIRX report, 2-20
exporting members, 3-37
importing members, 3-37
moving members, 3-36
Security Exit Program, 13-2
selecting specific members for processing, 3-38
source listing member
reducing the size of, 2-16
Source Listing Shared Directory (SRCEDIR) DIRX report, 2-55
I-12
Compuware Shared Services User/Reference Guide
SOURCE option
CSS Utilities, 3-19
space allocation
Assembler Language Processor, 11-5
C Language Processor, 12-5
COBOL Language Processor, 9-8
PL/I Language Processor, 10-5
STARTDATE (SDATE) parameter
CWDDALLU batch utility, 8-23
STARTTIME (STIME) parameter
CWDDALLU batch utility, 8-23
STATISTICS parameter, PROCESSOR command
COBOL Language Processor, 9-29
STORCLAS parameter
CWDDALLU batch utility, 8-23
STROBE, G-4
submitting JCL for processing, 3-7, 3-19
SUBTYPE parameter
CWDDALLU batch utility, 8-23
suppressed statements, G-4
Assembler Language Processor, 11-5
COBOL Language Processor, 9-7
PL/I Language Processor, 10-5
preprocessor, COBOL, 9-7
synonyms
COBOL Language Processor, 9-6
SYSPRINT
COBOL Language Processor, 9-7
SYSTEM command
Assembler Language Processor, 11-3, 11-17
C Language Processor, 12-3, 12-14
COBOL Language Processor, 9-4, 9-31
PL/I Language Processor, 10-3, 10-23
system environment, 1-1
T
target library, 1-5
technical support
Problem Documentation Utility, 15-1
TEST command
CWDDALLU batch utility, 8-75
TEXT parameter
COBOL Language Processor, 9-30
The, 8-44, 8-51, 8-60, 8-76, 8-79
TIME parameter
DDIO command, 11-10
TODD parameter
CWDDALLU batch utility, 8-23
TODSN parameter
CWDDALLU batch utility, 8-23
TOOBJECT parameter
CWDDALLU batch utility, 8-23
TOVOL parameter
CWDDALLU batch utility, 8-24
TP subsystem, 1-5
TRACKS (TRKS) parameter
CWDDALLU batch utility, 8-24
TRAN (T) parameter
CWDDALLU batch utility, 8-24
transaction database, G-4
description of, 2-3
transaction database DIRX report, 2-33
truncated COBOL messages, preventing, 9-7
tuning DDIO files, 2-15
TYPE parameter
CWDDALLU batch utility, 8-24
U
UNCONVERT (UNCNVT) command
CWDDALLU batch utility, 8-4
UNIT parameter
CWDDALLU batch utility, 8-24
UNIT temporary dataset, 14-2
UNLOCK (UNLK) command
CWDDALLU batch utility, 8-4, 8-76
unlocked member, G-5
update extracted member, 14-3
usage considerations
Assembler Language Processor, 11-5
C Language Processor, 12-5
COBOL Language Processor, 9-4–9-5
PL/I Language Processor, 10-5
usage restrictions
Assembler Language Processor, 11-6
C Language Processor, 12-6
COBOL Language Processor, 9-10
CWDDALLU, 8-7
PL/I Language Processor, 10-7
USECSS load library to STEPLIB, 14-2–14-3
using shared directories and databases
advantages, 2-3
using the DIRX report, 2-20
utilities, batch file
description of, 2-4
utilities, CSS
AAREPORT option, 3-49
Abend-AID report files, working with, 3-49
CREATEJCL option, 3-4
functions of, 3-1
global settings, 3-3
invoking, 3-2
preparing compiler listings, 3-4
source listing files, working with, 3-19
SOURCE option, 3-19
V
verification report (LMVERIFY), G-5
VERIFY (VER) command
CWDDALLU batch utility, 8-4, 8-79
view time, G-5
VOLSER (VOL) parameter
CWDDALLU batch utility, 8-24
VSAM space
allocated per track by CISIZE, 2-12
VSAMCAT parameter
CWDDALLU batch utility, 8-24
W
WARNINGS parameter command
COBOL Language Processor, 9-30
WORD option, 9-6
working with Source Listing File Members, 3-31
WRK0-WRK4 File-overrides commands
Assembler Language Processor, 11-11
I-13
COBOL Language Processor, 9-20
PL/I Language Processor, 10-15
X
Xpediter/CICS
executing, 1-5
Xpediter/TSO
executing, 1-5
Y
YEARSOLD parameter
CWDDALLU batch utility, 8-24
I-14
Compuware Shared Services User/Reference Guide
">
/
Download
Bare en venlig påmindelse. Du kan se dokumentet lige her. Men vigtigst af alt har vores AI allerede læst det. Den kan forklare komplekse ting i enkle vendinger, besvare dine spørgsmål på ethvert sprog og hjælpe dig med hurtigt at navigere selv de længste eller mest komplicerede dokumenter.
Annonce