Compuware MVS 9.0 Shared Services User/Reference Guide
PDF
Dokument
Annonce
Annonce
Compuware Shared Services
User/Reference Guide
MVS Version
Release 9.0
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 2013 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. CWCXRX9A
June 5, 2013.
iii
Contents
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Manual Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Compuware Go Customer Support Website . . . . . . . . . . . . . . . . . . . . . . . xviii
Online Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
PDF and PDX Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
World Wide Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Notation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Reading the Syntax Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Chapter 1. CSS Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Benefits of CSS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
System Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
CSS Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Common Files and Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
DDIO Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
CSS Utilities and Batch File Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Compuware Viewing Facility (Compuware/VF) . . . . . . . . . . . . . . . . . . . . .1-3
CSS Language Processors (LP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Language Processor Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Security Exit Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Executing CSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
HCI Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
CSS Sample Library Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
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
Host Explorer Facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
CSS Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Batch Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Source Extraction Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Viewing DDIO File Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
DDIO Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Selecting a File Access Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
DDIO File Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
iv
Compuware Shared Services User/Reference Guide
Sharing Source Listing Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Locking Your DDIO Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Manual and Automatic Locking . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
AUTODELETE Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
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-12
Step 1. Calculate the total number of blocks in the file. . . . . . . . . . 2-12
Step 2. Calculate the value for the GROUPCOUNT. . . . . . . . . . . . . 2-12
Step 3. Calculate the minimum value for BLKSIZE or CISIZE. . . . . 2-12
Understanding DDIO File Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Allocating and Formatting Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Allocating the VSAM Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Step 1. Determine the average DDIO file member size. . . . . . . . . . 2-14
Step 2. Calculate the DDIO file size. . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Step 3. Calculate the allocation in blocks.. . . . . . . . . . . . . . . . . . . . 2-14
Formatting the File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
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-15
Tuning Your DDIO File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Tuning the Sample File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Decreasing CISIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Reducing the Size of DDIO Source Listing Members. . . . . . . . . . . . . . . . 2-17
Migrating from a Source Listing File or Report File to a Shared Directory and
Database Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Migration Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Using the DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
Using the Previous DIRX Report Format . . . . . . . . . . . . . . . . . . . . . . . . 2-21
Source Listing File DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
Source Listing File DIRX Report Fields. . . . . . . . . . . . . . . . . . . . . . . 2-23
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
Column Headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
Member Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-26
Space Summary Based on AUTODELETE. . . . . . . . . . . . . . . . . . . . . 2-27
Abend-AID Report File DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-27
Abend-AID Report File DIRX Report Fields . . . . . . . . . . . . . . . . . . . 2-31
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32
Column Headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32
Member Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-33
Space Summary Based on AUTODELETE. . . . . . . . . . . . . . . . . . . . . 2-33
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-47
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-47
v
Source Listing Database DIRX Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-49
Source Listing Database DIRX Report Fields . . . . . . . . . . . . . . . . . . . 2-52
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-52
Column Headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-53
Member Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55
Space Summary Based on AUTODELETE . . . . . . . . . . . . . . . . . . . . . 2-55
Source Listing Shared Directory (SRCEDIR) DIRX Report . . . . . . . . . . . . 2-57
Shared Directory DIRX Report Fields . . . . . . . . . . . . . . . . . . . . . . . . 2-63
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-63
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-30
Working with Source Listing File Members . . . . . . . . . . . . . . . . . . . . . . . 3-32
Displaying Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32
Copying Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
Moving Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
Exporting Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38
Importing Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38
Specifying C to Create the To File for Shared Directory or Database 3-39
Selecting Specific Members for Processing . . . . . . . . . . . . . . . . . . . . 3-39
Setting Advanced Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40
Advanced Functions - Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42
Working with Source Listing Files . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42
Working with Source Shared Directory Files . . . . . . . . . . . . . . . . . . . 3-43
Working with Source Listing Database Files . . . . . . . . . . . . . . . . . . . 3-47
AAREPORT - Working with Abend-AID Report Files . . . . . . . . . . . . . . . . . . . 3-50
Setting Abend-AID Report File Options . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50
Creating and Formatting Abend-AID Report Files . . . . . . . . . . . . . . . . . . 3-51
Setting Advanced Create/Format Parameters . . . . . . . . . . . . . . . . . . 3-55
Deleting Abend-AID Report Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-58
vi
Compuware Shared Services User/Reference Guide
Displaying File Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-59
Working with Abend-AID Report File Members . . . . . . . . . . . . . . . . . . . 3-61
Displaying Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-61
Copying Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-62
Moving Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-65
Exporting Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-65
Importing Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-66
Specifying C to Create the To File for Shared Directory or Database 3-66
Selecting Specific Members for Processing. . . . . . . . . . . . . . . . . . . . 3-67
Setting Advanced Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-68
Advanced Functions - Abend-AID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-69
Working with Abend-AID Report Files. . . . . . . . . . . . . . . . . . . . . . . 3-69
Working with Report Shared Directory Files . . . . . . . . . . . . . . . . . . 3-70
Working with Abend-AID Report Database Files . . . . . . . . . . . . . . . 3-73
Compuware DDIO Calculator — DDIOCALC . . . . . . . . . . . . . . . . . . . . . . . . 3-76
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-76
Helpful Hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-79
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-26
CONVERT (CNVT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-28
COPY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-30
CREATE (CRE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-33
DELETE (DEL). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-38
DETACH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-43
DIRECTORY (DIR, D) and DIRX (DX) . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-43
DIRECTORY SEQUENTIAL (DIRS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-47
ESTIMATE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-49
EXAMINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-50
EXPAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-52
EXPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-53
FLAG. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-55
FORMAT Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-58
IMPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-59
LOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-62
MOVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-65
PRINT (P) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-69
REFRESH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-71
RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-72
SCRATCH (SCR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-73
vii
TEST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-73
UNCONVERT (UNCNVT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-74
UNLOCK (UNLK). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-74
VERIFY (VER) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-77
Chapter 9. Compuware Viewing Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
Abend-AID Primary Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
Compuware/VF Entry Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
Entry Panel Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-3
Processing Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
Source Browsing Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6
Alternate Logon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6
Viewing the Release Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6
Parameters Required for Viewing Different Types of DDIO Files . . . . . . . 9-7
Creating JCL for LP Preprocessing and Postprocessing . . . . . . . . . . . . . . . . . . . 9-7
Creating and Formatting Source Listing Files . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7
Creating and Formatting Abend-AID Report Files . . . . . . . . . . . . . . . . . . . . . . 9-8
Working with Contact Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9
Maintaining Contact Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9
Displaying Contact Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
Dataset Directory Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
Abend-AID Dataset Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
Source Listing Dataset Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-12
Primary Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-18
LOCATE (L) jobname/programname. . . . . . . . . . . . . . . . . . . . . . . . . 9-18
NEXT (N) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-18
SORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-19
Line Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-20
Hardcopy Options Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-21
Viewing Source Listings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23
Viewing Abend-AID Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23
Viewtime Restriction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23
Output Selection Menu for Abend-AID . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23
Options 0-5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-24
Option 6 — Program Storage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-25
Option 7—Program Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-27
Selecting a Program Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-28
PLIST Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-28
Option 8 —Data Management Control Blocks . . . . . . . . . . . . . . . . 9-29
Option 9 — IMS Diagnostic Information and PCBs . . . . . . . . . . . . . 9-30
Option 10 — CA-IDMS Diagnostic and Status Information . . . . . . . 9-30
Option 11 — DB2 Diagnostic and Status Information . . . . . . . . . . . 9-30
Option 12 — Current COBOL Sort Information. . . . . . . . . . . . . . . . 9-30
Option 13 — Creating COBOL Data Locator Reports . . . . . . . . . . . . 9-31
Option 14 — Abend-AID for WebSphere MQ . . . . . . . . . . . . . . . . . . 9-33
Option 15 — LE Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-33
Option 20 — Abend-AID Termination Information . . . . . . . . . . . . . 9-33
Mismatched Source Listing Warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-33
Mismatched Date and Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-33
Mismatched Structure for PL/I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-34
Mismatched Structure for Assembler. . . . . . . . . . . . . . . . . . . . . . . . . 9-35
On-the-Fly Language Processing Support . . . . . . . . . . . . . . . . . . . . . 9-36
Displaying Available Source Listings . . . . . . . . . . . . . . . . . . . . . . . . . 9-40
Line Commands from Source Listing Dataset Directory Screen . . . . 9-43
Source-Not-Found Warning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-43
SOURCE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-44
VIEW (V) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-45
viii
Compuware Shared Services User/Reference Guide
Browsing Abend-AID Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FIND and FS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Accessing File-AID from Compuware/VF . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Accessing CSS Utilities from Compuware/VF . . . . . . . . . . . . . . . . . . . . . . . .
9-45
9-46
9-46
9-47
Chapter 10. COBOL Language Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
Summary of COBOL Language Processor Commands . . . . . . . . . . . . . . . . . . 10-3
Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
Language Processor DD Statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
COBOL Samples and Program Names . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
Using the zIIP processor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-5
Other Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-5
Output Parameter Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-7
OUTPUT - DDIO Value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-7
OUTPUT - PRINT Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8
Performance Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8
Usage Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8
Restricted Compiler Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8
Other Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8
Required Options for Supported COBOL Compilers . . . . . . . . . . . . . . . . . . 10-10
Enhanced Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-11
Listing Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13
COBOL LP Command Descriptions and Syntax. . . . . . . . . . . . . . . . . . . . . . 10-14
CICSTEST (CIC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-14
COBOL (COB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-15
CONDDDIO (CONDD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16
CONDERRL (CONDE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16
CONDSTEP (CONDS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-17
DDIO (DD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-18
File-Overrides Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-20
INCLUDE (IN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-23
LANGPARM (LANGP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-24
LANGUAGE (LANG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-25
PRINT (PR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-26
PROCESSOR (PROC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-28
PROGRAM-NAME (PRO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-35
SYSTEM (SYS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-35
ZIIP (ZIIP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-35
Chapter 11. PL/I Language Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
Summary of PL/I Language Processor Commands . . . . . . . . . . . . . . . . . . . . . 11-3
Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Language Processor DD Statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Using the zIIP processor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-5
Other Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-5
Usage Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
Restricted Compiler Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
Restrictions or Limitations Using Compiler Directives . . . . . . . . . . . . . . 11-7
Restrictions or Limitations Using Comments . . . . . . . . . . . . . . . . . . . . . 11-8
Data Declaration Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-8
Dataname Qualification and Coding Restrictions . . . . . . . . . . . . . . . . 11-10
ix
Miscellaneous Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-11
Required Options for Supported PL/I Compilers . . . . . . . . . . . . . . . . . . . . . 11-12
PL/I Language Processor Command Descriptions and Syntax . . . . . . . . . . . 11-13
CONDDDIO (CONDD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13
CONDSTEP (CONDS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13
DDIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-14
File-Overrides Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-15
INCLUDE (IN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-17
LANGPARM (LANGP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-18
LANGUAGE (LANG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-18
PL/I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-19
PRINT (PR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-21
PROCESSOR (PROC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-22
PROGRAM-NAME (PRO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-24
SYSTEM (SYS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-24
ZIIP (ZIIP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-25
Chapter 12. Assembler Language Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2
Summary of Assembler Language Processor Commands. . . . . . . . . . . . . . . . . 12-3
Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4
Language Processor DD Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4
Using the zIIP processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4
Other Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5
Usage Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-6
Required Options for Supported Assemblers . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7
Assembler LP Command Descriptions and Syntax . . . . . . . . . . . . . . . . . . . . . 12-8
ASSEMBLER (ASSEM) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-8
CONDDDIO (CONDD) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9
CONDSTEP (CONDS) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9
DDIO Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-10
File-Overrides Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-12
INCLUDE (IN) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-15
LANGPARM (LANGP) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-16
LANGUAGE (LANG) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-16
PRINT (PR) Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-17
PROCESSOR (PROC) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-18
PROGRAM-NAME (PRO) Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-20
SYSTEM (SYS) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-21
ZIIP (ZIIP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-21
Chapter 13. C Language Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1
Preprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1
Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2
Summary of C Language Processor Commands. . . . . . . . . . . . . . . . . . . . . . . . 13-3
Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-4
DDIO Member Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-4
Language Processor DD Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-4
C Samples and Program Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-4
Other Usage Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-5
Usage Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-6
Required Options for Supported C Compilers . . . . . . . . . . . . . . . . . . . . . . . . . 13-7
C Language Processor Command Descriptions & Syntax . . . . . . . . . . . . . . . . 13-8
C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-8
x
Compuware Shared Services User/Reference Guide
CONDDDIO (CONDD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-9
CONDSTEP (CONDS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-9
DDIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-10
File-Overrides Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-11
INCLUDE (IN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-13
LANGPARM (LANGP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-14
LANGUAGE (LANG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-14
PRINT (PR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-15
PROCESSOR (PROC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-16
PROGRAM-NAME (PRO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-18
SYSTEM (SYS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-18
Chapter 14. CSS Security Exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Security Exit Program Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Abend-AID for CICS Security Exit Considerations . . . . . . . . . . . . . . . . . . . .
Security Exit Program Inputs and Outputs . . . . . . . . . . . . . . . . . . . . . . . . . .
Input Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
14-1
14-1
14-1
14-2
14-3
14-3
14-3
14-6
Appendix A. Using the Problem Documentation Utility . . . . . . . . . . . . . . . . . . . .
Step 1. Add a DD Card to the Language Processor . . . . . . . . . . . . . . . . . . . . . .
Step 2. Run the Language Processor Using Your Source Program . . . . . . . . . .
Step 3. Copy Files to Tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-1
A-1
A-2
A-3
Appendix B. Using the Customer Modification Facility . . . . . . . . . . . . . . . . . . . .
Creating a Configuration Source Member . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 1. Copy member CXCFGINI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 2. Edit member CXCFGSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 3. Submit member CXCFGSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reconstructing a Configuration Source Member . . . . . . . . . . . . . . . . . . . . . . .
Step 1. Edit Member CXCFGEXT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 2. Update Extracted Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 3. Submit Member CXCFGSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-1
A-2
A-2
A-2
A-2
A-3
A-3
A-3
A-3
Appendix C. Using the CWDDUNLP Source Extraction Utility . . . . . . . . . . . . . . . A-1
Appendix D. On-the-Fly Language Processing Support . . . . . . . . . . . . . . . . . . . . A-1
CXOTFPRE & CXOTFPST Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G-1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-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-7
DIRX Report for Allocating DDIO Files ..................................................................2-11
Sample DIRX Report for a Source Listing File (Part 1 of 2).....................................2-22
Sample DIRX Report for a Source Listing File (Part 2 of 2).....................................2-23
Sample DIRX Report for an Abend-AID Report File (Part 1 of 2) ...........................2-28
Sample DIRX Report for an Abend-AID Report File (Part 2 of 2) ...........................2-29
Sample Portion of DIRX Report for an Abend-AID Database (Part 1 of 2).............2-30
Sample Portion of DIRX Report for an Abend-AID Database (Part 2 of 2).............2-31
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-40
Sample Portion of DIRX Report for a Shared Directory (Part 2of 5) — Abend-AID for
CICS only..............................................................................................................2-41
Sample Portion of DIRX Report for a Shared Directory (Part 3 of 5) — Abend-AID for
CICS only..............................................................................................................2-42
Sample Portion of DIRX Report for a Shared Directory (Part 4 of 5) — Abend-AID for
CICS only..............................................................................................................2-43
Sample Portion of DIRX Report for a Shared Directory (Part 5 of 5) — Abend-AID for
CICS only..............................................................................................................2-44
Sample Portion of DIRX Report for an Abend-AID Shared Directory Member List .....
2-45
Sample Portion of DIRX Report for an Abend-AID Shared Directory Member List Using Duplicate Dump Suppression.........................................................................2-46
Sample DIRX Report for a Source Listing Database. (Part 1 of 2)...........................2-50
Sample DIRX Report for a Source Listing Database. (Part 2 of 2)...........................2-51
Sample DIRX Report for a Source Listing Shared Directory. (Part 1 of 5) ..............2-58
Sample DIRX Report for a Source Listing Shared Directory. (Part 2 of 5) ..............2-59
Sample DIRX Report for a Source Listing Shared Directory. (Part 3 of 5) ..............2-60
Sample DIRX Report for a Source Listing Shared Directory. (Part 4 of 5) ..............2-61
Sample DIRX Report for a Source Listing Shared Directory. (Part 5 of 5) ..............2-61
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-31
Source Listing Shared Directory Information Screen .............................................3-32
Source Listing File Member List - DDIO Format ....................................................3-33
Source Listing Shared Directory Member List Screen (Not LONGNAME) .............3-33
Source Listing Shared Directory Member List Screen (LONGNAME) ....................3-34
Source Listing Database Member List Screen (Not LONGNAME)..........................3-34
Source Listing Database Member List Screen (LONGNAME).................................3-35
CSS Utilities - Source Listing File Move Facility Screen .........................................3-35
CSS Utilities - Source Listing File Move Facility Screen .........................................3-36
Select Desired File Type Panel ................................................................................3-39
Selecting Members for COPY, MOVE, or IMPORT.................................................3-40
Source Listing File Move Function - Advanced Parameters ...................................3-41
Source DDIO File - Source Listing Advanced Functions - Main Panel...................3-42
Source DDIO File - CSS Utilities CONFIRM DELETE..............................................3-42
Source Listing Shared Directory - Advanced Functions - Main Panel....................3-43
Shared Directory - Attached Database Report ........................................................3-43
CSS Utilities - SCRATCH Database .........................................................................3-44
CSS Utilities - EXPAND Shared Directory ..............................................................3-44
CSS Utilities - Delete Shared Directory...................................................................3-45
CSS Utilities - VERIFY Shared Directory .................................................................3-45
CSS Utilities - CHANGE Shared Directory..............................................................3-46
CSS Utilities - REFRESH Shared Directory ..............................................................3-46
Source Listing Source Listing Database - Advanced Functions - Main Panel ........3-47
CSS Utilities - ATTACH Database ...........................................................................3-47
CSS Utilities - DETACH Database ...........................................................................3-48
CSS Utilities - CHANGE AUTODELETE ..................................................................3-48
CSS Utilities - DELETE Database.............................................................................3-49
CSS Utilities - RESET Database................................................................................3-49
CSS Utilities - Abend-AID Report File Facility Screen ............................................3-50
CSS Utilities - Select Desired File Type ...................................................................3-52
CSS Utilities - Create/Format Abend-AID File Screen (Standard DDIO Files) ........3-52
CSS Utilities - Create/Format Abend-AID Shared Directory Files Screen ...............3-53
CSS Utilities - Create/Format Abend-AID Report Database File.............................3-53
Abend-AID Report File Create/Format - Advanced Parms (Sequential) .................3-55
Abend-AID Report File Create/Format - Advanced Parms (VSAM) ........................3-56
Abend-AID Report File Shared Directory Create - Advanced Parms ......................3-56
Abend-AID Report Database Create/Format - Advanced Parms (VSAM) ...............3-57
Abend-AID Report Database Create/Format - Advanced Parms (Sequential) ........3-57
Abend-AID Batch Report File Information Screen Format.....................................3-60
Abend-AID Report Database Information Screen Format ......................................3-60
Abend-AID Report Shared Directory Information Screen Format .........................3-61
Abend-AID Batch Report File Member List ............................................................3-62
Abend-AID for CICS Report File Member List........................................................3-62
Abend-AID TYPE POPUP Panel ..............................................................................3-62
CSS Utilities - Move Facility Selection Panel..........................................................3-63
CSS Utilities - Move Facility Selection Panel for a Mixed-use Shared Directory....3-63
CSS Utilities - Abend-AID Report File Move Facility Screen ..................................3-64
Select Desired File Type ..........................................................................................3-67
Selecting Members for COPY, MOVE, or IMPORT.................................................3-67
Abend-AID Report File Move Function - Advanced Parameters Screen.................3-68
Standard DDIO Advanced Function Panel - Abend-AID Report File - Main Panel3-69
CSS Utilities - CONFIRM Delete .............................................................................3-70
Abend-AID Report File Shared Directory - Advanced Functions - Main Panel......3-70
Shared Directory - Attached Database Report ........................................................3-70
CSS Utilities - SCRATCH Database .........................................................................3-71
CSS Utilities - EXPAND Shared Directory ..............................................................3-72
CSS Utilities - DELETE Shared Directory ................................................................3-72
CSS Utilities - VERIFY Shared Directory .................................................................3-73
Abend-AID Report File Report Database - Advanced Functions - Main Panel.......3-73
Figures
3-84.
3-85.
3-86.
3-87.
3-88.
3-89.
3-90.
3-91.
3-92.
3-93.
9-1.
9-2.
9-3.
9-4.
9-5.
9-6.
9-7.
9-8.
9-9.
9-10.
9-11.
9-12.
9-13.
9-14.
9-15.
9-16.
9-17.
9-18.
9-19.
9-20.
9-21.
9-22.
9-23.
9-24.
9-25.
9-26.
9-27.
9-28.
9-29.
9-30.
9-31.
9-32.
9-33.
9-34.
9-35.
9-36.
9-37.
9-38.
9-39.
9-40.
9-41.
9-42.
14-1.
D-1.
xiii
CSS Utilities - ATTACH Database ...........................................................................3-74
CSS Utilities - DETACH Database ...........................................................................3-74
CSS Utilities - CHANGE AUTODELETE ..................................................................3-75
CSS Utilities - DELETE Database .............................................................................3-75
CSS Utilities - RESET Database................................................................................3-76
DDIOCALC Primary Calculations Screen...............................................................3-77
DDIOCALC DIRX Report Data Input Screen..........................................................3-78
Top of the DIRX Report..........................................................................................3-78
Bottom of the DIRX Report ....................................................................................3-79
DDIOCALC DIRX Report Data Input Screen..........................................................3-79
Abend-AID Primary Menu ........................................................................................9-2
Compuware/VF Entry Panel .....................................................................................9-3
Alternate Logon ........................................................................................................9-6
CSS Utilities - CREATEJCL Menu..............................................................................9-7
CSS Utilities - Source Listing File Facility .................................................................9-8
CSS Utilities - Abend-AID Report File Facility ..........................................................9-8
Contact Information Entries ....................................................................................9-9
Inserting or Updating a Contact Entry ..................................................................9-10
Abend-AID Dataset Directory Screen .....................................................................9-11
Abend-AID Dataset Directory Screen for Shared Directory....................................9-11
Abend-AID Dataset Directory Screen for Shared Directory after SHOWDB Command
9-12
Source Listing Standard DDIO Member List Screen...............................................9-13
Source Listing Shared Directory Member List Screen (Not LONGNAME) .............9-13
Source Listing Shared Directory Member List Screen after SHOWDB Command (Not
LONGNAME) ........................................................................................................9-14
Source Listing Shared Directory Member List Screen (LONGNAME) ....................9-14
Source Listing Database Member List Screen (Not LONGNAME)..........................9-15
Source Listing Database Member List Screen (LONGNAME).................................9-15
Abend-AID Duplicate History Log Screen (After entering the Line Command “H”
from a report shared directory display)................................................................9-20
Source Listing Shared Directory Member List Screen (After Entering the Line Command “I” (Info))....................................................................................................9-21
Source Listing Database Directory Screen (After Entering the Line Command “I” (Info)).........................................................................................................................9-21
Compuware/VF Hardcopy Options Screen ............................................................9-22
Compuware/VF Output Selection Menu for Abend-AID .......................................9-24
Compuware/VF Program Storage Selection List.....................................................9-25
Compuware/VF Assembler Program Storage Area..................................................9-26
Compuware/VF Program Listing Selection List......................................................9-28
File Summary Selection List....................................................................................9-29
File-AID/MVS Invoked from Compuware/VF ........................................................9-30
Data Locator Report................................................................................................9-31
Default Variable Pattern for a Data Locator Report ...............................................9-32
FINDDATA Source Screen .......................................................................................9-32
Mismatched Date and Time Warning for COBOL and PL/1 .................................9-34
Mismatched-Structure Warning for PL/I ................................................................9-35
Assembler Mismatch List........................................................................................9-35
Source Not Found Warning Panel..........................................................................9-36
Program Date and Time Do Not Match Source Listing..........................................9-37
Assembler Mismatch Panel.....................................................................................9-37
Source Listing Retrieval Menu ................................................................................9-38
Select Postprocess Procedure Screen.......................................................................9-38
CSS Utilities - Load Existing Listing Screen............................................................9-39
Post-Submission Selection Menu............................................................................9-39
Source Listing Dataset Directory Screen.................................................................9-40
Source-Not-Found Warning ...................................................................................9-44
CWASSECD DSECT.................................................................................................14-5
Language Postprocessing Example for CA-Endeavor .............................................. A-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.
9-5.
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.
13-2.
13-3.
13-4.
14-1.
A-1.
A-2.
C-1.
DDIO File Formats ....................................................................................................2-1
Allocating and Formatting DDIO Files.....................................................................2-7
Amount of VSAM Space Allocated per Track by CISIZE ........................................2-13
DDIO File Size Comparison....................................................................................2-17
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-36
Source Listing File Move Function Advanced Parameters .....................................3-41
Abend-AID Report File Options..............................................................................3-50
Create/Format Abend-AID Report File Fields .........................................................3-53
Create/Format Abend-AID Report File Advanced Parameters................................3-57
Abend-AID Report File Move Facility Fields...........................................................3-64
Abend-AID Report File Advanced Parameters ........................................................3-68
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-33
Sample Programs for FORMAT Command.............................................................8-58
Abend-AID Primary Menu Options..........................................................................9-2
Line Commands on Contact Information Screen....................................................9-9
Abend-AID Report File Sort Keys ............................................................................9-19
Source Listing File Sort keys ...................................................................................9-19
Accessing File-AID ..................................................................................................9-47
Files Dynamically Allocated by the Preprocessor...................................................10-2
Language Processor DD Statements. ......................................................................10-4
COBOL Sample JCL Members ................................................................................10-4
COBOL Program Names .........................................................................................10-5
Files Dynamically Allocated by the Preprocessor...................................................11-2
Language Processor DD Statements. ......................................................................11-4
PL/I Sample JCL Members ......................................................................................11-4
PL/I Program Names ...............................................................................................11-4
Files Dynamically Allocated by the Preprocessor...................................................12-2
Language Processor DD Statements. ......................................................................12-4
Assembler Sample JCL Members ............................................................................12-4
Assembler Program Names .....................................................................................12-4
Files Dynamically Allocated by the Preprocessor...................................................13-2
Language Processor DD Statements. ......................................................................13-4
C Sample JCL Members ..........................................................................................13-4
C Program Names ...................................................................................................13-5
Security Exit Enablement for Abend-AID for CICS Commands ............................14-2
Problem Documentation Utility Datasets ............................................................... A-2
Symbolic Parameters................................................................................................ A-3
CWDDUNLP Return Codes ..................................................................................... A-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, “Compuware Viewing Facility”: Describes Compuware/VF and how to view,
print, lock, unlock, and delete members in DDIO files online.
Chapter 10, “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 11, “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 12, “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 13, “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.
xviii
Compuware Shared Services User/Reference Guide
Chapter 14, “CSS Security Exit”: Describes how to prepare the optional CSS Security
Exit program that can be used with your existing security package.
Appendix A, “Using the Problem Documentation Utility”: Describes how to collect
documentation to send to Compuware Technical Support for resolving problems
encountered when programs are compiled. This utility helps ensure that all required
documentation is collected.
Appendix B, “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 C, “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 E, “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 CSS, LMS, or HCI, refer to the Compuware documentation
located on the ECC product media. 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.
Online Documentation
The installation package includes the following CSS documentation in these electronic
formats:
• Release Notes in HTML format
• The product manuals in PDF format
• The Adobe PDF index file (PDX file).
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.
Introduction
xix
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:
–
–
–
–
–
–
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:
+---------------------------------------------------------------------------+
¦
¦
¦
>>--COMMAND--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.
xx
Compuware Shared Services User/Reference Guide
>-
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.
+---------------------------------------------------------------------------+
¦
¦
¦
¦
+-DEFAULT-KEYWORD-+
>>--COMMAND--REQUIRED-KEYWORD----------------------->
¦
¦
¦
¦
¦
¦
>-------------------------><
¦
+-optional-variable-+
¦
¦
¦
+---------------------------------------------------------------------------+
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
stack appears below the main path. If a parameter in a stack is the default, it appears
above the main path.
+---------------------------------------------------------------------------+
¦
¦
¦
¦
+-DEFAULT-KEYWORD1--+
+-default-var1--+
>>--COMMAND--+-------------------+--+---------------+--><
¦
¦
¦
+-OPTIONAL-KEYWORD2-¦
+-optional-var2-¦
¦
¦
+-OPTIONAL-KEYWORD3-+
+-optional-var3-+
¦
¦
¦
+---------------------------------------------------------------------------+
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.
+---------------------------------------------------------------------------+
¦
¦
¦
>>--COMMAND--¦ common-parameter +--><
¦
¦
¦
+---------------------------------------------------------------------------+
An arrow returning to the left indicates a repeatable item. If the arrow contains a comma,
separate the repeated items with a comma.
+---------------------------------------------------------------------------+
¦
¦
¦
¦
¦
<-,--------------+
>>--COMMAND-----required-var-----><
¦
¦
¦
+---------------------------------------------------------------------------+
Introduction
xxi
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 respective ECC components’ libraries:
– CXLPTFS or CXLZAPS in the CSS SLCXCNTL library
– $LMLPTFS in the LMS SLMSCNTL library
– $HCLPTFS in the HCI SLHCCNTL 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.
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://frontline.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 Analytics
Compuware Workbench/MMC
Xpediter/CICS
Xpediter/TSO and Xpediter/IMS
Xpediter/Code Coverage
Strobe
Benefits of CSS
Prior to CSS Release 1.0, the components that make up CSS were distributed within each
product library. For customers with multiple Compuware products, the result was a high
degree of redundancy within their product libraries and a complex system of product
maintenance. By combining components used by several products into a single unit, CSS
provides:
• Easier Installation — All CSS components can be installed at one time rather than
piecemeal during installation of other Compuware products.
• Simplified Maintenance — All maintenance to CSS components is applied to ONE
set of libraries. It is no longer necessary to search through each product library,
determine if a fix must be applied, and then apply the same fix to multiple libraries.
• Frequent New Release Updates — New release updates are made available more
frequently.
• Disk Storage — CSS programs and subroutines reside in a separate library.
Compuware customers with multiple products installed can recover disk space
previously used by duplicate modules and programs using CSS.
• Fewer JCL Changes — The need to change CICS Load Library Definition, TSO logon
PROCs, compile PROCs, and/or rundecks is reduced or eliminated because a central
library exists for all products using CSS. This helps to simplify installation.
• Separate Documentation — Documentation for common components is no longer
imbedded in the individual product manuals. In addition to your product
documentation, you also receive the Enterprise Common Components Installation and
Customization Guide, Compuware Shared Services User/Reference Guide, Enterprise Common
Components Messages and Codes and Host Communications Interface User/Reference Guide.
You no longer need to hunt through the product manuals for information on
formatting DDIO files, printing reports and listings, and setting the parameters to
run the language processors. Additionally, this ECC documentation set provides
greater detail on processing options and customization than was previously
available.
1-2
Compuware Shared Services User/Reference Guide
System Environment
CSS provides support for the lowest level of CICS and CICS Transaction Server for OS/390
(as well as higher releases) supported by the Abend-AID for CICS and Xpediter/CICS
Products. CSS supports ISPF/PDF Version 2.0 or more current. All releases of IBM MVS,
OS/390, and z/OS operating systems are currently supported. Support for new releases of
z/OS is added as required.
The following is a list of compilers supported by the language processors:
• Assembler
– High Level (HLASM) Assembler 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
– Assembler H
– Assembler F
• COBOL
–
–
–
–
–
–
Enterprise COBOL for z/OS and OS/390 R3.1, 3.2, 3.3, 3.4, 4.1,4.2, 4.3, 5.1
COBOL for OS/390 and VM 2.1, 2.1.1, and 2.2 (MLE Support)
COBOL for MVS and VM 1.2 and 1.2.2 (MLE Support)
AD/Cycle COBOL/370 1.0, 1.1
VS/COBOL II 1.2, 1.3, 1.4
OS/VS COBOL 2.4
Note:
Compuware supports the MVS portion of the IBM compilers COBOL for
MVS and VM, and COBOL for OS/390 and VM.
– CA-OPTIMIZERs
• CA-OPTIMIZER II 1.1, 1.2, 1.3, 2.0, 2.1, 2.2, 3.0
• CA-OPTIMIZER III 5.0, 5.1, 6.0, 6.1, 7.0
Note:
CA-OPTIMIZER II Release 2.0 supports COBOL/370.
• PL/I
–
–
–
–
–
Enterprise PL/I R3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9
VisualAge PL/I R2.2
PL/I for MVS and VM 1.1.1
AD/Cycle PL/I 1.1
PL/I 1.5.1, 2.2, 2.3, 3.2
Note: Compuware supports the MVS portion of the IBM compilers PL/I for MVS and
VM 1.1.1.
• C
– C for MVS/ESA V3 R2
– OS/390 C releases through V2 R10
– Z/OS C V1 R2 through V1 R10
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
CSS Overview
1-3
• 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
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).
Compuware Viewing Facility (Compuware/VF)
The Compuware Viewing Facility (Compuware/VF) provides immediate, online, menudriven access to reports and source listings. From Compuware/VF, you can view a
directory that summarizes the members in a DDIO file. You can then access the source
listing or Abend-AID report from the directory. While viewing an Abend-AID report, you
can directly access any available section of the report, search for particular date or
currency formats within the report, or link to Compuware File-AID (to use the BROWSE
or EDIT functions only).
Compuware/VF has many features that enable you to view DDIO files easily and quickly.
Its navigation commands let you directly access desired report sections to eliminate
cumbersome scrolling. From Compuware/VF you can view, print, lock, unlock, and delete
members in a DDIO file online. The members can easily be manually locked to ensure
that they remain stored on the DDIO file until you unlock them. Compuware/VF also lets
you print members at view time.
Compuware/VF enables you to access the following types of DDIO files:
• Abend-AID reports
• Abend-AID, Abend-AID for CICS, Xpediter/TSO, and Xpediter/CICS source listings.
Note:
Viewing access to Abend-AID for CICS source listing files is also provided by
the Abend-AID for CICS view server. Abend-AID for CICS users do not need
to install Compuware/VF if a server has already been configured to support
viewing access. Compuware/VF may be installed, however, in order to view
other products’ source listing files.
Note:
Beginning with Abend-AID 11.02.00, the Abend-AID viewing server must be
used to view Abend-AID reports. Reports created with Abend-AID 11.01.00
and earlier will canstill be viewed with the Compuware Viewing Facility, but
use of the Abend-AID viewing server is recommended instead.
1-4
Compuware Shared Services User/Reference Guide
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
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.
CSS Overview
1-5
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.
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.
1-6
Compuware Shared Services User/Reference Guide
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 Analytics
Compuware Workbench/MMC
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 14, “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)
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
CSS Overview
1-7
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 <--|-->
|
+--------------+
|
<--|-->
+-------------------+
|
|
VTAM
|
<--|--> Application <--|-->
HCI
+-------------------+
<--|-->
---
<--|-->
<--|-->
+-------------------+
|
<--|--> 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)
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.
1-8
Compuware Shared Services User/Reference Guide
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.
CWVFCLPT
CLIST to invoke the language processor debugging aid.
Note: The debugging aid is a diagnostic tool to be used only under the
supervision of Compuware Technical Support in the event of a
problem related to the language processor.
CWVFCLSE
Sample CLIST to invoke Compuware/VF using English messages and
panels.
CWVFCLSJ
Sample CLIST to invoke Compuware/VF using Japanese messages and
panels.
CWVFDB2
Sample CLIST to activate the File-AID DB2 interface to the Compuware
Viewing Facility.
CWVFREXE
Sample REXX EXEC to invoke Compuware/VF using English messages
and panels.
CWVFREXJ
Sample REXX EXEC to invoke Compuware/VF using Japanese messages
and panels.
CWVFRXPT
Sample REXX EXEC to invoke the Compuware language processor
debugging aid.
Note: The debugging aid is a diagnostic tool to be used only under the
supervision of Compuware Technical Support.
CXAADIRX
Abend-AID CWDDALLU DIRX sample JCL.
CXAAEXPO
Abend-AID CWDDALLU EXPORT command sample JCL.
CSS Overview
1-9
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.
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.
1-10
Compuware Shared Services User/Reference Guide
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.
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.
CSS Overview
1-11
CXLPIMPO
LP source CWDDALLU IMPORT command sample JCL.
CXLPMOVE
LP source CWDDALLU MOVE command sample JCL.
CXLPPLI
Sample PL/I language processor options.
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-12
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
x
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
1
Xpediter/TSO
x
x
See Note
x
x1
Xpediter/IMS
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
1
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/Eclipse, Xpediter/CICS, and Xpediter/TSO can
use COBOL and PL/I listings.
Abend-AID, Xpediter/Eclipse, Xpediter/CICS, and Xpediter/TSO can use Assembler
listings.
Xpediter/TSO (and thus Xpediter/Eclipse) 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. Beginning with CSS Release 7.9
and Abend-AID Release 9.4, the Compuware V/F allows you to specify a source listing
shared directory name or source database. The source listing shared directory name is
entered on the Compuware/VF Entry panel and can be used in conjunction with other
source listing shared directories and/or source listing files. 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, or with the Compuware Workbench Host Explorer plug-in. 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:
2-4
Compuware Shared Services User/Reference Guide
• 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
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.
Host Explorer Facilities
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
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:
Allocating and Formatting DDIO Files
2-5
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
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 C, “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-21.
Note: CSS Utilities DDIO file functions “I” (information) option can also be used for file
information instead of the batch DIRX command.
2-6
Compuware Shared Services User/Reference Guide
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.
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-76 for determining
the optimal formatting parameters.
Allocating and Formatting DDIO Files
2-7
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 16 MB line, CICS users may experience a performance improvement when using
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.)
Note: 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
Sequential CXALLBAA
* This job contains the JCL to create a single volume shared directory and a multi-volume database.
CXDCRADB
2-8
Compuware Shared Services User/Reference Guide
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
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.
Allocating and Formatting DDIO Files
2-9
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
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
2-10
Compuware Shared Services User/Reference Guide
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
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-7 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.
Allocating and Formatting DDIO Files
2-11
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
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
2-12
Compuware Shared Services User/Reference Guide
• 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
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
Allocating and Formatting DDIO Files
2-13
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
1
42K
48K
8K
40K
48K
10K
40K
50K
12K
36K
48K
14K
42K1
49K
16K
32K
48K
18K
36K
54K
20K
40K
50K
22K
1
44K
49.5K
24K
44K
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:
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.
2-14
Compuware Shared Services User/Reference Guide
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.
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
Allocating and Formatting DDIO Files
2-15
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
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
2-16
Compuware Shared Services User/Reference Guide
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-50); 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-76.
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
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.
Allocating and Formatting DDIO Files
2-17
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
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.
2-18
Compuware Shared Services User/Reference Guide
• 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.
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.
Allocating and Formatting DDIO Files
Note:
2-19
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.
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.
2-20
Compuware Shared Services User/Reference Guide
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
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.
• 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-22)
Abend-AID Report File (Figure 2-4 on page 2-28)
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-50)
Source Listing Shared Directory Report (Figure 2-20 on page 2-58)
Using the Previous DIRX Report Format
Beginning in CSS 4.0, the DIRX report layout changed significantly for easier viewing. However, you can still use the previous format
with a simple rename procedure.
To use the old DIRX report format, rename CWDDUDIR to another name. Then rename CWDDUDRO to CWDDUDIR.
Source Listing File DIRX Report
A sample DIRX report for a source listing file is shown in Figure 2-2 on page 2-22.
Compuware Shared Services User/Reference Guide
• 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.
2-21
• 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.
2-22
Figure 2-2. Sample DIRX Report for a Source Listing File (Part 1 of 2)
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
OTHER INFORMATION
BLOCKS IN FILE ................
ALLOCATION GROUPS .............
USED ALLOCATION GROUPS ........
FILE FORMATTED WITH RELEASE ...
REQUIRED MINIMUM RELEASE ......
CURRENT REPORT NUMBER .........
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
Compuware Shared Services User/Reference Guide
ENTER UTILITY COMMAND:
DIRX INDD=ABNLFROM
CX.QA.DDIO.SC.ADNO
PRD903
VSAM
4089
SOURCE
200
8
STAGED
NON-EXTENDED
200
7200
896
54(6%)
6.0.0
5.1.0
263
8
25
EXTENDED
PROGRAM
FEA02A1
LIST NUMBER
(L)
184
COMP DATE TIME
20 OCT 2001 14.06
RC
00
LANGUAGE
HLASM
SIZE(K)
159K
GROUPS
50
51
FEA02A1
183
20 OCT 2001 14.05
00
HLASM
159K
45
FEA02A1
182
20 OCT 2001 14.05
00
ASMH
127K
181
20 OCT 2001 14.04
00
ASMH
FEA02A1
180
20 OCT 2001 14.03
00
FEA02A1
179
20 OCT 2001 14.02
FEA02A1
178
20 OCT 2001
FEA02A1
177
FEA02A1
52
53
54
46
47
48
49
41
42
43
44
127K
37
38
39
40
ASMF
127K
33
34
35
36
00
ASMF
127K
29
30
31
32
14.00
00
HLASM
159K
24
25
26
27
28
20 OCT 2001
14.00
00
HLASM
159K
19
20
21
22
23
176
20 OCT 2001
13.58
00
ASMH
159K
14
15
16
17
18
FEA02A1
175
20 OCT 2001
13.57
00
ASMH
159K
9
10
11
12
13
FEA02A1
174
20 OCT 2001
13.54
00
ASMF
127K
5
6
7
8
FEA02A1
173
20 OCT 2001
13.53
00
ASMF
127K
1
2
3
4
TOTAL GROUPS 5
TOTAL GROUPS 5
TOTAL GROUPS 4
FEA02A1
(M)
TOTAL GROUPS 4
TOTAL GROUPS 4
TOTAL GROUPS 4
TOTAL GROUPS 5
TOTAL GROUPS 5
TOTAL GROUPS 5
TOTAL GROUPS 5
TOTAL GROUPS 4
Allocating and Formatting DDIO Files
2-23
Figure 2-3. Sample DIRX Report for a Source Listing File (Part 2 of 2)
MEMBER SUMMARY OF CX.QA.DDIO.SC.ADNO
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) ..............
12
2
1
10
0
5
4
4.5
SPACE SUMMARY BASED ON AUTODELETE=STAGED
MAXIMUM ALLOCATION GROUPS ....................
AVAILABLE ALLOCATION GROUPS ..................
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
AVAILABLE NO OF DIRECTORY ENTRIES ............
896
892
4
200
188
ENTER UTILITY COMMAND:
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED.
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.
2-24
Compuware Shared Services User/Reference Guide
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.
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.
Allocating and Formatting DDIO Files
2-25
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
COB/370JA
COBOL/370 Japanese Language Support
COB/390OPM
COBOL/390 MLE CA-Optimizer
2-26
Compuware Shared Services User/Reference Guide
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.
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 MANUALLY LOCKED MEMBERS: The total number of manually locked
members in the source listing file.
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.
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS: The number of allocation groups occupied by manually locked
members in the source listing file.
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 2-4 on page 2-28. A sample Abend-AID Report File
DIRX Report for a report database file is shown in Figure 2-6 on page 2-30. Ellipses indicate omitted portions.
Compuware Shared Services User/Reference Guide
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.
2-27
NO OF UNLOCKED MEMBERS: The total number of unlocked members in the source listing file.
JOBNAME
JOBNAME1
REPT NUMBER JESID
91 JOB16100
JOBNAME1
JOBNAME1
JOBNAME2 (L)
JOBNAME2 (L)
JOBNAME3
JOBNAME4
90 JOB16054
89 JOB16031
23 JOB08329
22 JOB08327
2 JOB16243
1 JOB21876
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 WITH RELEASE ...
REQUIRED MINIMUM RELEASE ......
CURRENT REPORT NUMBER .........
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
2-28
Figure 2-4. Sample DIRX Report for an Abend-AID Report File (Part 1 of 2)
CWV.AA.R80.RPTFILE
PRD901
VSAM
4089
Abend-AID
100
4
YES
EXTENDED
64
1800
448
68(15%)
6.0.0
5.6.0
92
18
6
EXTENDED
CODE
S0C7
S0C7
S0C7
S0C7
S0C7
DATE
28 OCT 2001
28 OCT 2001
28 OCT 2001
03 FEB 2001
03 FEB 2001
O8097 20 JAN 2001
SNAP
13 JAN 2001
TIME OF DAY
11.29.33.9
11.25.27.2
11.23.33.5
15.05.53.9
15.05.31.2
9.23.08.0
14.51.43.7
DESC
GRANT 7541
GRANT 7541
GRANT 7541
CLM/JCL
CLM/JCL
JCLPLI2L
JCLSNAP
SIZE(K)
15K
15K
15K
15K
15K
31K
31K
GROUPS
46
TOTAL GROUPS
1
TOTAL GROUPS
1
TOTAL GROUPS
1
TOTAL GROUPS
1
TOTAL GROUPS
1
TOTAL GROUPS
2
TOTAL GROUPS
2
45
44
28
27
3
1
4
2
Figure 2-5. Sample DIRX Report for an Abend-AID Report File (Part 2 of 2)
MEMBER SUMMARY OF CWV.AA.R80.RPTFILE
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) ..............
56
4
1
52
0
6
1
1.2
SPACE SUMMARY BASED ON AUTODELETE=YES
MAXIMUM ALLOCATION GROUPS ....................
AVAILABLE ALLOCATION GROUPS ..................
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
AVAILABLE NO OF DIRECTORY ENTRIES ............
448
444
1
100
96
ENTER UTILITY COMMAND:
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED.
Allocating and Formatting DDIO Files
2-29
2-30
Figure 2-6. Sample Portion of DIRX Report for an Abend-AID Database (Part 1 of 2)
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.
REQUIRED MINIMUM DDIO RELEASE .
CURRENT REPORT NUMBER .........
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
JOBNAME
AA94ASMD
AA94ASMD
AA94ASMD
AA94ASMD
REPT NUMBER JESID
936 J20618
851 J24439
849 J24435
847 J24433
Compuware Shared Services User/Reference Guide
DATABASE IS CONNECTED
CATALOG DSN: CX.AA.SDIR
VOLSER: PRD929
CX.AA.DB1
PRD962
VSAM
18425
ABEND-AID DATABASE
100
3
YES
EXTENDED
64
225
73
18(25%)
7.8.0
7.0.0
937
83
2
EXTENDED
CODE
S0C1
S0C1
S0C1
S0C1
DATE
TIME OF DAY
18 APR 2002 17.50.37.6
12 APR 2002 14.46.48.6
12 APR 2002 14.45.21.6
12 APR 2002 14.44.50.2
DESC
SIZE(K)
AA 9.4 SD
162
AA 9.4 SD
AA 9.4 SD
AA 9.4 SD
162
162
162
GROUPS
16
13
10
7
17
14
11
8
18
TOTAL GROUPS
3
TOTAL GROUPS
3
TOTAL GROUPS
3
TOTAL GROUPS
3
15
12
9
Allocating and Formatting DDIO Files
2-31
Figure 2-7. Sample Portion of DIRX Report for an Abend-AID Database (Part 2 of 2)
MEMBER SUMMARY OF CX.AA.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) ..............
8
0
0
8
0
3
1
2.2
SPACE SUMMARY BASED ON AUTODELETE=YES
MAXIMUM ALLOCATION GROUPS ....................
AVAILABLE ALLOCATION GROUPS ..................
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
AVAILABLE NO OF DIRECTORY ENTRIES ............
73
73
0
100
100
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.
2-32
Compuware Shared Services User/Reference Guide
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: 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).
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.
Allocating and Formatting DDIO Files
2-33
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 MANUALLY LOCKED MEMBERS: The total number of manually 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.
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.
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS: The number of
allocation groups occupied by manually locked members in the report file.
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)
DATABASE IS CONNECTED
CATALOG DSN: SJPTXS0.MP2.CAT
VOLSER: PRD924
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 ...................
TRAN/TERM
RLM1 A243
PYU1 NONE
REPT NUMBER SYSTEM
709 H01AC184
705 H01AC183
Compuware Shared Services User/Reference Guide
DIRX FOR DATABASE: SJPTXS0.MP2.DBIO2
VOLSER: PRD907
SJPTXS0.MP2.DBIO2
PRD907
BSAM
3584
Abend-AID for CICS DATABASE
500
1
NO
NON-EXTENDED
64
2925
2891
1397(48%)
2
7.0.0
7.0.0
69
16
32
EXTENDED
CODE
AEI1
ASCR
DATE
OCT 21 2001
OCT 21 2001
TIME OF DAY
14.15.59.5
14.14.09.9
PROGRAM
RLMCICS1
PAYUPAA1
NODE
TFHA243
GROUPS
987
988
995
996
1003 1004
970
978
986
971
979
989
997
1005
972
980
990
998
973
981
991
999
974
982
992
1000
993
1001
994
1002
TOTAL GROUPS
19
975
983
976
984
977
985
TOTAL GROUPS
17
Figure 2-9. Sample DIRX Report for a Transaction Database. (Part 2 of 2)
SAMP %000
SAMP %001
34 H01AC189
57 H01AC189
AEI0
ASRA
OCT 21 2001
OCT 21 2001
16.45.29.7 HILL
16.43.34.8 HILL
PLAYBACK
PLAYBACK
151
159
167
576
584
592
152
160
168
577
585
593
153
161
169
578
586
594
154
162
170
579
587
595
155
163
171
580
588
156
157
164
165
172
173
TOTAL GROUPS
581
589
158
166
23
582
590
583
591
TOTAL GROUPS
20
MEMBER SUMMARY OF SJPTXS0.MP2.DBIO2
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) ..............
68
12
1
56
0
25
17
20.5
SPACE SUMMARY BASED ON AUTODELETE=NO
MAXIMUM ALLOCATION GROUPS ....................
AVAILABLE ALLOCATION GROUPS ..................
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
AVAILABLE NO OF DIRECTORY ENTRIES ............
2891
1494
17
500
432
Allocating and Formatting DDIO Files
* COMMENT
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
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.
CURRENT REPORT NUMBER: 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).
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 MANUALLY LOCKED MEMBERS: The total number of manually 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.
2-38
Compuware Shared Services User/Reference Guide
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.
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.
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS: The number of
allocation groups occupied by manually locked members in the transaction database.
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.AA.SDIR
VOLSER: PRD929
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.9.0
7.0.0
135
28(21%)
1
2-39
Compuware Shared Services User/Reference Guide
705
699
698
PYU1
PYU1
PYU1
ASCR OCT 21 2001
ASCR OCT 21 2001
ASCR OCT 21 2001
14.43 ASCRPAYU
14.43 ASCRPAYU
14.43 ASCRPAYU
OCT 21 2001
OCT 21 2001
8.39
8.39
ABEND
OFFSET
......
000C58
CICS
JOBNAME
........
H01AC184
H01AC184
H01AC184
H01AC184
CICS
APPLID
........
H01AC184
H01AC184
H01AC184
H01AC184
REPORT
STATUS
......
(L)
DUP
DUP
DUP
000000
000000
000000
H01AC183
H01AC183
H01AC183
H01AC183
H01AC183
H01AC183
(L)
H01AC184
H01AC184
H01AC184
H01AC184
DUP
DUP
*** ONLY THE LAST 100 DUPLICATES OF A TOTAL 101 ARE DISPLAYED.
SHARED DIRECTORY ENTRIES SELECTED: 136
ATTACHED DATABASE INFORMATION
DATABASE LIST
EFHKAT0.SOURCE.DB
EFHAXS0.SOURCE.DB
EFHKAT0.SOURCE.DB3
EFHKAT0.SOURCE.DB1
REPORT
TYPE
....
TRAN
DATABASE DATASET NAME
(TERMINAL - NET NAME - SMF ID)
..............................
SJPTXS0.MP2.DBIO1
(NONE
.
. CW01 )
(NONE
.
. CW01 )
(NONE
.
. CW01 )
TRAN
TRAN
TRAN
SJPTXS0.MP2.DBIO2
SJPTXS0.MP2.DBIO1
SJPTXS0.MP2.DBIO2
(%004
(%005
. PLAYBACK . CW01
. PLAYBACK . CW01
)
)
Compuware Shared Services User/Reference Guide
DIRECTORY OF SHARED DIRECTORY: SJPTXS0.MP2.CAT
VOLSER: PRD924
REPORT TRAN ABEND
ABEND
ABENDING
NUMBER
ID
CODE
DATE
TIME PROGRAM
............ .... ..... .................. ........
708 TOMH AEYY OCT 26 2001 14.43 AEYYTMCI
OCT 26 2001 14.43
OCT 26 2001 14.43
OCT 26 2001 14.43
2-40
Figure 2-11. Sample Portion of DIRX Report for a Shared Directory (Part 1of 5) — Abend-AID for CICS only
Figure 2-12. Sample Portion of DIRX Report for a Shared Directory (Part 2of 5) — Abend-AID for CICS only
DIRX FOR DATABASE: SJPTXS0.MP2.DBIO1
VOLSER: PRD934
DATABASE IS CONNECTED
CATALOG DSN: SJPTXS0.MP2.CAT
VOLSER: PRD924
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 WITH RELEASE ...
REQUIRED MINIMUM RELEASE ......
CURRENT REPORT NUMBER .........
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
TRAN/TERM
TOMH NONE
REPT NUMBER SYSTEM
708 H01AC184
RLM1 NONE
706 H01AC184
707 H01AC184
2925
2891
1358(47%)
13
7.0.0
7.0.0
79
16
32
EXTENDED
CODE
AEYY
DATE
OCT 26 2001
TIME OF DAY
14.43.04.8
PROGRAM
TMCICS0H
AEYY
OCT 26 2001
14.43.02.4
RLMCICS1
AEYY
OCT 21 2001
14.15.30.6
RLMCICS1
NODE
GROUPS
959
960
995
997
1005 1006
951
983
994
954
967
975
952
984
996
955
968
976
963
999
1007
979
1000
1008
981
1001
1009
953
985
998
957
986
962
987
956
969
978
958
970
961
971
989
991
1002 1003
1010 1011
TOTAL GROUPS
977
988
993
1004
1012
24
980
990
982
992
TOTAL GROUPS
19
964
972
965
973
966
974
TOTAL GROUPS
19
Allocating and Formatting DDIO Files
RLM1 NONE(L)
SJPTXS0.MP2.DBIO1
PRD934
BSAM
3584
Abend-AID for CICS DATABASE
500
1
NO
NON-EXTENDED
64
2-41
SAMP %000
27 H01AC188
26 H01AC189
ASRA
ASRA
OCT 20 2001
OCT 20 2001
MEMBER SUMMARY OF SJPTXS0.MP2.DBIO1
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 ..................
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
AVAILABLE NO OF DIRECTORY ENTRIES ............
68
5
1
63
0
25
17
19.9
2891
1533
17
500
432
16.45.21.9 HILL
16.43.21.3 HILL
PLAYBACK
PLAYBACK
20
28
36
1
9
17
21
29
37
2
10
18
22
30
3
11
19
23
31
4
12
24
32
5
13
25
33
26
34
27
35
TOTAL GROUPS
18
6
14
7
15
8
16
TOTAL GROUPS
19
Compuware Shared Services User/Reference Guide
SAMP %000
2-42
Figure 2-13. Sample Portion of DIRX Report for a Shared Directory (Part 3 of 5) — Abend-AID for CICS only
Figure 2-14. Sample Portion of DIRX Report for a Shared Directory (Part 4 of 5) — Abend-AID for CICS only
DIRX FOR DATABASE: SJPTXS0.MP2.DBIO2
VOLSER: PRD905 PRD907
DATABASE IS CONNECTED
CATALOG DSN: SJPTXS0.MP2.CAT
VOLSER: PRD924
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 WITH RELEASE ...
REQUIRED MINIMUM RELEASE ......
CURRENT REPORT NUMBER .........
DIRECTORY ENTRIES/BLOCK .......
DIRECTORY BLOCKS ..............
FILE FORMAT ...................
TRAN/TERM
RLM1 A243
REPT NUMBER SYSTEM
709 H01AC184
SJPTXS0.MP2.DBIO2
PRD905 PRD907
BSAM
3584
Abend-AID for CICS DATABASE
500
1
NO
NON-EXTENDED
64
2925
2891
1397(48%)
13
7.0.0
7.0.0
69
16
32
EXTENDED
CODE
AEI1
DATE
OCT 21 2001
TIME OF DAY
14.15.59.5
PROGRAM
RLMCICS1
NODE
TFHA243
989
997
1005
990
998
991
999
992
1000
993
1001
TOTAL GROUPS
PYU1 NONE
SAMP %000
705 H01AC183
34 H01AC189
ASCR
AEI0
OCT 21 2001
OCT 20 2001
14.14.09.9
16.45.29.7
PAYUPAA1
SAMPLES
970
978
986
PLAYBACK
151
159
167
971
979
152
160
168
972
980
153
161
169
973
981
154
162
170
974
982
155
163
171
975
983
976
984
994
1002
19
977
985
TOTAL GROUPS
17
156
157
164
165
172
173
TOTAL GROUPS
158
166
23
Allocating and Formatting DDIO Files
GROUPS
987
988
995
996
1003 1004
2-43
57 H01AC189
ASRA
OCT 20 2001
16.43.34.8 SAMPLES
PLAYBACK
576
577
578
579
580
581
582
583
584
592
585
593
586
594
587
595
588
589
590
591
TOTAL GROUPS
MEMBER SUMMARY OF SJPTXS0.MP2.DBIO2
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 ..................
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
AVAILABLE NO OF DIRECTORY ENTRIES ............
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
68
12
1
56
0
25
17
20.5
2891
1494
17
500
432
20
Compuware Shared Services User/Reference Guide
SAMP %001
2-44
Figure 2-15. Sample Portion of DIRX Report for a Shared Directory (Part 5 of 5) — Abend-AID for CICS only
Figure 2-16. Sample Portion of DIRX Report for an Abend-AID Shared Directory Member List
Abend-AID shared directory member list - batch report:
DIRECTORY OF SHARED DIRECTORY: CX.AA.SDIR
VOLSER: PRD929
REPORT
NUMBER
............
936
935
934
851
850
849
848
847
846
845
844
843
863
857
854
JOBNAME
........
AA94ASMD
AA94COBD
AA94ASMD
AA94ASMD
AA94ASMD
AA94ASMD
AA94COBD
AA94ASMD
AA94COBD
AA94COBD
AA94ASMD
AA94COBD
TSONAPR1
COBTEST1
COBTEST2
ABEND
CODE
.....
S0C1
S0C7
S0C1
S0C1
S0C1
S0C1
S0C7
S0C1
S0C7
S0C7
S0C1
S0C7
S0C7
S0C9
S0C9
ABEND
DATE
TIME
.......... .....
18 APR 2002 17.50
18 APR 2002 15.28
18 APR 2002 15.28
12 APR 2002 14.46
12 APR 2002 14.45
12 APR 2002 14.45
12 APR 2002 14.44
12 APR 2002 14.44
12 APR 2002 14.44
12 APR 2002 14.44
12 APR 2002 14.44
12 APR 2002 14.44
18 NOV 2041 10.42
18 NOV 2041 10.42
18 NOV 2041 10.42
ABENDING
PROGRAM
........
TEST
MLECOB
TEST
TEST
TEST
TEST
MLECOB
TEST
MLECOB
MLECOB
TEST
MLECOB
ABEND
OFFSET
......
00009C
0005BE
00009C
00009C
00009C
00009C
0005BE
00009C
0005BE
0005BE
00009C
0005BE
000000
000000
000000
REPORT REPORT DATABASE DATASET NAME
STATUS TYPE
...... ....
............................................
JOB
COMPWARE.AA.DB1
JOB
COMPWARE.AA.DB2
(I)
JOB
COMPWARE.DUMP.DDIO.DB
JOB
COMPWARE.AA.DB1
JOB
COMPWARE.AA.DB2
JOB
COMPWARE.AA.DB1
JOB
COMPWARE.AA.DB2
JOB
COMPWARE.AA.DB1
JOB
COMPWARE.AA.DB2
JOB
COMPWARE.AA.DB1
JOB
COMPWARE.AA.DB2
JOB
COMPWARE.AA.DB1
(M)
JOB
COMPWARE.DUMP.DDIO.DB
(L)
JOB
COMPWARE.DUMP.DDIO.DB
(L)
JOB
COMPWARE.DUMP.DDIO.DB
SHARED DIRECTORY ENTRIES SELECTED: 99
ATTACHED DATABASE INFORMATION
DATABASE LIST
Allocating and Formatting DDIO Files
EFHKAT0.SOURCE.DB
EFHAXS0.SOURCE.DB
EFHKAT0.SOURCE.DB3
EFHKAT0.SOURCE.DB1
2-45
2-46
Compuware Shared Services User/Reference Guide
Figure 2-17. Sample Portion of DIRX Report for an Abend-AID Shared Directory Member List Using
Duplicate Dump Suppression
bend-AID shared directory member list - batch report:
IRECTORY OF SHARED DIRECTORY: COMPWARE.NEW.AA.SD
VOLSER: PRD982
REPORT
NUMBER
..........
80572
JOBNAME
ABEND
ABEND
CODE
DATE
TIME
........ ..... .......... .....
AA95BK4 S0CB 18 JUN 2004 10.24
AA95BK4
18 JUN 2004 11.03
AA95BK4
18 JUN 2004 11.48
AA95BK4
18 JUN 2004 11.49
AA95BK3
18 JUN 2004 13.34
ABENDING
PROGRAM
........
COBABEND
ABEND
OFFSET
......
000162
80571
AA95BKA
AA95BKA
AA95BKA
S0C9
8.50
8.41
9.34
ASMTEST
0000AC
AA95BKB
AA95BKB
AA95BKB
AA95BKC
AA95BKC
AA95BKA
AA95BKA
S0C9
12.47
12.51
12.53
13.37
14.24
13.07
9.14
ASMTEST
80570
17 JUN 2004
18 JUN 2004
18 JUN 2004
21
21
21
21
27
01
17
MAY
MAY
MAY
MAY
MAY
JUN
JUN
2004
2004
2004
2004
2004
2004
2004
REPORT REPORT DATABASE DATASET NAME
STATUS TYPE
...... ....
............................................
JOB
COMPWARE.NEW.AA.DB3
DUP
DUP
DUP
DUP
JOB
COMPWARE.NEW.AA.DB8
JOB
COMPWARE.NEW.AA.DB8
DUP
DUP
0000AC
(M)
DUP
DUP
DUP
DUP
DUP
DUP
Allocating and Formatting DDIO Files
2-47
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.
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.
The next several subsections of the report contain class information. A separate
subsection is included for each class of object. The class information is normally used by
Compuware Corporation for problem determination.
DIRECTORY CLASS: The class of object for this instance. (DATABASE, SHARDDIR, and
CLASS are the classes used by CWFXSDUT, CWAASDUT or CWDDALLU.)
CLASS INSTANCE NAME: The name of the class associated with this particular
subsection’s information (i.e., DATABASE).
CLASS ANCHOR RBN: The relative block number of the root element.
NUMBER OF ENTRIES: The number of records in this instance. For class DATABASE, this
should be the number of attached transaction databases. For class SHARDDIR, this should
be the total number of entries across all attached databases.
CURRENT PUT NUMBER: The number of the next record to be added to this instance.
For class SHARDDIR, this normally will be the next report number assigned.
CURRENT TRANSACTION NUMBER: The next available transaction number.
KEY LENGTH: The length of the key used to access entries in this class.
KEY OFFSET: The position in the record at which the key begins.
MAXIMUM ELEMENT LENGTH: The maximum length of which any element in this
instance can have.
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:
2-48
Compuware Shared Services User/Reference Guide
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.
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-27.
2-49
Source Listing Database DIRX Report
A sample DIRX report for a Source Listing Database is shown in Figure 2-18 on page 2-50.
Compuware Shared Services User/Reference Guide
2-50
Figure 2-18. Sample DIRX Report for a Source Listing Database. (Part 1 of 2)
Compuware Shared Services User/Reference Guide
DIRX FOR DATABASE: USERID.R770.SO.ADDUPS.DDIO1
VOLSER: PRD934
DATABASE IS CONNECTED
CATALOG DSN: USERID.R770.SO.ADDUPS.SHRDIR
VOLSER: PRD917
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 ...................
PROGRAM
LIST NUMBER
COBABND2 (L)
12
USERID.R770.SO.ADDUPS.DDIO1
PRD934
BSAM
18452
SOURCE DATABASE
50
1
DUPS
EXTENDED
460
75
70
60(86%)
3
7.7.0
7.0.0
13
18
3
EXTENDED
COMP DATE
TIME
RC
30 MAY 2000 09:23:43 04
LANGUAGE SIZE(K)
COBIIR4
36
GROUPS
59
60
TOTAL GROUPS
ALongNa* (L)
7 26 MAY 2000 16.00.55 00
ALongNameofatLeast30Characters_10
COBABEND (L)
COBABND1 (L)
6
5
26 MAY 2000 16:00:28 04
26 MAY 2000 15:59:13 04
C/ESA V3R2
COBIIR4
COBIIR4
793
36
36
15
23
31
39
47
55
13
11
16
24
32
40
48
56
17
25
33
41
49
57
18
26
34
42
50
58
19
27
35
43
51
20
28
36
44
52
2
21
29
37
45
53
22
30
38
46
54
TOTAL GROUPS
44
TOTAL GROUPS
2
TOTAL GROUPS
2
14
12
Allocating and Formatting DDIO Files
2-51
Figure 2-19. Sample DIRX Report for a Source Listing Database. (Part 2 of 2)
ASMTEST
COBABEND
3
2
26 MAY 2000 15.57
00 ASMH
26 MAY 2000 15:56:59 04 COBIIR4
MEMBER SUMMARY OF USERID.R770.SO.ADDUPS.DDIO1
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) ..............
7
5
0
2
0
44
2
8.5
SPACE SUMMARY BASED ON AUTODELETE=DUPS
MAXIMUM ALLOCATION GROUPS ....................
AVAILABLE ALLOCATION GROUPS ..................
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
AVAILABLE NO OF DIRECTORY ENTRIES ............
70
16
0
50
45
*** ALL FUNCTIONS SUCCESSFULLY COMPLETED
72
36
3
1
4
5
6
TOTAL GROUPS
4
TOTAL GROUPS
2
2
2-52
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-53
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-54
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-55
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 MANUALLY LOCKED MEMBERS: The total number of manually 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.
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS: The number of
allocation groups occupied by manually locked members in the source listing database
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT): The maximum number of
members (source listings) the Source Listing Database can contain.
2-56
Compuware Shared Services User/Reference Guide
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.
A sample DIRX report for a Source Listing Shared Directory is shown in Figure 2-20 on page 2-58.
Compuware Shared Services User/Reference Guide
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.
2-57
Source Listing Shared Directory (SRCEDIR) DIRX Report
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
4089
7.7.0
7.0.0
180
27(15%)
1
Compuware Shared Services User/Reference Guide
DIRX FOR SHARED DIRECTORY: USERID.R770.SO.ADDUPS.SHRDIR
VOLSER: PRD917
2-58
Figure 2-20. Sample DIRX Report for a Source Listing Shared Directory. (Part 1 of 5)
Figure 2-21. Sample DIRX Report for a Source Listing Shared Directory. (Part 2 of 5)
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 ...............................
YES
in
SYSDA
CYLINDERS
2
4089
NO
DUPS
1
256
50
USERID.R007.SO.ADDUPS.SRCEDB.&SEQ
SOURCE DUPLICATE CONTROL INFORMATION:
AUTOLOCKMAX VALUE................1
DUPMAX VALUE.....................2
NUMBER OF ATTACHED DATABASE(S)................12
NUMBER OF SOURCE DATABASE(S)................12
DIRECTORY OF SHARED DIRECTORY: USERID.R770.SO.ADDUPS.SHRDIR
VOLSER: PRD917
TIME
---09:23:43
09:21:30
09:18:50
09:07:14
16:03:17
16.00.55
RC
-04
04
04
04
04
00
LANGUAGE
-------COBIIR4
COBIIR4
COBIIR4
COBIIR4
COBIIR4
C/ESA V3R2
16:00:28
15:59:13
15.58
15.57
15:56:59
15.54.23
04
04
00
00
04
00
COBIIR4
COBIIR4
ASMH
ASMH
COBIIR4
C/ESA V3R2
SIZE(K)
------36
40
120
120
120
793
36
36
72
72
36
800
DATABASE DATASET NAME
---------------------------------------USERID.R770.SO.ADDUPS.DDIO1
USERID.R770.SO.ADDUPS.DDIO3
USERID.R770.SO.ADDUPS.DDIO3
USERID.R770.SO.ADDUPS.DDIO3
USERID.R770.SO.ADDUPS.DDIO3
USERID.R770.SO.ADDUPS.DDIO1
USERID.R770.SO.ADDUPS.DDIO1
USERID.R770.SO.ADDUPS.DDIO1
USERID.R770.SO.ADDUPS.DDIO1
USERID.R770.SO.ADDUPS.DDIO1
USERID.R770.SO.ADDUPS.DDIO1
USERID.R770.SO.ADDUPS.DDIO3
Allocating and Formatting DDIO Files
REPORT
PROGRAM
NUMBER STATUS
COMPILE DATE
------------ ----------------COBABND2
12 (L)
30 MAY 2000
COBABND1
11
30 MAY 2000
COBDEMO2
10
30 MAY 2000
COBDEMO1
9
30 MAY 2000
COBDEMO1
8
26 MAY 2000
ALongNa*
7 (L)
26 MAY 2000
ALongNameofatLeast30Characters_10
COBABEND
6 (L)
26 MAY 2000
COBABND1
5 (L)
26 MAY 2000
ASMTEST
4 (L)
26 MAY 2000
ASMTEST
3
26 MAY 2000
COBABEND
2
26 MAY 2000
ALongNa*
1
26 MAY 2000
ALongNameofatLeast30Characters_10
2-59
2-60
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: USERID.R770.SO.ADDUPS.DDIO1
VOLSER: PRD934
DATABASE IS CONNECTED
CATALOG DSN: USERID.R770.SO.ADDUPS.SHRDIR
VOLSER: PRD917
DSN .............................
VOLSER ..........................
AM(ACCESS METHOD) ...............
BLKSIZE .........................
TYPE ............................
REPTCOUNT .......................
GROUPCOUNT ......................
AUTODELETE ......................
INDEX ...........................
EXTENTS .........................
USERID.R770.SO.ADDUPS.DDIO1
PRD934
BSAM
18452
SOURCE DATABASE
50
1
DUPS
EXTENDED
460
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 ...................
75
70
60(86%)
3
7.7.0
7.0.0
13
18
3
EXTENDED
PROGRAM
LIST NUMBER
COBABND2 (L)
12
COMP DATE
TIME
RC
30 MAY 2000 09:23:43 04
LANGUAGE
COBIIR4
SIZE(K)
36
GROUPS
59
60
TOTAL GROUPS
ALongNa* (L)
7 26 MAY 2000 16.00.55 00 C/ESA V3R2
ALongNameofatLeast30Characters_10
COBABEND (L)
COBABND1 (L)
6
5
26 MAY 2000 16:00:28 04 COBIIR4
26 MAY 2000 15:59:13 04 COBIIR4
793
36
36
15
23
31
39
47
55
13
11
16
24
32
40
48
56
17
25
33
41
49
57
18
26
34
42
50
58
19
27
35
43
51
20
28
36
44
52
2
21
29
37
45
53
22
30
38
46
54
TOTAL GROUPS
44
TOTAL GROUPS
2
TOTAL GROUPS
2
14
12
Allocating and Formatting DDIO Files
2-61
Figure 2-23. Sample DIRX Report for a Source Listing Shared Directory. (Part 4 of 5)
.
ASMTEST
ASMTEST
COBABEND
(L)
4
3
2
26 MAY 2000 15.58
26 MAY 2000 15.57
00 ASMH
00 ASMH
26 MAY 2000 15:56:59 04 COBIIR4
72
72
36
7
3
1
8
4
9
5
SPACE SUMMARY BASED ON AUTODELETE=DUPS
MAXIMUM ALLOCATION GROUPS ....................
AVAILABLE ALLOCATION GROUPS ..................
NUMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
MAXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
AVAILABLE NO OF DIRECTORY ENTRIES ............
DIRX FOR DATABASE: USERID.R770.SO.ADDUPS.DDIO3
VOLSER: PRD969
TOTAL GROUPS
4
TOTAL GROUPS
4
TOTAL GROUPS
2
6
2
MEMBER SUMMARY OF USERID.R770.SO.ADDUPS.DDIO1
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) ..............
10
7
5
0
2
0
44
2
8.5
70
16
0
50
45
DATABASE IS CONNECTED
CATALOG DSN: USERID.R770.SO.ADDUPS.SHRDIR
VOLSER: PRD917
DSN ............................. USERID.R770.SO.ADDUPS.DDIO3
VOLSER .......................... PRD969
AM(ACCESS METHOD) ............... VSAM
BLKSIZE ......................... 20473
TYPE ............................ SOURCE DATABASE
REPTCOUNT ....................... 50
GROUPCOUNT ...................... 1
AUTODELETE ...................... YES
INDEX ........................... EXTENDED
EXTENTS ......................... 460
OTHER INFORMATION
BLOCKS IN FILE ................ 74
ALLOCATION GROUPS ............. 69
USED ALLOCATION GROUPS ........ 60(87%)
FILE FORMATTED BY DDIO RELEASE. 7.7.0
REQUIRED MINIMUM DDIO RELEASE . 7.0.0
CURRENT REPORT NUMBER ......... 12
DIRECTORY ENTRIES/BLOCK ....... 20
DIRECTORY BLOCKS .............. 3
FILE FORMAT ................... EXTENDED
DDIO EXTENDED DIR SPACE ....... 6
USER EXTENDED DIR SPACE ....... 0
Figure 2-24. Sample DIRX Report for a Source Listing Shared Directory. (Part 5 of 5)
ROGRAM
OBABND1
OBDEMO2
OBDEMO1
OBDEMO1
2-62
Compuware Shared Services User/Reference Guide
LIST NUMBER
11
10
9
8
COMP DATE
TIME
RC LANGUAGE SIZE(K)
30 MAY 2000 09:21:30 04 COBIIR4
40
30 MAY 2000 09:18:50 04 COBIIR4
30 MAY 2000 09:07:14 04 COBIIR4
26 MAY 2000 16:03:17 04 COBIIR4
LongNa*
1 26 MAY 2000 15.54.23 00 C/ESA V3R2
LongNameofatLeast30Characters_10
120
120
120
800
GROUPS
59
53
47
41
1
9
17
25
33
60
54
48
42
2
10
18
26
34
55
49
43
3
11
19
27
35
56
50
44
4
12
20
28
36
TOTAL GROUPS
2
57
58
TOTAL GROUPS
6
51
52
TOTAL GROUPS
6
45
46
TOTAL GROUPS
6
5
13
21
29
37
6
7
14
15
22
23
30
31
38
39
TOTAL GROUPS
8
16
24
32
40
40
EMBER SUMMARY OF USERID.R770.SO.ADDUPS.DDIO3
O OF MEMBERS ................................
O OF LOCKED MEMBERS .........................
O OF MANUALLY LOCKED MEMBERS.................
O OF UNLOCKED MEMBERS .......................
O OF INCOMPLETE MEMBERS .....................
ARGEST MEMBER SIZE (IN GROUPS) ..............
MALLEST MEMBER SIZE (IN GROUPS) .............
VERAGE MEMBER SIZE (IN GROUPS) ..............
5
0
0
5
0
40
2
12.0
PACE SUMMARY BASED ON AUTODELETE=YES
AXIMUM ALLOCATION GROUPS ....................
VAILABLE ALLOCATION GROUPS ..................
UMBER OF GROUPS FROM MANUALLY LOCKED MEMBERS.
AXIMUM NO OF DIRECTORY ENTRIES (REPTCOUNT) ..
VAILABLE NO OF DIRECTORY ENTRIES ............
69
69
0
50
50
** ALL FUNCTIONS SUCCESSFULLY COMPLETED
******************************* BOTTOM OF DATA ***********************************************************************************
Allocating and Formatting DDIO Files
2-63
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 several subsections of the report contain class information. A separate
subsection is included for each class of object. The class information is normally used by
Compuware Corporation for problem determination.
DIRECTORY CLASS: The class of object for the instance. (LPDATABS, SRCEDIR, CLASS,
LPCNTRL, LPIDRTKN, LPNUMBER are the classes used by LP).
CLASS INSTANCE NAME: The name of the class associated with this particular
subsection’s information (i.e., LPDATABS).
CLASS ANCHOR RBN: The relative block number of the root element for this class.
NUMBER OF ENTRIES: The number of records in this instance. For class LPDATABS, this
should be the number of attached Source Listing Databases. For classes LPNUMBER and
LPIDRTRN, this should correspond to the total number of entries across all attached
databases.
CURRENT PUT NUMBER: The internal number of the next record to be added to this
instance. It does not reflect the next report number to be assigned.
CURRENT TRANSACTION NUMBER: The next available transaction number.
KEY LENGTH: The length of the key used to access entries in this class.
KEY OFFSET: The position in the record at which the key begins.
MAXIMUM ELEMENT LENGTH: The maximum length of which any element in this
instance can have.
The next section lists DBMODEL setting, if any.
2-64
Compuware Shared Services User/Reference Guide
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.
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
Allocating and Formatting DDIO Files
2-65
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
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
2-66
Compuware Shared Services User/Reference Guide
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
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-52.
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-50.
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-76.
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 9-3).
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 V9.0.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
V9.0.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
10,
11,
12,
13,
“COBOL Language Processor”,
“PL/I Language Processor”,
“Assembler Language Processor”, or
“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
-----
V9.0.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 ---- V9.0.0
COMMAND ===>
Commands: blank (Process JCL)
Browse Edit SEtup C (Create DDIO file)
LP (LP tutorial)
DD (DDIO tutorial)
SD (SD/DB tutorial)
ISPF Library:
Project ===>
Group
===>
Type
===>
Member ===>
===>
===>
===>
(Blank for member selection list)
Other Partitioned or Sequential Dataset:
Dataset Name ===>
Volume Serial ===>
Language Processor Related Items:
DDIO Listing File ===> LISTFILE
Options Dataset ===> 'CX.QA.PARMLIB(CXLPCOBB)'
Enhanced FIND ===> N
(Y/N)
(Xpediter/TSO only)
Press ENTER to process or enter END command to terminate
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 V9.0.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 V9.0.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 V9.0.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 V9.0.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 V9.0.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 V9.0.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 V9.0.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 10, “COBOL Language Processor”,
Chapter 11, “PL/I Language Processor”, Chapter 12, “Assembler Language Processor” or
Chapter 13, “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 ------- V9.0.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 V9.0.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-40.
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 V9.0.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 DDIO/Database that will be
attached to an EXISTING shared directory
3
DDIO File
- Create a non-database DDIO file
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 V9.0.0
COMMAND ===>
Commands: SEtup
A (Advanced Parms)
D (Delete file)
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)
(optional)
(optional)
(optional)
(optional)
(optional)
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 V9.0.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 V9.0.0
COMMAND ===>
Commands: SEtup
A (Advanced Parms)
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)
==>
==>
==>
==>
==>
(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:
Delete the source listing file
specified in the Dataset Name field
Enter D at the Command prompt.
(only on standard DDIO create)
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 ------ V9.0.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 ------ V9.0.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 V9.0.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 V9.0.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 V9.0.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.
For standard DDIO files only - Steps 3 - 7:
3. Enter C to the left of the file name.
4. Press Enter.
The CSS Utilities - Create/Format Source Listing File screen (Figure 3-16 on page 3-22)
is displayed.
5. Ensure that the correct source listing file is specified in the Dataset Name field.
6. Enter D at the command prompt.
7. Press Enter.
For all types of source listing files - Steps 8 - 12:
8. Or, optionally, (instead of steps 3 through 7) enter A to the left of the file name
9. Press Enter.
10. The CSS Utilities Advanced Functions panel will be displayed.
11. Select the Delete option from the menu, press Enter.
12. Follow instructions on the particular “delete” function panel that is displayed
(different by file type). See “Setting Advanced Parameters” on page 3-40.
3-30
Compuware Shared Services User/Reference Guide
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.
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-21.
CSS Utilities
3-31
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-49.
3-32
Compuware Shared Services User/Reference Guide
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-57.
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.
CSS Utilities
3-33
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.
3-34
Compuware Shared Services User/Reference Guide
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.
CSS Utilities
3-35
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 9-12
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 V9.0.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.
3-36
Compuware Shared Services User/Reference Guide
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 V9.0.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-39 if From
File is a shared directory or database).
CSS Utilities
Table 3-9.
3-37
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-40.
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-35).
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-36) is displayed.
7. Complete the fields on this screen using Table 3-9 on page 3-36 as a guide.
– MOVE should be already specified in the Option field (from the popup screen); if
not, enter MOVE in the Option field.
3-38
Compuware Shared Services User/Reference Guide
– 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-35) 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-36) is displayed.
7. Complete the fields on this screen using Table 3-9 on page 3-36 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-35) 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-36) is displayed.
7. Complete the fields on this screen as shown in Table 3-9 on page 3-36.
CSS Utilities
3-39
– 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.
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 V9.0.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-36).
A list appears containing all members in the From File dataset (Figure 3-35).
3-40
Compuware Shared Services User/Reference Guide
Figure 3-35. Selecting Members for COPY, MOVE, or IMPORT
COMPUWARE/VF ----- 'CX.LISTFILE' ---------------- V9.0.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-36).
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-36) is displayed.
2. Enter A at the command prompt.
The Source Listing File Move Function - Advanced Parameters screen (Figure 3-36) is
displayed.
CSS Utilities
3-41
Figure 3-36. Source Listing File Move Function - Advanced Parameters
----- Source Listing File Move Function - ADVANCED PARAMETERS ---- V9.0.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.
3-42
Compuware Shared Services User/Reference Guide
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 V9.0.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
-------------------- V9.0.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.
CSS Utilities
3-43
Working with Source Shared Directory Files
Figure 3-39. Source Listing Shared Directory - Advanced Functions - Main Panel
-------- Shared Directory ADVANCED FUNCTIONS - Source ------ CSS V9.0.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-31).
• Select C to display the CSS Utilities - CHANGE AUTODELETE screen (Figure 3-50 on
page 3-48).
• Select T to display the CSS Utilities - DETACH Database screen (Figure 3-49 on page
3-48).
• Select D to display the CSS Utilities - DELETE Database screen (Figure 3-51 on page
3-49).
• Select R to display the CSS Utilities - SCRATCH Database screen (Figure 3-41 on page
3-44).
• Select S to display the database Source Listing Database Member List (Not
LONGNAME) screen (Figure 3-30 and Figure 3-31 on page 3-35).
• Select M to display the CSS Utilities - Source Listing File Move Facility Screen screen
(Figure 3-33 on page 3-36).
Note:
Pressing PF3 from any of these screens will return you to the Shared Directory Attached Database Report screen (Figure 3-40).
3-44
Compuware Shared Services User/Reference Guide
Figure 3-41. CSS Utilities - SCRATCH Database
---------- COMPUWARE CSS UTILITIES - SCRATCH 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 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 V9.0.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).
CSS Utilities
3-45
Figure 3-43. CSS Utilities - Delete Shared Directory
------ COMPUWARE CSS UTILITIES - DELETE Shared Directory ------ CSS V9.0.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 V9.0.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).
3-46
Compuware Shared Services User/Reference Guide
Figure 3-45. CSS Utilities - CHANGE Shared Directory
------ COMPUWARE CSS UTILITIES - CHANGE Shared Directory ------ CSS V9.0.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 V9.0.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.
CSS Utilities
3-47
Working with Source Listing Database Files
Figure 3-47. Source Listing Source Listing Database - Advanced Functions - Main Panel
---------- Database - ADVANCED FUNCTIONS ---------------------CSS V9.0.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).
3-48
Compuware Shared Services User/Reference Guide
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).
CSS Utilities
3-49
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.
3-50
Compuware Shared Services User/Reference Guide
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 ----- V9.0.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-40.
Table 3-11. Abend-AID Report File Options
To:
Do This:
Edit the CSS Utilities
General Settings
Enter SE at the Command prompt.
CSS Utilities
3-51
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-50),
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:
3-52
Compuware Shared Services User/Reference Guide
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 V9.0.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 DDIO/Database that will be
attached to an EXISTING shared directory
3
DDIO File
- Create a non-database DDIO file
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-53) 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 V9.0.0
COMMAND ===>
Commands: SEtup
A (Advanced Parms)
D (Delete file)
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)
(optional)
(optional)
(optional)
(optional)
(optional)
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-53
Figure 3-56. CSS Utilities - Create/Format Abend-AID Shared Directory Files Screen
--- COMPUWARE CSS UTILITIES - CREATE/FORMAT Shared Directory ----- CSS V9.0.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 V9.0.0
COMMAND ===>
Commands:
SEtup
A (Advanced Parms)
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
==>
==>
==>
==>
==>
(optional,
(optional,
(optional,
(optional,
(optional,
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-57.
3-54
Compuware Shared Services User/Reference Guide
Table 3-12. Create/Format Abend-AID Report File Fields
To:
Do This:
Delete the Abend-AID report file
Enter D at the Command prompt.
specified in the Dataset Name field
(Only valid for standard DDIO create)
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.
CSS Utilities
3-55
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-52).
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 V9.0.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
3-56
Compuware Shared Services User/Reference Guide
Figure 3-59. Abend-AID Report File Create/Format - Advanced Parms (VSAM)
----- Abend-AID Report File CREATE/FORMAT - ADVANCED PARAMETERS -- CSS V9.0.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 V9.0.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
CSS Utilities
3-57
Figure 3-61. Abend-AID Report Database Create/Format - Advanced Parms (VSAM)
---- Report Database Create/Format - Advanced Parameters --- CSS V9.0.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 V9.0.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.
3-58
Compuware Shared Services User/Reference Guide
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.
CSS Utilities
3-59
1. Ensure that the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on
page 3-50) 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.
For standard DDIO files only - Steps 3 - 7:
3. Enter C to the left of the file name.
4. Press Enter.
The CSS Utilities - Create/Format Abend-AID Report Files screen (Figure 3-55 on page
3-52) is displayed.
5. Ensure that the correct Abend-AID report file is specified in the Dataset Name field.
6. Enter D at the command prompt.
7. Press Enter.
For all types of Abend-AID Report files - Steps 8 - 12:
8. Or, optionally, (instead of steps 3 through 7) enter A to the left of the file name
9. Press Enter.
10. The CSS Utilities Advanced Functions panel will be displayed.
11. Select the Delete option from the menu, press Enter.
12. Follow instructions on the particular Delete function panel that is displayed
(different by file type). See “Setting Advanced Parameters” on page 3-40.
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-50) 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.
3-60
Compuware Shared Services User/Reference Guide
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-27.
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
CSS Utilities
3-61
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-50) 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).
3-62
Compuware Shared Services User/Reference Guide
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-62 or Figure 3-65 on page 3-61) 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-62) 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:
CSS Utilities
3-63
1. Ensure that the CSS Utilities - Abend-AID Report File Facility screen (Figure 3-53 on
page 3-50) 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-63) is displayed; or, if you selected a Shared Directory that contains
both batch and CICS report members, Figure 3-70 on page 3-63 is displayed.
Figure 3-69. CSS Utilities - Move Facility Selection Panel
--- COMPUWARE CSS UTILITIES - Move Facility Selection Panel - CSS V9.0.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.
3-64
Compuware Shared Services User/Reference Guide
Figure 3-71. CSS Utilities - Abend-AID Report File Move Facility Screen
COMPUWARE CSS UTILITIES - Abend-Aid Report File Move Facility - V9.0.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-63 or Figure 3-70 on
page 3-63).
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-50 if From File is
a standard DDIO file, or Figure 3-72 on page 3-67 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.
CSS Utilities
3-65
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-67 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-40.
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-50) 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-63 or Figure 3-70 on page 3-63) 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-64) is displayed.
7. Complete the fields on this screen using Table 3-14 on page 3-64 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-50) is displayed.
3-66
Compuware Shared Services User/Reference Guide
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-63 or Figure 3-70 on page 3-63) 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-64) is displayed.
7. Complete the fields on this screen using Table 3-14 on page 3-64 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-50) 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-63 or Figure 3-70 on page 3-63) 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-62) is displayed.
7. Complete the fields on this screen as shown in Table 3-14 on page 3-64.
– 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
CSS Utilities
3-67
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-53.
Figure 3-72. Select Desired File Type
--------CSS UTILITIES - Select Desired File Type -------CSS V9.0.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-64).
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' ---------------- V9.0.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-64).
4. Ensure that the command prompt is blank, then press Enter.
3-68
Compuware Shared Services User/Reference Guide
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-64) 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 ---- V9.0.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.
CSS Utilities
3-69
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 V9.0.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).
3-70
Compuware Shared Services User/Reference Guide
Figure 3-76. CSS Utilities - CONFIRM Delete
-----------------COMMAND ===>
CSS UTILITIES CONFIRM DELETE
-------------------- V9.0.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 V9.0.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-60).
• Select C to display the CSS Utilities - CHANGE AUTODELETE screen (Figure 3-86 on
page 3-75).
• Select T to display the CSS Utilities - DETACH Database screen (Figure 3-85 on page
3-74).
• Select D to display the CSS Utilities - DELETE Database screen (Figure 3-87 on page
3-75).
• Select R to display the “CSS Utilities - SCRATCH Database” screen (Figure 3-79).
CSS Utilities
3-71
• Select S to display the CSS Utilities - CHANGE AUTODELETE screen (Figure 3-66 on
page 3-62).
• Select M to display the CSS Utilities - Abend-AID Report File Move Facility Screen
(Figure 3-71 on page 3-64).
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 V9.0.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).
3-72
Compuware Shared Services User/Reference Guide
Figure 3-80. CSS Utilities - EXPAND Shared Directory
------ COMPUWARE CSS UTILITIES - EXPAND Shared Directory ------ CSS V9.0.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 V9.0.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).
CSS Utilities
3-73
Figure 3-82. CSS Utilities - VERIFY Shared Directory
------ COMPUWARE CSS UTILITIES - VERIFY Shared Directory ------ CSS V9.0.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 V9.0.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).
3-74
Compuware Shared Services User/Reference Guide
Figure 3-84. 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: '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 V9.0.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.
CSS Utilities
Note:
3-75
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 V9.0.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 V9.0.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
3-76
Compuware Shared Services User/Reference Guide
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 V9.0.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.
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-50); or, optionally, as a TSO REXX command DDIOCALC, found in the CSSsupplied SLCXEXEC library.
CSS Utilities
3-77
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: 2
Blocks/CYL: 30
Group Count (1 to 2048)
Extents (1 to 460)
==>
==> N/A
==>
==> N/A
==>
Access Method (VSAM or SEQ)
Device Type (3380 or 3390)
==> VSAM
==> 3390
Total file size in cylinders
==>
==>
==>
Press Enter to re-calculate, or END to exit.
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-79.
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:
3-78
Compuware Shared Services User/Reference Guide
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).
CSS Utilities
3-79
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.
3-80
Compuware Shared Services User/Reference Guide
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
CSS Utilities
3-81
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.
3-82
Compuware Shared Services User/Reference Guide
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
Abend/AID 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.
+--- ATTACH Command ---------------------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL---------+
¦
¦ >>--ATTach--+-DIRDD=ddname--+-,-+-------------------------+--><
¦
¦
+-DIRDSN=dsn----+
+-DDName=ddname-----------+
¦
¦
+-DSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
+----------------------------------------------------------------------------+
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.
8-26
Compuware Shared Services User/Reference Guide
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.
+--- CHANGE Command ---------------------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL------------+
¦
¦ >--CHanGE---+----------------------------+,-->--+-AutoDelete=Yes----+-->< ¦
¦
+-DDName=ddname--------------+
+-AutoDelete=DUPS---+
¦
¦
+-DSN=dsn--------------------+
+-AutoDelete=NO-----+
¦
¦
+-VOLser=volser----+
+-AutoDelete=STAGED-+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
+----------------------------------------------------------------------------+
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.
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.
+--- CHANGE Command ----------------------------------------------------+
¦
¦
¦ >--CHanGE--OBJect=SHRDIR,-+-DDName=ddname----------------+,-->
¦
+-DSN=dsn,---+---------------+-+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦
+----------------------+,+-----------------+--->
¦
¦
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.
Batch File Utility CWDDALLU
8-27
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
CHANGE Command – DBMODEL Attributes
This CHANGE syntax diagram illustrates the syntax for allocating and formatting a new
Source Listing Database.
+-- CHANGE Command - DBMODEL Attributes--------------------------------+
¦
(1)
(2)
¦
¦>-CHanGe--+OBJect=DBMODEL-+-,-+-DIRDD=ddname-+-,-DSN=dbmodelname,--> ¦
¦
+-DIRDSN=dsn---+
¦
¦
¦
¦>+AM=VASM,+---------------+,+------------------+,-->
¦
¦ ¦
+RECords=nnnn---¦ ¦ +CISIZE=18432-+ ¦
¦
¦ ¦
+TRacKS=nnnn----¦ +-+-------------+--+
¦
¦ ¦
+CYLinders=nnnn-+ ¦ +CISIZE=nnnn--+ ¦
¦
¦ ¦
¦ +BLKsize=18425-+ ¦
¦
¦ ¦
+-+--------------+-+
¦
¦ ¦
+BLKsize=nnnn--+
¦
¦ ¦
¦
¦ ¦
+-GroupCount=3-+
¦
¦ ¦
>-+----------------+-,-+--------------+-,------+,-->
¦
¦ ¦
+-VSAMCAT=ddname-+-,-+-GroupCount=nn+
¦
¦
¦ ¦
¦
¦
¦ ¦
+-UNIT=SYSDA----+
¦
¦
¦ +AM=BSAM,-+----------------+,+---------------+,-->
¦
¦
¦
+-TRacKS=nnnn----¦ +-UNIT=xxxxxxxx-+
¦
¦
¦
+-CYLinders=nnnn-+
¦
¦
¦
¦
¦
¦
+-BLKsize=27998-+ +-GroupCount=2--+
¦
¦
¦
>-+---------------+,-+---------------+-------+¦,-->
¦
¦
+-BLKsize=nnnn--+ +-GroupCount=nn-+
¦
¦
¦
¦>+-----------+-,-+------------------+-,-+-------------------+,-->
¦
¦ +-MODEL=dsn-+
+MGMTCLAS=xxxxxxxx-+
+-STORCLAS=xxxxxxxx-+
¦
¦
¦
¦
+-ReptCount=100--+
¦
¦>+-------------------+-,-+----------------+-,-TYPE=SOURCE,-->
¦
¦ +-DATACLAS=xxxxxxxx-+
+-ReptCount=nnnn-+
¦
¦
¦
¦ +-AutoDelete=YES----+
+-EXTENTS=460--+
+-DYNCREATE=NO--+
¦
¦>+-------------------+-,-+--------------+-,-+---------------+--><
¦
¦ +-AutoDelete=DUPS---¦
+-EXTENTS=nnn--+
+-DYNCREATE=YES-+
¦
¦ +-AutoDelete=NO-----+
¦
¦ +-AutoDelete=STAGED-+
¦
+----------------------------------------------------------------------+
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.
8-28
Compuware Shared Services User/Reference Guide
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
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.
+--- CONVERT Command --------------------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL---------+
¦
¦ >>--CoNVERT--+-DIRDD=ddname--+-,-+-------------------------+--><
¦
¦
+-DIRDSN=dsn----+
+-DDName=ddname-----------+
¦
¦
+-DSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
+----------------------------------------------------------------------------+
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.
Batch File Utility CWDDALLU
8-29
• 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
8-30
Compuware Shared Services User/Reference Guide
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.
+--- COPY Command -------------------------------------------------------------------+
¦
¦
¦
+-TODD=ABNLTO------------------+
+-FROMDD=ABNLFROM----------------+
¦
¦>>--COPY---+------------------------------¦,--+--------------------------------+,-->¦
¦
¦-TODD=ddname------------------¦
¦-FROMDD=ddname------------------¦
¦
¦
+-TODSN=dsn-,-+--------------+-+
+-FROMDSN=dsn,--+----------------+
¦
¦
+-TOVOL=volser-+
+-FROMVOL=volser-+
¦
¦
¦
¦
¦
¦
+-RETAINRN=NO--+
¦
¦>--+--------------+-,-+-----------------+-,-+------------------+,-+--------------+->¦
¦
+-RETAINRN=YES-+
+-ReptNumber=xxxx-+
+-Program-xxxxxxx*-+ +-SORT=sortkey-+ ¦
¦
¦
¦>--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-------------------------+
¦
¦
+-EndDATE=mm/dd/yyyy----+
¦
¦
¦
¦>--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦>--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-¦
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
+-DUPS=LATEST---+
¦
¦
¦
¦
+-CONTINUE=YES-+
+-EXEC=SUMMARY---+
¦
¦>--+--------------+-,-+----------------+-->,-->
¦
¦
+-CONTINUE=NO--+
+-EXEC=CHECK-----+
¦
¦
+-EXEC=RUN-------+
¦
¦
¦
¦
+--DATEUSED=COMPILE--------+
¦
¦>--+----SELECTDAYS=nnn-----+--------------------------+--><
¦
¦
+--DATEUSED=CREATE---------+
¦
¦
¦
¦
¦
+------------------------------------------------------------------------------------+
Batch File Utility CWDDALLU
Note:
8-31
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.
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
+--- COPY Command -------------------------------------------------------------------+
¦
¦
¦
+-TODD=ABNLTO------------------+
+-FROMDD=ABNLFROM----------------+
¦
¦>>--COPY---+------------------------------¦,--+--------------------------------+,-->¦
¦
¦-TODD=ddname------------------¦
¦-FROMDD=ddname------------------¦
¦
¦
+-TODSN=dsn-,-+--------------+-+
+-FROMDSN=dsn,--+----------------+
¦
¦
+-TOVOL=volser-+
+-FROMVOL=volser-+
¦
¦
¦
¦
+-RETAINRN=NO--+
¦
¦ >--+--------------+-,-+-----------------+-,
¦
¦
+-RETAINRN=YES-+
+-ReptNumber=xxxx-+
¦
|
|
| >--+--------------+-,-+-----------------+-,-+------------------+,-->
¦
¦
+-JOBNAME=YES--+
+-JESID=xxxx------+
+-ABEND=xxxxxxx*---+
¦
¦
¦
¦ >--+--------------+-,-+-----------------------------------------------+,-->
¦
¦
+-SORT=sortkey-+
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-------------------------+
¦
¦
+-EndDATE=mm/dd/yyyy----+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR--+
¦
¦ >--+---------------+-,-+----------+-,-+-----------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦
¦
¦
+-CONTINUE=YES-+
+-EXEC=SUMMARY----+
¦
¦ >--+--------------+-,-+-----------+-,-+-----------------+--><
¦
¦
+-CONTINUE=NO--+
+-TYPE=AA---+
+-EXEC=CHECK------+
¦
¦
+-TYPE=CICS-+
+-EXEC=RUN--------+
¦
+------------------------------------------------------------------------------------+
Note:
The use of EXEC is only valid for stand-alone Abend-AID report DDIO files, not
for shared directory and/or database files.
8-32
Compuware Shared Services User/Reference Guide
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.
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.
+--- COPY Command -------------------------------------------------------------------+
¦
¦
¦
+-TODD=ABNLTO------------------+
+-FROMDD=ABNLFROM----------------+
¦
¦>>--COPY---+------------------------------¦,--+--------------------------------+,-->¦
¦
¦-TODD=ddname------------------¦
¦-FROMDD=ddname------------------¦
¦
¦
+-TODSN=dsn-,-+--------------+-+
+-FROMDSN=dsn,--+----------------+
¦
¦
+-TOVOL=volser-+
+-FROMVOL=volser-+
¦
¦
¦
¦
+-RETAINRN=NO--+
¦
¦ >--+--------------+-,-+-----------------------+-,-+-----------+,-->
¦
¦
+-RETAINRN=YES-+
+-ReptNumber=xxxxxxxxxx-+
+-Tran=xxx*-+
¦
¦
¦
¦ >--+-----------------+-,-+---------------+-,-+--------------+,-->
¦
¦
+-APPLID=xxxxxxx*-¦
+-CicsCode=xxx*-+
+-SORT=sortkey-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-CONTINUE=YES-+
¦
¦ >--+---------------+-,-+----------+-,-+--------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-CONTINUE=NO--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
¦
¦
¦
¦
+-NOTFOUND=ERROR--+
¦
¦ >--+-----------------+-,-+-----------+-><
¦
¦
+-NOTFOUND=IGNORE--+ +-TYPE=AA---+
¦
¦
+-NOTFOUND=WARNING-+ +-TYPE=CICS-+
¦
+------------------------------------------------------------------------------------+
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
Batch File Utility CWDDALLU
8-33
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.
8-34
Compuware Shared Services User/Reference Guide
Allocating and Formatting a New Shared Directory:
The first CREATE syntax diagram illustrates the syntax for allocating and formatting a
new shared directory.
+--- Allocating and Formatting a New Shared Directory -------------------+
¦
¦
¦ >>--CREate-+-OBJect=SHRDIR-+-+-DIRDD=ddname-------------------+,-->
¦
¦
+-DIRDSN=dsn,---+-------------+--+
¦
¦
+-DIRVOL=volser-+
¦
¦
¦
¦ >--AM=VSAM,-+----------------+-,-+-------------------+,-->
¦
¦
+-RECords=nnnn---¦
¦ +-CISIZE=18432-+ ¦
¦
¦
+-TRacKS=nnnn----¦
+-+--------------+--+
¦
¦
+-CYLinderS=nnnn-¦
¦ +-CISIZE=nnnn--+ ¦
¦
¦
+-DIRENTS=nnnn---+
¦ +-BLKsize=18425-+ ¦
¦
¦
+-+---------------+-+
¦
¦
+-BLKsize=nnnn--+
¦
¦
¦
¦
+-REALLOcate=NO--+
¦
¦ >--+----------------+-,-+-----------+-,-+----------------+,-->
¦
¦
+-VSAMCAT=ddname-+
+-MODEL=dsn-+
+-REALLOcate=YES-+
¦
¦
¦
¦ >--+-------------------+-,-+-------------------+,-->
¦
¦
+-MGMTCLAS=xxxxxxxx-+
+-STORCLAS=xxxxxxxx-+
¦
¦
¦
¦ >--+-------------------+-,-+----------------+-,-+-----------+-><
¦
¦
+-DATACLAS=xxxxxxxx-+-,-+-AutoLockMAX=nn-+-,-+-DUPMAX=nn-+
¦
¦
¦
+------------------------------------------------------------------------+
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.
+--- Formatting a Pre-Allocated Shared Directory --------------------------+
¦
¦
¦
+-MULTIVOLUME=NO--+
¦
¦ >>--CREate--+-OBJect=SHRDIR-+-,-+-DIRDD=ddname-+,-+-----------------+--> ¦
¦
+-DIRDSN=dsn---+ +-MULTIVOLUME=YES-+
¦
|
|
|
+-AutoLockMAX=nn---+-,-+-DUPMAX=nn---+--><
|
+--------------------------------------------------------------------------+
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
Batch File Utility CWDDALLU
8-35
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.
+-- Allocating and Formating a New Database--------------------------------+
¦
(1)
¦
¦>-CREate--+-OBJect=DATABASE-+-,-+-DIRDD=ddname-+,-+-DDName=ddname---+,-> ¦
¦
+-DIRDSN=dsn---+ +-DSN=dsn,-+-------+
¦
¦
+-VOLser=volser----+
¦
¦
¦
¦
>-+---------------+,-->
¦
¦
+-TYPE=SOURCE---+
¦
¦
+-TYPE=AA-------+
¦
¦
+-TYPE=CICS-----+
¦
¦
¦
¦>+AM=VASM,+---------------+,+------------------+,-->
¦
¦ ¦
+RECords=nnnn---¦ ¦ +CISIZE=18432-+ ¦
¦
¦ ¦
+TRacKS=nnnn----¦ +-+-------------+--+
¦
¦ ¦
+CYLinders=nnnn-¦ ¦ +CISIZE=nnnn--+ ¦
¦
¦ ¦
¦ +BLKsize=18425-+ ¦
¦
¦ ¦
+-+--------------+-+
¦
¦ ¦
+BLKsize=nnnn--+
¦
¦ ¦
¦
¦ ¦
+-GroupCount=3-+
¦
¦ ¦
>-+----------------+-,-+--------------+-,------+,-->
¦
¦ ¦
+-VSAMCAT=ddname-+-,-+-GroupCount=nn+
¦
¦
¦ ¦
¦
¦
¦ ¦
+-UNIT=SYSDA----+
¦
¦
¦ +AM=BSAM,-+----------------+,+---------------+,-->
¦
¦
¦
+-TRacKS=nnnn----¦ +-UNIT=xxxxxxxx-+
¦
¦
¦
+-CYLinders=nnnn-+
¦
¦
¦
¦
¦
¦
+-BLKsize=27998-+ +-GroupCount=2--+
¦
¦
¦
>-+---------------+,-+---------------+-------+¦,-->
¦
¦
+-BLKsize=nnnn--+ +-GroupCount=nn-+
¦
¦
¦
¦
+-REALLOcate=NO--+
¦
¦>-+-----------+-,-+----------------+-,-+-------------------+,-->
¦
¦ +-MODEL=dsn-+
+-REALLOcate=YES-+
+-MGMTCLAS=xxxxxxxx-+
¦
¦
¦
¦
+-ReptCount=100--+
¦
¦>-+-------------------+-,-+-------------------+-,-+----------------+,--> ¦
¦ +-STORCLAS=xxxxxxxx-+
+-DATACLAS=xxxxxxxx-+
+-ReptCount=nnnn-+
¦
¦
¦
¦ +-AutoDelete=YES----+ +-EXTENTS=460--+
¦
¦>-+-------------------+,+--------------+--><
¦
¦ +-AutoDelete=DUPS---+ +-EXTENTS=nnn--+
¦
¦ +-AutoDelete=NO-----+
¦
¦ +-AutoDelete=STAGED-+
¦
+--------------------------------------------------------------------------+
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.
• The Source Listing Database can occupy five cylinders.
• The blocksize is 24569.
8-36
Compuware Shared Services User/Reference Guide
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
Formatting a Pre-Allocated Database
This CREATE syntax diagram illustrates the syntax for formatting a pre-allocated
database.
+--- Formatting a Pre-Allocated Database--------------------------------------+
¦
¦
¦
(1)
¦
¦ >--CREate--+-OBJect=DATABASE-+-,-+-DIRDD=ddname-+-,-+-DDName=ddname-+,-->
¦
¦
+-DIRDSN=dsn---+
+-DSN=dsn--------+
¦
¦
¦
¦
>-+---------------+,-->
¦
¦
+-TYPE=SOURCE---+
¦
¦
+-TYPE=AA-------+
¦
¦
+-TYPE=CICS-----+
¦
¦
¦
¦
+MULTIVOLUME=NO----+
+-ReptCount=100--+
¦
¦ >-+------------------+-,-+----------------+-,-->
¦
¦
+MULTIVOLUME=YES---+
+-ReptCount=nnnn-+
¦
¦
¦
¦
(2)
¦
¦
+-GroupCount=3--+
+-AutoDelete=YES----+
+-EXTENTS=460-+
¦
¦ >-+---------------+-,-+-------------------+-,-+-------------+-->
¦
¦
+-GroupCount=nn-+
+-AutoDelete=DUPS---+
+-EXTENTS=nnn-+
¦
¦
+-AutoDelete=NO-----+
¦
¦
+-AutoDelete=STAGED-+
¦
¦
¦
¦
(3)
¦
¦ >-+---------------+--><
¦
¦
+-BLKsize=27998-+
¦
¦
+-BLKsize+nnnn--+
¦
+-----------------------------------------------------------------------------+
Batch File Utility CWDDALLU
8-37
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
Creating a DBMODEL
This CREATE syntax diagram illustrates the syntax for creating a DBMODEL entry. The
DBMODEL feature applies only to source shared directories.
+-- Creating a DBMODEL------------------------------------------------------------+
¦
¦
¦
(1)
(2)
¦
¦>--CREate--OBJect=DBMODEL,-+-DIRDD=ddname-+,DSN=dbmodelname,-->
¦
¦
+-DIRDSN=dsn---+
¦
¦
¦
¦>+AM=VASM,+---------------+,+------------------+,-->
¦
¦ ¦
+RECords=nnnn---¦ ¦ +CISIZE=18432-+ ¦
¦
¦ ¦
+TRacKS=nnnn----¦ +-+-------------+--+
¦
¦ ¦
+CYLinders=nnnn-+ ¦ +CISIZE=nnnn--+ ¦
¦
¦ ¦
¦ +BLKsize=18425-+ ¦
¦
¦ ¦
+-+--------------+-+
¦
¦ ¦
+BLKsize=nnnn--+
¦
¦ ¦
¦
¦ ¦
+-GroupCount=3-+
¦
¦ ¦
>-+----------------+-,-+--------------+-,------+,-->
¦
¦ ¦
+-VSAMCAT=ddname-+-,-+-GroupCount=nn+
¦
¦
¦ ¦
¦
¦
¦ ¦
+-UNIT=SYSDA----+
¦
¦
¦ +AM=BSAM,-+----------------+,+---------------+,-->
¦
¦
¦
+-TRacKS=nnnn----¦ +-UNIT=xxxxxxxx-+
¦
¦
¦
+-CYLinders=nnnn-+
¦
¦
¦
¦
¦
¦
+-BLKsize=27998-+ +-GroupCount=2--+
¦
¦
¦
>-+---------------+,-+---------------+-------+¦,-->
¦
¦
+-BLKsize=nnnn--+ +-GroupCount=nn-+
¦
¦
¦
¦>-+-----------+,+-------------------+,+-------------------+,->
¦
¦ +-MODEL=dsn-+ +-MGMTCLAS=xxxxxxxx-+ +-STORCLAS=xxxxxxxx-+
¦
¦
¦
¦
+-ReptCount=100--+
+-AutoDelete=YES----+
¦
¦>-+-------------------+,+----------------+,TYPE=SOURCE,-+-------------------+-,->¦
¦ +-DATACLAS=xxxxxxxx-+,+-ReptCount=nnnn-+
+-AutoDelete=DUPS---¦
¦
¦
+-AutoDelete=NO-----¦
¦
¦
+-AutoDelete=STAGED-+
¦
¦
¦
¦ +-EXTENTS=460--+
+-DYNCREATE=NO--+
¦
¦>-+--------------+-,-+---------------+,--><
¦
¦ +-EXTENTS=nnn--+
+-DYNCREATE=YES-+
¦
+---------------------------------------------------------------------------------+
8-38
Compuware Shared Services User/Reference Guide
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.
• 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.
+--- DELETE an Entry from Both the Shared Directory and LP Database--------------+
¦
¦
¦
(1)
+-DDName=ABNLDFIL------------+
¦
¦ >--DELete--+-OBJect=ENTRY,-+--+----------------------------+,->
¦
¦
+-DDName=ddname--------------+
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦ >-+-----------------+-->
¦
¦
+-ReptNumber=xxxx-+
¦
¦
¦
¦ >--+------------------+,--+-----------------------------------------------+,-> ¦
¦
+-Program=xxxxxxx*-+
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR--+
¦
¦ >--+---------------+-,-+----------+-,-+-----------------+--><
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
+--------------------------------------------------------------------------------+
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.
+--- DELETE Command ---------------------------------------------------------+
¦
(1)
+DDName=ABNLDFIL-------------+
¦
¦ >--DELete--+-OBJect=ENTRY,-+--+----------------------------+,->
¦
¦
+-DDName=ddname--------------+
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦ >--+-----------------------+-,-+------------------+-,-+------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
+-JOBNAME=xxxxxxx*-+
+-ABEND=xxx*-+
¦
¦
¦
¦ >--+----------------+-,-+---------------------------------------------+,-> ¦
¦
+-JESID=xxxxxxx*-+
+-DAYSOLD=nnn---------------------------------¦
¦
¦
+-MONTHSOLD=nnn-------------------------------¦
¦
¦
+-YEARSOLD=nnn--------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,+--------------------+-+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR--+
¦
¦ >--+---------------+-,-+----------+-,-+-----------------+--><
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦ >--+------------+
¦
¦
+-TYPE=AA----+
¦
¦
+-TYPE=CICS--+
¦
+----------------------------------------------------------------------------+
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.
+--- DELETE Command ---------------------------------------------------------+
¦
+DDName=ABNLDFIL-------------+
¦
¦ >--DELete--+-OBJect=ENTRY,-+--+----------------------------+,->
¦
¦
+-DDName=ddname--------------+
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦ >--+-----------------------+-,-+-----------+-,-+---------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
+-Tran=xxx*-+
+-Cicscode=xxx*-+
¦
¦
¦
¦ >--+-----------------+-,-+---------------------------------------------+,->¦
¦
+-APPLID=xxxxxxx*-¦
+-DAYSOLD=nnn---------------------------------¦
¦
¦
+-MONTHSOLD=nnn-------------------------------¦
¦
¦
+-YEARSOLD=nnn--------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,+--------------------+-+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+--><
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦ >--+------------+
¦
¦
+-TYPE=AA----+
¦
¦
+-TYPE=CICS--+
¦
+----------------------------------------------------------------------------+
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
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.
+--- DELETE a Database ---------------------------------------------------------+
¦
¦
¦
+--DDName=ABNLDFIL--+
¦
¦ >>--DELete--OBJect=DATABASE-,-+------------------+-,-+-------------------+->< ¦
¦
+--DDName=ddname--+
¦
¦
+--DSN=datasetname-+
¦
+-------------------------------------------------------------------------------+
8-42
Compuware Shared Services User/Reference Guide
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.
+--- DELETE a Shared Directory------------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL------------+
¦
¦ >--DELete--+-OBJect=SHRDIR,-+-+----------------------------+,->
¦
¦
+-DDName=ddname--------------+
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦
+-DataBaseDISP=DETACH-+
¦
¦>--+---------------------+-><
¦
¦
+-DataBaseDISP=DELETE-+
¦
+-----------------------------------------------------------------------------+
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).
DELETE OBJECT=SHRDIR,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
DBDISP=DETACH
DELETE the DBMODEL Information from the Shared Directory
+--- DELETE the DBModel Information from the Shared Directory------------------+
¦
¦
¦
+-DDName=ABNLDFIL------------+
¦
¦ >--DELete--+-OBJect=DBMODEL,-+-+----------------------------+,->
¦
¦
+-DDName=ddname--------------+
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
+------------------------------------------------------------------------------+
Batch File Utility CWDDALLU
8-43
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.
+--- DETACH Command ---------------------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL---------+
¦
¦ >>--DETACH--+-------------------------+-,-+------------+--><
¦
¦
+-DDName=ddname-----------+
+-DIRDSN=dsn-+
¦
¦
+-DSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
+----------------------------------------------------------------------------+
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.
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.
8-44
Compuware Shared Services User/Reference Guide
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.
+--- DIRECTORY Command ------------------------------------------------------+
¦
¦
¦ >>--DIRectory or DIRX--+-----------------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
¦
¦
¦
¦
+-DDName=ABNLDFIL------------+
¦
| >--+----------------------------+,-->
¦
¦
+-DDName=ddname--------------++
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦ >--+------------------+,-->
¦
¦
+-Program=xxxxxxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-¦
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
+-DUPS=LATEST---+
¦
¦
¦
¦ >--+--------------+--><
¦
¦
+-SORT=sortkey-+
¦
+----------------------------------------------------------------------------+
For a description of the parameters see “Command Parameters for all DDIO files” on page
8-8.
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
Batch File Utility CWDDALLU
8-45
Directory (DIR, D) and DIRX (DX) - Abend-AID
The following diagram illustrates the syntax for the DIRECTORY or DIRX command.
+--- DIRECTORY Command ------------------------------------------------------+
¦
¦
¦ >>--DIRectory or DIRX--+-----------------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
¦
¦
¦
¦
+-DDName=ABNLDFIL------------+
¦
| >--+----------------------------+,-->
¦
¦
+-DDName=ddname--------------++
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦ >--+----------------+-,-+------------+-,-+----------------+,-->
¦
¦
+-JOBNAME=xxxxx*-+
+-ABEND=xxx*-+
+-JESID=xxxxxxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦
¦
¦ >--+--------------+-,-+------------+><
¦
¦
+-SORT=sortkey-+
+-TYPE=AA----+
¦
¦
+-TYPE=CICS--+
¦
+----------------------------------------------------------------------------+
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 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
8-46
Compuware Shared Services User/Reference Guide
Directory (DIR, D) and DIRX (DX) - Abend-AID for CICS
The following diagram illustrates the syntax for the DIRECTORY or DIRX command.
+--- DIRECTORY Command ------------------------------------------------------+
¦
¦
¦ >>--DIRectory or DIRX--+-----------------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
¦
¦
¦
¦
+-DDName=ABNLDFIL------------+
¦
| >--+----------------------------+,-->
¦
¦
+-DDName=ddname--------------++
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦ >--+-----------+-,-+---------------+-,-+-----------------+,-->
¦
¦
+-Tran=xxx*-+
+-CicsCode=xxx*-+
+-APPLID=xxxxxxx*-¦
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦ >--+--------------+-,-+------------+><
¦
¦
+-SORT=sortkey-+
+-TYPE=AA----+
¦
¦
+-TYPE=CICS--+
¦
+----------------------------------------------------------------------------+
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 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
Batch File Utility CWDDALLU
8-47
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.
Directory Sequential (DIRS)- Source Listing
The following diagram illustrates the syntax for the DIRECTORY SEQUENTIAL command.
+--- DIRECTORY Sequential Command -------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL------------+
¦
| >>--DIRS--+----------------------------+-,--+------------------+,-->
¦
¦
+-DDName=ddname--------------+
+-ReptNumber=xxxx--+
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦ >--+------------------+,-->
¦
¦
+-Program=xxxxxxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-¦
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
+-DUPS=LATEST---+
¦
¦
¦
¦
+-LABEL=1--+
¦
¦ >--+--------------¦-,-+----------+--><
¦
¦
+-SORT=sortkey-+
+-LABEL=nn-+
¦
+----------------------------------------------------------------------------+
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
8-48
Compuware Shared Services User/Reference Guide
Directory Sequential (DIRS)- Abend-AID
The following diagram illustrates the syntax for the DIRECTORY SEQUENTIAL command.
+--- DIRECTORY Sequential Command -------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL------------+
¦
| >>--DIRS--+----------------------------+-,-+-----------------------+,-->
¦
¦
+-DDName=ddname--------------+
+-ReptNumber=xxxxxxxxxx-+
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦ >-+------------------+,+-----------------+,+------------+,+--------------+>¦
¦
+-ReptNumber=xxxxxx+ +-JOBNAME=xxxxxx*-+ +-ABEND=xxx*-+ +-JESID=xxxxx*-+ ¦
¦
¦
¦ >-+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >-+------------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss]-,-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ > +---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
¦-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦
+-LABEL=1--+
¦
¦ >-+--------------+-,-+-----------+--><
¦
¦
+-SORT=sortkey-+
+-LABEL=nn-+
¦
+----------------------------------------------------------------------------+
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
Batch File Utility CWDDALLU
8-49
Directory Sequential (DIRS)- Abend-AID for CICS
The following diagram illustrates the syntax for the DIRECTORY SEQUENTIAL command.
+--- DIRECTORY Sequential Command -------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL------------+
¦
| >>--DIRS--+----------------------------+-,-+-----------------------+,-->
¦
¦
+-DDName=ddname--------------+
+-ReptNumber=xxxxxxxxxx-+
¦
¦
+-DSN=dsn--------------------+
¦
¦
+-VOLser=volser----+
¦
¦
+-DIRDD=ddname---------------+
¦
¦
+-DIRDSN=dsn-----------------+
¦
¦
+-VOLser=volser-+
¦
¦
¦
¦ >--+-----------+-,-+---------------+,-->
¦
¦
+-Tran=xxx*-+
+-CicsCode=xxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+------------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss]-,-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦
+-LABEL=1--+
¦
¦ >--+--------------+-,-+----------+--><
¦
¦
+-SORT=sortkey-+
+-LABEL=nn-+
¦
+----------------------------------------------------------------------------+
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.
The following diagram illustrates the syntax used for the ESTIMATE command.
+--- ESTIMATE----------------------------------- ----------------------------+
¦
¦
¦ >>--ESTIMATE---+-BLKsize=nnnn-+-,-+-DIRENTS=nnnn-+--><
¦
¦
+-CISIZE=nnnn--+
¦
¦
+-MODEL=dsn----+
¦
¦
¦
¦ >--+-------------------+,-->
¦
¦
+-TYPE=SOURCE-------+
¦
¦
+-TYPE=AA-------+
¦
¦
+-TYPE=CICS---------+
¦
+----------------------------------------------------------------------------+
8-50
Compuware Shared Services User/Reference Guide
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)
The following diagram illustrates the syntax for the EXAMINE command.
+--- EXAMINE Command ---------------------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--EXAMINE--+---------------------------+-,-+--------+-,-+----------+-->< ¦
¦
+-DDName=ddname-------------+
+-REPAIR-+
+-DELETEIC-+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
¦ >--+------------+><
¦
¦
+-TYPE=AA----+
¦
¦
+-TYPE=CICS--+
¦
+-----------------------------------------------------------------------------+
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.
Batch File Utility CWDDALLU
Note:
8-51
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
8-52
Compuware Shared Services User/Reference Guide
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.
+--- EXPAND Command ---------------------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--EXPAND--+---------------------------+-,--+----------------+->
¦
¦
+-DDName=ddname-------------+
+-VSAMCAT=ddname-+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
¦
¦
¦
+-CISIZE=4096-+
¦
¦ >--+----------------+,-+-------------+-,-+-----------+--><
¦
¦
+-RECords=nnnn---¦ +-CISIZE=nnnn-+
+-MODEL=dsn-+
¦
¦
+-TRacKS=nnnn----¦
¦
¦
+-CYLinders=nnnn-+
¦
+----------------------------------------------------------------------------+
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
Batch File Utility CWDDALLU
8-53
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.
Export- Source Listing
The following diagram illustrates the syntax for the EXPORT command.
+--- EXPORT Command --------------------------------------------------+
¦
¦
¦
+-FROMDD=ABNLFROM------------------+
¦
¦ >>--EXPORT--+----------------------------------+,-->
¦
¦
+-FROMDD=ddname--------------------¦
¦
¦
+-FROMDSN=dsn,-+----------------+--+
¦
¦
+-FROMVOL=volser-+
¦
¦
¦
¦
+-TODD=ABNLTO------------------+
¦
¦ >--+------------------------------+-,--+-----------------+,-->
¦
¦
+-TODD=ddname------------------¦
+-ReptNumber=xxxx-+
¦
¦
+-TODSN=dsn,-+--------------+--+
¦
¦
+-TOVOL=volser-+
¦
¦
¦
¦ >--+------------------+--,-->
¦
¦
+-Program=xxxxxxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--¦
¦
¦
+-DUPS=UNLOCKED-¦
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
+-DUPS=LATEST---+
¦
¦
¦
¦
+-CONTINUE=YES-+
+-LABEL=1--+
+-DELETE=NO--+
¦
¦ >--+--------------+-,-+----------+-,-+------------+-->
¦
¦
+-CONTINUE=NO--+
+-LABEL=nn-+
+-DELETE=YES-+
¦
¦
¦
¦
+-EXEC=SUMMARY-+
¦
¦ >--+--------------+--><
¦
¦
+-EXEC=CHECK---+
¦
¦
+-EXEC=RUN-----+
¦
+---------------------------------------------------------------------+
Note:
The use of EXEC is only valid for stand-alone source DDIO files, not for shared
directory and/or database files.
8-54
Compuware Shared Services User/Reference Guide
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
Export- Abend-AID
The following diagram illustrates the syntax for the EXPORT command.
+-- EXPORT Command -----------------------------------------------------+
¦
¦
¦
+-FROMDD=ABNLFROM------------------+
¦
¦>>--EXPORT--+----------------------------------+,->
¦
¦
+-FROMDD=ddname--------------------¦
¦
¦
+-FROMDSN=dsn,-+----------------+--+
¦
¦
+-FROMVOL=volser-+
¦
¦
¦
¦
+-TODD=ABNLTO------------------+
¦
¦>--+------------------------------+-,-+----------------------+,->
¦
¦
+-TODD=ddname------------------¦
+-ReptNumber=xxxxxxxxx-+
¦
¦
+-TODSN=dsn,-+--------------+--+
¦
¦
+-TOVOL=volser-+
¦
¦
¦
¦>--+------------------+-,-+------------+-,-+----------------+,->
¦
¦
+-JOBNAME=xxxxxxx*-+
+-ABEND=xxx*-+
+-JESID=xxxxxxx*-+
¦
¦
¦
¦>--+-----------------------------------------------+,->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >-+------------------------------------------------+,->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],--+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦>--+---------------+-,-+----------+-,-+------------------+,->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--¦
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦
+-CONTINUE=YES-+
+-LABEL=1--+
+-DELETE=NO--+
¦
¦>--+--------------+-,-+----------+-,-+------------+-,-+-----------+-> ¦
¦
+-CONTINUE=NO--+
+-LABEL=nn-+
+-DELETE=YES-+
+-TYPE=AA---+
¦
¦
+-TYPE=CICS-+
¦
¦
+-EXEC=SUMMARY-+
¦
¦ >--+--------------+--><
¦
¦
+-EXEC=CHECK---+
¦
¦
+-EXEC=RUN-----+
¦
+-----------------------------------------------------------------------+
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.
Batch File Utility CWDDALLU
8-55
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
Export- Abend-AID for CICS
The following diagram illustrates the syntax for the EXPORT command.
+--- EXPORT Command ----------------------------------------------------+
¦
¦
¦
+-FROMDD=ABNLFROM------------------+
¦
¦ >>--EXPORT--+----------------------------------+,-->
¦
¦
+-FROMDD=ddname--------------------¦
¦
¦
+-FROMDSN=dsn,-+----------------+--+
¦
¦
+-FROMVOL=volser-+
¦
¦
¦
¦
+-TODD=ABNLTO------------------+
¦
¦ >--+------------------------------+-,-+----------------------+,-->
¦
¦
+-TODD=ddname------------------¦
+-ReptNumber=xxxxxxxxx-+
¦
¦
+-TODSN=dsn,-+--------------+--+
¦
¦
+-TOVOL=volser-+
¦
¦
¦
¦ >--+-----------+-,-+---------------+-,-+-----------------+,-->
¦
¦
+-Tran=xxx*-+
+-CicsCode=xxx*-+
+-APPLID=xxxxxxx*-¦
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+------------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],--+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--¦
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦
+-CONTINUE=YES-+
+-LABEL=1--+
+-DELETE=NO--+
¦
¦>--+--------------+-,-+----------+-,-+------------+-,-+-----------+->< ¦
¦
+-CONTINUE=NO--+
+-LABEL=nn-+
+-DELETE=YES-+
+-TYPE=AA---+
¦
¦
+-TYPE=CICS-+
¦
+-----------------------------------------------------------------------+
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.
8-56
Compuware Shared Services User/Reference Guide
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
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 (not a source database or
source shared directory), with no alteration of either baseline or current members, or it
can be created in the same DDIO file (source database or source shared directory) 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 BASEDDIO or CURRDDIO file is a source database or source shared
directory, the FLAGGEDDIO parameter may not be used. In this case, the
flagged member must replace the current member.
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-57
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.
+--- FLAG Command -----------------------------------------------------------+
¦
¦
¦
+-CurrDDIO=CURRENT-+
¦
¦ >>--FLAG-+-CurrDDIO=ddname--+-,-+-----------------+,-->
¦
¦
+-BaseDDIO=ddname-+
¦
¦
¦
¦ >---+--------------------+-,-+------------------+,-->
¦
¦
+-FlaggedDDIO=ddname-+
+-Program=xxxxxxx*-+
¦
¦
¦
¦ >---+-----------------+-,-+----------------+,-->
¦
¦
+-BASENUMBER=nnnn-+
+-CuRrNumber=nnn-+
¦
¦
¦
¦
+-CONTINUE=YES-+
¦
¦ >---ID=(string,column-number),-+--------------+,-->
¦
¦
+-CONTINUE=NO--+
¦
¦
¦
¦
+-EXEC=RUN------+
¦
¦ >---+---------------+--><
¦
¦
+-EXEC=SIMULATE-+
¦
+----------------------------------------------------------------------------+
For a description of the parameters, see “Command Parameters for all DDIO files” on
page 8-8.
8-58
Compuware Shared Services User/Reference Guide
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 Command
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-59
FORMAT Command Syntax
The following diagram illustrates the syntax for the FORMAT command.
+--- FORMAT Command ---------------------------------------------------------+
¦
¦
¦
+-ReptCount=100---+
¦
¦ >>--FORMAT-+-------------------------------+-,-+-----------------+,->
¦
¦
+-TYPE=SOURCE-------------------¦
+-ReptCount=nnnnn-+
¦
¦
+-TYPE=CICS,-+----------------+-+
¦
¦
+-SUBTYPE=FX-----+
¦
¦
¦
¦
¦
¦
+-GroupCount=2----+
+-Indd=ABNLDFIL-+
¦
¦ >--+-----------------+-,-+---------------+,-->
¦
¦
+-GroupCount=nnnn-+
+-Indd=ddname---+
¦
¦
+-INDSN=dsn-----+
¦
¦
¦
¦
+-AutoDelete=YES----+
+-BLKsize=27998--+
¦
¦ >--+-------------------+-,-+----------------+,-->
¦
¦
+-AutoDelete=DUPS---¦
+-BLKsize=nnnnn--+
¦
¦
+-AutoDelete=STAGED-¦
¦
¦
+-AutoDelete=NO-----+
¦
¦
¦
¦
+-MULTIVOLUME=NO--+ (1)
+-EXTENTS=460--+
+-INDEX=EXT-+ (2)
¦
¦ >--+-----------------+,------+--------------+-,-+-----------+---><
¦
¦
+-MULTIVOLUME=YES-+
+-EXTENTS=nnn--+
¦
+----------------------------------------------------------------------------+
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.
Note:
If the access method is VSAM, then you must specify DISP=SHR for the TODSN
DD statement in your JCL.
8-60
Compuware Shared Services User/Reference Guide
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.
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.
+--- IMPORT Command --------------------------------------------------+
¦
¦
¦
+-FROMDD=ABNLFROM------------------+
¦
¦ >>--IMPORT--+----------------------------------+,-->
¦
¦
+-FROMDD=ddname--------------------¦
¦
¦
+-FROMDSN=dsn,-+----------------+--+
¦
¦
+-FROMVOL=volser-+
¦
¦
¦
¦
+-TODD=ABNLTO------------------+
¦
¦ >--+------------------------------+-,-+-----------------+,-->
¦
¦
+-TODD=ddname------------------¦
+-ReptNumber=xxxx-+
¦
¦
+-TODSN=dsn,-+--------------+--+
¦
¦
+-TOVOL=volser-+
¦
¦
¦
¦ >--+------------------+,-->
¦
¦
+-Program=xxxxxxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-¦
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
+-DUPS=LATEST---+
¦
¦
¦
¦
+-CONTINUE=YES-+
+-LABEL=1--+
¦
¦ >--+--------------+-,-+----------+-->
¦
¦
+-CONTINUE=NO--+
+-LABEL=nn-+
¦
¦
¦
¦
+-EXEC=SUMMARY-+
¦
¦ >--+--------------+--><
¦
¦
+-EXEC=CHECK---+
¦
¦
+-EXEC=RUN-----+
¦
+---------------------------------------------------------------------+
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
CXLPIMPO for sample JCL for the IMPORT command.
Example
Restore all entries from a sequential file to a Source Listing Database.
Batch File Utility CWDDALLU
8-61
IMPORT FROMDSN=COMPWARE.LP.DB01,
TODSN=COMPWARE.LP.SOURCE.LISTING.LPDB01
Import- Abend-AID
The following diagram illustrates the syntax for the IMPORT command.
+--- IMPORT Command ---------------------------------------------------------+
¦
¦
¦
+-FROMDD=ABNLFROM------------------+
¦
¦ >>--IMPORT--+----------------------------------+,-->
¦
¦
+-FROMDD=ddname--------------------¦
¦
¦
+-FROMDSN=dsn,-+----------------+--+
¦
¦
+-FROMVOL=volser-+
¦
¦
¦
¦
+-TODD=ABNLTO------------------+
¦
¦ >--+------------------------------+-,-+-----------------------+,-->
¦
¦
+-TODD=ddname------------------¦
+-ReptNumber=xxxxxxxxxx-+
¦
¦
+-TODSN=dsn,-+--------------+--+
¦
¦
+-TOVOL=volser-+
¦
¦
¦
¦ >--+------------------+-,-+------------+,-->
¦
¦
+-JOBNAME=xxxxxxx*-+
+-ABEND=xxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦
+-CONTINUE=YES-+
+-LABEL=1--+
¦
¦ >--+--------------+-,-+----------+-->
¦
¦
+-CONTINUE=NO--+
+-LABEL=nn-+
¦
¦
¦
¦
+-EXEC=SUMMARY-+
¦
¦ >--+--------------+--><
¦
¦
+-EXEC=CHECK---+
¦
¦
+-EXEC=RUN-----+
¦
+----------------------------------------------------------------------------+
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.
IMPORT FROMDSN=COMPWARE.AA.DB01,
TODSN=COMPWARE.AA.RPT02
8-62
Compuware Shared Services User/Reference Guide
Import - Abend-AID for CICS
The following diagram illustrates the syntax for the IMPORT command.
+--- IMPORT Command ---------------------------------------------------------+
¦
¦
¦
+-FROMDD=ABNLFROM------------------+
¦
¦ >>--IMPORT--+----------------------------------+,-->
¦
¦
+-FROMDD=ddname--------------------¦
¦
¦
+-FROMDSN=dsn,-+----------------+--+
¦
¦
+-FROMVOL=volser-+
¦
¦
¦
¦
+-TODD=ABNLTO------------------+
¦
¦ >--+------------------------------+-,-+-----------------------+,-->
¦
¦
+-TODD=ddname------------------¦
+-ReptNumber=xxxxxxxxxx-+
¦
¦
+-TODSN=dsn,-+--------------+--+
¦
¦
+-TOVOL=volser-+
¦
¦
¦
¦ >--+-----------+-,-+---------------+,-->
¦
¦
+-Tran=xxx*-+
+-CicsCode=xxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦
+-CONTINUE=YES-+
+-LABEL=1--+
¦
¦ >--+--------------+-,-+----------+--><
¦
¦
+-CONTINUE=NO--+
+-LABEL=nn-+
¦
+----------------------------------------------------------------------------+
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-63
Lock - Source Listing
The following diagram illustrates the syntax for the LOCK command.
+--- LOCK Command -----------------------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--LOCK--+---------------------------+--><
¦
¦
+-DDName=ddname-------------+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
¦
¦
¦ >--+-----------------+-,-+------------------+,-->
¦
¦
+-ReptNumber=xxxx-+
+-Program=xxxxxxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+--><
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-¦
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
+-DUPS=LATEST---+
¦
+----------------------------------------------------------------------------+
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-64
Compuware Shared Services User/Reference Guide
Lock - Abend-AID
The following diagram illustrates the syntax for the LOCK command.
+--- LOCK Command -------------------------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--LOCK--+---------------------------+--><
¦
¦
+-DDName=ddname-------------+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
¦
¦
¦ >--+-----------------------+-,-+------------------+-,-+------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
+-JOBNAME=xxxxxxx*-+
+-ABEND=xxx*-+
¦
¦
¦
¦ >--+-----------------+,-->
¦
¦
+-JESID=xxxxxxx*--+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+-,-+-----------+-><¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
+-TYPE=AA---+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
+-TYPE=CICS-+
¦
+------------------------------------------------------------------------------+
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-65
Lock - Abend-AID for CICS
The following diagram illustrates the syntax for the LOCK command.
+--- LOCK Command -------------------------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--LOCK--+---------------------------+--><
¦
¦
+-DDName=ddname-------------+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
¦
¦
¦ >--+-----------------------+-,-+-----------+-,-+---------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
+-Tran=xxx*-+
+-CicsCode=xxx*-+
¦
¦
¦
¦ >--+-----------------+,-->
¦
¦
+-APPLID=xxxxxxx*-¦
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+-,-+-----------+-><¦
¦
+-DUPS=LOCKED---+
+-INC=NO---+
+-NOTFOUND=IGNORE--+
+-TYPE=AA---+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
+-TYPE=CICS-+
¦
+------------------------------------------------------------------------------+
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.
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.
8-66
Compuware Shared Services User/Reference Guide
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.
+--- MOVE Command -----------------------------------------------------------+
¦
¦
¦
+-TODD=ABNLTO------------------+
¦
¦ >>--MOVE---+------------------------------+,-->
¦
¦
+-TODD=ddname------------------¦
¦
¦
+-TODSN=dsn,-+--------------+--+
¦
¦
+-TOVOL=volser-+
¦
¦
¦
¦
+-FROMDD=ABNLFROM------------------+
¦
¦ >----------+----------------------------------+,-->
¦
¦
+-FROMDD=ddname--------------------¦
¦
¦
+-FROMDSN=dsn,-+----------------+--+
¦
¦
+-FROMVOL=volser-+
¦
¦
¦
¦
+-RETAINRN=NO--+
¦
¦ >--+--------------+-,-+-----------------+-,-+------------------+,-->
¦
¦
+-RETAINRN=YES-+
+-ReptNumber=xxxx-+
+-Program=xxxxxxx*-+
¦
¦
¦
¦ >--+--------------+-,-+----------------------------------------------+,--> ¦
¦
+-SORT=sortkey-+
+-DAYSOLD=nnn----------------------------------¦
¦
¦
+-MONTHSOLD=nnn--------------------------------¦
¦
¦
+-YEARSOLD=nnn---------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+-+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-¦
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
+-DUPS=LATEST---+
¦
¦
¦
¦
+-CONTINUE=YES-+
+-EXEC=SUMMARY-+
¦
¦ >--+--------------+-,--+--------------+--><
¦
¦
+-CONTINUE=NO--+
+-EXEC=CHECK---+
¦
¦
+-EXEC=SUMMARY-+
+-EXEC=RUN-----+
¦
¦
¦
+----------------------------------------------------------------------------+
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.
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
Batch File Utility CWDDALLU
8-67
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.
+--- MOVE Command -----------------------------------------------------------+
¦
¦
¦
+-TODD=ABNLTO------------------+
¦
¦ >>--MOVE--+------------------------------+,-->
¦
¦
+-TODD=ddname------------------¦
¦
¦
+-TODSN=dsn,-+-----------------+
¦
¦
+-TOVOL=volser-+
¦
¦
¦
¦
¦
¦
+-FROMDD=ABNLFROM------------------+
+-RETAINRN=NO--+
¦
¦ >--+----------------------------------+-,-+--------------+,-->
¦
¦
+-FROMDD=ddname--------------------¦
+-RETAINRN=YES-+
¦
¦
+-FROMDSN=dsn,-+----------------+--+
¦
¦
+-FROMVOL=volser-+
¦
¦
¦
¦ >--+-----------------------+-,-+------------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
+-JOBNAME=xxxxxxx*-+
¦
¦
¦
¦ >--+----------------+-,-+------------+-,-+--------------+,-->
¦
¦
+-JESID=xxxxxxx*-+
+-ABEND=xxx*-+
+-SORT=sortkey-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-CONTINUE=YES-+
¦
¦ >--+---------------+-,-+----------+-,-+--------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-CONTINUE=NO--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
¦
¦
¦
¦
+-NOTFOUND=ERROR---+
+-EXEC=SUMMARY-+
¦
¦ >--+------------------+-,-+-----------+-,-+--------------+--><
¦
¦
+-NOTFOUND=IGNORE--+
+-TYPE=AA---+
+-EXEC=CHECK---+
¦
¦
+-NOTFOUND=WARNING-+
+-TYPE=CICS-+
+-EXEC=RUN-----+
¦
+----------------------------------------------------------------------------+
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.
8-68
Compuware Shared Services User/Reference Guide
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
Move - Abend-AID for CICS
The following diagram illustrates the syntax for the MOVE command.
+--- MOVE Command -----------------------------------------------------------+
¦
¦
¦
+-TODD=ABNLTO------------------+
¦
¦ >>--MOVE--+------------------------------+,-->
¦
¦
+-TODD=ddname------------------¦
¦
¦
+-TODSN=dsn,-+-----------------+
¦
¦
+-TOVOL=volser-+
¦
¦
¦
¦
¦
¦
+-FROMDD=ABNLFROM------------------+
+-RETAINRN=NO--+
¦
¦ >--+----------------------------------+-,-+--------------+,-->
¦
¦
+-FROMDD=ddname--------------------¦
+-RETAINRN=YES-+
¦
¦
+-FROMDSN=dsn,-+----------------+--+
¦
¦
+-FROMVOL=volser-+
¦
¦
¦
¦ >--+-----------------------+-,-+-----------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
+-Tran=xxx*-+
¦
¦
¦
¦ >--+-----------------+-,-+---------------+-,-+--------------+,-->
¦
¦
+-APPLID=xxxxxxx*-¦
+-CicsCode=xxx*-+
+-SORT=sortkey-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-CONTINUE=YES-+
¦
¦ >--+---------------+-,-+----------+-,-+--------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-CONTINUE=NO--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
¦
¦
¦
¦
+-NOTFOUND=ERROR---+
¦
¦ >--+------------------+-,-+-----------+-><
¦
¦
+-NOTFOUND=IGNORE--+
+-TYPE=AA---+
¦
¦
+-NOTFOUND=WARNING-+
+-TYPE=CICS-+
¦
+----------------------------------------------------------------------------+
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.
Batch File Utility CWDDALLU
8-69
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
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.
8-70
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the PRINT command.
+--- PRINT Command ----------------------------------------------------------+
¦
¦
¦ >>--Print-+-----------------------+-,-+------------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
+-Program=xxxxxxx*-¦
¦
¦
+-Jobname=xxxxxxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
¦
¦ >--+---------------+-,-+----------+-,-+---------------+,-->
¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-SORT=sortkey--+
¦
¦
+-DUPS=UNLOCKED-¦
+-INC=ONLY-+
¦
¦
+-DUPS=LATEST---+
¦
¦
¦
¦
+-SEEFLAGS=YES-+
+-Indd=ABNLDFIL-+
¦
¦ >--+--------------+-,--+---------------+-,-+--------------+,-->
¦
¦
+-SEEFLAGS=NO--+
+-Indd=ddname---+
+-Outdd=ddname-+
¦
¦
+-INDSN=dsn-----+
¦
¦
+-DSN=dsn-------+
¦
¦
+-DIRDSN=dsn----+
¦
¦
+-DIRDD=ddname--+
¦
¦
+-DDName=ddname-+
¦
¦
¦
¦
+-LINesize=S-+
+-SECTion=opt-----------+
¦
¦ >--+-----------------+-,-+------------+-,-+-----------------------+-,-->
¦
¦
+-SLSDD=ddname----+
+-LINesize=L-+
+-SECTion=opt1,..,optn)-+
¦
¦
¦
¦
+-PageSize=60-+
+-LANGuage=ENGLISH-+
+-NOTFOUND=ERROR---+
¦
¦ > -+-------------+-,-+------------------+-,-+------------------+--><
¦
¦
+-PageSize=nn-+
+-LANGuage=USAMIX--¦
+-NOTFOUND=IGNORE--+
¦
¦
+-LANGuage=USAUC---+
+-NOTFOUND=WARNING-+
¦
+----------------------------------------------------------------------------+
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.
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.
Batch File Utility CWDDALLU
8-71
The following diagram illustrates the syntax for the PRINT command with
OBJECT=DBMODEL.
+--- PRINT Command ----------------------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--Print-+-OBJect=DBMODEL,--+---------------------------+
¦
¦
+-DDName=ddname-------------+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
+----------------------------------------------------------------------------+
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.
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
8-72
Compuware Shared Services User/Reference Guide
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.
+--- REFRESH Command --------------------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--REFRESH--+---------------------------+
¦
¦
+-DDName=ddname-------------+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
¦
¦
¦ >--+----------------+-,-+-----------+-,-+-----------+--><
¦
¦
+-AutoLockMAX=nn-+
+-DUPMAX=nn-+
+-EXEC=CHECK-+
¦
+----------------------------------------------------------------------------+
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.
+--- RESET Command ----------------------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL--------------+
¦
¦ >>--RESET---+------------------------------+,--><
¦
¦
+-DDName=ddname----------------¦
¦
¦
+-DSN=dsn,-+----------------+--+
¦
¦
+-VOLser=volser-+
¦
+----------------------------------------------------------------------------+
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.
Batch File Utility CWDDALLU
8-73
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.
+--- SCRATCH Command --------------------------------------------------------+
¦
¦
¦ >>--SCRATCH-+-DIRDD=ddname-+-,-+-DSN=dsn-+---><
¦
¦
+-DIRDSN=dsn---+
¦
+----------------------------------------------------------------------------+
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.
+--- TEST Command --------------------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--TEST-+-OBJect=DBMODEL,--+---------------------------+
¦
¦
+-DDName=ddname-------------+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
+-------------------------------------------------------------------------+
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-74
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.
+--- UNCONVERT Command ------------------------------------------------------+
¦
¦
¦
+-DDName=ABNLDFIL--+
¦
¦ >>--UNCoNVerT--+-DIRDD=ddname-+-,-+------------------+--><
¦
¦
+-DIRDSN=dsn---+
+-DDName=ddname----+
¦
¦
+-DSN=dsn----------+
¦
¦
+-VOLser=volser-+
¦
+----------------------------------------------------------------------------+
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
Batch File Utility CWDDALLU
8-75
database has been formatted with AUTODELETE=YES or AUTODELETE=DUPS. At least
one selective parameter must be specified.
Unlock - Source Listing
The following diagram illustrates the syntax for the UNLOCK command.
+--- UNLOCK Command --------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--UNLOCK---+---------------------------+,-->
¦
¦
+-DDName=ddname-------------+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
¦
¦
¦ >--+-----------------+-,-+------------------+,-->
¦
¦
+-ReptNumber=xxxx-+
+-Program=xxxxxxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+--><¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-¦
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
+-DUPS=LATEST---+
¦
+-------------------------------------------------------------- +
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-76
Compuware Shared Services User/Reference Guide
Unlock - Abend-AID
The following diagram illustrates the syntax for the UNLOCK command.
+--- UNLOCK Command -------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--UNLOCK---+---------------------------+,-->
¦
¦
+-DDName=ddname-------------+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
¦
¦
¦ >--+-----------------------+-,-+------------------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
+-JOBNAME=xxxxxxx*-+
¦
¦
¦
¦ >--+------------+-,-+----------------+,-->
¦
¦
+-ABEND=xxx*-+
+-JESID=xxxxxxx*-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR--+
¦
¦ >--+---------------+-,-+----------+-,-+-----------------+--><¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE-+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
¦
¦
¦
¦
¦
¦ >--+-----------+-><
¦
¦
+-TYPE=AA---+
¦
¦
+-TYPE=CICS-+
¦
+--------------------------------------------------------------+
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-77
Unlock - Abend-AID for CICS
The following diagram illustrates the syntax for the UNLOCK command.
+--- UNLOCK Command --------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--UNLOCK---+---------------------------+,-->
¦
¦
+-DDName=ddname-------------+
¦
¦
+-DSN=dsn-------------------+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
¦
¦
¦ >--+-----------------------+-,-+-----------+,-->
¦
¦
+-ReptNumber=xxxxxxxxxx-+
+-Tran=xxx*-+
¦
¦
¦
¦ >--+---------------+-,-+-----------------+,-->
¦
¦
+-CicsCode=xxx*-+
+-APPLID=xxxxxxx*-¦
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
+-DAYSOLD=nnn-----------------------------------¦
¦
¦
+-MONTHSOLD=nnn---------------------------------¦
¦
¦
+-YEARSOLD=nnn----------------------------------¦
¦
¦
+-StartDATE=mm/dd/yyyy,-+--------------------+--+
¦
¦
+-EndDATE=mm/dd/yyyy-+
¦
¦
¦
¦ >--+-----------------------------------------------+,-->
¦
¦
¦
+-EndTIME=24:00:00---+ ¦
¦
¦
+-StartTIME=hh:mm[:ss],-+--------------------+--+
¦
¦
+-EndTIME=hh:mm[:ss]-+
¦
¦
¦
¦
+-DUPS=ALL------+
+-INC=YES--+
+-NOTFOUND=ERROR---+
¦
¦ >--+---------------+-,-+----------+-,-+------------------+--><¦
¦
+-DUPS=LOCKED---¦
+-INC=NO---¦
+-NOTFOUND=IGNORE--+
¦
¦
+-DUPS=UNLOCKED-+
+-INC=ONLY-+
+-NOTFOUND=WARNING-+
¦
¦
¦
¦ >--+-----------+-><
¦
¦
+-TYPE=AA---+
¦
¦
+-TYPE=CICS-+
¦
+---------------------------------------------------------------+
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-78
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the VERIFY command.
+--- VERIFY Command --------------------------------------------+
¦
¦
¦
+-DDNAME=ABNLDFIL-----------+
¦
¦ >>--VERIFY---+---------------------------+-,-+-----------+->< ¦
¦
+-DDName=ddname-------------+
+-TYPE=AA---+
¦
¦
+-DSN=dsn-------------------+
+-TYPE=CICS-+
¦
¦
+-VOLser=volser---+
¦
¦
+-DIRDD=ddname--------------+
¦
¦
+-DIRDSN=dsn----------------+
¦
¦
+-VOLser=volser---+
¦
+---------------------------------------------------------------+
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.
Compuware Viewing Facility
Chap 9
The Compuware Viewing Facility (Compuware/VF) is primarily intended for Abend-AID
11.01.00 and prior users. It lets you view, print, lock, unlock, and delete members in
DDIO files online. If you are an Abend-AID user and have Distributed Viewing Support
available at your site, you can view reports located on a different or remote MVS system.
While viewing an Abend-AID report, you can directly access any available section of the
report, access Compuware File-AID, or associate contact information with a particular
job.
Note:
See the ECC Installation and Customization Guide for complete installation
requirements for Compuware/VF.
The following points are important to note:
• Beginning with Abend-AID 11.02.00, the Compuware/VF can no longer be used
to display Abend-AID Reports. The Abend-AID Viewer is the only viewer capable of
viewing reports created by Abend-AID 11.02.00 and higher. The Compuware/VF can
still view reports created by Abend-AID 11.01.00 and earlier. Compuware/VF support
will be continued in CSS 08.06.00 and above until further notice.
• The CSS Online Utilities (accessible from the Compuware/VF) will continue to be
used to create, delete, and maintain Shared Directories and Databases for Abend-AID
and Abend-AID for CICS. Support for Source Shared Directories and Databases is
unaffected by these changes.
• When viewing an Abend-AID report, you should use a CSS release that is the same as
or more current than the CSS release that was used to write the report or source
listing. Using an older CSS release at view-time may cause unpredictable results.
• The current Abend-AID load and customization libraries must be available in the link
list through your TSO logon PROC or CLIST, or dynamically allocated when you
invoke the Viewing Facility. This will prevent text merge and CWROUTE errors
during view-time. Refer to the chapter entitled “CSS Customization” in the ECC
Installation and Customization Guide for additional information.
• Compuware/VF cannot be used to view Abend-AID for CICS Transaction Reports.
• When using the CSS Online Utilities to create a transaction database for use with
Abend-AID for CICS, the Abend-AID for CICS load library (SKFXLOAD) needs to be
available.
• To get help at any point while using Compuware/VF, press PF1.
Abend-AID Primary Menu
After invoking Compuware/VF, the Abend-AID Primary Menu appears (Figure 9-1).
9-2
Compuware Shared Services User/Reference Guide
Figure 9-1. Abend-AID Primary Menu
------------------------ Abend-AID Primary Menu ------------------- CSS
OPTION ===>
V9.0.0
1
2
3
4
5
VIEW
CREATEJCL
SOURCE
AAREPORT
CONTACTS
-
View Abend-AID Reports or Source listings
Create JCL to invoke Compuware Language Processor(LP)
Create/Format Source Listing files(s)/SHRDIR/Database(s)
Create/Format Abend-AID Report file(s)/SHRDIR/DB(s)
Update Contact Information
N
L
D
C
NEWS
LP
DDIO
LEGAL
-
Read about what's new in Abend-AID 12.3
Learn about Compuware Language Processor
Learn about Source Listing and Report DDIO files
Display Full Copyright/Trade Secrets Notice
Copyright (c) 2013, Compuware Corporation. All rights Reserved.
Unpublished - rights reserved under the Copyright Laws of the United
States.
(800) 538-7822
Compuware Shared Services
Press ENTER to process or enter END command to terminate
To choose an option, enter the corresponding letter or number at the OPTION prompt, or
just press Enter to select the default option, View. The primary menu options are:
Table 9-1.
Abend-AID Primary Menu Options
Menu Option Does This
For More Information
VIEW
Displays the Compuware/VF Entry Panel
See “Compuware/VF Entry Panel”
(Figure 9-2)
CREATEJCL
Creates JCL to run the Compuware
preprocessors or postprocessors.
See “CREATEJCL - Preparing Compiler
Listings for the LP” on page 3-4
SOURCE
Creates, views, and manipulates source listing
files.
See “SOURCE - Working with Source
Listing Files” on page 3-19
AAREPORT
Creates, views, and manipulates Abend-AID
report files.
See “AAREPORT - Working with AbendAID Report Files” on page 3-50
CONTACTS
Associates contact information (for example,
See “Working with Contact
the phone number and e-mail address of an off- Information” on page 9-9
duty systems programmer) with a particular job
name. When an abend occurs, users can display
the contact information list, scan for a
particular job name, and display the
corresponding contact information.
NEWS
Placeholder to display information about the
latest Abend-AID release.
N/A
With CSS 8.6 and higher, news about AbendAID is only provided in the Abend-AID Viewer.
LP
Displays an introduction to the Compuware.
N/A
DDIO
Displays an overview of source listing and
Abend-AID report files.
N/A
LEGAL
Displays the full Compuware copyright and
trade secret notice.
N/A
Compuware/VF Entry Panel
Selecting VIEW on the Abend-AID primary menu displays the Compuware/VF Entry
Panel. If you are an Abend-AID user the screen in Figure 9-2 is displayed.
Compuware Viewing Facility
9-3
Here you specify the datasets you want to use. For datasets on remote MVS images, you
also specify the Abend-AID server identifications that you need for Distributed Viewing
Support. You can also set processing options.
Figure 9-2. Compuware/VF Entry Panel
COMPUWARE/VF ENTRY PANEL --------- COPYRIGHT COMPUWARE CORPORATION 2013.
Command ===>
Dataset choice . 0
(Select 0 - 8, from below, or C for Contact Data)
Member . . . . . ________ (MVS:jobname, SOURCE:program, or member*)
(Use the LNAME command to enter a Long Program Name)
Remote
Abend-AID Shared Directory or Report File:
Volume Server
0 'AA.REPORTS'
Source Directory or Listing Files:
1 'AA.LISTING'
2
3
4
5
6
7
8
Processing options:
Source browsing options:
Confirm delete . . YES
(Yes or no)
Unit . . . . . VIO
Show print setup . YES
(Yes or no)
Blocking . . . 10
Show source warning YES
(Yes or no, used only for Abend-AID)
Language . . . . . ENGLISH
Local Server SSID .
(Required for Viewing Remote DDIO files)
Entry Panel Fields
The following sections discuss possible ways to complete each field on the Entry Panel.
Your input is saved for future sessions.
Command Prompt
Enter one of the following:
– Valid TSO command
– CSSUTIL command to invoke CSS Utilities
– LNAME command to enter a long program name or long wildcard names to be
used for member search. See “Member” on page 9-4.
Note:
See Chapter 3, “CSS Utilities” for a complete description of CSS Utilities.
Dataset Choice
Enter the number corresponding to a dataset listed in the Abend-AID Shared
Directory or Report File, or Source Directory or Listing Files section of this screen. Or
enter C for contact information.
Enter one of the following based on the type of output you desire:
– To view merged report and source information, enter 0 in the Dataset choice
field.
– To view only a Source Listing File, enter 1 through 8 in the Dataset choice field.
– To view only a Source Listing File that is not currently available in the list, enter
a number that is not currently being used (for example, in Figure 9-2 numbers 2
through 8 are not used). When you enter a number not currently being used, you
must also enter the dataset name to the right of the corresponding number in the
list.
9-4
Compuware Shared Services User/Reference Guide
Notes:
1. If a dataset number is not specified, 0 will be used.
2. When you press Enter after completing the remaining fields on the
Compuware/VF Entry Panel, the Dataset Directory screen is displayed. For a
description of this screen, see “Dataset Directory Screen” on page 9-10.
– To display contact information, enter C in the Dataset choice field.
The Contact Information feature allows you to associate contact information (for
example, the phone number and e-mail address of the off-duty systems
programmer) with a particular job name. If a job abends, users may search the
contact information list to determine who to inform about the abend. For
instructions on adding, editing, and viewing contact information, see “Working
with Contact Information” on page 9-9.
Member
Specify the member name or group of member names of the file selected via your
entry in the Dataset Choice field. Enter one of the following:
blank
Lists all members of the dataset choice above.
job name or
Lists all members in the file associated with the job name (for
program name Abend-AID reports) or program name (for source listings). If the
programname is in mixed case, you must enter it exactly as is or
none of those members will be listed.
Member*
Lists all members in the file with the job or program names
beginning with the characters specified before the wildcard
character ‘*’. If the programname contains mixed case before the
wildcard character, only the members that match that segment
exactly will be listed.
To enter a program name or wildcard longer than eight characters,
you must use the LNAME command instead. The LNAME
command is described in “Command Prompt” on page 9-3.
Abend-AID Shared Directory or Report File
To work with Abend-AID reports, enter the name of the Abend-AID report shared
directory, report database, or report file. The dataset entered in this field
(corresponding to Dataset choice 0) is the primary dataset. If the high-level qualifier
of the dataset name is your TSO ID (prefix), begin with the next qualifier. Otherwise,
enclose the dataset name in single quotation marks.
Source Directory or Listing Files
Enter the name of one or more source listing file(s) containing the output of the
Compuware COBOL, PL/I, Assembler, or C language processor. If the high-level
qualifier of the dataset name(s) is your TSO ID (prefix), begin with the next qualifier.
Otherwise, enclose the dataset name(s) in single quotation marks.
This area lists up to eight source directory or listing files on lines 1 - 8. To view one of
the listed source files, the number appearing to the left of the source file name (the
line number) must be entered in the Dataset choice field.
The number on the line determines the order in which the datasets are searched.
Blank lines can occur anywhere in the list.
Source Listing Database and Shared Directory source files can be entered in this list
also.
Volume
If the DDIO file is not cataloged, or the catalog is not available, enter the serial
number of the DASD volume containing the DDIO file.
Compuware Viewing Facility
9-5
Remote Server
If a dataset is located on a remote MVS system, identify the Abend-AID server on that
system. Both the local and remote Abend-AID servers must be configured for
Distributed Viewing Support.
Processing Options
Use these options to specify the format of the output, and to display or suppress certain
information.
Confirm delete
Specify whether to display a Confirm Delete screen before completing a delete
request for the DDIO file. Valid entries are:
– YES - (Default) Display a Confirm Delete screen before completing a delete
request.
– NO - Complete a delete request without displaying a Confirm Delete screen.
Show print setup
For hardcopy print requests, the print options determine the line size, page size,
SYSOUT class, destination, route, and the maximum number of pages to be printed.
You can choose to display a screen listing these options prior to printing a DDIO
file’s members allowing you to change the options as needed. Valid entries for this
field are:
– YES - (Default) Display the print options prior to printing.
– NO - Do not display the print options. The currently defined options will be
used.
Refer to “Hardcopy Options Screen” on page 9-21 for additional information.
Show source warning
Specify whether to display warning screens when the compile date, time, and
language of the program in the Abend-AID report does not match a source listing in
the source listing file. Valid entries are:
– YES - (Default) Display warning screens.
– NO - Do not display warning screens.
Note:
If this field is set to NO and you have a mismatched source, the most
recent available source listing will be selected. If this field is set to NO,
and the source listing is not found, the basic Abend-AID report will be
displayed.
Language
Specify the language and letter case (either uppercase or mixed-case) that you want
to use for the Abend-AID report text. Valid entries are:
ENGLISH - (Default) Mixed-case English
JAPANESE - Japanese language support for terminals that support DBCS
USAMIX - Mixed-case English (same as ENGLISH)
USAUC - Uppercase English (select if your terminal does not support mixed case)
Note:
If you will use the hardcopy facility to print Abend-AID reports, see “Line
Commands” on page 9-20.
9-6
Compuware Shared Services User/Reference Guide
Local Server SSID
When using Distributed Viewing Support, this field is displayed for you to identify
the server on the local MVS system. Both the local and remote Abend-AID servers
must be configured for Distributed Viewing Support. Server IDs are assigned when
the servers are configured for Distributed Viewing Support. This field is required to
view a dataset on a remote server.
Source Browsing Options
These options create a temporary file that is used when browsing a source listing. The
browse options use your system resources more efficiently.
Unit
Enter the type of device where the temporary file will be allocated when browsing a
source listing. It can be any valid physical address, device type, generic name, or VIO.
For example, use 2BF, 3380, SYSDA, or VIO. Recommended entries are VIO (if sitesupported) or SYSDA.
Blocking
Enter the number of records in each block of the temporary file. A larger number may
improve response time. If the number is too large, then the blocking factor is
automatically changed to the maximum allowed for the specified device.
If you want Abend-AID to calculate the most efficient blocking for you, enter 9999.
Abend-AID sets the blocking after you view a source listing.
Alternate Logon
If you entered specifications at the Entry Panel for access to a remote MVS system, the
Compuware/VF displays the Alternate Logon screen. Here you log on to the Abend-AID
server on that system.
Figure 9-3. Alternate Logon
------------------------- COMPUWARE/VF ALTERNATE LOGON ----------------------Command ===>
Logon attempt to AASRV01 requires a USERID/PASSWORD. Please
supply an alternate userid/password to complete access requirement
for DDIO file: AA.R900.CXR706.RPTFILE
Alternate USERID: REMOTEID
PASSWORD:
<== USERID on remote system
Alternate USERID, PASSWORD
Enter your ID and password to access the remote Abend-AID server.
Viewing the Release Level
You can view the CSS release level in use at your site by examining the upper right corner
of the Abend-AID Primary Menu.
Compuware Viewing Facility
9-7
Parameters Required for Viewing Different Types of DDIO Files
The parameters required for viewing DDIO files will vary according to the type of DDIO
file. Type the report shared directory file name in the Abend-AID Shared Directory or
Report File field, if applicable. Type the source directory or listing file name(s) in the
Source Directory or Listing Files field, if applicable.
To view Abend-AID Shared Directory or Report File with or without source support:
• Type 0 or a blank character in the Dataset choice field.
To view source listings:
• In the Dataset choice field, type a number (1 - 8).
• Specify the Source browsing options.
Creating JCL for LP Preprocessing and Postprocessing
Selecting CREATEJCL on the Abend-AID primary menu displays the CSS Utilities CREATEJCL Menu (Figure 9-4). Options on this menu enable you to create and analyze a
compiler listing and store the results of the analysis in a source listing DDIO file.
Figure 9-4. 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
-----
V9.0.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
The CREATEJCL menu options are discussed in detail in Chapter 3, “CSS Utilities”. Please
see “CREATEJCL - Preparing Compiler Listings for the LP” on page 3-4 for a complete
description of these features.
Creating and Formatting Source Listing Files
Selecting SOURCE on the Abend-AID primary menu displays the CSS Utilities - Source
Listing File Facility screen (Figure 9-5). Options on this screen enable you to create new
source listing files, manipulate existing source listing files (for example: COPY, MOVE,
EXPORT, IMPORT members), display file information, and delete files.
9-8
Compuware Shared Services User/Reference Guide
Figure 9-5. CSS Utilities - Source Listing File Facility
---------- CSS UTILITIES - Source Listing File Facility -------- CSS V9.0.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)
The Source Listing File Facility is discussed in detail in Chapter 3, “CSS Utilities”. See
“SOURCE - Working with Source Listing Files” on page 3-19 for a complete description of
these features.
Creating and Formatting Abend-AID Report Files
Selecting AAREPORT on the Abend-AID Primary Menu (Figure 9-1 on page 9-2) displays
the CSS Utilities - Abend-AID Report File Facility (Figure 9-6). Options on this screen
enable you to create new Abend-AID report files, manipulate existing Abend-AID report
files (for example: COPY, MOVE, EXPORT, IMPORT members), display file information,
and delete files.
Figure 9-6. CSS Utilities - Abend-AID Report File Facility
-------------- CSS UTILITIES - Abend-AID Report File Facility ----- V9.0.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'
Compuware Viewing Facility
9-9
The Abend-AID report file facility is discussed in detail in Chapter 3, “CSS Utilities”.
Please see “AAREPORT - Working with Abend-AID Report Files” on page 3-50 for a
complete description of these features.
Working with Contact Information
The Compuware/VF contact information feature enables you to associate contact
information (for example, the phone number and e-mail address of an off-duty systems
programmer) with a particular job name. When an abend occurs, users can display the
contact information list, scan for a particular job name, and display the corresponding
contact information.
Note:
If the contact information dataset has not been created by the systems
programmer at your site, you will receive the error message “REGISTRATION
FAILURE” when you attempt to use contact information. Refer to the Enterprise
Common Components Installation and Customization Guide, Step 6 in the “CSS
Customization” chapter for instructions on how to associate a Contact
Information file with the Compuware/VF.
Maintaining Contact Data
To create, edit, and delete contact information, enter C at the Compuware/VF Entry
Panel (Figure 9-7). The contact information file appears displaying all current contact
entries.
Figure 9-7. Contact Information Entries
COMPUWARE/VF ------------’CX.CINFO’ -------------------------- Row 1 to 2 of 2
COMMAND INPUT ===>
SCROLL ===> PAGE
C - View Contact Information
JOBNAME
ABEND CODE
D - Delete
DESC
I - Insert
U - Update
Contact
AA700MXT S0C4
PHILIPS
Duty Programmer
CWX0101F S0C1
BROWN
Maintenance Staff
******************************* Bottom of data ********************************
The following line commands are available on this screen:
Table 9-2.
Line Commands on Contact Information Screen
Enter
To
C
View the contact entry
D
Delete the contact entry
I
Insert (add) a new contact entry
U
Update a contact entry
If you enter the I or U line commands, a series of fields appear for you to complete or edit
(Figure 9-8). You must complete the Jobname, Abend Code, and Desc fields. The
remaining fields are optional. You may enter an asterisk (*) in the required fields to
denote a wildcard.
9-10
Compuware Shared Services User/Reference Guide
Figure 9-8. Inserting or Updating a Contact Entry
COMPUWARE/VF ------------'CX.CINFO' -----------------------------------------COMMAND INPUT ===>
Update the following contact information:
*Jobname.................
*Abend Code..............
*Desc....................
Contact Name............
Phone Number............
Email Address...........
Title...................
Department..............
Location................
Back-up Name............
Back-up Phone Number....
Back-up Email Address...
Special Instructions....
* Indicates required field.
Displaying Contact Data
When an abend occurs, users can view the contact information for a particular AbendAID report by entering the C line command on the Abend-AID Dataset Directory screen
(Figure 9-9). Note that the contact entry is view-only when displayed in this manner. To
edit the contact information, see “Maintaining Contact Data” on page 9-9.
Dataset Directory Screen
The Dataset Directory screen displays the list of specified members in the primary DDIO
file. By default, the members are listed in date and time order. Use the SORT primary
command to alter the default order. Use the LOCATE and NEXT primary commands and
the standard ISPF/PDF scrolling commands and PF keys to locate a member. You can also
use the VIEW command to control the display of Assembler source lines in an Abend-AID
report that is merging Assembler source with Abend-AID text.
The layout of the Dataset Directory screen depends on the type of DDIO file. Each file
type is discussed in the following sections.
Abend-AID Dataset Directory
The Abend-AID Dataset Directory screen (Figure 9-9) displays the list of members in the
file specified in the Abend-AID Report File field of the Compuware/VF Entry Panel (Figure
9-2 on page 9-3). By default, the members are listed in order according to date and time
on the Compuware/VF Entry Panel.
Compuware Viewing Facility
9-11
Figure 9-9. Abend-AID Dataset Directory Screen
COMPUWARE/VF ----- 'COMPUWARE.REPORT.FILE' ------------------- Row 1 to 4 of 4
COMMAND INPUT ===>
SCROLL ===> PAGE
Abend-AID DATASET DIRECTORY
S - View C - Contact Info D - Delete P - Print L - Lock U - Unlock
JOBNAME
REPT NUMBER JESID CODE
DATE
TIME
DESC
SIZE(K)
AA700MXT (L)
273 J26165 S0CB
13 OCT 2001 8.29.14 PHILIPS
160
AA700MXT
272 J20423 S0CB
12 OCT 2001 8.27.30 SMITH
160
CWX0101F (M)
270 J04608 S0CB
30 SEP 2001 15.03.20 BROWN
639
XJ567TPT
269 J26107 S0CB
28 SEP 2001 16.35.08 JOHNSON
10871
******************************* Bottom of data ********************************
Figure 9-10. Abend-AID Dataset Directory Screen for Shared Directory
COMPUWARE/VF ----- 'COMPWARE.NEW.AA.SD' -------------------- Row 1 to 16 of 104
COMMAND INPUT ===>
SCROLL ===> CSR
Abend-AID DATASET DIRECTORY - Shared Directory
S View
C Contact Info
JOBNAME
REPT NUMBER
AA95BKA H
80571
AA95BKB H(M)
80570
AA94BKA
80563
AA94BK3 H
80561
AA94BK2
*IL
80431
AA94BK2
*IM
80425
AA94BK2
80401
AA95BWKR
80400
AA95XPD2 (L)
80532
AA95XPD1 (L)
80531
AA95BWKR
80398
AA95CBCD (M)
80530
AA95XPD2
80529
AA95XPD2 (L)
80528
AA95XPD1 (L)
80527
AA95XPD1 (L)
80526
. . . . . . . . .
D Delete
P Print
L Lock
JESID
CODE
DATE
J490673 S0C9
17JUN2004
J359586 S0C9
21MAY2004
J856027 S0C9
03MAR2004
J731702 S0CB
06FEB2004
J141819 S0CB
29SEP2003
J113646 S0CB
23SEP2003
J109633 S0CB
22SEP2003
J962531 S0CB
12SEP2003
J958253 IGZ0033S 11SEP2003
J958237 IGZ0033S 11SEP2003
J958181 S0CB
11SEP2003
J958152 S0C7
11SEP2003
J958091 S0CB
11SEP2003
J958059 S0CB
11SEP2003
J957938 S0CB
11SEP2003
J957854 S0CB
11SEP2003
. . . . . . . . .
U Unlock
TIME
8.50.20
12.47.14
14.34.55
13.39.47
15.14.54
9.28.26
15.03.51
8.14.46
12.09.03
12.04.08
11.51.41
11.43.43
11.32.21
11.27.05
11.12.36
11.01.10
. . .
H Dup History
DESC
DUPS
TESTING
2
TESTING
15
TESTING
0
TESTING
13
TESTING
0
TESTING
0
TESTING
0
PLI INDEX
0
CXPDEMO2
0
CXPDEMO1
0
PLI INDEX
0
COBCADSJ
0
CXPDEMO2
0
CXPDEMO2
0
CXPDEMO1
0
CXPDEMO1
0
. . . . . .
The Abend-AID Dataset Directory Screens (Figure 9-9 and Figure 9-10) display the
following information:
JOBNAME
The name of the abending job.
REPT NUMBER
The number assigned by Abend-AID to identify the diagnostic report. The Abend-AID
reports are numbered sequentially, beginning with 1 and continuing until the report
file is reformatted. The following status indicators also appear, if applicable, in the
Rept Number column.
H
Abend-AID report has history information about suppressed duplicates.
*I
Abend-AID report is incomplete.
*IL
Abend-AID report is incomplete and automatically locked.
*IM
Abend-AID report is incomplete and manually locked.
(L)
Abend-AID report is automatically locked.
(M)
Abend-AID report is manually locked.
JESID
The job number assigned by the Job Entry Subsystem.
9-12
Compuware Shared Services User/Reference Guide
CODE
The system or user abnormal termination code, or “SNAP” for a SNAP-AID report, or
PL/I on-code.
DATE
The date on which the error occurred or the date of the SNAP-AID report.
TIME
The time at which the error occurred, or the time the SNAP-AID report was created.
DESC
By default, the first ten characters of the Programmer Name field from the job card
statement. 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 AbendAID documentation for more information.
SIZE
The number of bytes (KB) allocated for the Abend-AID report in the report file (DDIO
and/or database only).
DUPS
The number of suppressed duplicate history entries for this report member (shared
directory only).
Figure 9-11 shows the Abend-AID Dataset Directory screen for Shared Directory after the
“SHOWDB” command was entered. This command will show which attached database
the member resides on and functions only on this screen. Enter SHOWDB OFF to turn off
the database name display.
Figure 9-11. Abend-AID Dataset Directory Screen for Shared Directory after SHOWDB Command
COMPUWARE/VF ----- 'COMPWARE.NEW.AA.SD' ----------------- Row 113 to 115 of 115
COMMAND INPUT ===>
SCROLL ===> CSR
Abend-AID DATASET DIRECTORY - Shared Directory
S View
C Contact Info
D Delete
P Print
L Lock
U Unlock
H Dup History
JOBNAME
REPT NUMBER JESID
CODE
DATE
TIME
DESC
DUPS
AA94QMFX
80428 J06177 S0CB
24JUN2003 9.26.37 CSS REGT
0
SOURCE DATABASE: COMPWARE.GA.DB1
AA94QMFX
80355 J06177 S0CB
24JUN2003 9.26.37 CSS REGT
0
SOURCE DATABASE: COMPWARE.GA.DB1
AA94BK2
3 J210494 S0CB
12FEB2003 12.19.25 PROGRAMMER
0
SOURCE DATABASE: COMPWARE.NEW.AA.DB3
******************************* Bottom of data ********************************
Source Listing Dataset Directory
The Source Listing Dataset Directory (Figure 9-12 and Figure 9-13) displays all source
listings in a standard DDIO Member List or Shared Directory Member List.
Compuware Viewing Facility
9-13
Figure 9-12. Source Listing Standard DDIO Member List Screen
COMPUWARE/VF -- Source Listing File Member List ----COMMAND INPUT ===>
ROW 1 TO 2 OF 2
SCROLL ===> CSR
SELECT S - Select
P - Print
D - Delete
L - Lock
U - Unlock
CODE
PROGRAM
LIST NUMBER
COMP DATE
TIME
RC
LANGUAGE SIZE(K)
______ FEA02P2
2
05 JUN 2002 08.49.11 04
PL/I V1R5
120
______ fea02p2
1
05 JUN 2002 08.49.11 04
PL/I V1R5
120
******************************* Bottom of Data ********************************
Note:
Selection I-Info is valid only for Source Listing Database and Shared Directory.
Figure 9-13 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 it is specified in the program
or by the PROGRAM-NAME parameter.
Figure 9-13. 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 9-14 shows the Source Listing Shared Directory Member List after the “SHOWDB”
command was entered. This command is to show which attached database the member
resides on and only functions on this screen. Enter SHOWDB OFF to turn off the
database name display.
9-14
Compuware Shared Services User/Reference Guide
Figure 9-14. Source Listing Shared Directory Member List Screen after SHOWDB Command (Not
LONGNAME)
COMPUWARE/VF -- Source Listing Shared Directory Member List
COMMAND INPUT ===>
Shared Directory: CX.LP.SHRDIR
Display Long PROGRAM Names ==> NO
(yes or no)
-- Row 1 to 5 of 7
SCROLL ===>CSR
Number of lines ==>
1 (1 TO 4)
SELECT S - Select
P - Print
D - Delete
L - Lock
U - Unlock
I - Info
CODE
PROGRAM
LIST NUMBER
COMP DATE
TIME
RC
LANGUAGE SIZE(K)
______ AVery
(L)
215
07 SEP 2001 08.55.34
00
C/390 V2R6
1032
SOURCE DATABASE: CX.LP.DATABASE
______ ASMTEST
(L)
199
21 APR 2000 15.42
00
ASMH
60
SOURCE DATABASE: CX.LP.DATABASE
______ COBABND6 (M)
192
18 APR 2000 06:47:02
00
COBIIR4
48
SOURCE DATABASE: CX.LP.DATABASE
______ AVeryLa* (L)
191
14 APR 2000 11.16.29
00
C/ESA V3R2
816
SOURCE DATABASE: CX.LP.DATABASE
______COBABND
(M)
189
12 APR 2000 12:38:15
04
COBIIR4
36
SOURCE DATABASE: CX.LP.DATABASE
******************************* Bottom of data ********************************
Figure 9-15 shows the Source Listing Shared Directory Member List with “display long
PROGRAM names” set to YES. A mixed case name is shown as it is specified in the
program or by the PROGRAM-NAME parameter.
Figure 9-15. 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 9-16 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 it is specified it is specified in the
program or by the PROGRAM-NAME parameter.
Compuware Viewing Facility
9-15
Figure 9-16. 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 9-17 shows the Source Listing Database Member List screen with “display long
PROGRAM names” set to YES. A mixed case name is shown as it is specified in the
program or by the PROGRAM-NAME parameter.
Figure 9-17. 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
********************************
The Source Listing Dataset Directory Screen displays the following information.
Program
The member names (source listing names) in the source listings file. For Source
Listing Database and Source Listing Shared Directory files, a name longer than eight
characters will be displayed with an ‘*’ in the eighth position. Use either an I line
command or YES on “Display Long Program Name” to see the full LONGNAME.
LIST NUMBER
The number assigned by the language processor to identify the source listing. Source
listings are numbered sequentially, beginning at 1 and continuing until the source
9-16
Compuware Shared Services User/Reference Guide
listing file is reformatted. The following status indicators also appear, if applicable, in
the List Number column.
(L)
Source listing is automatically locked.
(M)
Source listing is manually locked using the L line command or the LOCK
batch command.
*I
Source listing is incomplete.
*IL
Source listing is incomplete and automatically locked.
*IM
Source listing is incomplete and manually locked.
COMP DATE
The date the program was compiled.
TIME
The time the program was compiled.
RC
The Compuware language processor return code.
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
Compuware Viewing Facility
9-17
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
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
9-18
Compuware Shared Services User/Reference Guide
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
SIZE
The number of bytes (KB) allocated for the source listing in the source listing file.
Note:
If you are viewing an Assembler-compiled program and the Viewing Facility
cannot find a unique match for an Assembler source listing (required for merging
text and source), the Assembler Mismatch List screen (Figure 9-33) is displayed.
Remember, when using multi-CSECT Assembler programs, the CSECT you are looking for
may be in a source listing of an entirely different name. Type an s next to the correct
source listing and press Enter, or press PF3 to view the report without a source listing.
For information about Assembler mismatched structure, see “Mismatched Structure for
Assembler” on page 9-35.
Primary Commands
In addition to the standard scrolling commands, you can enter the following commands
on the COMMAND INPUT area on the Dataset Directory screens (Figure 9-9 on page 9-11
and Figure 9-12 on page 9-13):
LOCATE (L) jobname/programname
Positions the matched jobname (Abend-AID report files) or programname (source listing
files) as the first entry on the Abend-AID Dataset Directory screen.
The following diagram illustrates the syntax for the LOCATE command.
+--- LOCATE Command Syntax --------------------------------------------+
¦
¦
¦ >>--Locate--string--><
¦
+----------------------------------------------------------------------+
string
Any character string from one to eight characters in length. The asterisk (*) wildcard
character is valid at the end of the string when the string is less than eight characters
long.
Note:
String is case sensitive and must match the case of the program or job name.
NEXT (N)
Scrolls forward to the next JOBNAME (Abend-AID report files) or PROGRAM NAME
(source listing files) specified in the previous LOCATE command. You must have first
issued a LOCATE command before you can issue the NEXT command.
The following diagram illustrates the syntax for the NEXT command.
+--- NEXT Command Syntax ---------------------------------------------------+
¦
¦
¦
+-1------+
¦
¦ >>--Next--+--------+--><
¦
¦
+-number-+
¦
+---------------------------------------------------------------------------+
Compuware Viewing Facility
9-19
number
Specifies the next Nth match to be located. The search starts at the second displayed
line, and continues toward the end of the list until N matches are made. If there are
less than N matches, the last found line will be scrolled to the top of the screen. If
there are no matches, the screen remains unchanged.
Valid entries are any number from 1 to 9999. The default value is 1.
SORT
Sorts the member list by any field in the directory except TIME. The following diagram
illustrates the syntax for the SORT command.
+--- SORT Command Syntax ---------------------------------------------------+
¦
¦
¦ >>--SORT--sort-key--><
¦
+---------------------------------------------------------------------------+
sort-key
The following tables list the valid sort keys, their abbreviations, and the resulting
sorting sequence for the different types of DDIO files:
Table 9-3.
Abend-AID Report File Sort Keys
Sort Key
Abbreviation
Primary Sort
Field
Sequence
Secondary
Sort Field
JOBNAME
JN
JOBNAME
Ascending
DATE/TIME
Descending REPT-NUMBER Descending
JESID
Descending
DATE/TIME
Descending REPT-NUMBER Descending
DESCRIPTION
Ascending
DATE/TIME
Descending REPT-NUMBER Descending
SIZE
Descending
DATE/TIME
Descending REPT-NUMBER Descending
Descending REPT-NUMBER Descending
JESID
DESCRIPTION
DESC
SIZE
NUMBER
NUM
Sequence
Tertiary Sort
Field
Sequence
REPT- NUMBER Descending
CODE
CODE
Ascending
DATE/TIME
DATE
DATE/TIME
Descending
REPT-NUMBER
DUPS
Ascending
DATE/TIME
*
DUPS
Descending
Descending REPT-NUMBER Descending
* Note:
SORT DUPS is only valid for report shared directory display. SORT SIZE is invalid for report shared directory
display.
Table 9-4.
Source Listing File Sort keys
Sort Key
Abbreviation
Primary Sort
Field
Sequence
Secondary
Sort Field
Sequence
Tertiary Sort
Field
Sequence
PROGRAM
PGM
PROGRAM
Ascending
DATE/TIME
Descending
LIST-NUMBER
Descending
NUMBER
NUM
LIST-NUMBER Descending
DATE
DATE/TIME
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
LANGUAGE
SIZE
LANG
Descending LIST-NUMBER
Descending
9-20
Compuware Shared Services User/Reference Guide
Line Commands
After a Dataset Directory Screen is displayed, the following line commands can be
entered to the left of the directory entries.
D
Deletes the member (a report or source listing) from the DDIO file. If you
entered YES in the CONFIRM DELETE field of the Entry Panel, a Confirm Delete
screen will be displayed before the member is deleted. If the member is locked
(automatically or manually), the member is unlocked and then deleted.
H
Additional information showing suppressed duplicate history entry detail. If
DUPS count is greater than 100, the 100 most recent entries will be displayed.
Only valid for report shared directory files.
Note:
This line command is valid only if H is greater than zero.
I
Additional information showing full name (for LONGNAME) and the Source
Listing Database and/or Source Listing Shared Directory name(s) and VOLSER(s).
Only valid for Source Listing Database and Shared Directory files.
L
Manually locks the member. While the member is manually locked, it cannot be
automatically deleted when the DDIO file becomes full. Manual locks display
with a status indicator of M on the directory screen.
P
Prints the member (report or source listing) using the hardcopy facility. If you
entered YES in the SHOW PRINT SETUP field on the Entry Panel, the Hardcopy
Options Screen will be displayed.
S
Selects the member (report or source listing) to be viewed.
U
Unlocks the member so it can be automatically deleted when the DDIO file
formatted with AUTODELETE=YES, AUTODELETE=DUPS, or
AUTODELETE=STAGED becomes full.
You can enter multiple line commands, which will be executed from top to bottom.
Figure 9-18. Abend-AID Duplicate History Log Screen (After entering the Line Command “H”
from a report shared directory display)
COMPUWARE/VF ----- 'COMPWARE.NEW.AA.SD' ----------------------- Row 1 to 4 of 4
COMMAND INPUT ===>
SCROLL ===> CSR
Abend-AID Duplicate History Log
S
Information for Original Report 80572
Code......... S0CB
Program... COBABEND
SYSID... CW01
LE Condition. CEE3211S
Offset.... 00000354
Date.... 18JUN2004
Job Name..... AA95BK4
Total..... 4
Time.... 10.24.04
DATE
Time
Job Name
SYSID User Id
18JUN2004
11.03.52 AA95BK4
CW01
USER007
18JUN2004
11.48.14 AA95BK4
CW01
USER007
18JUN2004
11.49.32 AA95BK4
CW01
USER007
18JUN2004
13.34.25 AA95BK3
CW01
USER015
******************************* Bottom of data ********************************
Compuware Viewing Facility
9-21
Figure 9-19. Source Listing Shared Directory Member List Screen (After Entering the Line
Command “I” (Info))
COMPUWARE/VF -- Source Listing Shared Directory Member List -- Row 4 to 7 of 7
COMMAND INPUT ===>
SCROLL ===> CSR
Shared Directory: 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 - Lock
U - Unlock
I - Info
CODE
PROGRAM
LIST NUMBER
COMP DATE
TIME
RC
LANGUAGE SIZE(K)
______ AVeryLa* (L)
191
00
C/ESA V3R2
816
_ +------------------------------------------------------------------------+ 36
_ |------------------------- Program Information -------- Row 1 to 1 of 1 | 36
_ |COMMAND INPUT ===>
SCROLL ===> CSR
| 36
* |Database: CX.LP.DATABASE
Volser: PRD964
| **
|
|
|
|
| Full Program Name:
|
| AVeryLargeNameofatLeast30Characters_20
|
| *************************** Bottom of data *************************** |
|
|
|
|
|
|
|
|
|
|
+------------------------------------------------------------------------+
Figure 9-20. Source Listing Database Directory Screen (After Entering the Line Command “I”
(Info))
COMPUWARE/VF -- Source Listing Database Member List ----Row 9 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 - Lock
U - Unlock
I - Info
CODE
PROGRAM
LIST NUMBER
COMP DATE
TIME
RC
LANGUAGE SIZE(K)
______ AVeryBi* (M)
375
21 FEB 2000 13.06.52 00
C/ESA V3R2
826
_ +-------------------------------------------------------------------------+ 36
_ | ------------------------- Program Information -------- Row 1 to 1 of 1 | 32
_ | COMMAND INPUT ===>
SCROLL ===> CSR
| 32
_ | Database: CX.LP.DATABASE
Volser: PRD910 | 36
_ | Shared Directory: CX.LP.SHRDIR
Volser: PRD988 | 32
_ |
| 32
_ | Full Program Name:
| 32
_ | AVeryBigLargeNameofatLeast30Characters_20
| 32
_ | *************************** Bottom of data *************************** | 32
_ |
| 28
_ |
| 32
_ |
| 32
_ |
| 88
_ |
| 36
_ +-------------------------------------------------------------------------+ 96
Hardcopy Options Screen
The Compuware/VF Hardcopy Options Screen (Figure 9-21), shown with default settings,
enables you to set options for printing a copy of the DDIO file member. This screen is
displayed if you entered the P line command on the Dataset Directory Screen and
specified YES in the SHOW PRINT SETUP field on the Entry Panel.
9-22
Compuware Shared Services User/Reference Guide
Figure 9-21. Compuware/VF Hardcopy Options Screen
COMPUWARE/VF HARDCOPY OPTIONS
COMMAND INPUT ===>
Current DDIO file: AA.REPORTS
Member: SBL60LN3
Report/List Number: 118
Enter/verify options below:
Line size
===> NARROW
Page size
===> 60
Sysout class
===>
Destination
===>
Route
===> SYSOUT
Max number of pages ===>
Unit
===> SYSDA
(NARROW or WIDE)
(20 to 99)
(class,writer-name,format)
(nodename,userid)
(SYSOUT or BATCH)
(for Route=BATCH)
(for Route=BATCH)
CURRENT DDIO FILE
The file name from which you are printing a member.
MEMBER
The member you selected to print.
REPORT/LIST NUMBER:
The report or list number of the member you selected to print.
LINE SIZE
Specify the width of the printed copy of the DDIO file member. Valid entries are:
NARROW: (Default) Prints optional 80-column output.
WIDE: Prints standard 133-column output.
PAGE SIZE
Enter the number of lines per page for printed output. Valid entries are 20 through
99. The default value is 60.
SYSOUT CLASS
Specify the JES spool class where the output is printed. The JCL formats CLASS and
(CLASS,WRITER-NAME,FORMAT) are acceptable.
DESTINATION
Enter the JES destination code where the output is routed. The JCL formats
NODENAME and (NODENAME,USERID) are acceptable.
ROUTE
Specify how the report or source listing file member is to be printed. Enter one of the
following:
– Use SYSOUT to allocate a SYSOUT dataset into which the member will be copied.
Job information is obtained from the security profile attached to your TSO
account. Your user ID is used as the JOBNAME.
– Use BATCH to allocate a work file (DSN beginning with “prefix.DDSUTL.”) into
which the member is copied. If there is no TSO prefix, the DSN will begin with
“userid.DDSUTL.”. A job is submitted to JES using the ISPF default job card from
the ISPF 0.2 screen to print and then delete the file.
Compuware Viewing Facility
9-23
MAX NUMBER OF PAGES
Determine the file size of the work file when the BATCH route value is specified.
UNIT
Enter the device type for the work file when the BATCH route value is specified. It
can be any valid physical address, device type, generic name, or VIO. (For example,
use 2BF, 3380, SYSDA, or VIO).
Viewing Source Listings
To view a source listing file, select it using the S line command on the Source Listing
Dataset Directory screen (Figure 9-12 on page 9-13). This allocates a temporary file,
copies the source listing to this file, and calls the ISPF BROWSE function to display the
source listing. Use the standard ISPF BROWSE commands to view the source listing.
Viewing Abend-AID Reports
Enter an S to the left of an Abend-AID report on the Abend-AID Dataset Directory Screen
(Figure 9-9 on page 9-11) to display the Output Selection Menu (Figure 9-22 on page
9-24). This screen enables you to display specific sections of the Abend-AID report.
The menu lists all possible sections in an Abend-AID report. Some sections may not exist
for a specific Abend-AID report if they are not applicable. If your report does not contain
a particular section and you attempt to select that section from the menu, you will
receive a SECTION NOT FOUND or informational message.
From within a selected section, you can view any other section (without returning to the
Output Selection Menu) by entering the section number or name abbreviation in the
COMMAND INPUT field.
Certain fields that are highlighted are designated as cursor-selectable point-and-shoot
fields. However, these fields will only be highlighted if the corresponding source
information was found. Position the cursor within the highlighted field and press Enter
to transfer to the related source information. Press PF3 to return to the original display.
Stacking of cursor point-and-shoot panels is limited to eight. Trying to point-and-shoot
more than eight times without any PF3/returns will result in an error message.
Viewtime Restriction
The display of PL/I uninitialized external static structure storage is restricted to structures
having no alignment bytes at the beginning of the CSECT. In cases where PL/I has added
bytes to the front of a static external structure, those bytes will be included in the display
of the data. This causes the entire structure to be displayed in hexadecimal:
DCL 1 SARRAY1 EXT,
2 NAME1 CHAR(11),
2 BINA1 BIN FIXED(31);
Output Selection Menu for Abend-AID
After you select an Abend-AID report for viewing, the Output Selection Menu (Figure 922) is displayed.
9-24
Compuware Shared Services User/Reference Guide
Figure 9-22. Compuware/VF Output Selection Menu for Abend-AID
COMPUWARE/VF ---------------- OUTPUT SELECTION MENU --------------------------SELECT SECTION ===>
'AA.RPTFILE'
0
1
2
3
5
6
7
8
9
10
11
12
13
14
15
20
HEADER
DIAGS
NSI
TRACE
REGS
PROG
PLIST
FILES
IMS
IDMS
DB2
SORT
DATALOC
MQ
LE
EPILOG
REPT.75
AA95JOB1
J229115
System and job information
Analysis
Location (next sequential instruction)
Program flow and program attributes
Register contents and PSWs
Program Storage
Program Listing
Open files information
IMS information and PCBs
CA-IDMS information
DB2 information
COBOL sort information
COBOL Data Locator
Websphere MQ information
LE information
Abend-AID termination information
Key section number or name and press ENTER.
Use the Compuware/VF Output Selection Menu (Figure 9-22) to view specific sections of
the Abend-AID report. The sections that are available for viewing are highlighted with
reverse video and are cursor-selectable. In order to view a particular section, enter the
section number or the abbreviation for the section name in the SELECT SECTION field or
tab to the desired section and press Enter. To view sections 0 through 5, you can either
enter a section number or name abbreviation to begin viewing at a specific section. The
default if you press Enter is to begin viewing these sections from section 1 - DIAGS
(Analysis of Error).
SCALE1
Displays vertical hex storage relative to one. (default)
SCALE0
Displays vertical hex storage relative to zero.
ALARM (ON, OFF)
Displays or suppresses warning messages and audio alerts when scrolling problems
occur.
The above primary commands can be entered on the Output Selection Menu or any
subsection's command line. This will display any vertical hex storage in the style that
was specified. After the command is specified, it will be stored in the user's TSO profile
and continued to be displayed in the manner requested until it is changed by the user.
Options 0-5
If you select any section number from 0 through 5, all existing sections with numbers 0
through 5 can be viewed. If you select any section number greater than 5, only the
selected section can be viewed. You can use standard ISPF scroll commands to scroll
within the viewable portion of the Abend-AID report.
0 or Header
Top of output, including the header information and available help information.
1 or DIAGS
Diagnostic information (Analysis of Errors). For COBOL, this section may highlight
the statement number on the statement where the abend occurred. Selecting this
cursor-selectable section will take you to that portion of the program listing. Also for
Compuware Viewing Facility
9-25
COBOL, this section may highlight the associated field names. Selecting one of these
field names will take you to that field in the working storage section in program
storage.
2 or NSI
Instruction section (Error Location). This section may have two highlighted
statement numbers — one under “error location” and the other under “last known
I/O request or call”. Selecting either of these cursor-selectable fields will take you to
that location in the program listing.
3 or TRACE
Call Trace Summary and Application Program Attributes. The call trace summary may
have one or more highlighted offset values (under the “return/value” column).
Selecting one of these cursor-selectable offset values will take you to that location in
the program listing for that calling program.
5 or REGS
Register contents and PSW.
Subsection commands
Sub-section commands are available for sections 1 through 5. Following is a list of
available subsection commands:
AMODE31
Displays registers as viewed in 31-bit addressing mode.
A31
Displays registers as viewed in 31-bit addressing mode.
AMODE24
Displays registers as viewed in 24-bit addressing mode.
A24
Displays registers as viewed in 24-bit addressing mode.
AMODE64
Displays registers as viewed in 64-bit addressing mode.
A64
Displays registers as viewed in 64-bit addressing mode.
Option 6 — Program Storage
If you choose option 6 on the Compuware/VF Output Selection Menu (Figure 9-22 on
page 9-24) and only one CSECT exists in the output, that Program section will be
displayed. If more than one CSECT exists in the output, the Compuware/VF Program
Storage Selection List (Figure 9-23) is displayed.
Figure 9-23. Compuware/VF Program Storage Selection List
COMPUWARE/VF PROGRAM STORAGE SELECTION LIST -------------- ROW 1 TO 2 OF 2
COMMAND INPUT ===> _
SCROLL ===> CSR
PROGRAM / PROCEDURE NAME
LOAD
LANGUAGE
COMPILE DATE
-
TIME
PAYROLL2
PAYROLL2 VS COBOL II 23 FEB 1996
13.34.53
MONTHS2
PAYROLL2 VS COBOL II 23 FEB 1996
13.34.32
******************************* BOTTOM OF DATA *******************************
This screen lists all PROGRAMs, CSECTs, or PL/I procedures in the Abend-AID report. The
following information is displayed in the selection list:
PROGRAM
The CSECT or PL/I procedure name of the program.
9-26
Compuware Shared Services User/Reference Guide
LOAD
The name of the load module containing the program.
LANGUAGE
The language in which the program was written.
COMPILE DATE - TIME
For OS/VS COBOL, VS COBOL II, IBM SAA AD/Cycle COBOL/370, COBOL/390, and
PL/I programs, the date and time when the program was compiled.
Selecting Program Storage
To select program storage for viewing, enter the line command S to the left of the
program name.
When you want to select specific program storage:
• from the Output Selection Menu or within any Abend-AID report section, and
• when not displaying the Program Storage Selection List first, and
• when more than one CSECT exists in the output
enter the primary command:
• ‘EXT’ for OS/VS COBOL II or IBM SAA AD/Cycle COBOL/370 EXTERNAL DATA, or
• 'PROG(xxxxxxxx)' for program xxxxxxxx.
Viewing Program Storage Areas
Compuware/VF displays data areas as soon as they are formatted enabling you to view
and search available data immediately while continuing to format the rest of program
storage. A status message appears in the upper right corner of the screen indicating
whether formatting is still in progress or if it has completed.
While formatting is in progress, you can use the PF7 and PF8 keys to scroll through the
currently-formatted data areas. You can also use the FIND command to conduct searches
in the currently-formatted text.
If the program name is highlighted, it indicates the field is cursor-selectable and, if
selected, will transfer display to the associated program listing (“Option 7—Program
Listing” on page 9-27).
For COBOL only, if the FD file name is highlighted, it indicates the field is cursorselectable and, if selected, will transfer display to the associated data management
control blocks (“Option 8 —Data Management Control Blocks” on page 9-29).
Viewing Assembler Program Storage Area
The Compuware V/F Assembler program storage area (Figure 9-24) displays AMODE
selection fields available to Assembler programs. Selecting a AMODE field displays
SAVEAREA and program storage sections along with the selected ADDRESS MODE setting.
This AMODE setting will remain in effect for the current program until another AMODE
field or Abend-AID report is selected.
Figure 9-24. Compuware/VF Assembler Program Storage Area
COMPUWARE/VF -----------------------------------------------------------------COMMAND INPUT ===>
SCROLL ===> CSR
Formatting has completed
'AA.REPORT' REPT.11 JOBASM01 J480875
Pgm: ASMPGM20
Comp. Date: 10 MAY 2004
AMODE24 AMODE31 AMODE64
**********************************************************************
Compuware Viewing Facility
9-27
Subsection Commands
COBOL
Subsection commands are available for COBOL Working Storage displays. They can
be entered when viewing a selected program storage section and also from any
Abend-AID report section in combination with the section command
PROG(xxxxxxxx).
The available COBOL subsection commands are:
EXT
Displays the COBOL II External Data section
TGT
Position at the TGT.
Note:
The following BL commands are available only when you are viewing the
Abend-AID report with basic support. The SOURCE command must be set to
OFF to use these commands.
BL yyy
Position at COBOL BL(W) cell yyy
BLL yyy
Position at COBOL BLL cell yyy.
BLW yyy Position at COBOL BLW cell yyy.
BLX zzz
Position at COBOL BLX cell zzz.
where yyy can be nnn for the decimal cell number or X’nnn’ for the hexadecimal cell
number, and zzz can be X’nnn’ for the hexadecimal address of the cell.
For example, BLL 25 will position the current program display at BLL cell 25, and
PROG(MYPROG) BLW X'25' will display Working Storage for program MYPROG
positioned at BLW cell 37 (X'25').
Note:
If yyy or zzz is omitted, the output will be positioned at the first cell of the
specified type.
PL/I
Subsection commands are available for the PL/I procedure displays. They can be
entered when viewing a selected section and also from any Abend-AID report section
in combination with the section command PROG(xxxxxxxx). PL/I subsection
commands can be used only in BASIC mode (without a source listing).
The available PL/I subsection commands are:
AUTO
Position at automatic storage.
STAT
Position at static storage.
CTL
Position at controlled storage.
Option 7—Program Listing
If you select option 7 on the Compuware/VF Output Selection Menu (Figure 9-22 on page
9-24) and only one program exists in the Abend-AID output, the Program Listing section
for that program is displayed. The Program Listing section is created for Assembler,
COBOL, and PL/I programs processed by the Compuware language processor. By default,
it shows source listing statements in the abending program as specified by the global site
options SLSLIST (for abending programs) and SLSMLST (for other programs) at abend
time. See the Abend-AID Installation and Customization Guide for more information. When
the program is displayed and the program name is highlighted, this indicates that the
field is cursor-selectable and, if selected, will transfer display to the associated program
storage (“Option 6 — Program Storage” on page 9-25).
9-28
Compuware Shared Services User/Reference Guide
If more than one listing exists in the output, the Compuware/VF Program Listing
Selection List (Figure 9-25) is displayed.
Figure 9-25. Compuware/VF Program Listing Selection List
COMPUWARE/VF PROGRAM LISTING SELECTION LIST -------------- ROW 1 TO 2 OF 2
COMMAND INPUT ===> _
SCROLL ===> CSR
PROGRAM / PROCEDURE NAME
LOAD
LANGUAGE
COMPILE DATE
-
TIME
PAYROLL2
PAYROLL2 VS COBOL II 23 FEB 1996
13.34.53
MONTHS2
PAYROLL2 VS COBOL II 23 FEB 1996
13.34.32
******************************* BOTTOM OF DATA *******************************
This screen lists all program listings in the Abend-AID output. The following information
is displayed in the selection list:
PROGRAM
The CSECT or PL/I procedure name of the program.
LOAD
The name of the load module containing the program.
LANGUAGE
The language in which the program was written.
COMPILE DATE - TIME
For OS/VS COBOL, VS COBOL II, IBM SAA AD/Cycle COBOL/370, COBOL/390, and
PL/I programs, the date and time when the program was compiled.
Selecting a Program Listing
To select a program listing for viewing, enter the line command S to the left of the listing
name.
To select a specific program listing from the Compuware/VF Output Selection Menu
(Figure 9-22 on page 9-24) or within any Abend-AID report section without first
displaying the Program Listing Selection List, enter the command 'PLIST(xxxxxxxx)' to
select listing xxxxxxxx.
PLIST Operands
The PLIST command lists the default specified at abend time or the portion specified on
the last PLIST command while viewing the current report. To override the default,
include one of the following available operands:
PLIST PARA
Lists the COBOL paragraph, PL/I procedure, or ‘N’ statements preceding the
Assembler command containing the current statement.
PLIST LABEL
Lists the labeled portion containing the current statement.
PLIST ALL
Lists the entire COBOL Procedure Division, PL/I, or Assembler listing.
PLIST nn
Lists nn statements before and after the abending statement.
Compuware Viewing Facility
9-29
Option 8 —Data Management Control Blocks
Selecting option 8 from the Compuware/VF Output Selection menu (Figure 9-22 on page
9-24) shows file and current data management control block information. If only one file
exists in the output, that file will be displayed. If more than one file exists in the output,
the Compuware/VF File Summary Selection List (Figure 9-26) is displayed.
Figure 9-26. File Summary Selection List
COMPUWARE/VF FILE SUMMARY SELECTION LIST
COMMAND INPUT ===>
------------------- Row 1 to 7 of 7
SCROLL ===> PAGE
S - view file control blocks
DDNAME
DEVICE
SYSPRINT 3390
E - File-AID Edit B - File-AID Browse
(except JES spooled datasets)
UNIT VOLSER DISP AMTYPE EXCPS
------ DCB INFORMATION ------
021A PRD944 SHR
QSAM
2
(DSORG=PS,RECFM=FB,
LRECL=80,BLKSIZE=3120)
FILE2
SHR
VSAM 2
RECORG=KSDS,MAXRECL=394
FILE1
3390
021A PRD944 SHR
QSAM 2
(DSORG=PS,RECFM=FB,
LRECL=80,BLKSIZE=3120)
SYSOUT
JES2 spooled
MOD
QSAM 4
(DSORG=PS,RECFM=FBA,
LRECL=121,BLKSIZE=12100)
******************************* Bottom of data ********************************
This screen lists all files in the Abend-AID report. The following information is displayed
in the selection list:
DDNAME
The ddname from the JCL.
DEVICE
The physical device type.
UNIT
The physical unit address.
VOLSER
The volume serial identification.
DISP
The disposition of the dataset.
AMTYPE
The access method.
EXCPS
The value of the EXCP field in the DCB (block I/O) or spool record
count.
DCB
The DSORG, RECFM, LRECL, and BLKSIZE parameters, if available.
INFORMATION
Note:
The DEVICE/UNIT/VOLSER will be replaced with a spool message if the file is
spooled.
Selecting Files on this Screen
To select a file for viewing, enter the line command S to the left of the file ddname.
To select a specific file from the Output Selection Menu or within any Abend-AID report
section, without first displaying the File Summary Selection List when more than one file
exists in the output, enter the primary command ‘FILE(xxxxxxxx)’ for a specific file
ddname xxxxxxxx.
Accessing Compuware File-AID
Two File-AID options appear at the top of the Data Management Control Blocks screen:
Edit and Browse. If File-AID/MVS is currently installed at your site, entering the E (EDIT)
9-30
Compuware Shared Services User/Reference Guide
or B (BROWSE) line commands displays a File-AID Edit or Browse screen containing that
report. Figure 9-27 displays a File-AID/MVS Edit screen.
File-AID can also be invoked when specific file information is displayed. In this case,
enter the EDIT or BROWSE command at the command prompt to display the File-AID
Edit or Browse screen. Note that the EDIT command will not override your internal
security package.
Notes:
1. For use with any of the File-AID versions, Abend-AID 9.1 or more current must also
be installed.
2. Various error messages may be displayed if the proper release levels of File-AID are
not installed and accessible during view time. If a File-AID error message is received
within the Compuware/VF, verify that the proper File-AID libraries are allocated at
TSO logon or are allocated within the REXX or CLIST that is being used to invoke the
Viewing Facility. Please see Step 7. “Establish Access to File-AID” in the “CSS
Customization” chapter of the Enterprise Common Components Installation and
Customization Guide for additional information.
Figure 9-27. File-AID/MVS Invoked from Compuware/VF
File-AID - Edit - ABCD123.SLS.JCL(PRINT3) - 01.99 ----------------------------COMMAND ===>
SCROLL ===> PAGE
FA223- Records read = 21, selected = 21, error records skipped = 0
==MSG>
-NOTECAPS MODE IS "ON"
==MSG>
-NOTESTATS MODE IS "ON"
000001 //CWPIRTOD JOB ('OLPBAS5.0DEV',M15),SMITH,
000002 //
CLASS=P,MSGCLASS=R,NOTIFY=ABCD123
000003 /*JOBPARM ROOM=M15
000004 //*
000005 //********************************************************************
000006 //*
---------- PRINT THE MEMBER ---------*
000007 //********************************************************************
000008 //PRINTER EXEC PGM=IEBGENER
000009 //*XP
OUTPUT DEST=CWX3835,COPIES=1,
000010 //EXP
OUTPUT DEST=PTRMID,COPIES=1,
000011 //
PAGEDEF=CPS6,CHARS=GT10
PORTRAIT - 6 LPI 77 WIDE
000012 //*
PAGEDEF=CPS8,CHARS=GT12
PORTRAIT - 8 LPI 92 WIDE
000013 //*
PAGEDEF=CLS8,CHARS=D226
LANDSCAPE - 8 LPI 143 WIDE
000014 //*
PAGEDEF=CPSC2,CHARS=GT20
TWO UP SIMPLEX
000015 //*
000016 //SYSUT2
DD SYSOUT=G OUTPUT=*.EXP
000017 //SYSIN
DD DUMMY
000018 //SYSPRINT DD SYSOUT=*
Enter FMT for formatted mode, VFMT for vertical format, HEX ON for Hex
Option 9 — IMS Diagnostic Information and PCBs
Abend-AID for IMS information.
Option 10 — CA-IDMS Diagnostic and Status Information
Abend-AID for IDMS information.
Option 11 — DB2 Diagnostic and Status Information
Abend-AID for DB2 information.
Option 12 — Current COBOL Sort Information
Current sort record for internal COBOL sorts.
Compuware Viewing Facility
9-31
Option 13 — Creating COBOL Data Locator Reports
Selecting option 13 (DATALOC) generates a Data Locator Report (Figure 9-28). To create
this report, Compuware/VF conducts a search of the Abend-AID report using current
user-defined patterns. The Data Locator report lists all variables that adhere to these
patterns.
Figure 9-28. Data Locator Report
COMPUWARE/VF --------------------------------------------------------------COMMAND INPUT ===> _
SCROLL ===> CSR
Formatting has completed
'CX.DUMP.DDIO'
REPT.71
JOBNAME1 J06619
Program: MLECOB
Compile Date: 07 JAN 2002
YEARWINDOW(1971)
'@' in column
'!' in column
'#' in column
36 denotes field with Data Locator PICTURE match.
36 denotes field with Data Locator DATE
match.
36 denotes field contains data not matching PICTURE clause.
Language Processor Interface Release
= 07.06.00
Language Processor Post Processor Release = 07.06.00
Working-Storage Section
Level/Field Name
Picture/Type Offs
------------------------------ ----------------77 CURRENT-YEAR
# 99
77 DAT-DATA-MATCH
! 9(5)
77 DUE-YEAR
99
DATE FORMAT
YY
YEAR(2005)
77 END-YEAR
9999
Note:
Value
----+----1----+----2
SPACES
99366
05
2005
Data Locator is available for COBOL programs only.
Julian date fields containing the MLE DATE FORMAT clause are displayed as
Julian and Gregorian dates.
How Data Locator Works
The first time that a Data Locator report is generated, default variable patterns are used to
generate the report. Each pattern consists of one of the following:
STRING
Selects all variables with COBOL data-names containing string.
MLEDATE
Selects all variables containing the COBOL MLE DATE FORMAT clause.
DATE
Selects all variables with values matching date, even if these dates are not MLE dates.
PICTURE
Selects all variables with a picture clause that matches picture.
To view the complete syntax of the variable patterns listed above and edit the patterns,
enter the FINDDATA command at the command prompt while a Data Locator report is
displayed.
From the sample screen below (see Figure 9-29), you can see that you need to type
FINDDATA on the command line. This will allow you to change the selection criteria.
9-32
Compuware Shared Services User/Reference Guide
Figure 9-29. Default Variable Pattern for a Data Locator Report
COMPUWARE/VF ------------------------------------------------- Invalid Command
COMMAND INPUT ===>
SCROLL ===> PAGE
Formatting has completed
'CX.VSAM.DUMP.DDIO'
REPT.(M) 18 JOBNAME1 J25011
Pgm: PRICECHK
Comp. Date: 29 AUG 2000
Use "FINDDATA" command to change selection criteria
****************************************************************
*
Data analysis for program - PRICECHK
*
*
Compiled on
29 AUG 2000 at
*
*
*
*
*
*
*
*
MLEDATE: ON
YEARWINDOW: N/A
*
*
*
*
Substrings for inclusion in this section:
*
*
*
* BORN
BIRTH
*
* DATE
EXPIRY
*
*
*
*
*
*
Date values to be flagged:
*
*
*
* 98000
99000
*
* 99365
99366
*
*
*
*
*
*
PICTURE clauses to be flagged:
*
*
*
* 99/99/9999
99/99/99
*
*
*
*
*
****************************************************************
' @' in column
' !' in column
' #' in column
36 denotes field with Data Locator PICTURE match.
36 denotes field with Data Locator DATE
match.
36 denotes field contains data not matching PICTURE clause.
******************************* Bottom of data ********************************
After you type FINDDATA and press enter, the screen below will appear. From this source,
you can see that the lines correlate to the screen above. After you change the values
below, and press PF3 to Exit, the changes will be reflected in the screen above.
Figure 9-30. FINDDATA Source Screen
File
Edit
Edit_Settings
Menu
Utilities
Compilers
Test
Help
EDIT
SYS01193.T160317.RA000.CX.R0125827
Columns 00001 00064
Command ===>
Scroll ===> PAGE
****** ***************************** Top of Data ******************************
000001 MLEDATE(ON)
000002 STRING(BORN)
000003 STRING(BIRTH)
000004 STRING(DATE)
000005 STRING(EXPIRY)
000006 DATE(98000)
000007 DATE(99000)
000008 DATE(99365)
000009 DATE(99366)
000010 PICTURE(99/99/9999)
000011 PICTURE(99/99/99)
****** **************************** Bottom of Data ****************************
Compuware Viewing Facility
9-33
Printing Data Locator Reports
To direct Data Locator Report output to a local printer or dataset for hardcopy purposes,
use the LPRINT command from the command prompt.
Note: Data Locator Reports are not part of the standard batch Abend-AID report set. The
report can only be produced online, and the LPRINT command is the only
method of producing a hardcopy version of the complete report.
Option 14 — Abend-AID for WebSphere MQ
Displays either MQSeries batch or MQSeries IMS information created by Abend-AID for
WebSphere MQ.
Option 15 — LE Information
Displays the following LE information:
• LE run-time options at the time of the error indicates how the option was set and
from where it was set
• Provides a complete validation and analysis of LE heap storage
• Key LE control blocks are displayed.
Option 20 — Abend-AID Termination Information
Displays Abend-AID termination information.
Mismatched Source Listing Warnings
A mismatched source listing warning will be displayed when the following conditions are
true:
• You entered YES in the Show source warning field on the Compuware/VF Entry
Panel (Figure 9-2 on page 9-3).
AND
• The portion selected for viewing contains information for the Assembler, COBOL, or
PL/I program that does not match the date and time of the source listings with the
same program name and language in the specified source listing file.
OR
• The compiler option, LANGUAGE, which specifies the program language, does not
match.
The exact warning depends on the nature of the discrepancy.
Mismatched Date and Time
If a discrepancy is detected that is strictly limited to a difference in the date and time, the
warning shown in Mismatched Date and Time Warning (Figure 9-31) is displayed.
9-34
Compuware Shared Services User/Reference Guide
Figure 9-31. Mismatched Date and Time Warning for COBOL and PL/1
COMPUWARE/VF -----------------------------------------------------------------COMMAND INPUT ===>
'CX.CSS79.QA.REPTFILE'
*
*
*
*
*
*
*
*
*
*
REPT.4
JOBNAME1
J31098
* * * * * * * * * * *
W A R N I N G
* * * * * * * * * * *
Program
Most recent listing
--------------------------------------------------------Name: COBSAMP
COBSAMP
Load: COBSAMP
Date: 07 DEC 2000
27 DEC 2001
Time: 11:22:20
08:07:38
*
*
*
*
*
*
*
*
The program date and time stamp does not match a source listing.*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Type an S next to the desired option and press ENTER.
_
_
_
_
Use the MOST RECENT source listing shown above.
Display available source listings.
Retrieve a source listing by submitting background JCL.
Provide BASIC support without a source listing.
Enter END command to exit.
From this screen, you may choose one of the following:
•
•
•
•
•
Use the most recent source listing shown above.
Display available source listings.
Retrieve a source listing by submitting background JCL.
Provide basic support without a source listing.
Exit the selected section.
Note:
Selecting the “Display available source listings” option will only list the source
members that match the program name and compiler level of the original source
listing.
Mismatched Structure for PL/I
The warning shown in Mismatched-Structure Warning (Figure 9-32) is displayed when
the following conditions are true:
• The program is a PL/I program.
AND
• One of the following is also true:
– One or more procedure names or BEGIN blocks on the calling chain do not exist
in the source listing.
OR
– A discrepancy is noted in the offset from the beginning of the compile unit.
Compuware Viewing Facility
9-35
Figure 9-32. Mismatched-Structure Warning for PL/I
COMPUWARE/VF -----------------------------------------------------------------COMMAND INPUT ===>
'CX.CSS79.QA.REPTFILE'
* * * * *
*
*
*
*
*
*
*
*
*
* * * * *
REPT.1
* * * * * * *
JOBNAME1
J20788
W A R N I N G
* * * * * * * * * * * *
*
An appropriate source listing could not be found.
*
Either:
*
1. a source listing for program PLIA5
does not
*
exist, or
*
2. a source listing exists, but it does not match
*
the compiler language and release of the program
*
in the Abend-AID report.
*
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Type an S next to the desired option and press ENTER.
_ Retrieve a source listing by submitting background JCL.
_ Provide BASIC support without a source listing.
Enter END command to exit.
From this screen, you may choose one of the following:
• Retrieve a source listing by submitting background JCL.
• Provide Basic support without a source listing.
• Exit the selected section.
Mismatched Structure for Assembler
Since Assembler programs often contain more than one CSECT (named program section),
it may be that the name of the CSECT in which an abend occurred bears no relation to
the name of the source listing in DDIO. In this case, the Compuware Viewing Facility
presents you with a list of all Assembler programs in any of the source listing DDIO files
you are using (see Figure 9-33).
Figure 9-33. Assembler Mismatch List
COMPUWARE/VF -----------------------------------------------COMMAND INPUT ===>
CSECT Name: EURO01
Wildcard Mask: ********
Assembled: 16 AUG 2000
ROW 1 TO 3 OF 3
SCROLL ===> CSR
Load module: EURO01
The CSECT name and date do not uniquely match a source listing.
_ Retrieve a source listing by submitting background JCL.
_ Provide BASIC support without a source listing.
Type an S next to the correct source listing below and press the ENTER key.
ASSEMBLER SOURCE LISTING DATASET DIRECTORY
PROGRAM
LIST NUMBER
ASMB DATE
TIME
RC
LANGUAGE
SIZE(K)
---------- 'CX.TEST.LISTFILE' ------------------------------------------CCADEMO
(L)
19
08 MAR 2002 10.19
00
HLASM R2
2196
PTFBLD
15
18 FEB 2002 09.02
00
HLASM R2
96
ASMCRGD
14
28 JAN 2002 13.51
00
HLASM R2
147
AA01DEMO (M)
13
23 JAN 2002 16.44
00
HLASM R2
230
LITXNY
9
02 JAN 2002 12.17
00
HLASM R2
75
******************************* BOTTOM OF DATA ********************************
9-36
Compuware Shared Services User/Reference Guide
From this screen, you may select the source listing that contains the “CSECT Name”
displayed on the top left of the screen.
On-the-Fly Language Processing Support
When viewing an Abend-AID report, sometimes no source listing member is available in
any of the selected Source DDIO files or Source Database files (No Source). Then report
viewing will not have source support with all of its advantages. Additionally, sometimes a
source listing member is available, but it does not “match” the same parameters as the
Abend-AID report (Mismatch). That is, the time of the compilation does not match the
abending load module, or perhaps the source listing member was created with a different
version of COBOL compiler (i.e., not the same as used for the abending load module).
When these situations are detected, on-the-fly language processing support allows you to
optionally invoke language processing immediately. After the processing is completed,
the Abend-AID report can be reselected and full source support is then available.
Whenever a No Source or Mismatch situation occurs, one of the following two panels
appears in the viewing facility (Figure 9-34 or Figure 9-35). Each of these panels existed
previously (before CSS 7.9), but an extra option now appears on the panel (shown in
bold) for the on-the-fly options.
Panel AAAEPNSL (shown in Figure 9-34) and AAAEPMIS (shown in Figure 9-35) both
provide a Retrieve option.
Figure 9-34. Source Not Found Warning Panel
COMPUWARE/VF -----------------------------------------------------------------COMMAND INPUT ===>
'CX.RPTFILE'
* * * * *
*
*
*
*
*
*
*
*
*
* * * * *
REPT.92
AA94TST1
* * * * * * *
J20788
W A R N I N G
* * * * * * * * * * * *
*
An appropriate source listing could not be found.
*
Either:
*
1. a source listing for program COMP5
does not
*
exist, or
*
2. a source listing exists, but it does not match
*
the compiler language and release of the program
*
in the Abend-AID report.
*
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Type an S next to the desired option and press ENTER.
_ Retrieve a source listing by submitting background JCL
_ Provide BASIC support without a source listing
Enter END command to exit.
Compuware Viewing Facility
9-37
Figure 9-35. Program Date and Time Do Not Match Source Listing
Panel AAAEPMIS.
COMPUWARE/VF -----------------------------------------------------------------COMMAND INPUT ===> _
'CX.TEST.RPTFILE'
*
*
*
*
*
*
*
*
*
*
REPT.14
AA94TST2
14078
* * * * * * * * * * *
W A R N I N G
* * * * * * * * * * *
Program
Most recent listing
--------------------------------------------------------Name: COBMIS
COBMIS
Load: COBMIS
Date: 01 MAY 2002
30 APR 2002
Time: 13:52:07
09:37:44
*
*
*
*
*
*
*
*
The program date and time stamp does not match a source listing.*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Type an S next to the desired option and press ENTER.
_
_
_
_
Use the MOST RECENT source listing shown above.
Display available source listings.
Retrieve a source listing by submitting background JCL.
Provide BASIC support without a source listing.
Panel AAAEMALS (shown in Figure 9-36) is a special panel used by Assembler programs
that have a “mismatch.”
Figure 9-36. Assembler Mismatch Panel
COMPUWARE/VF ---------------------------------------------COMMAND INPUT ===>
CSECT Name: EURO01
Wildcard Mask: ********
Assembled: 16 AUG 2000
ROW 1 TO 28 OF 31
SCROLL ===> CSR
Load module: EURO01
The CSECT name and date do not uniquely match a source listing.
_ Retrieve a source listing by submitting background JCL.
_ Provide BASIC support without a source listing.
Type an S next to the correct source listing below and press the ENTER key.
ASSEMBLER SOURCE LISTING DATASET DIRECTORY
PROGRAM
LIST NUMBER
ASMB DATE
TIME
RC
LANGUAGE
SIZE(K)
---------- 'CX.TEST.DDIO' ----------------------------------------------X80102B
(L)
3537
09 NOV 2001 12.20
00
HLASM R4
399
TEMPNAME (L)
3344
10 SEP 2001 13.33
00
HLASM R4
160
TEST1
(L)
3179
22 JUN 2001 11.35
00
HLASM R4
160
VIBAIITF (L)
3046
28 MAR 2001 13.07
00
HLASM R4
559
CWDEMASM (L)
2612
14 JUN 2000 20.08
04
HLASM R3
240
ASM03T
(L)
2651
08 JUN 2000 15.47
00
HLASM R3
80
ASMPRG1
(L)
2330
13 MAR 2000 12.14
00
HLASM R3
80
AIBHLP00 (L)
1023
T PAGO N
10.51
00
HLASM R2
719
BXPLDBRT (L)
1884
03 AUG 1999 13.39
04
ASMH
399
L87C006
(L)
1598
08 JUL 1999 16.37
00
HLASM R2
399
You can select “retrieve” to begin on-the-fly language processing, or select BASIC
support, on one of the panels above.
If BASIC support is selected, no source support will be available, and the abend report
will be viewed without any source support. The next panel to be displayed will be the
normal Abend-AID Analysis of Errors section without source support.
If the “Retrieve” option is selected on either of these panels, you will be presented with
additional panels that conduct the on-the-fly language processing sequence. The next
panel is:
9-38
Compuware Shared Services User/Reference Guide
Figure 9-37. Source Listing Retrieval Menu
COMPUWARE/VF -----------------------------------------------------------------COMMAND INPUT ===>
SOURCE LISTING RETRIEVAL MENU
Type an S next to the desired option and press ENTER to generate JCL:
_ A compiler listing exists and needs to be converted to a
usable Compuware Source Listing format.
_ No compiler listing exists. One needs to be created by
compiling into a Compuware Source Listing format.
Enter END command to exit.
You have two selection options on this panel. Each option is essentially a choice between
language postprocessing only, or compile and process.
The first option is used when a compiler listing exists, but it is not stored in a
Compuware DDIO file. The listing may exist in a sequential or partitioned dataset, or
possibly in a listing database. You only need to post process this listing with the
Compuware Language Processor in order to create a source listing member in a DDIO file.
The second option is used when there is no compiler listing available. When this occurs,
a listing must be re-created by recompiling the source program. Choosing this option will
select the CSS language preprocessor, which will compile the source program and create a
resulting source listing member into a DDIO file.
Each of the two options above provides two additional choices. The additional choices
focus around using a customer-supplied procedure to invoke language postprocessing, or
language preprocessing (compile and process). The panel with the additional choices is
shown in Figure 9-38.
Figure 9-38. Select Postprocess Procedure Screen
COMPUWARE/VF -----------------------------------------------------------------COMMAND INPUT ===>
POSTPROCESS PROCEDURE
Type an S next to the desired option and press ENTER to generate JCL:
_ Execute a customer defined procedure to postprocess.
_ Execute CSS Utilities to begin postprocessing.
Enter END command to exit.
Compuware Viewing Facility
9-39
Whenever the first option is chosen, a TSO CLIST is invoked. Some customers have
already prepared customer procedures that they use to perform language processing
tasks. If they choose, they can have the viewing facility call their procedure directly by
selecting the first option. In order for this option to work properly, your CLIST must be
available in the proper library and set up to be called. Compuware will also provide
working sample CLISTs that illustrate how a customer CLIST could be created. The
sample CLISTs are called CXOTFPRE (for preprocessing-oriented procedures) and
CXOTFPST (for postprocessing-oriented procedures).
If the second option is chosen, then no customer-supplied CLIST exists or is desired, so
the standard CSS Utilities will be invoked to perform preprocessing or postprocessing. If
you choose this option, you will be taken directly to one of the existing CSS Utilities
panels to begin tailoring your language processing options. For clarity, an example of one
of the CSS Utilities panels is shown in Figure 9-39:
Figure 9-39. CSS Utilities - Load Existing Listing Screen
CXUEPOP1 ---- COMPUWARE CSS UTILITIES -- LOAD EXISTING LISTING --------- V9.0.0
COMMAND ===>
Primary Commands: blank (Process Listing)
Compiler Listing
Preparation
Language
===>
===> BATCH
===> COBOL
Browse
Edit
SEtup
Batch/Editjcl
COBOL/PLI/ASSEMBLER
DDIO Listing File ===> LISTFILE
Options Dataset ===>
Enhanced FIND ===> N
(Y/N)
After you complete the customer-supplied language processing actions, or use the CSS
Utilities panels, you will be returned to the following panel (see Figure 9-40):
Figure 9-40. Post-Submission Selection Menu
COMPUWARE/VF -----------------------------------------------------------------COMMAND INPUT ===>
Post-Submission Selection MENU
If you submitted JCL, it will execute in the background. You will be
informed of job completion because a JCL JOBCARD NOTIFY= was specified.
Until this JCL completes, you have the following options:
Type an S next to the desired option and press ENTER:
_ Provide BASIC support without a source listing.
_ Return to the OUTPUT SELECTION MENU to select a different
section of the same report.
_ Return to the Abend-AID DATASET DIRECTORY to select a different
report.
Enter END command to exit.
You have three choices on the post-submission selection menu. Presumably JCL has been
submitted to the system for execution that will create a source listing member. If you
submitted JCL, then there will be a delay while the JCL executes. In the meantime, you
9-40
Compuware Shared Services User/Reference Guide
can select any of the options available, or wait for JCL completion. If you did not submit
any JCL, the three choices are nevertheless still valid.
The first choice is to continue viewing Abend-AID with BASIC support (that is, no source
support). Later, you can reselect the abend report on the report selection menu to gain
access to source after the JCL execution is completed.
The second choice allows you to select a different section of the same Abend-AID report
while waiting for JCL completion.
The third choice allows you to go immediately to the report selection menu and select a
different Abend-AID report while waiting for JCL completion.
Displaying Available Source Listings
If you choose to display available source listings, the Source Listing Dataset Directory
Screen (Figure 9-41) is displayed.
Figure 9-41. Source Listing Dataset Directory Screen
COMPUWARE/VF --------------------------------------------- ROW 1 TO 3 OF 3
COMMAND INPUT ===>
SCROLL ===> PAGE
SOURCE LISTING DATASET DIRECTORY
PROGRAM
LIST NUMBER
COMP DATE
TIME
RC
LANGUAGE
SIZE
---------- 'CWX0236.TECH.FIL1169.SLS2' ------------------------------WTP#1074 (L)
16
05 MAY 1996 16:16:18 00
PL/I V2
48 KB
WTP#1074
8
29 MAR 1996 09:16:26 00
PL/I V2
32 KB
---------- 'CWX0236.TECH.FIL1169.SLS1' ------------------------------WTP#1074 (L)
17
04 MAY 1996 10:49:45 00
PL/I V2
82 KB
WTP#1074
16
03 MAR 1996 09:16:26 00
PL/I V2
82 KB
---------- 'CWX0236.BD60.SLSP' --------------------------------------WTP#1074 (L)
19
05 MAY 1996 16:16:18 00
PL/I V2
44 KB
WTP#1074 (L)
12
04 FEB 1996 10:49:45 00
PL/I V2
40 KB
WTP#1074 (L)
10
02 FEB 1996 09:16:26 00
PL/I V2
32 KB
******************************* BOTTOM OF DATA *******************************
The source listings are arranged by source listing file. A separator line that includes the
name of the source listing file precedes the source listings for that source listing file. The
Source Listing Dataset Directory Screen (Figure 9-41) displays the following information:
PROGRAM:
Lists the members (source listings) for each source listing file.
LIST NUMBER:
The number assigned by the language processor to identify the source listing within
each source listing file. The source listings within each source listing file are
numbered sequentially beginning at 1 and continuing until the source listing file is
reformatted. The following status indicators also appear, if applicable, in the List
Number column.
*I
Source listing is incomplete.
*IL
Source listing is incomplete and locked.
*IM
Source listing is incomplete and manually locked.
(L)
Source listing is automatically locked.
(M)
Source listing is manually locked.
Compuware Viewing Facility
9-41
COMP DATE:
The date the program was compiled.
TIME:
The time the program was compiled.
RC
The Compuware language processor return code.
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
9-42
Compuware Shared Services User/Reference Guide
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
SIZE:
The number of bytes (KB) allocated for the source listing in the source listing file.
Compuware Viewing Facility
9-43
Line Commands from Source Listing Dataset Directory Screen
From the Source Listing Dataset Directory Screen (Figure 9-41 on page 9-40), you can
enter the following line commands:
B
Browses the source listing.
D
Deletes the source listing from the source listing file. If you entered YES in the
Confirm delete field on the Compuware/VF Entry Panel (Figure 9-2 on page 9-3), a
Confirm Delete screen will be displayed before allowing you to delete the source
listing. If the member is locked (automatically or manually), the member is
unlocked and the source listing deleted.
L
Locks the source listing so it cannot be automatically deleted when the source
listing file formatted with AUTODELETE=YES, AUTODELETE=DUPS, or
AUTODELETE=STAGED becomes full. Manual locks appear with a status indicator
of (M) on the Source Listing Directory screen (Figure 9-41 on page 9-40).
P
Prints the source listing using the hardcopy facility. If you entered YES in the
Show print setup field on the Compuware/VF Entry Panel (Figure 9-2 on page 9-3),
the Hardcopy Options Screen (Figure 9-21 on page 9-22) will be displayed.
S
Selects the source listing for viewing the selected portion of the Abend-AID report.
U
Unlocks the source listing so it can be automatically deleted when the source
listing file formatted with AUTODELETE=YES, AUTODELETE=DUPS, or
AUTODELETE=STAGED becomes full.
Notes:
1. The commands D, L, P, and U are the same as for the standard Dataset Directory
Screen.
2. For additional information on the AUTODELETE parameter, refer to “Command
Parameters for all DDIO files” on page 8-8.
When multiple line commands are entered on the Dataset Directory Screen, shown as a
result of selecting “Display available source listings” from the mismatched source listing
warning, they will be executed from top to bottom until the first S command is executed.
Any remaining line commands will be ignored.
Note:
If you select either basic support or a source listing for viewing the selected
portion of the Abend-AID report, the selection will remain in effect until you exit
the Abend-AID report or enter the SOURCE command.
Source-Not-Found Warning
The warning shown in Source-Not-Found Warning (Figure 9-42) will be displayed when
the following conditions are true:
• You entered YES in the Show source warning field on the Compuware/VF Entry
Panel (Figure 9-2 on page 9-3).
AND
• The portion selected for viewing contains information for the COBOL or PL/I
program that does not have a source listing with the same program name and
language as in the specified source listing file.
9-44
Compuware Shared Services User/Reference Guide
Figure 9-42. Source-Not-Found Warning
COMPUWARE/VF ----------------------------------------------------------COMMAND INPUT ===> _
'CWX0236.DD57.RAA1'
* * * * *
*
*
*
*
*
*
*
*
*
*
* * * * *
REPT.(L) 7
* * * * * * *
B51115C2 JOB17222
W A R N I N G
* * * * * * * * * * * * *
*
An appropriate source listing could not be found.
*
*
Either:
*
1. a source listing for program JBERNAT does not
*
exist, or
*
2. a source listing exists, but it does not match
*
the compiler language and release of the program
*
in the Abend-AID report.
*
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Type an S next to the desired option and press ENTER.
_ Retrieve a source listing by submitting background JCL.
_ Provide BASIC support without a source listing.
Enter END command to exit.
From this screen, you may select one of the following:
• Submit a background job to retrieve a source listing.
• Continue without source support
• Exit the selected section.
Note:
If you select basic support, the selection will remain in effect until you exit the
Abend-AID report or enter the SOURCE command.
SOURCE Command
The SOURCE command lets you suspend or reinstate the use of source support.
The following diagram illustrates the syntax for the SOURCE command.
+--- SOURCE Command Syntax --------------------------------------------------+
¦
¦
¦
+-ON-------+
¦
¦ >>--SOURCE--+----------+--><
¦
¦
+-OFF------¦
¦
¦
+-MISMatch-+
¦
+----------------------------------------------------------------------------+
ON:
Use source support.
OFF:
Temporarily suspend source support.
MISMATCH:
Specifies to the Viewing Facility to display the appropriate mismatched screen(s) the
next time the source is merged with the report. This lets you specify the correct
source for the Abend-AID listing or Abend-AID report. This parameter is available on
the following screens:
–
–
–
–
Compuware/VF Output Selection Menu (Figure 9-22 on page 9-24)
Compuware/VF Program Storage Selection List (Figure 9-23 on page 9-25)
Compuware/VF Program Listing Selection List (Figure 9-25 on page 9-28)
any screen displaying an Abend-AID report section.
Compuware Viewing Facility
9-45
When viewing a panel from the Abend-AID report, the mismatch screen(s) display
immediately. When viewing the Compuware/VF Output Selection Menu or the
selection lists, the mismatch screen(s) display after you merge the source with the
report.
You can enter the SOURCE MISMATCH command from the Compuware/VF Output
Selection Menu or from any Abend-AID report section. Once entered, this command
remains in effect only while viewing the current report.
If the SOURCE MISMATCH command is entered while viewing a section, the section will
be displayed in the requested format and repositioned at the last entry point. For
example, if the last entry was DIAGS, then the display will be positioned at DIAGS in the
requested format regardless of the section displayed at the time the SOURCE MISMATCH
command was entered.
The SOURCE MISMATCH command cancels selections made on the warning screens.
VIEW (V) Command
The VIEW command controls the display of Assembler source lines in an Abend-AID
report that is merging Assembler source with Abend-AID text. The View setting is
retained throughout the session; it is not saved across sessions. Each new session begins
with View Left in effect.
Note:
The View setting affects only the display of source lines in Assembler.
The following diagram illustrates the syntax for the VIEW command.
+--- VIEW Command Syntax ---------------------------------------------------+
¦
¦
¦
+-Left--+
¦
¦ >>--View--+-------+--><
¦
¦
+-Right-+
¦
+---------------------------------------------------------------------------+
Left:
(Default) This command may be entered as V L. When View Left is in effect, the
Assembler source line display includes the Assembler line number, the offset of the
instruction, the object code of the instruction, any label on the instruction, and as
much of the source code as fits on the screen. For example:
33
000018 1821
+SETPLIST LR
R2, R1
Caller’s plist
Right:
This command may be entered as V R. When View Right is in effect, the display
includes the Assembler line number, any label on the instruction, and the source
code out to and including column 72. For example:
33+SETPLIST LR
R2, R1
Caller’s plist and interface block to R2
Browsing Abend-AID Reports
After you select a section of the Abend-AID report, the beginning of that section is
displayed. You can then scroll through any viewable portion of the Abend-AID report
using the FIND and FS commands or standard ISPF scroll commands. The viewable
portion of the Abend-AID report depends on the type of report file:
Abend-AID
If you select any section number from 0 through 5, all existing sections with
numbers 0 through 5 can be viewed. If you select any section number greater than 5,
only the selected section can be viewed.
9-46
Compuware Shared Services User/Reference Guide
To view a section of the Abend-AID report that is not currently formatted for
viewing, enter the section number or abbreviation in the COMMAND INPUT field,
or return to the Compuware/VF Output Selection Menu (Figure 9-22 on page 9-24) by
entering the END command.
FIND and FS Commands
After an Abend-AID report section is selected, the FIND and FS commands are valid in the
COMMAND INPUT field of the Abend-AID report output screen.
The FIND command is similar to the ISPF FIND command. Compuware/VF detects the
current cursor position and conducts a search for the specified string starting from this
position.
• If an occurrence of the string is found on the current screen, the cursor is moved to
that occurrence.
• If an occurrence of the string is not found on the current screen but is found on a
subsequent screen, the line containing the string is repositioned to appear near the
top of the screen.
• If the string is not found, the search stops at the end of the viewable portion of the
report and the message *BOTTOM OF DATA REACHED* is displayed.
The FS command is similar to the FIND command, but is case-sensitive. Only strings with
matching uppercase and lowercase characteristics will be found. For example, specifying
“REPORT” (all uppercase characters) will not find occurrences of “Report” (mixed case) or
“report” (lowercase). To find these alternative forms of “REPORT”, use the FIND
command.
Searches may be conducted using any of the following:
F xxx
Finds a character string xxx within the viewable portion of the report.
F 'xxx yyy' Finds a character string xxx yyy that contains embedded blanks; the single
quotation marks define the limits of the string.
FS xxx
Conducts a case-sensitive search for character string xxx within the
viewable portion of the report.
PF5
Finds the next occurrence of the specified string after a FIND is performed.
FS
Repeats the FS command for the string that was last specified.
Note:
Use the FS command if the string contains double-byte characters.
When Compuware/VF is formatting program storage areas (when Program Storage has
been selected from the Compuware/VF Output Selection Menu), the status area displays a
message that states “formatting still in progress.” If you use the FIND or FS command at
this point, Compuware/VF searches the currently-formatted data areas for the specified
string.
Accessing File-AID from Compuware/VF
CSS enables you to invoke File-AID/MVS, File-AID for DB2, or File-AID for IMS to browse
or edit files directly from Compuware/VF. To access File-AID in this manner, complete the
following steps:
1. Ensure that File-AID and Abend-AID are installed.
Compuware Viewing Facility
9-47
2. Ensure that the File-AID libraries are allocated at TSO logon or are allocated within
the REXX or CLIST that is being used to invoke the Compuware/VF.
3. Choose one of the following options on the Compuware/VF Output Selection Menu:
Table 9-5.
Accessing File-AID
To access
Choose this option
File-AID/MVS
Option 8, Data management control blocks
File-AID for DB2
Option 11, DB2 diagnostic and status information
File-AID for IMS
Option 9, IMS diagnostic information and PCBs
4. Two File-AID options appear at the top of the screen: EDIT and BROWSE. Enter one
of the following:
– If the Abend-AID report contains multiple files and a File Summary Selection list
appears (see Figure 9-26 on page 9-29), use the E (EDIT) or B (BROWSE) line
command to display a File-AID Edit or Browse screen containing that report.
– If specific file information appears, enter the EDIT or BROWSE command at the
command prompt to display a File-AID Edit or Browse screen.
Note:
The EDIT command will not override your internal security package.
Accessing CSS Utilities from Compuware/VF
CSS Utilities walks you step-by-step through CSS Language Processor functions and DDIO
file manipulation with easy-to-use panels. Supported Language Processor 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
STROBE
To access CSS Utilities from Compuware/VF, enter the CSSUTIL command at the
command prompt on any Compuware/VF screen. The CSS Utilities - Primary Menu
(Figure 3-1 on page 3-2) is displayed.
For a complete description of CSS Utilities functionality, see Chapter 3, “CSS Utilities”.
To return to Compuware/VF from CSS Utilities, press PF3.
9-48
Compuware Shared Services User/Reference Guide
10-1
Chapter 10.
COBOL Language Processor
Chap 10
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 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.
The viewing facility or the product being used to view the listing (such as AbendAID for CICS or Xpediter) 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. An enhanced listing for COBOL programs can be
produced, if desired.
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
10-2
Compuware Shared Services User/Reference Guide
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.
The preprocessor can automatically pass the required options to the compiler.
For a list of the required compiler options, refer to “Required Options for Supported
COBOL Compilers” on page 10-10.
• 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 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=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.
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.
COBOL Language Processor
10-3
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.
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.
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:
10-4
Compuware Shared Services User/Reference Guide
• 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 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
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.
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 10-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
COBOL Language Processor
10-5
Table 10-3. COBOL Sample JCL Members
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 10-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
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.
– 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.
10-6
Compuware Shared Services User/Reference Guide
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 10-16
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 10-28 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.
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.
COBOL Language Processor
10-7
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 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 two ways:
1.To stop an individual language processor job from producing the CWPWBNV DD
output, specify the PROCESSOR($NOWB) preprocessor option.
2.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 B, “Using the Customer Modification Facility” for more information
about how to specify CMF parameters to change Shared Services behaviors.
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.
10-8
Compuware Shared Services User/Reference Guide
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.
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.
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.
COBOL Language Processor
10-9
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.
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
10-10
Compuware Shared Services User/Reference Guide
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.
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 10-11)
MAP
NONUMBER (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 10-11)
NOTEST (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 10-11)
OFFSET or LIST (See note 1 on page 10-11)
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 10-11)
MAP
NONUMBER (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 10-11)
NOTEST (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 10-11)
PGMNAME(COMPAT) (See note 6 on page 10-11)
OFFSET or LIST (See note 1 on page 10-11)
SOURCE
XREF or XREF(SHORT) or XREF(FULL)
VS/COBOL II (all releases)
•
•
•
•
•
•
•
•
ALOWCBL (See note 3 on page 10-11)
MAP
NOFDUMP (Xpediter/TSO only) (See note 5 on page 10-11)
NONUMBER (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 10-11)
NOTEST (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 10-11)
OFFSET or LIST (See note 1 on page 10-11)
SOURCE
XREF or XREF(SHORT) or XREF(FULL) (See note 2 on page 10-11)
OS/VS COBOL
•
•
•
•
•
•
•
•
•
•
•
•
•
CLIST or PMAP
DMAP
NOBATCH
NOCDECK
NOFDECK
NOFLOW (Xpediter/TSO only) (See note 5 on page 10-11)
NOLST
NOSTATE (Xpediter/TSO only) (See note 5 on page 10-11)
NOSYMDMP
NOTEST (Xpediter/TSO and Xpediter/CICS) (See note 5 on page 10-11)
SOURCE
VERB
XREF or SXREF
COBOL Language Processor
10-11
CA-OPTIMIZER II (See note 4 on page 10-11)
•
•
•
•
•
LIST or OFFSET or MOFFSET or CLIST or PMAP or MLIST
MAP or DMAP or MMAP or MDMAP
NOCXREF
NOXMDMAP
XREF or MXREF
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 10-32.
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
10-28, 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 10-1, Figure 10-2, and Figure 10-3, for examples
of enhanced listings.
Note:
COBOL 5.1 does not create an enhanced listing.
10-12
Compuware Shared Services User/Reference Guide
Figure 10-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 10-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 10-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
-------------------------------------------------------------------------------------------------------------------------
COBOL Language Processor
10-13
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.
Listing Features
The VS COBOL II enhanced listing shown in Figure 10-2 on page 10-12 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 10-2 on page 10-12). 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 10-3.
10-14
Compuware Shared Services User/Reference Guide
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.
+--- CICSTEST Command -------------------------------------------------------+
¦
¦
¦
+-(NOOptions)------------+
¦
¦ >>--CICstest--+------------------------+--><
¦
¦
+-(Options(+-Severe--+))-+
¦
¦
+-Warning-¦
¦
¦
+-No------+
¦
+----------------------------------------------------------------------------+
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 Language Processor
10-15
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 Parameter -------------------------------------------------------+
¦
¦
¦
+-NOPRint-+
+-NODDio-+
¦
¦ >>--COBol(OUtput(+--+---------+-,-+--------+--+))--><
¦
¦
¦ +-PRint---+
+-DDio---+ ¦
¦
¦
+-BOth-----------------------¦
¦
¦
+-NONe-----------------------+
¦
+----------------------------------------------------------------------------+
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.
10-16
Compuware Shared Services User/Reference Guide
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.
+--- CONDDDIO Command -------------------------------------------------------+
¦
¦
¦
+-4-+
¦
¦ >>--CONDDdio(+---+)--><
¦
¦
+-x-+
¦
+----------------------------------------------------------------------------+
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.
+--- CONDERRL Command -------------------------------------------------------+
¦
¦
¦
+-4-+
¦
¦ >>--CONDErrl(+---+)--><
¦
¦
+-x-+
¦
+----------------------------------------------------------------------------+
The following diagram illustrates the syntax for the CONDERRL command for CAOPTIMIZER.
+--- CONDERRL Command -------------------------------------------------------+
¦
¦
¦
+-6-+
¦
¦ >>--CONDErrl(+---+)--><
¦
¦
+-x-+
¦
+----------------------------------------------------------------------------+
COBOL Language Processor
10-17
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.
+--- CONDSTEP Command -------------------------------------------------------+
¦
¦
¦
+-HIghest--+
¦
¦ >>--CONDStep(+----------+)--><
¦
¦
+-COmpiler-+
¦
+----------------------------------------------------------------------------+
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.
10-18
Compuware Shared Services User/Reference Guide
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 Parameter -------------------------------------------------------+
¦
¦
¦
+-NOFInd-+
+-NOCOmpress-+
+-XRef---+
+-PMap---+
¦
¦ >>--DDio(OUtput(+--------+-,-+------------+-,-+--------+-,-+--------+,--> ¦
¦
+-FInd---+
+-COmpress---+
+-NOXRef-+
+-NOPMap-+
¦
¦
¦
¦
+-DMap---+
+-LIst---+
+-CList---+
+-Offset---+
¦
¦ >--+--------+-,-+--------+-,-+---------+-,-+----------+))--><
¦
¦
+-NODMap-+
+-NOLIst-+
+-NOCList-+
+-NOOFfset-+
¦
+----------------------------------------------------------------------------+
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:
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.
XREF (XR):
(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.
COBOL Language Processor
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.
10-19
10-20
Compuware Shared Services User/Reference Guide
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.
WRK0-WRK4 File-Overrides Commands
Specifies the work files.
+--- WRK0-WRK4 File-overrides Command ---------------------------------------+
¦
¦
¦
(1)
¦
¦ >>-WRKn--(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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.
+--- PRTI File-overrides Command --------------------------------------------------+
¦
¦
¦ >>--PRTI(+----------------------------------------------------------------+)-->< ¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers),LRECL(lrecl),RECFM(recfm)-+
¦
+----------------------------------------------------------------------------------+
If you omit DD(ddname), the assumed ddname will be CWPPRTI.
PRTO File-Overrides Command
Specifies COBOL language processor output.
+--- PRT0 File-overrides Command --------------------------------------------+
¦
¦
¦ >>--PRT0(+---------------------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers),LRECL(lrecl)-+
¦
+----------------------------------------------------------------------------+
If you omit DD(ddname), the assumed ddname will be CWPPRTO.
COBOL Language Processor
10-21
ERRM File-Overrides Command
Prints the COBOL language processor error messages.
+--- ERRM File-overrides Command --------------------------------------------+
¦
¦
¦ >>--ERRM(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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).
+--- LOAD File-overrides Command --------------------------------------------+
¦
¦
¦ >>--LOAD(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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).
+--- DECK File-overrides Command --------------------------------------------+
¦
¦
¦ >>--DECK(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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.
10-22
Compuware Shared Services User/Reference Guide
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
COBOL Language Processor
10-23
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 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.
+--- INCLUDE Command --------------------------------------------------------+
¦
¦
¦
+-CWPPRMO-+
¦
¦ >>--INclude(+---------+-,-+--------+)--><
¦
¦
+-ddname--+
+-member-+
¦
+----------------------------------------------------------------------------+
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.
10-24
Compuware Shared Services User/Reference Guide
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.
+--- LANGPARM Command -------------------------------------------------------+
¦
¦
¦ >>--LANGParm(+---------------+)--><
¦
¦
+-parm1...parmn-+
¦
+----------------------------------------------------------------------------+
parm:
Specifies a parameter to be passed.
COBOL Language Processor
10-25
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.
+--- LANGUAGE Command -------------------------------------------------------+
¦
¦
¦
+-VSCOBOLII-----+
¦
¦ >>--LANGuage(+---------------+-,-+--------------+)--><
¦
¦
+-VSCOBOL-------¦
+-CA-OPTIMIZER-+
¦
¦
+-VSCOBOLIIREL3-¦
¦
¦
+-VSCOBOLIIREL4-¦
¦
¦
+-COBOL/MVS-----¦
¦
¦
+-COBOL/370-----¦
¦
¦
+-COBOL/390-----¦
¦
¦
+-COBOLZ/OS-----+
¦
+----------------------------------------------------------------------------+
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.
10-26
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.
+--- PRINT Command ----------------------------------------------------------+
¦
¦
¦
+-LIst---+
+-OFfset---+
+-XRef---+
+-DMap---+
¦
¦ >>--PRint(OUtput(+--------+-,-+----------+-,-+--------+-,-+--------+,-->
¦
¦
+-NOLIst-+
+-NOOFfset-+
+-NOXRef-+
+-NODMap-+
¦
¦
¦
¦
+-MAp---+
+-SOurce---+
¦
¦ >--+-------+-,-+----------+))--><
¦
¦
+-NOMAp-+
+-NOSOurce-+
¦
+----------------------------------------------------------------------------+
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
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.
10-27
10-28
Compuware Shared Services User/Reference Guide
PROCESSOR (PROC)
The PROCESSOR command specifies the output parameters of the COBOL language
processor. The PROCESSOR command parameters are:
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
BYPASS
ERRORS
OUTPUT
POSITION and OFFSET (mutually exclusive)
SCALELINE
STATISTICS
TEXT
WARNINGS
$AOFF
$ASUP
$NG
$NIDR
$NO
$NOWB
IDENTNO or IDENTYES
$BATCH
$NOWB
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.
+--- BYPASS Parameter -------------------------------------------------------+
¦
¦
¦
+-NOBYpass-+
¦
¦ >>--PROCessor(+----------+)--><
¦
¦
+-BYpass---+
¦
+----------------------------------------------------------------------------+
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.
+--- ERRORS Parameter -------------------------------------------------------+
¦
¦
¦
+-UPper-case-+
¦
¦ >>--PROCessor(ERrors(+------------+))--><
¦
¦
+-MIxed-case-+
¦
+----------------------------------------------------------------------------+
UPPER-CASE (UP):
(Default) Errors will print in uppercase letters.
MIXED-CASE (MI):
Errors will print in uppercase and lowercase letters.
COBOL Language Processor
10-29
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.
Note:
COBOL 5.1 does not support enhanced listings.
+--- OUTPUT Parameter -------------------------------------------------------+
¦
¦
¦
+-PRint---+
+-NODDio-+
¦
¦ >>--PROCessor(OUtput(+-+---------+-,-+--------+-+))--><
¦
¦
¦ +-NOPRint-+
+-DDio---+ ¦
¦
¦
+-BOth---------------------¦
¦
¦
+-NONe---------------------+
¦
+----------------------------------------------------------------------------+
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.
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 Parameter -----------------------------------------------------+
¦
¦
¦
+-POSition---+
¦
¦ >>--PROCessor(+------------+)--><
¦
¦
+-NOPOSition-+
¦
+----------------------------------------------------------------------------+
POSITION (POS):
(Default) Positional data will be used.
NOPOSITION (NOPOS):
Offset data will be used.
10-30
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 Parameter -------------------------------------------------------+
¦
¦
¦
+-OFFset---+
¦
¦ >>--PROCessor(+----------+)--><
¦
¦
+-NOOFFset-+
¦
+----------------------------------------------------------------------------+
OFFSET (OFF):
(Default) Offset data will be used.
NOOFFSET (NOOFF):
Positional 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 Parameter ----------------------------------------------------+
¦
¦
¦
+-SCAleline---+
¦
¦ >>--PROCessor(+-------------+)--><
¦
¦
+-NOSCAleline-+
¦
+----------------------------------------------------------------------------+
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 Parameter ---------------------------------------------------+
¦
¦
¦
+-STatistics---+
¦
¦ >>--PROCessor(+--------------+)--><
¦
¦
+-NOSTatistics-+
¦
+----------------------------------------------------------------------------+
COBOL Language Processor
10-31
STATISTICS (ST):
(Default) Prints all the statistics.
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; i.e., 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.
+--- TEXT Parameter ---------------------------------------------------------+
¦
¦
¦
+-ALl--+
¦
¦ >>--PROCessor(TExt(+------+))--><
¦
¦
+-NONe-+
¦
+----------------------------------------------------------------------------+
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 10-8 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.
+--- WARNINGS Parameter -----------------------------------------------------+
¦
¦
¦
+-BOth----------------------+
¦
¦ >>--PROCessor(WArnings(+-+---------+-,-+---------+-+))--><
¦
¦
¦ +-FRont---¦
+-EMbed---¦ ¦
¦
¦
¦ +-NOFRont-+
+-NOEMbed-+ ¦
¦
¦
+-NONe----------------------+
¦
+----------------------------------------------------------------------------+
BOTH (BO):
(Default) Prints and embeds warning messages.
10-32
Compuware Shared Services User/Reference Guide
NONE (NON):
Does not print or embed warning messages.
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.
$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.
+--- $AOFF Parameter --------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-------+)--><
¦
¦
+-$AOFF-+
¦
+----------------------------------------------------------------------------+
$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 10-6.
The following diagram illustrates the syntax for the $ASUP parameter.
+--- $ASUP Parameter --------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-------+)--><
¦
¦
+-$ASUP-+
¦
+----------------------------------------------------------------------------+
$NG Parameter
Specifies that the preprocessor’s support of COPY SUPPRESS will be bypassed. The
following diagram illustrates the syntax for the $NG parameter.
+--- $NG Parameter ----------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-----+)--><
¦
¦
+-$NG-+
¦
+----------------------------------------------------------------------------+
Note:
The $NG option should not be specified if the WORD option is used for
alternative reserved words.
COBOL Language Processor
10-33
$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.
+--- $NIDR Parameter --------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-------+)--><
¦
¦
+-$NIDR-+
¦
+----------------------------------------------------------------------------+
$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.
+--- $NO Parameter ----------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-----+)--><
¦
¦
+-$NO-+
¦
+----------------------------------------------------------------------------+
Note:
The $NO option should not be specified if the WORD option is used for
alternative reserved words.
$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.
+--- $NO Parameter ----------------------------------------------------------+
¦
¦ >>--PROCessor(+-------+)--><
¦
¦
+-$NOWB-+
¦
+----------------------------------------------------------------------------+
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.
10-34
Compuware Shared Services User/Reference Guide
The default value is PROCESSOR(IDENTYES). You may alter this default by using the
Customer Modification Facility (see Appendix B, “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.
COBOL Language Processor
10-35
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.
+--- Program Name ----------------------------------------------------------+
¦
¦
¦ >>--PROgram-name(+------+)--><
¦
¦
+-name-+
¦
+----------------------------------------------------------------------------+
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.
+--- SYSTEM Command ---------------------------------------------------------+
¦
¦
¦ >>--SYStem(+-------+,-+-------+,-+------+,-+-----+,-+----+-)-><
¦
¦
+-ESORT-¦ +-TRace-+ +-TIme-+ +-PTF-+ +-ZAP+
¦
+----------------------------------------------------------------------------+
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.
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
10-36
Compuware Shared Services User/Reference Guide
memory usage and dump options when zIIP processing is enabled. The following
diagram illustrates the syntax of the ZIIP command:
+--- ZIIP Command -----------------------------------------------------------+
¦
¦
¦
+-YES-+ +-MEM64-+ +-DUMP---+
¦
¦ >>--ZIIP(+-----+,-+-------+,-+--------+-)-><
¦
¦
+-NO--+ +-MEM31-+ +-NODUMP-+
¦
+----------------------------------------------------------------------------+
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.
11-1
Chapter 11.
PL/I Language Processor
Chap 11
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.
11-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 11-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 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=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
11-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.)
11-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 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
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 11-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 11-4. PL/I Program Names
CWPPMAIN PL/I preprocessor
CWPPDRVR
PL/I postprocessor
PL/I Language Processor
11-5
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 11-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
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
11-6
Compuware Shared Services User/Reference Guide
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 two ways:
1.To stop an individual language processor job from producing the CWPWBNV DD
output, specify the PROCESSOR($NOWB) preprocessor option.
2.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 B, “Using the Customer Modification Facility” for more information
about how to specify CMF parameters to change Shared Services behaviors.
PL/I Language Processor
11-7
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))
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:
11-8
Compuware Shared Services User/Reference Guide
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
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));
PL/I Language Processor
11-9
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.
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:
11-10
Compuware Shared Services User/Reference Guide
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.
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;
PL/I Language Processor
11-11
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.
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,
11-12
Compuware Shared Services User/Reference Guide
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
STMT
STORAGE
SYNTAX
XREF(FULL)
VisualAge PL/I or Enterprise PL/I Compilers:
•
•
•
•
•
•
AGGREGATE
ATTRIBUTES(FULL)
LIST
MAP
OPTIONS
SOURCE
PL/I Language Processor
11-13
• 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:
+--- CONDDDIO Command -------------------------------------------------------+
¦
¦
¦
+-4-+
¦
¦ >>--CONDDdio(+---+)--><
¦
¦
+-x-+
¦
+----------------------------------------------------------------------------+
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:
+--- CONDSTEP Command -------------------------------------------------------+
¦
¦
¦
+-HIghest--+
¦
¦ >>--CONDStep(+----------+)--><
¦
¦
+-COmpiler-+
¦
+----------------------------------------------------------------------------+
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.
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.
11-14
Compuware Shared Services User/Reference Guide
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.
+--- DDIO Command -----------------------------------------------------------+
¦
¦
¦
+-NOCOmpress-+
+-XRef---+
+-DMap---+
+-List---+
¦
¦ >>--DDio(OUtput(+------------+-,-+--------+-,-+--------+-,-+--------+,--> ¦
¦
+-COmpress---+
+-NOXRef-+
+-NODMap-+
+-NOLIst-+
¦
¦
¦
¦
+-OFfset---+
+-VARREF---+
¦
¦ >--+----------+-,-+----------+))--><
¦
¦
+-NOOFfset-+
+-NOVARREF-+
¦
+----------------------------------------------------------------------------+
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):
Does not write the OFFSET section of the listing.
VARREF:
PL/I Language Processor
11-15
(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.
+--- WRK0-WRK4 File-overrides Command ---------------------------------------+
¦
¦
¦
(1)
¦
¦ >>-WRKn--(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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.
+--- PRTI File-overrides Command --------------------------------------------------+
¦
¦
¦ >>--PRTI(+----------------------------------------------------------------+)-->< ¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers),LRECL(lrecl),RECFM(recfm)-+
¦
+----------------------------------------------------------------------------------+
If you omit DD(ddname), the assumed ddname will be CWPPRTI.
11-16
Compuware Shared Services User/Reference Guide
PRTO File-Overrides Command
Specifies PL/I language processor output.
+--- PRT0 File-overrides Command --------------------------------------------+
¦
¦
¦ >>--PRT0(+---------------------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers),LRECL(lrecl)-+
¦
+----------------------------------------------------------------------------+
If you omit DD(ddname), the assumed ddname will be CWPPRTO.
ERRM File-Overrides Command
Prints the PL/I language processor error messages.
+--- ERRM File-overrides Command --------------------------------------------+
¦
¦
¦ >>--ERRM(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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).
+--- LOAD File-overrides Command --------------------------------------------+
¦
¦
¦ >>--LOAD(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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).
+--- DECK File-overrides Command --------------------------------------------+
¦
¦
¦ >>--DECK(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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.
PL/I Language Processor
11-17
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 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.
11-18
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the INCLUDE command:
+--- INCLUDE Command --------------------------------------------------------+
¦
¦
¦
+-CWPPRMO-+
¦
¦ >>--INclude(+---------+-,-+--------+)--><
¦
¦
+-ddname--+
+-member-+
¦
+----------------------------------------------------------------------------+
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.
+--- LANGPARM Command -------------------------------------------------------+
¦
¦
¦ >>--LANGParm(+---------------+)--><
¦
¦
+-parm1...parmn-+
¦
+----------------------------------------------------------------------------+
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.
PL/I Language Processor
11-19
The following diagram illustrates the syntax for the LANGUAGE command.
+--- LANGUAGE Command -------------------------------------------------------+
¦
¦
¦
+-PL/I-------+
¦
¦ >>--LANGuage(+------------+)--><
¦
¦
+-PLIADcycle-¦
¦
¦
+-VAPL/I-----+
¦
¦
+-ENTPL/I----+
¦
+----------------------------------------------------------------------------+
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.
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.
+--- PL/I Command -----------------------------------------------------------+
¦
¦
¦
+-NOPRint-+
+-NODDio-+
¦
¦ >>--PL/I(OUtput(+-+---------+-,-+--------+--+))--><
¦
¦
+ +-PRint---+
+-DDIO---+ ¦
¦
¦
+-BOth----------------------¦
¦
¦
+-NOne----------------------+
¦
+----------------------------------------------------------------------------+
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):
11-20
Compuware Shared Services User/Reference Guide
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)).
PL/I Language Processor
PRINT (PR)
The PRINT command identifies the sections of the listing that will be printed. The
parameter for the PRINT command is OUTPUT.
+--- PRINT Command ----------------------------------------------------------+
¦
¦
¦
+-LIst---+
+-OFfset---+
+-XRef---+
¦
¦ >>--PRint(OUtput(+--------+-,-+----------+-,-+--------+,-->
¦
¦
+-NOLIst-+
+-NOOFfset-+
+-NOXRef-+
¦
¦
¦
¦
+-SOurce---+
¦
¦ >--+----------+))--><
¦
¦
+-NOSOurce-+
¦
+----------------------------------------------------------------------------+
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.
11-21
11-22
Compuware Shared Services User/Reference Guide
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
IDENTNO or IDENTYES
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.
+--- BYPASS Parameter -------------------------------------------------------+
¦
¦
¦
+-NOBYpass-+
¦
¦ >>--PROCessor(+----------+)--><
¦
¦
+-BYpass---+
¦
+----------------------------------------------------------------------------+
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 PROCESSOR command ERRORS parameter.
+--- ERRORS Parameter -------------------------------------------------------+
¦
¦
¦
+-UPper-case-+
¦
¦ >>--PROCessor(ERrors(+------------+))--><
¦
¦
+-MIxed-case-+
¦
+----------------------------------------------------------------------------+
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.
PL/I Language Processor
11-23
The following diagram illustrates the syntax for the OUTPUT parameter.
+--- OUTPUT Parameter -------------------------------------------------------+
¦
¦
¦
+-PRint---+
+-NODDio-+
¦
¦ >>--PROCessor(OUtput(+-+---------+-,-+--------+-+))--><
¦
¦
¦ +-NOPRint-+
+-DDio---+ ¦
¦
¦
+-BOth---------------------¦
¦
¦
+-NONe---------------------+
¦
+----------------------------------------------------------------------------+
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.
$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.
+--- $NG Parameter ----------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-----+)--><
¦
¦
+-$NG-+
¦
+----------------------------------------------------------------------------+
$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.
+--- $NIDR Parameter --------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-------+)--><
¦
¦
+-$NIDR-+
¦
+----------------------------------------------------------------------------+
$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.
11-24
Compuware Shared Services User/Reference Guide
The following diagram illustrates the syntax for the PROCESSOR command $NO
parameter.
+--- $NO Parameter ----------------------------------------------------------+
¦
¦ >>--PROCessor(+-------+)--><
¦
¦
+-$NOWB-+
¦
+----------------------------------------------------------------------------+
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.
+--- Program Name ----------------------------------------------------------+
¦
¦
¦ >>--PROgram-name(+------+)--><
¦
¦
+-name-+
¦
+----------------------------------------------------------------------------+
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:
+--- SYSTEM Command ---------------------------------------------------------+
¦
¦
¦ >>--SYStem(+-------+,-+------+,-+-----+,-+----+-)-><
¦
¦
+-TRace-+ +-TIme-+ +-PTF-+ +-ZAP+
¦
+----------------------------------------------------------------------------+
TRACE (TR):
Specifies that internal traces be printed to CWPERRM.
PL/I Language Processor
11-25
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:
+--- ZIIP Command -----------------------------------------------------------+
¦
¦
¦
+-YES-+ +-MEM64-+ +-DUMP---+
¦
¦ >>--ZIIP(+-----+,-+-------+,-+--------+-)-><
¦
¦
+-NO--+ +-MEM31-+ +-NODUMP-+
¦
+----------------------------------------------------------------------------+
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.
11-26
Compuware Shared Services User/Reference Guide
12-1
Chapter 12.
Assembler Language Processor
Chap 12
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.
12-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 12-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 12-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
12-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.
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
Assembler language processor most efficiently.
Language Processor DD Statements
The following table lists the DD statements for the Assembler language processor.
Table 12-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
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 12-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 12-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
12-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 12-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 12-9.
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
12-6
Compuware Shared Services User/Reference Guide
information on the PROCESSOR($ASUP) parameter, please refer to “PROCESSOR
(PROC) Command” on page 12-18.
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
– 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.
Assembler Language Processor
12-7
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.
12-8
Compuware Shared Services User/Reference Guide
Assembler LP Command Descriptions and Syntax
This section describes the Assembler language processor commands and their parameters
and values.
ASSEMBLER (ASSEM) Command
The ASSEMBLER command controls the assembly listing destination. The parameter for
the ASSEMBLER command is OUTPUT.
+--- ASSEMBLER Command ------------------------------------------------------+
¦
¦
¦
+-NoPRint-+
+-NODDio-+
¦
¦ >>--ASSEMbler(OUtput(+--+---------+-,-+--------+--+))--><
¦
¦
+ +-PRint---+
+-DDIO---+ ¦
¦
¦
+-BOth-----------------------¦
¦
¦
+-NOne-----------------------+
¦
+----------------------------------------------------------------------------+
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)).
Assembler Language Processor
12-9
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.
+--- CONDDDIO Command -------------------------------------------------------+
¦
¦
¦
+-4-+
¦
¦ >>--CONDDdio(+---+)--><
¦
¦
+-x-+
¦
+----------------------------------------------------------------------------+
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
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.
+--- CONDSTEP Command -------------------------------------------------------+
¦
¦
¦
+-HIghest--+
¦
¦ >>--CONDStep(+----------+)--><
¦
¦
+-COmpiler-+
¦
+----------------------------------------------------------------------------+
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.
12-10
Compuware Shared Services User/Reference Guide
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.
+--- DDIO COMMAND - PROGRAM-NAME Parameter-----------------------------------+
¦
¦
¦ >>--DDio(PROgram-name(+------+))--><
¦
¦
+-name-+
¦
+----------------------------------------------------------------------------+
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.
+--- DDIO Command - DATE Parameter ------------------------------------------+
¦
¦
¦ >>--DDio(DATe(+------+))--><
¦
¦
+-date-+
¦
+----------------------------------------------------------------------------+
date:
Specifies the alternative date that will be used for the override. The value must be a
maximum length of eight characters.
TIME (TI) Parameter
Overrides the time found in the listing with a different time.
+--- DDIO Command - TIME Parameter ------------------------------------------+
¦
¦
¦ >>--DDio(TIme(+------+))--><
¦
¦
+-time-+
¦
+----------------------------------------------------------------------------+
time:
Specifies the alternative time that will be used for the override. The value must be a
maximum length of eight characters.
Assembler Language Processor
12-11
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.
+--- DDIO Command - OUTPUT Parameter ----------------------------------------+
¦
¦
¦
+-Xref---+
+-NOCOmpress-+
¦
¦ >>--DDio(OUtput(+--------+-,-+------------+))--><
¦
¦
+-NoXref-+
+-COmpress---+
¦
+----------------------------------------------------------------------------+
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.
12-12
Compuware Shared Services User/Reference Guide
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
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.
+--- WRK0-WRK4 File-overrides Command ---------------------------------------+
¦
¦
¦
(1)
¦
¦ >>-WRKn--(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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.
+--- PRTI File-overrides Command --------------------------------------------------+
¦
¦
¦ >>--PRTI(+----------------------------------------------------------------+)-->< ¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers),LRECL(lrecl),RECFM(recfm)-+
¦
+----------------------------------------------------------------------------------+
If you omit DD(ddname), the assumed ddname will be CWPPRTI.
PRTO File-Overrides Command
Specifies Assembler language processor output.
+--- PRT0 File-overrides Command --------------------------------------------+
¦
¦
¦ >>--PRT0(+---------------------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers),LRECL(lrecl)-+
¦
+----------------------------------------------------------------------------+
If you omit DD(ddname), the assumed ddname will be CWPPRTO.
Assembler Language Processor
12-13
ERRM File-Overrides Command
Prints the Assembler language processor error messages.
+--- ERRM File-overrides Command --------------------------------------------+
¦
¦
¦ >>--ERRM(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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).
+--- LOAD File-overrides Command --------------------------------------------+
¦
¦
¦ >>--LOAD(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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 assembler).
+--- DECK File-overrides Command --------------------------------------------+
¦
¦
¦ >>--DECK(+--------------------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers)-+
¦
+----------------------------------------------------------------------------+
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.
12-14
Compuware Shared Services User/Reference Guide
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
Assembler Language Processor
12-15
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:
• 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.
+--- INCLUDE Command --------------------------------------------------------+
¦
¦
¦
+-CWPPRMO-+
¦
¦ >>--INclude(+---------+-,-+--------+)--><
¦
¦
+-ddname--+
+-member-+
¦
+----------------------------------------------------------------------------+
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.
12-16
Compuware Shared Services User/Reference Guide
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.
+--- LANGPARM Command -------------------------------------------------------+
¦
¦
¦ >>--LANGParm(+---------------+)--><
¦
¦
+-parm1...parmn-+
¦
+----------------------------------------------------------------------------+
parm:
Specifies a parameter to be passed.
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.
+--- LANGUAGE Command -------------------------------------------------------+
¦
¦
¦
+-HASM--+
¦
¦ >>--LANGuage(+-------+)--><
¦
¦
+-FASM--¦
¦
¦
+-HLASM-+
¦
+----------------------------------------------------------------------------+
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.
Assembler Language Processor
12-17
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.
+--- PRINT Command ----------------------------------------------------------+
¦
¦
¦
+-XRef---+
+-SOurce---+
¦
¦ >>--PRint(OUtput(+--------+-,-+----------+))--><
¦
¦
+-NOXRef-+
+-NOSOurce-+
¦
+----------------------------------------------------------------------------+
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.
12-18
Compuware Shared Services User/Reference Guide
PROCESSOR (PROC) Command
The PROCESSOR command specifies the output parameters of the Assembler language
processor. The parameters for the PROCESSOR command are:
•
•
•
•
•
•
•
•
BYPASS
DIAGNOSE
ERRORS
$ASUP
$NG
$NIDR
$NO
IDENTNO or IDENTYES
BYPASS (BY) Parameter
Specifies whether to run the preprocessor and assembler without running the
postprocessor.
+--- BYPASS Parameter -------------------------------------------------------+
¦
¦
¦
+-NOBYpass-+
¦
¦ >>--PROCessor(+----------+)--><
¦
¦
+-BYpass---+
¦
+----------------------------------------------------------------------------+
NOBYPASS (NOBY):
(Default) Runs the postprocessor.
BYPASS (BY):
Does not run the postprocessor.
DIAGNOSE Parameter
Specifies whether extended diagnostic error messages will be generated.
+--- DIAGNOSE Parameter -----------------------------------------------------+
¦
¦
¦
+-NONe-----------------------------+
¦
¦ >>--PROCessor(DIAGNOSE(+-+------------+-,-+-------------+-+))--><
¦
¦
¦ +-LOW-core---¦
+-ESA-Index---¦ ¦
¦
¦
¦ +-NOLOW-core-+
+-NOESA-Index-+ ¦
¦
¦
+-ALL------------------------------+
¦
+----------------------------------------------------------------------------+
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.
Assembler Language Processor
12-19
ALL:
Has the same effect as specifying PROCESSOR(DIAGNOSE(LOW-CORE,ESA-INDEX)).
ERRORS (ER) Parameter
Specifies how the language processor error messages will be printed.
+--- ERRORS Parameter -------------------------------------------------------+
¦
¦
¦
+-UPper-case-+
¦
¦ >>--PROCessor(ERrors(+------------+))--><
¦
¦
+-MIxed-case-+
¦
+----------------------------------------------------------------------------+
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 12-5.
+--- $ASUP Parameter --------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-------+)--><
¦
¦
+-$ASUP-+
¦
+----------------------------------------------------------------------------+
$NG Parameter
Specifies that the preprocessor’s support of PRINT OFF or PRINT NOGEN will be
bypassed.
+--- $NG Parameter ----------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-----+)--><
¦
¦
+-$NG-+
¦
+----------------------------------------------------------------------------+
$NIDR Parameter
Specifies that placement of the date and time stamp on the object module will be
bypassed.
+--- $NIDR Parameter --------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-------+)--><
¦
¦
+-$NIDR-+
¦
+----------------------------------------------------------------------------+
$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
12-20
Compuware Shared Services User/Reference Guide
language processor, you can bypass the preliminary assembly to reduce the preprocessor’s
execution time.
+--- $NO Parameter ----------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-----+)--><
¦
¦
+-$NO-+
¦
+----------------------------------------------------------------------------+
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) 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.
+--- Program Name -----------------------------------------------------------+
¦
¦
¦ >>--PROgram-name(+------+)--><
¦
¦
+-name-+
¦
+----------------------------------------------------------------------------+
name:
Specifies an alternative name for a source listing written to the source listing file.
Assembler Language Processor
12-21
SYSTEM (SYS) Command
The SYSTEM command performs miscellaneous functions. The following diagram
illustrates the syntax for the SYSTEM command.
+--- SYSTEM Command ---------------------------------------------------------+
¦
¦
¦ >>--SYStem(+-------+,-+------+,-+-----+,-+----+-)-><
¦
¦
+-TRace-+ +-TIme-+ +-PTF-+ +-ZAP+
¦
+----------------------------------------------------------------------------+
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.
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:
+--- ZIIP Command -----------------------------------------------------------+
¦
¦
¦
+-YES-+ +-MEM64-+ +-DUMP---+
¦
¦ >>--ZIIP(+-----+,-+-------+,-+--------+-)-><
¦
¦
+-NO--+ +-MEM31-+ +-NODUMP-+
¦
+----------------------------------------------------------------------------+
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.
12-22
Compuware Shared Services User/Reference Guide
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.
13-1
Chapter 13.
C Language Processor
Chap 13
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
13-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 13-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
13-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.
13-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 13-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 13-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
13-5
The program names of the two C language processors are:
Table 13-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.
13-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
13-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.
13-8
Compuware Shared Services User/Reference Guide
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.
+--- C Command --------------------------------------------------------------+
¦
¦
¦
+-NOPrint-+
+-NODDio-+
¦
¦ >>--C(OUtput(+--+---------+-,-+--------+--+))--><
¦
¦
¦ +-PRint---+
+-DDio---+ ¦
¦
¦
+-BOth-----------------------¦
¦
¦
+-NOne-----------------------+
¦
+----------------------------------------------------------------------------+
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.
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)).
C Language Processor
13-9
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:
+--- CONDDDIO Command -------------------------------------------------------+
¦
¦
¦
+-4-+
¦
¦ >>--CONDDdio(+---+)--><
¦
¦
+-x-+
¦
+----------------------------------------------------------------------------+
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:
+--- CONDSTEP Command -------------------------------------------------------+
¦
¦
¦
+-HIghest--+
¦
¦ >>--CONDStep(+----------+)--><
¦
¦
+-COmpiler-+
¦
+----------------------------------------------------------------------------+
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.
13-10
Compuware Shared Services User/Reference Guide
DDIO
The DDIO command specifies which sections of the C compiler listing will be written to
the DDIO file.
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.
+--- DDIO Command -----------------------------------------------------------+
¦
¦
¦
+-XRef---+
+-LIst---+
¦
¦ >>--DDio(OUtput(+--------+-,-+--------+))--><
¦
¦
+-NOXRef-+
+-NOLIst-+
¦
+----------------------------------------------------------------------------+
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.
C Language Processor
13-11
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:
+--- ERRM File-overrides Command ---------------------------------------------+
¦
¦
¦ >>--ERRM(+-------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize)-+
¦
+-----------------------------------------------------------------------------+
If you omit DD(ddname), the assumed ddname will be CWPERRM.
PRTI File-Overrides Command
The compiler listing to be analyzed.
The following diagram illustrates the syntax for the PRTI file-override command:
+--- PRTI File-overrides Command --------------------------------------------------+
¦
¦
¦ >>--PRTI(+----------------------------------------------------------------+)-->< ¦
¦
+-DD(ddname),BLK(blksize),BUF(buffers),LRECL(lrecl),RECFM(recfm)-+
¦
+----------------------------------------------------------------------------------+
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:
+--- PRT0 File-overrides Command --------------------------------------------+
¦
¦
¦ >>--PRT0(+-------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize)-+
¦
+----------------------------------------------------------------------------+
If you omit DD(ddname), the assumed ddname will be CWPPRTO.
13-12
Compuware Shared Services User/Reference Guide
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:
+--- LOAD File-overrides Command --------------------------------------------+
¦
¦
¦ >>--LOAD(+-------------------------+)--><
¦
¦
+-DD(ddname),BLK(blksize)-+
¦
+----------------------------------------------------------------------------+
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
13-13
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:
+--- INCLUDE Command --------------------------------------------------------+
¦
¦
¦
+-CWPPRMO-+
¦
¦ >>--INclude(+---------+-,-+--------+)--><
¦
¦
+-ddname--+
+-member-+
¦
+----------------------------------------------------------------------------+
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.
13-14
Compuware Shared Services User/Reference Guide
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.
The following diagram illustrates the syntax for the LANGPARM command:
+--- LANGPARM Command -------------------------------------------------------+
¦
¦
¦ >>--LANGParm(+---------------+)--><
¦
¦
+-parm1...parmn-+
¦
+----------------------------------------------------------------------------+
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:
+--- LANGUAGE Command -------------------------------------------------------+
¦
¦
¦
+-C390-+
¦
¦ >>--LANGuage(+------+)--><
¦
¦
+-CMVS-¦
¦
¦
+-CZOS-+
¦
+----------------------------------------------------------------------------+
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.
C Language Processor
13-15
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.
+--- PRINT Command ----------------------------------------------------------+
¦
¦
¦
+-XRef---+
+-LIst---+
+-SOurce---+
¦
¦ >>--PRint(OUtput(+--------+-,-+--------+-,-+----------+))--><
¦
¦
+-NOXRef-+
+-NOLIst-+
+-NOSOurce-+
¦
+----------------------------------------------------------------------------+
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.
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.
13-16
Compuware Shared Services User/Reference Guide
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.
+--- ERRORS Parameter -------------------------------------------------------+
¦
¦
¦
+-UPper-case-+
¦
¦ >>--PROCessor(ERrors(+------------+))--><
¦
¦
+-MIxed-case-+
¦
+----------------------------------------------------------------------------+
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 ----------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-----+)--><
¦
¦
+-$NO-+
¦
+----------------------------------------------------------------------------+
$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.
The following diagram illustrates the syntax for the PROCESSOR command $NO
parameter.
+--- $NO Parameter ----------------------------------------------------------+
¦
¦
¦ >>--PROCessor(+-----+)--><
¦
¦
+-$NO-+
¦
+----------------------------------------------------------------------------+
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
C Language Processor
13-17
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.
13-18
Compuware Shared Services User/Reference Guide
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:
+--- Program Name ----------------------------------------------------------+
¦
¦
¦ >>--PROgram-name(+------+)--><
¦
¦
+-name-+
¦
+----------------------------------------------------------------------------+
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:
+--- SYSTEM Command ---------------------------------------------------------+
¦
¦
¦ >>--SYStem(+-----+,-+----+-)-><
¦
¦
+-PTF-+ +-ZAP+
¦
+----------------------------------------------------------------------------+
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.
14-1
Chapter 14.
CSS Security Exit
Chap 14
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
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.
• All other commands are available to all users.
14-2
Compuware Shared Services User/Reference Guide
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 14-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
14-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 14-1 on page 14-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.
14-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 14-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
14-5
14-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 Problem Documentation Utility
Appendix A.
App A
The Problem Documentation Utility collects documentation to send to Compuware
Technical Support for resolving problems encountered when programs are compiled. This
utility helps ensure that all required documentation for a problem is sent to Technical
Support.
Sample JCL for this utility is located in the CSS sample installation library,
COMPWARE.LCXnnn.SLCXCNTL.
Step 1. Add a DD Card to the Language Processor
To invoke the Problem Documentation Utility, add a CWPCAP DD card to the
preprocessor or postprocessor JCL. The DD card should be coded as follows:
//CWPCAP DD DSN=datasetname,DISP=(NEW,DELETE),UNIT=SYSDA,SPACE=(TRK,1)
You can choose any dataset name that conforms to your site’s installation standards. The
dataset name will be used as the prefix for the documentation datasets.
A-2
Compuware Shared Services User/Reference Guide
Step 2. Run the Language Processor Using Your Source
Program
Run the language processor using the same source program that caused the reported
error. If the processor completes, several datasets will be created. The dataset name
specified on the CWPCAP DD is used as the high-level qualifier for the created datasets.
Table A-1 lists all possible datasets that could be created by the Problem Documentation
Utility.
If the error causes the processor to abend, only some of the datasets will be created. How
certain features are used may also prevent some files from being created. For example, if
no COBOL copy members were used in the program, then the COPYBOOK dataset is not
created.
Note:
The utility does not capture language processor parameters specified on an
INCLUDE parameter. Also, some files can only be captured if the preprocessor
was used. These are listed in Table A-1.
Table A-1.
Problem Documentation Utility Datasets
Dataset Name
Purpose
dsn.CORE.CXRELS
CSS load module containing CSS release and maintenance information.
dsn.CORE.PARMS
Language processor and/or compiler parameters specified on the EXEC.
dsn.CWDDSUTL.EXPORT
Exported DDIO member. After the postprocessor phase has completed,
the DDIO member is created in a DDIO file.
dsn.FILE.FILEINFO
Describes every allocated file and its attributes. It contains the DD
statement, dataset name, member name, LRECL, BLKSIZE, RECFM, and
VOLSER.
dsn.IEBGENER.CWPDUMPR *
Dummy compile SYSPRINT. File CWPDUMPR contains the compiler
listing from the dummy compile in order to force on required compiler
options.
dsn.IEBGENER.CWPLOAD
File SYSLIN contains the object deck that can be used to re-create the
customer’s load module. This dataset is created provided the processor
does not abend or return a bad error code.
dsn.IEBGENER.CWPPRMO
Language processor parameters
dsn.IEBGENER.CWPPRTI *
File CWPPRTI contains the compiler listing. This file is then fed into the
postprocessor phase to create the SYSPRINT and the DDIO member.
dsn.IEBGENER.SYSIN *
SYSIN file fed into the compile process.
dsn.IEBUPDTE.COPYBOOK *
COBOL copybooks, PL/I Include members, or High-Level Assembler
macros and copybooks. No macros or copybooks will be captured for
Assembler F or H.
Note:
Datasets indicated with an asterisk (*) are created by the preprocessor only.
Using the Problem Documentation Utility
A-3
Step 3. Copy Files to Tape
Edit sample JCL member CXCAPTUR to copy the files onto a tape. Modify this member’s
symbolic parameters to indicate whether any datasets are missing. For example, if no
COPYBOOK dataset was created, edit the F10=‘DSN’ parameter as follows:
F10='DUMMY,DSN'
These commands specify to the copy job not to copy a dataset to the tape. The keywords
below cause the language processor to override its default values. Refer to Table A-2 for
information on how to edit the symbolic parameters in CXCAPTUR.
Execute this job to copy the files and the CSS load library to a tape. Ship this tape to
Compuware Technical Support, at the following address. Please include the call number,
if available, on the ATTENTION line and/or the actual name of the Technical Support
Representative with whom you are working.
Compuware Corporation
One Campus Martius
Detroit, MI 48226-5099
1-800-538-7822
Table A-2.
Symbolic Parameters
Symbolic Parameter
Modification
UNIT=CART
Specifies the tape unit name
PREFIX='COMPWARE.CAPTURE'
Specifies the dataset name prefix that was coded on the CWPCAP
DD
TPPRFX='COMPWARE.TAPE'
Specifies the dataset name prefix to be placed on the tape
TAPVOL=123456
Specifies the volume serial number of the tape
CXLOAD='COMPWARE.CX.LOAD' Specifies the dataset name of the CSS load library
F01='DSN'
Change to F01='DUMMY,DSN' if no CORE.CXRELS dataset
F02='DSN'
Change to F02='DUMMY,DSN' if no CORE.PARMS dataset
F03='DSN'
Change to F03='DUMMY,DSN' if no CWDDSUTL.EXPORT dataset
F04='DSN'
Change to F04='DUMMY,DSN' if no FILE.FILEINFO dataset
F05='DSN'
Change to F05='DUMMY,DSN' if no IEBGENER.CWPDUMPR dataset
F06='DSN'
Change to F06='DUMMY,DSN' if no IEBGENER.CWPLOAD dataset
F07='DSN'
Change to F07='DUMMY,DSN' if no IEBGENER.CWPPRMO dataset
F08='DSN'
Change to F08='DUMMY,DSN' if no IEBGENER.CWPPRTI dataset
F09='DSN'
Change to F09='DUMMY,DSN' if no IEBGENER.SYSIN dataset
F10='DSN'
Change to F10='DUMMY,DSN' if no IEBUPDTE.COPYBOOK dataset
A-4
Compuware Shared Services User/Reference Guide
B-1
Appendix B.
Using the Customer Modification Facility
Appendix A.
App B
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 B-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.
B-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
B-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.
B-4
Compuware Shared Services User/Reference Guide
C-1
Appendix C.
Using the CWDDUNLP Source Extraction Utility
Appendix A.
App C
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
C-2
Compuware Shared Services User/Reference Guide
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.
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 C-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.
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 Analytics. 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 Analytics (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 ECC component now
distributed with Abend-AID Common
Components of the Abend-AID product line. It
provides basic viewing server-related services
enabling the Distributed Viewing Support.
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 Shared Services (CSS). A set of
components used by several Compuware products
to provide storage, retrieval, and maintenance for
source listings and diagnostic reports.
Compuware Viewing Facility
(Compuware/VF). An online ISPF application,
providing menu-driven access to DDIO files such
as Abend-AID reports, databases, shared directories
and source listings. Compuware V/F supports
online viewing, printing, locking, unlocking and
deleting of members in any DDIO file. Most batch
G-2
Compuware Shared Services User/Reference Guide
utility functions are also available, including
creating and deleting databases or shared
directories. Source listings on remote files can be
also be viewed.
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 and Compuware/VF 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 Compuware/VF
and 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.
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.
G-3
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.
Distributed Viewing Support (DVS). Allows
Abend-AID and Abend-AID for CICS users to view
both merged and base reports, where either the
base report or listing file resides on a remote
system. Abend-AID users can have source support
across remote MVS systems that don’t share DASD.
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.
Enterprise Common Components (ECC). ECC is
the packaging method for the following
Compuware facilities:
• Compuware Shared Services (CSS)
• License Management System (LMS)
• Host Communications Interface (HCI)
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.
Installation JCL Customization Facility. A CSS
facility consisting of a set of screens that prompt
you to enter installation information. This
information is used to build the jobs necessary to
perform the CSS SMP/E installation.
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
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
G-4
Compuware Shared Services User/Reference Guide
earlier versions of Compuware mainframe
products.
Server Grace. The amount of time an LPAR can
run without being connected to the server.
Line command. A command entered next to the
line to be processed. A line command is executed
only for the specified member.
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.
LMVERIFY. See Verification Report.
Locked member. A DDIO file member that was
manually locked using the batch file utility or
Compuware/VF, 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 using
the L line command in Compuware/VF or 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.
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.
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 Compuware/VF, or automatically as a
result of AUTODELETE=DUPS or
AUTODELETE=STAGED processing. An unlocked
G-5
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, 10-32
$ASUP parameter, PROCESSOR command
Assembler Language Processor, 12-19
COBOL Language Processor, 10-6, 10-32
$NG parameter, PROCESSOR command
Assembler Language Processor, 12-19
COBOL Language Processor, 10-5, 10-32
PL/I Language Processor, 11-23
$NIDR parameter, PROCESSOR command
Assembler Language Processor, 12-19
C Language Processor, 13-16
COBOL Language Processor, 10-33
PL/I Language Processor, 11-23
$NO parameter, PROCESSOR command
Assembler Language Processor, 12-19
C Language Processor, 13-16
COBOL Language Processor, 10-5, 10-33
PL/I Language Processor, 11-23
A
AAREPORT option
Compuware/VF, 9-8
CSS Utilities, 3-50
ABEND parameter
CWDDALLU batch utility, 8-8
abend time, G-1
Abend-AID, G-1
displaying report file information, 3-59
executing, 1-6
primary menu, 9-1
setting report file options, 3-50
Abend-AID Fault Manager, G-1
Abend-AID for CICS, G-1
executing, 1-6
Security Exit considerations, 14-2
Security Exit Program transaction databases, 14-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-68
copying members, 3-61–3-62
creating, 3-51
Data Management Control Blocks section, 9-29
deleting, 3-58
description of, 2-2
displaying, 9-23
displaying file information, 3-59
displaying members, 3-61
exporting members, 3-65
formatting, 3-51
importing members, 3-66
members, 3-61
moving members, 3-65
Program Listing section, 9-27
Program Storage section, 9-25
reformatting, 3-51
Security Exit Program, 14-1
selecting members, 3-67
Abend-AID report file DIRX report, 2-27
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
add a DD card to the Language Processor, A-1
advanced create/format parameters, 3-25
allocating
allocating and formatting a new shared directory,
8-34
DDIO files, 2-1
VSAM cluster, 2-14
allocating and formatting a new Database, 8-35
allocation group, G-1
alternative reserved word tables, COBOL, 10-5
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, A-2
ASSEMBLER command
Assembler Language Processor, 12-3
Assembler Language Processor
ASSEMBLER command, 12-3, 12-8
assemblers, 1-2
CONDDDIO command, 12-3, 12-9
CONDSTEP command, 12-3, 12-9
DDIO command, 12-3, 12-10
DECK File-overrides command, 12-13
description of, 12-1
ERRM File-overrides command, 12-13
File-overrides command, 12-3
File-overrides commands, 12-12
File-overrides, optional override values, 12-13
handling suppressed statements, 12-5
INCLUDE command, 12-3, 12-15
insufficient primary space allocation, 12-5
LANGPARM command, 12-3, 12-16
LANGUAGE command, 12-3, 12-16
LOAD File-overrides command, 12-13
PRINT command, 12-3, 12-17
PRINT NOGEN, 1-5
PRINT OFF, 1-5
processing listings with errors, 12-5
PROCESSOR command, 12-3, 12-18
PROGRAM-NAME command, 12-3, 12-20
PRTI File-overrides command, 12-12
I-2
Compuware Shared Services User/Reference Guide
PRTO File-overrides command, 12-12
required assembler options, 12-7
sample JCL and program names, 12-4
SYSTEM command, 12-3, 12-21
usage considerations, 12-5
WRK0-WRK4 File-overrides commands, 12-12
ZIIP command, 12-3, 12-21
ATTACH (ATT) command
CWDDALLU batch utility, 8-3, 8-24
AUTODELETE, G-1
AUTODELETE parameter, 2-6, 2-8, 2-24, 2-27, 2-32–
2-33, 2-36, 2-38, 2-52, 2-55
automatic and manual locking, 2-8
CSS Utilities, 3-28, 3-58
CWDDALLU batch utility, 8-8
resolving a file full condition, 2-9
AUTODELETE=DUPS, 3-28, 3-58, 8-9
AUTODELETE=NO, 3-28, 8-10
AUTODELETE=STAGED, 2-15, 2-27, 3-28, 8-10
AUTODELETE=YES, 3-28, 3-58, 8-9
AUTOLOCKMAX (ALMAX) parameter
CWDDALLU batch utility, 8-11
automated compiler options, 1-5
automatic lock, G-1
B
Base Services, G-1
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, 13-5
batch file utilities, 1-3
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-26
command conventions, 8-7
command summary, 8-1, 8-3
CONVERT (CNVT), 8-3, 8-28
COPY, 8-3, 8-30
CREATE (CRE), 8-3, 8-33
DD statements, 8-5
DELETE (DEL), 8-3, 8-38
DETACH, 8-3, 8-43
DIRECTORY (DIR, D), 8-3, 8-43
DIRS, 8-3, 8-47
DIRX (DX), 8-3, 8-43
ESTIMATE, 8-3, 8-49
EXAMINE, 8-3, 8-50
EXPAND, 8-4, 8-52
EXPORT, 8-4, 8-53
FLAG, 8-4, 8-55
FORMAT, 8-4, 8-58
IMPORT, 8-4, 8-59
LOCK, 8-4, 8-62
MOVE, 8-4, 8-65
PRINT (P), 8-4, 8-69
REFRESH, 8-4, 8-71
RESET, 8-4, 8-72
SCRATCH (SCR), 8-4, 8-73
TEST, 8-4, 8-73
UNCONVERT (UNCNVT), 8-4, 8-74
UNLOCK (UNLK), 8-4, 8-74
usage considerations, 8-4
VERIFY (VER), 8-4, 8-77
batch utilities, CWDDLPUT
command summary, 7-1
batch utilities, CWDDSUTL
command summary, 4-1
batch utilities, CWDFXSDUT
command summary, 5-1
benefits of CSS, 1-1
BLKSIZE (BLK) parameter
CWDDALLU batch utility, 8-12
BLKSIZE (BLKSIZE) parameter, 2-6
BYPASS parameter, PROCESSOR command
Assembler Language Processor, 12-18
COBOL Language Processor, 10-28
PL/I Language Processor, 11-22
C
C Language Processor
batch compile of multiple C programs in a PDS,
13-5
C command, 13-3, 13-8
compilers, 1-2
CONDDDIO command, 13-3, 13-9
CONDSTEP command, 13-3, 13-9
DD statements, 13-4
DDIO command, 13-3, 13-10
description of, 13-1
effect of optimization logic on execution pointer,
13-5
ERRM File-overrides commands, 13-11
File-overrides command, 13-3
File-overrides commands, 13-11
HFS files, use of, 13-5
INCLUDE command, 13-3, 13-13
insufficient primary space allocation, 13-5
LANGPARM command, 13-3, 13-14
LANGUAGE command, 13-3, 13-14
LOAD File-overrides command, 13-12
NOSHOWINC, 1-5
OPTFILE compiler option, 13-5
PRINT command, 13-3, 13-15
processing listings with errors, 13-5
PROCESSOR command, 13-3, 13-16
PROGRAM-NAME command, 13-3, 13-18
PRTI File-overrides command, 13-11
PRTO File-overrides command, 13-11
required compiler options, 13-7
restrictions, 13-6
sample JCL and program names, 13-4
SYSTEM command, 13-3, 13-18
usage considerations, 13-5
calculate
CALCULATE synonym, 10-5
DDIO file size, 2-14
DDIO files, allocation in blocks, 2-14
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-12, 2-14
DDIO files, value for GROUPCOUNT, 2-12
value for GROUPCOUNT, 2-14
capturing suppressed source code, preprocessor, 1-5
CEC, G-1
I-3
licensing, G-1
CGI, G-1
CGI-bin, G-1
CHANGE (CHG) command
CWDDALLU batch utility, 8-3, 8-26
CHANGE command
CWDDALLU batch utility, 8-26
CICSCODE parameter
CWDDALLU batch utility, 8-12
CICSTEST command
COBOL Language Processor, 10-3, 10-14
CISIZE parameter
calculate minimum value, 2-14
CWDDALLU batch utility, 8-12
CMF (Customer Modification Facility), A-1
COBOL Language Processor
alternative reserved word tables, 10-5
CICSTEST command, 10-3, 10-14
COBOL command, 10-3, 10-15
command descriptions, 10-14
compilers, 1-2
CONDDDIO command, 10-3, 10-16
CONDERRL command, 10-3, 10-16
CONDSTEP command, 10-3, 10-17
COPY SUPPRESS, 1-5
CWPPRMO, 10-4
DD statements, 10-4
DDIO command, 10-3, 10-18
DECK File-overrides command, 10-21
description of, 10-1
effect of optimization logic on execution pointer,
10-6
enhanced listing, 10-11
enhanced listing features, 10-13
ERRM File-overrides command, 10-21
File-overrides commands, 10-3, 10-20
File-overrides, optional override values, 10-21
INCLUDE command, 10-3, 10-23
insufficient primary space allocation, 10-7
LANGPARM command, 10-3, 10-24
LANGUAGE command, 10-3, 10-25
LOAD File-overrides command, 10-21
output considerations, 10-6
performance considerations, 10-8
preventing truncated messages, 10-6
PRINT command, 10-3, 10-26
processing listings with errors, 10-6
PROCESSOR command, 10-3, 10-28
PROGRAM-NAME command, 10-3, 10-35
PRTI File-overrides command, 10-20
PRTO File-overrides command, 10-20
required compiler options, 10-10
restricted compiler options, 10-8
restrictions, 10-8
sample JCL and program names, 10-4
suppressed statements, handling, 10-6
SYSTEM command, 10-3, 10-35
usage considerations, 10-4–10-5
WRK0-WRK4 File-overrides command, 10-20
ZIIP command, 10-35
command conventions
CWDDALLU batch utility, 8-7
command syntax
Assembler Language Processor, 12-8
C Language Processor, 13-8
COBOL Language Processor, 10-14
CWDDALLU batch utility, 8-24
PL/I Language Processor, 11-13
commands, Assembler Language Processor
ASSEMBLER, 12-3, 12-8
CONDDDIO, 12-3, 12-9
CONDSTEP, 12-3, 12-9
DDIO, 12-3, 12-10
DECK File-overrides, 12-13
ERRM File-overrides, 12-13
File-overrides, 12-3, 12-12
File-overrides, optional override values, 12-13
INCLUDE, 12-3, 12-15
LANGPARM, 12-3, 12-16
LANGUAGE, 12-3, 12-16
LOAD File-overrides, 12-13
PRINT, 12-3, 12-17
PROCESSOR, 12-3, 12-18
PROGRAM-NAME, 12-3, 12-20
PRTI File-overrides, 12-12
PRTO File-overrides, 12-12
SYSTEM, 12-3, 12-21
WRK0-WRK4 File-overrides, 12-12
commands, C Language Processor
C, 13-3, 13-8
CONDDDIO, 13-3, 13-9
CONDSTEP, 13-3, 13-9
DDIO, 13-3, 13-10
ERRM File-overrides, 13-11
File-overrides, 13-3, 13-11
INCLUDE, 13-3, 13-13
LANGPARM, 13-3, 13-14
LANGUAGE, 13-3, 13-14
LOAD File-overrides, 13-12
PRINT, 13-3, 13-15
PROCESSOR, 13-3, 13-16
PROGRAM-NAME, 13-3, 13-18
PRTI File-overrides, 13-11
PRTO File-overrides, 13-11
SYSTEM, 13-3, 13-18
commands, COBOL Language Processor
CICSTEST, 10-3, 10-14
COBOL, 10-3, 10-15
CONDDDIO, 10-3, 10-16
CONDERRL, 10-3, 10-16
CONDSTEP, 10-3, 10-17
DDIO, 10-3, 10-18
DECK File-overrides, 10-21
ERRM File-overrides, 10-21
File-overrides, 10-3, 10-20
File-overrides, optional override values, 10-21
INCLUDE, 10-3, 10-23
LANGPARM, 10-3, 10-24
LANGUAGE, 10-3, 10-25
LOAD File-overrides, 10-21
PRINT, 10-3, 10-26
PROCESSOR, 10-3, 10-28
PROGRAM-NAME, 10-3, 10-35
PRTI File-overrides, 10-20
PRTO File-overrides, 10-20
SYSTEM, 10-3, 10-35
WRK0-WRK4 File-overrides, 10-20
ZIIP, 10-3
commands, CWDDALLU batch utility
ATTACH (ATT), 8-3, 8-24
CHANGE, 8-26
CHANGE (CHG), 8-3, 8-26
CONVERT (CNVT), 8-3, 8-28
COPY, 8-3, 8-30
CREATE, 8-33
CREATE (CRE), 8-3, 8-33
I-4
Compuware Shared Services User/Reference Guide
DELETE (DEL), 8-3, 8-38
DETACH, 8-3, 8-43
DIRECTORY (DIR, D), 8-3, 8-43
DIRS, 8-3, 8-47
DIRX (DX), 8-3, 8-43
ESTIMATE, 8-3, 8-49
EXAMINE, 8-3, 8-50
EXPAND, 8-4, 8-52
EXPORT, 8-4, 8-53
FLAG, 8-4, 8-55
FORMAT, 8-4, 8-58
IMPORT, 8-59
LOCK, 8-4, 8-62
MOVE, 8-4, 8-65
PRINT, 8-69
PRINT (P), 8-4, 8-69
REFRESH, 8-4, 8-71
RESET, 8-4, 8-72
SCRATCH (SCR), 8-4, 8-73
TEST, 8-4, 8-73
UNCONVERT (UNCNVT), 8-4, 8-74
UNLOCK (UNLK), 8-4, 8-74
VERIFY (VER), 8-4, 8-77
commands, PL/I Language Processor
CONDDDIO, 11-3, 11-13
CONDSTEP, 11-3, 11-13
DDIO, 11-3, 11-14
DECK File-overrides command, 11-16
ERRM File-overrides, 11-16
File-overrides, 11-3, 11-15
File-overrides, optional override values, 11-16
INCLUDE, 11-3, 11-17
LANGPARM, 11-3, 11-18
LANGUAGE, 11-3, 11-18
LOAD File-overrides command, 11-16
PL/I, 11-3, 11-19
PRINT, 11-3, 11-21
PROCESSOR, 11-3, 11-22
PROGRAM-NAME, 11-3, 11-24
PRTI File-overrides, 11-15
PRTO File-overrides, 11-16
SYSTEM, 11-3, 11-24
WRK0-WRK4 File-overrides, 11-15
compile errors, handling
preprocessor, 1-5
compilers
C language processor, 1-2
COBOL language processor, 1-2
PL/I language processor, 1-2
components of CSS, 1-2
COMPUTE synonym, 10-5
Compuware Shared Services
definition, G-1
Compuware/VF
AAREPORT option, 9-8
Abend-AID primary menu, 9-1
Abend-AID report files, viewing, 9-23
accessing CSS Utilities, 9-47
accessing File-AID, 9-29, 9-46
contact information, 9-9
creating JCL for language processing, 9-7
data locator, 9-31
dataset directory screen, 9-10
definition, G-1
entry panel, 9-2
LOCATE command, 9-18
NEXT command, 9-18
Output Selection menu, 9-23
preprocessing and postprocessing, 9-7
primary commands, 9-18
required parameters, 9-7
SORT command, 9-19
source listing files, viewing, 9-23
SOURCE option, 9-7
VIEW option, 9-3
CONDDDIO command
Assembler Language Processor, 12-3, 12-9
C Language Processor, 13-3, 13-9
COBOL Language Processor, 10-3, 10-6, 10-16
PL/I Language Processor, 11-3, 11-13
CONDERRL command
COBOL Language Processor, 10-3, 10-16
CONDSTEP command
Assembler Language Processor, 12-3, 12-9
C Language Processor, 13-3, 13-9
COBOL Language Processor, 10-3, 10-17
PL/I Language Processor, 11-3, 11-13
configuration source members
create, A-2
CXCFGINI, A-2
CXCFGSET, A-2
Contact Information
displaying, 9-10
contact information, 9-9
maintaining, 9-9
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-30
copy files to tape, A-3
copying
Abend-AID report file members, 3-62
source listing file members, 3-35
CREATE (CRE) command
CWDDALLU batch utility, 8-3
CREATE command
CWDDALLU batch utility, 8-33
CREATEJCL option
Compuware/VF, 9-7
CSS Utilities, 3-4
creating
Abend-AID report DDIO files, 3-51
DBMODEL, 8-37
source listing DDIO files, 3-21
CSS
allocating and formatting DDIO files, 2-1
benefits, 1-1
components, 1-2
executing, 1-6
installation library members, 1-7
release level, viewing, 9-6
Security Exit Program, 14-1
CSS Utilities, 1-3
AAREPORT option, 3-50
Abend-AID report files, working with, 3-50
accessing from Compuware/VF, 9-47
CREATEJCL option, 3-4
CWAASDUT, 6-1
CWDDALLU, 8-1
CWDDLPUT, 7-1
CWDDSUTL, 4-1
CWFXSDUT, 5-1
I-5
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, A-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-34
allocating and formatting a new Source Listing Database, 8-35
ATTACH (ATT) command, 8-3, 8-24
CHANGE (CHG) command, 8-3, 8-26
command conventions, 8-7
CONVERT (CNVT) command, 8-3, 8-28
COPY command, 8-3, 8-30
CREATE (CRE) command, 8-3, 8-33
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-43
DIRS, 8-47
DIRS command, 8-3
DIRX (DX) command, 8-3, 8-43
ESTIMATE command, 8-3, 8-49
EXAMINE command, 8-3, 8-50
EXPAND command, 8-4, 8-52
EXPORT command, 8-4, 8-53
FLAG command, 8-4, 8-55
FORMAT command, 8-4, 8-58
formatting a pre-allocated Shared Directory, 8-34
formatting a pre-allocated Source Listing Database,
8-36
IMPORT command, 8-4, 8-59
LOCK command, 8-4, 8-62
MOVE command, 8-4, 8-65
PRINT (P) command, 8-4, 8-69
REFRESH command, 8-4, 8-71
RESET command, 8-4, 8-72
SCRATCH (SCR) command, 8-4, 8-73
TEST command, 8-4, 8-73
UNCONVERT (UNCNVT) command, 8-4, 8-74
UNLOCK (UNLK) command, 8-4, 8-74
usage restrictions, 8-7
VERIFY (VER) command, 8-4, 8-77
CWDDLPUT, 7-1, G-2
CWDDSUTL, 4-1, G-2
CWDDUNLP source extraction utility, 2-5
return codes, A-2
CWFXSDUT, 5-1, G-2
CWPCMAIN, 10-5
CWPDDIO, G-2
CWPERRM, G-2
CWPPRMO, G-2
CWPPRMO DD statement, 10-5
CWPPRTI, G-2
CWPPRTI DD statement
preprocessor, COBOL, 10-7
CWPPRTO
COBOL Language Processor, 10-6
CXCFGEXT member
edit, A-3
CXCFGINI
configuration source member, A-2
CXCFGSET
configuration source member, A-2
edit member, A-2
submit member, A-2–A-3
CXTRACE, G-2
CYLINDERS (CYL) parameter
CWDDALLU batch utility, 8-13
D
data locator (Compuware/VF), 9-31
creating reports, 9-31
description of, 9-31
printing reports, 9-33
Data Management Control Blocks section, 9-29
DATABASEDISP (DBDISP) parameter
CWDDALLU batch utility, 8-13
DATACLAS parameter
CWDDALLU batch utility, 8-13
dataset directory screen, 9-10
Abend-AID report file, 9-10
line commands, 9-20
source listing file, 9-12
DATAUSEd parameter
CWDDALLU batch utility, 8-13
DATE parameter
DDIO command, 12-10
DAYSOLD parameter
CWDDALLU batch utility, 8-13
DBDISP parameter
CWDDALLU batch utility, 8-13
DBMODEL, G-2
DD statements, Assembler Language Processor, 12-4
DD statements, C Language Processor, 13-4
DD statements, COBOL Language Processor, 10-4
DD statements, CWDDALLU batch utility, 8-5
DD statements, PL/I Language Processor, 11-4
DDIO, G-2
DDIO calculator, 2-15, 3-76
helpful hints, 3-79
primary calculations screen, 3-77
DDIO command
Assembler Language Processor, 12-3, 12-10
C Language Processor, 13-3, 13-10
COBOL Language Processor, 10-3, 10-18
PL/I Language Processor, 11-3, 11-14
DDIO file, G-2
DDIO file member, G-2
DDIO files
Abend-AID report, 2-2
allocating, 2-10
allocating and formatting, 2-1
allocating and formatting example, 2-14
allocating the VSAM cluster, 2-14
AUTODELETE parameter, 2-6
BLKSIZE parameter, 2-6
calculate allocation in blocks, 2-11, 2-14
I-6
Compuware Shared Services User/Reference Guide
calculate average member size in KBs, 2-10
calculate file size, 2-11, 2-14
calculate minimum value for CISIZE, 2-14
calculate total number of blocks, 2-12, 2-14
calculate value for BLKSIZE, 2-12
calculate value for CISIZE, 2-12
calculate value for GROUPCOUNT, 2-12, 2-14
decreasing CISIZE, 2-16
description of, 1-3
determine average member size, 2-14
EXTENTS parameter, 2-6
file considerations, 2-8
file full condition, 2-9
formatting, 2-11, 2-14
formatting Abend-AID report DDIO files, 3-51
formatting formulas, 2-12
formatting specifications, 2-15
functions, 3-1
GROUPCOUNT parameter, 2-6
limitations, 2-13
locking members, 2-8
parameters for allocating and formatting, 2-6
reducing the size of, 2-17
reformatting Abend-AID report DDIO files, 3-51
REPTCOUNT parameter, 2-6
resolving file full condition, 2-9
selecting a file access method, 2-7
shared directories, 2-3
size comparison table, 2-17
source listing, 2-2
transaction database, 2-3
tuning, 2-15
viewing file information, 2-5
DDIO member name, 13-4
DDIOCALC, G-2
DDIOCALC DIRX report data input screen, 3-78
DDNAME (DDN) parameter
CWDDALLU batch utility, 8-13
DECK File-overrides command
Assembler Language Processor, 12-13
COBOL Language Processor, 10-21
PL/I Language Processor, 11-16
DEFUNIT keyword, A-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-58
source listing DDIO files, 3-29
DETACH command
CWDDALLU batch utility, 8-3, 8-43
determine average member size
DDIO files, 2-14
DIAGNOSE parameter, PROCESSOR command
Assembler Language Processor, 12-18
DIRDD parameter
CWDDALLU batch utility, 8-14
DIRDSN parameter
CWDDALLU batch utility, 8-14
DIRECTORY (DIR, D) command
CWDDALLU batch utility, 8-3, 8-43
directory entry, G-2
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-43
DIRX report, G-3
DIRX report for allocation DDIO files, 2-11
DIRX reports
Abend-AID report file DIRX report, 2-27
creating, 2-5
shared directory DIRX report, 2-38
Source Listing Database DIRX report, 2-49
source listing file DIRX report, 2-21
Source Listing Shared Directory (SRCEDIR) DIRX report, 2-57
transaction database DIRX report, 2-33
using the DIRX report, 2-21
using the previous DIRX report format, 2-21
displaying
Abend-AID report DDIO files, 3-61, 9-23
Abend-AID report file information, 3-59
source listing DDIO files, 3-32, 9-23
Distributed Viewing Support, 9-2
Compuware/VF Entry Panel, 9-2
definition, G-3
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, 10-11
Enterprise Common Components, G-3
entry, G-3
entry panel
browsing options, 9-6
Compuware/VF, 9-2
dataset choices, 9-3
processing options, 9-5
Viewing Facility, 9-3
environment, system, 1-2
ERRM File-overrides command
Assembler Language Processor, 12-13
C Language Processor, 13-11
COBOL Language Processor, 10-21
PL/I Language Processor, 11-16
error messages
CWDDUNLP return codes, A-2
mismatched source listing warnings, 9-33
Problem Documentation Utility, A-1, A-1
ERRORS parameter, PROCESSOR command
Assembler Language Processor, 12-19
C Language Processor, 13-16
COBOL Language Processor, 10-28
PL/I Language Processor, 11-22
I-7
errors, processing listings with
Assembler Language Processor, 12-5
C Language Processor, 13-5
COBOL Language Processor, 10-6
PL/I Language Processor, 11-5
ESTIMATE command
CWDDALLU batch utility, 8-3, 8-49
EXAMINE command
CWDDALLU batch utility, 8-3, 8-50
EXEC parameter
CWDDALLU batch utility, 8-16
executing
Abend-AID, 1-6
Abend-AID for CICS, 1-6
CSS, 1-6
Xpediter/CICS, 1-6
Xpediter/TSO, 1-6
execution pointer, effect of optimization logic
in C processing, 13-5
in COBOL processing, 10-6
EXPAND command
CWDDALLU batch utility, 8-4, 8-52
EXPORT command
CWDDALLU batch utility, 8-4, 8-53
exporting
Abend-AID report file members, 3-65
source listing file members, 3-38
EXTCSS load library, A-2–A-3
EXTENTS parameter, 2-6
CWDDALLU batch utility, 8-17
EXTENTS=
example, 2-15
F
file access method
selecting, 2-7
File-AID, accessing from Compuware/VF, 9-29, 9-46
File-overrides command
Assembler Language Processor, 12-3
C Language Processor, 13-3
COBOL Language Processor, 10-3
PL/I Language Processor, 11-3
File-overrides commands, Assembler
DECK, 12-13
LOAD, 12-13
optional override values, 12-13
PRTI, 12-12
PRTO, 12-12
WRK0-WRK4, 12-12
File-overrides commands, C
ERRM, 13-11
LOAD, 13-12
optional override values, 13-12
PRTI, 13-11
PRTO, 13-11
File-overrides commands, COBOL
DECK, 10-21
ERRM, 10-21
LOAD, 10-21
optional override values, 10-21
PRTI, 10-20
PRTO, 10-20
WRK0-WRK4, 10-20
File-overrides commands, PL/I
ERRM, 11-16
LOAD, 11-16
optional override values, 11-16
PRTI, 11-15
PRTO, 11-16
WRK0-WRK4, 11-15
FIND command, Compuware/VF, 9-46
FLAG command, CWDDALLU
repeated use, 8-56
report output, 8-57
supported compilers, 8-57
syntax, 8-57
FLAGGEDDDIO (FDDIO) parameter
CWDDALLU batch utility, 8-17
FORMAT command
CWDDALLU syntax, 8-59
formatting
Abend-AID report DDIO files, 3-51
DDIO file, G-3
DDIO files, 2-1, 2-15
source listing DDIO files, 3-21
formatting, CWDDALLU
allocating and formatting new shared directory,
8-34
allocating and formatting new Source Listing Database, 8-35
pre-allocated Database, 8-36
pre-allocated shared directory, 8-34
formatting, CWDDALLU batch utility
pre-allocated Shared Directory, 8-34
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
FS command, Compuware/VF, 9-46
full DDIO file, G-3
functions of Security Exit Program, 14-1
G
GROUPCOUNT (GC) parameter
CWDDALLU batch utility, 8-17
GROUPCOUNT parameter, 2-6
calculate value, 2-14
H
Hardcopy Options screen, Compuware/VF, 9-21
HCI
description, 1-6
HFS files, use of, 13-5
Host Communications Interface, G-3
Host Explorer Facilities
description of, 2-4
I
ID parameter
CWDDALLU batch utility, 8-17
I-8
Compuware Shared Services User/Reference Guide
IMPORT command
CWDDALLU batch utility, 8-3, 8-59
importing
Abend-AID report file members, 3-66
source listing file members, 3-38
INC parameter
CWDDALLU batch utility, 8-18
INCLUDE command
Assembler Language Processor, 12-3, 12-15
C Language Processor, 13-3, 13-13
COBOL Language Processor, 10-3, 10-23
PL/I Language Processor, 11-3, 11-17
INDD (I) parameter
CWDDALLU batch utility, 8-18
INDEX parameter
CWDDALLU batch utility, 8-18
INMEM configuration source member, A-2
inputs
Security Exit Program, 14-3
INSRC dataset name, A-2
installation
library members, 1-7
Installation JCL Customization Facility, G-3
invoking
Compuware/VF, 9-1
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, 12-3, 12-16
C Language Processor, 13-3, 13-14
COBOL Language Processor, 10-3, 10-24
PL/I Language Processor, 11-3, 11-18
LANGUAGE (LANG) parameter
CWDDALLU batch utility, 8-19
LANGUAGE command
Assembler Language Processor, 12-3, 12-16
C Language Processor, 13-3, 13-14
COBOL Language Processor, 10-3, 10-25
PL/I Language Processor, 11-3, 11-18
Language Processor (LP), G-3
Assembler Language Processor, 12-1
C Language Processor, 13-1
COBOL Language Processor, 10-1
functions, 3-1
PL/I Language Processor, 11-1
postprocessor, Assembler, 12-2
postprocessor, C, 13-2
postprocessor, COBOL, 10-2
postprocessor, PL/I, 11-2
preprocessor, 10-1
preprocessor, Assembler, 12-1
preprocessor, C, 13-1
preprocessor, PL/I, 11-1
run using your source program, A-2
supported languages, 1-4
LAU, G-3
license certificate, G-3
license file, G-3
License Management System, G-3
limitations
DDIO files, 2-13
line command, G-4
LINESIZE (LIN) parameter
CWDDALLU batch utility, 8-19
LMVERIFY, G-4
LOAD File-overrides command
Assembler Language Processor, 12-13
C Language Processor, 13-12
COBOL Language Processor, 10-21
PL/I Language Processor, 11-16
LOCATE command
Compuware/VF, 9-18
LOCK command
CWDDALLU batch utility, 8-4, 8-62
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, A-2
messages, preventing truncated, COBOL, 10-6
MGMTCLAS parameter
CWDDALLU batch utility, 8-19
MIPS, G-4
mismatched source listing warnings, 9-33
MODEL parameter
CWDDALLU batch utility, 8-19
MONTHSOLD parameter
CWDDALLU batch utility, 8-19
MOVE command
CWDDALLU batch utility, 8-4, 8-65
moving
Abend-AID report file members, 3-65
source listing file members, 3-37
MSU, G-4
MULTIVOLUME parameter
CWDDALLU batch utility, 8-19
N
NEXT command
Compuware/VF, 9-18
NOTFOUND parameter
CWDDALLU batch utility, 8-19
O
OBJECT (OBJ) parameter
I-9
CWDDALLU batch utility, 8-19
OBJECT parameter
CWDDALLU batch utility, 8-19
OFFSET parameter, PROCESSOR command
COBOL Language Processor, 10-30
oldest member, G-4
OPTFILE compiler option, 13-5
optimization logic, effects of
in C processing, 13-5
in COBOL processing, 10-6
in PL/I processing, 11-5
options
for supported Assemblers, 12-7
for supported C compilers, 13-7
for supported COBOL compilers, 10-10
for supported PL/I compilers, 11-12
OUTDD (O) parameter
CWDDALLU batch utility, 8-20
OUTMEM member name, A-3
OUTPDS dataset name, A-3
output considerations, COBOL, 10-6
output information
Security Exit Program, 14-6
OUTPUT parameter, Assembler
DDIO command, 12-11
OUTPUT parameter, C
DDIO command, 13-10
OUTPUT parameter, COBOL
COBOL command, 10-15
DDIO command, 10-18
PRINT command, 10-26
PROCESSOR command, 10-29
special considerations, 10-7
OUTPUT parameter, PL/I
DDIO command, 11-14
PL/I command, 11-19
PRINT command, 11-21
PROCESSOR command, 11-22
Output Selection Menu (Compuware/VF)
Abend-AID, 9-23
outputs
Security Exit Program, 14-3
P
PAGESIZE (PG) parameter
CWDDALLU batch utility, 8-20
parameters
AUTODELETE, 2-6
BLKSIZE, 2-6
EXTENTS, 2-6
GROUPCOUNT, 2-6
REPTCOUNT, 2-6
parameters, Assembler
$ASUP, 12-19
$NG, 12-19
$NIDR, 12-19
$NO, 12-19
BYPASS, 12-18
DIAGNOSE, 12-18
ERRORS, 12-19
parameters, C
$NIDR, 13-16
$NO, 13-16
ERRORS, 13-16
parameters, COBOL
$AOFF, 10-32
$ASUP, 10-32
$NG, 10-32
$NIDR, 10-33
$NO, 10-33
BYPASS, 10-28
ERRORS, 10-28
OFFSET, 10-30
OUTPUT, 10-29
POSITION, 10-29
SCALELINE, 10-30
STATISTICS, 10-30
TEXT, 10-31
WARNINGS, 10-31
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
I-10
Compuware Shared Services User/Reference Guide
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, 11-23
$NO, 11-23
BYPASS, 11-22
ERRORS, 11-22
OUTPUT, 11-22
PL/I Language Processor
%NOPRINT, 1-5
compilers, 1-2
CONDDDIO command, 11-3, 11-13
CONDSTEP command, 11-3, 11-13
DDIO command, 11-3, 11-14
DECK File-overrides command, 11-16
description of, 11-1
effect of optimization logic on execution pointer,
11-5
ERRM File-overrides command, 11-16
File-overrides commands, 11-3, 11-15
File-overrides, optional override values, 11-16
handling suppressed statements, 11-5
INCLUDE command, 11-3, 11-17
insufficient primary space allocation, 11-5
LANGPARM command, 11-3, 11-18
LANGUAGE command, 11-3, 11-18
LOAD File-overrides command, 11-16
PL/I command, 11-3, 11-19
PL/I Parameter, LANGUAGE command, 11-19
PRINT command, 11-3, 11-21
processing listings with errors, 11-5
PROCESSOR command, 11-3, 11-22
PROGRAM-NAME, 11-24
PROGRAM-NAME command, 11-3
PRTI File-overrides command, 11-15
PRTO File-overrides command, 11-16
required compiler options, 11-12
restrictions, 11-7
sample JCL and program names, 11-4
SYSTEM command, 11-3, 11-24
usage considerations, 11-5
viewtime restriction, 9-23
WRK0-WRK4 File-overrides commands, 11-15
ZIIP command, 11-3, 11-25
pointer affected by optimization logic
in PL/I processing, 11-5
POSITION parameter, PROCESSOR command
COBOL Language Processor, 10-29
postprocessor, Assembler
benefits, 12-2
description of, 12-2
File-overrides commands, 12-3, 12-12
postprocessor, C
benefits, 13-2
description of, 13-2
File-overrides commands, 13-3, 13-11
postprocessor, COBOL
benefits, 10-2
CSPPRTO file, 10-6
description of, 10-2
File-overrides commands, 10-20
WORD option, 10-5
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, 11-2
description of, 11-2
File-overrides commands, 11-3, 11-15
preprocessor
automated compiler options, 1-5
benefits, 1-5
capturing suppressed source code, 1-5
handling compile errors, 1-5
simplified JCL, 1-5
steps, 1-5
preprocessor, Assembler
automated compiler options, 12-2
benefits, 12-1
capturing suppressed source code, 12-2
CONDDDIO command, 12-3, 12-9
CONDSTEP command, 12-3, 12-9
description of, 12-1
dynamically allocated files, 12-2
handling compiler errors, 12-1
INCLUDE command, 12-3, 12-15
LANGPARM command, 12-3, 12-16
simplified JCL, 12-2
preprocessor, C
automated compiler options, 13-2
benefits, 13-1
CONDDDIO command, 13-3, 13-9
CONDSTEP command, 13-3, 13-9
description of, 13-1
dynamically allocated files, 13-2
handling compiler errors, 13-2
LANGPARM command, 13-3, 13-14
simplified JCL, 13-2
preprocessor, COBOL
benefits, 10-1
I-11
CONDDDIO command, 10-3, 10-16
CONDERRL command, 10-3, 10-16
CONDSTEP command, 10-3, 10-17
CWPPRTIDD statement, 10-7
description of, 10-1
dynamically allocated files, 10-2
INCLUDE command, 10-3, 10-23
LANGPARM command, 10-3, 10-24
suppressed statements, 10-6
SYSPRINT file, 10-6
preprocessor, CSS Utilities, 3-5
selecting members for processing, 3-7
submitting JCL for processing, 3-7
preprocessor, PL/I
automated compiler options, 11-2
benefits, 11-2
capturing suppressed source code, 11-2
CONDSTEP command, 11-3, 11-13
description of, 11-1
dynamically allocated files, 11-2
INCLUDE command, 11-3, 11-17
LANGPARM command, 11-3, 11-18
simplified JCL, 11-2
primary command, G-4
primary space allocation
Assembler Language Processor, 12-5
C Language Processor, 13-5
COBOL Language Processor, 10-7
PL/I Language Processor, 11-5
PRINT command
Assembler Language Processor, 12-3, 12-17
C Language Processor, 13-3, 13-15
COBOL Language Processor, 10-3, 10-26
CWDDALLU batch utility, 8-69
PL/I Language Processor, 11-3
printing
Hardcopy Options screen, 9-21
Problem Documentation Utility, G-4
Problem Documentation Utility, using, A-1, A-1
PROCESSOR command
Assembler Language Processor, 12-3, 12-18
C Language Processor, 13-3, 13-16
COBOL Language Processor, 10-3, 10-28
PL/I Language Processor, 11-3, 11-22
PROGRAM (P) parameter
CWDDALLU batch utility, 8-20
program listing section, 9-27
program storage
selecting, 9-26
viewing, 9-26
Assembler, 9-26
program storage section, 9-25
PROGRAM-NAME command
Assembler Language Processor, 12-3, 12-20
C Language Processor, 13-3, 13-18
COBOL Language Processor, 10-3, 10-35
PL/I Language Processor, 11-3, 11-24
PROGRAM-NAME parameter
DDIO command, 12-10
PRTI File-overrides command
Assembler Language Processor, 12-12
C Language Processor, 13-11
COBOL Language Processor, 10-20
PL/I Language Processor, 11-15
PRTO File-overrides command
Assembler Language Processor, 12-12
C Language Processor, 13-11
COBOL Language Processor, 10-20
PL/I Language Processor, 11-16
R
REALLOCATE (REALLO) parameter
CWDDALLU batch utility, 8-20
reconstructing a configuration source member, A-3
RECORDS (RECS) parameter
CWDDALLU batch utility, 8-20
reformatting
Abend-AID report DDIO files, 3-51
source listing DDIO files, 3-21
register entries
Security Exit Program, 14-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-27
shared directory DIRX report, 2-38
Source Listing Database DIRX report, 2-49
source listing file DIRX report, 2-21
Source Listing Shared Directory (SRCEDIR) DIRX report, 2-57
transaction database DIRX report, 2-33
using the DIRX report, 2-21
using the previous DIRX report format, 2-21
REPTCOUNT parameter, 2-6
REPTNUMBER (RN) parameter
CWDDALLU batch utility, 8-21
required options
for supported Assemblers, 12-7
for supported C compilers, 13-7
for supported COBOL compilers, 10-10
for supported PL/I compilers, 11-12
reserved word tables, COBOL, 10-5
RESET command
CWDDALLU batch utility, 8-4, 8-72
restricted zaps
retrofitting, A-1
restrictions
Assembler Language Processor, 12-6
C Language Processor, 13-6
COBOL Language Processor, 10-8
CWDDALLU, 8-7
PL/I Language Processor, 11-7
RETAINRN parameter
CWDDALLU batch utility, 8-21
return codes
CWDDUNLP source extraction utility, A-2
running the postprocessor
CSS Utilities, 3-17
running the preprocessor
CSS Utilities, 3-5
S
sample JCL and programs
Assembler Language Processor, 12-4
C Language Processor, 13-4
I-12
Compuware Shared Services User/Reference Guide
COBOL Language Processor, 10-4
PL/I Language Processor, 11-4
SCALELINE parameter
COBOL Language Processor, 10-30
SCRATCH command
CWDDALLU batch utility, 8-4
SECTION (SECT) parameter
CWDDALLU batch utility, 8-21
SECUCMND field, 14-3
SECUCUSR field, 14-3
Security Exit Program, 14-1, G-4
Abend-AID for CICS transaction databases, 14-2
Abend-AID report files, 14-1
CSS components, 14-1
functions of, 14-1
inputs and outputs, 14-3
output information, 14-6
register entries, 14-3
source listing files, 14-2
SEEFLAGS parameter
CWDDALLU batch utility, 8-21
SELECTDAYS parameter
CWDDALLU batch utility, 8-21
selecting
Abend-AID report file members, 3-67
members for processing, 3-19
server grace, G-4
setting Abend-AID report file options, 3-50
setting advanced create/format parameters, 3-25, 3-55
setting advanced parameters, 3-40
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-5
SLSDD parameter
CWDDALLU batch utility, 8-22
SMP/E, G-4
SORT command
Compuware/VF, 9-19
sort keys
batch Abend Report, 8-22
source listing, 8-22
source listing file, 9-19
transaction database, 8-22
SORT parameter
CWDDALLU batch utility, 8-22
SOURCE command
Compuware/VF, 9-44
source extraction utility
CWDDUNLP, 2-5
source extraction utility, CWDDUNLP
return codes, A-2
source listing, G-4
Source Listing Database, 2-3
DIRX report, 2-49
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-32, 9-23
displaying file information, 3-30
formatting, 3-21
functions, 3-1
sharing, 2-8
sort keys, 9-19
Source Listing File Facility screen, 3-20
Source Listing File Information screen, 3-30
working with, 3-19
working with file members, 3-32
source listing file, G-4
source listing files
advanced parameters, 3-40
copying members, 3-35
DIRX report, 2-21
exporting members, 3-38
importing members, 3-38
moving members, 3-37
Security Exit Program, 14-2
selecting specific members for processing, 3-39
source listing member
reducing the size of, 2-17
Source Listing Shared Directory (SRCEDIR) DIRX report, 2-57
SOURCE option
Compuware/VF, 9-7
CSS Utilities, 3-19
space allocation
Assembler Language Processor, 12-5
C Language Processor, 13-5
COBOL Language Processor, 10-7
PL/I Language Processor, 11-5
STARTDATE (SDATE) parameter
CWDDALLU batch utility, 8-23
STARTTIME (STIME) parameter
CWDDALLU batch utility, 8-23
STATISTICS parameter, PROCESSOR command
COBOL Language Processor, 10-30
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, 12-5
COBOL Language Processor, 10-6
PL/I Language Processor, 11-5
preprocessor, COBOL, 10-6
synonyms
COBOL Language Processor, 10-5
SYSPRINT
COBOL Language Processor, 10-6
SYSTEM command
Assembler Language Processor, 12-3, 12-21
C Language Processor, 13-3, 13-18
COBOL Language Processor, 10-3, 10-35
PL/I Language Processor, 11-3, 11-24
system environment, 1-2
T
target library, 1-7
technical support
Problem Documentation Utility, A-1, A-1
TEST command
CWDDALLU batch utility, 8-73
TEXT parameter
COBOL Language Processor, 10-31
I-13
The, 8-43, 8-50, 8-58, 8-74, 8-77
TIME parameter
DDIO command, 12-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-7
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, 10-6
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, A-2
UNLOCK (UNLK) command
CWDDALLU batch utility, 8-4, 8-74
unlocked member, G-4
update extracted member, A-3
usage considerations
Assembler Language Processor, 12-5
C Language Processor, 13-5
COBOL Language Processor, 10-4–10-5
PL/I Language Processor, 11-5
usage restrictions
Assembler Language Processor, 12-6
C Language Processor, 13-6
COBOL Language Processor, 10-8
CWDDALLU, 8-7
PL/I Language Processor, 11-7
USECSS load library to STEPLIB, A-2–A-3
using shared directories and databases
advantages, 2-3
using the DIRX report, 2-21
using the previous DIRX report format, 2-21
utilities, batch file
description of, 2-4
utilities, CSS
AAREPORT option, 3-50
Abend-AID report files, working with, 3-50
accessing from Compuware/VF, 9-47
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-77
VIEW command, Compuware/VF, 9-45
VIEW option
Compuware/VF, 9-2
view time, G-5
Viewing Facility
AAREPORT option, 9-8
Abend-AID primary menu, 9-1
Abend-AID report files, viewing, 9-23
accessing CSS Utilities, 9-47
contact information, 9-9
creating JCL for language processing, 9-7
data locator, 9-31
dataset directory screen, 9-10
entry panel, 9-3
entry panel fields, 9-3
LOCATE command, 9-18
NEXT command, 9-18
Output Selection Menu, 9-23
preprocessing and postprocessing, 9-7
primary commands, 9-18
required parameters, 9-7
SORT command, 9-19
source listing files, viewing, 9-23
SOURCE option, 9-7
VIEW option, 9-2
VOLSER (VOL) parameter
CWDDALLU batch utility, 8-24
VSAM space
allocated per track by CISIZE, 2-13
VSAMCAT parameter
CWDDALLU batch utility, 8-24
W
WARNINGS parameter command
COBOL Language Processor, 10-31
WORD option, 10-5
working with Source Listing File Members, 3-32
WRK0-WRK4 File-overrides commands
Assembler Language Processor, 12-12
COBOL Language Processor, 10-20
PL/I Language Processor, 11-15
X
Xpediter/CICS
executing, 1-6
Xpediter/TSO
executing, 1-6
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