IBM DOS/VS Version 1 Release 6 Customer Information Control System Installation and Operations Guide
Below you will find brief information for Customer Information Control System DOS/VS Version 1 Release 6. The Customer Information Control System DOS/VS Version 1 Release 6 is a general purpose data-base/data-communication system. The term data-base/data-communication (DB/DC) is descriptive of the type of processing carried out by online systems as opposed to batch-processing systems. Generally, online systems involve the transmission of information from a remotely located terminal to a computer, the use of that information to access data maintained by the computer (referred to as a data base), and the transmission of processed information back to the terminal.
Advertisement
Advertisement
SC33-0070-5
Customer Information
Control System
(CICS/DOS/VS')
Version 1 Release 6
Program Product
Installation and Operations Guide
Program Number 5746-XX3 (CICSjDOSjVS)
-------- ------- - ---------,-
This edition applies to Version 1 Release 6 (Version 1.6) of the
IBM program product Customer Information Control System/Disk
Operating System/Virtual Storage (CICS/DOS/VS), program number
5746-XX3.
Changes are made periodically to the information herein; before
using this publication in connection with the operation of IBM
systems, consult the latest IBM System/370 and 4300 Processors
Bibliography, GC20-0001, for the editions that are applicable and
current.
References in this publication to IBM products, programs, or
services do not imply that IBM intends to make these available in
all countries in which IBM operates. Any reference to an IBM
program product in this publication is not intended to state or
imply that only IBM's program product may be used. Any
functionally equivalent program may be used instead.
Publications are not stocked at the addresses given below.
Requests for copies of IBM publications should be made to your IBM
representative or to the IBM branch office serving your locality.
A form for readers' comments is provided at the back of this
publication. If the form has been removed, comments may be
addressed either to:
International Business Machines Corporation,
Department 812HP,
1133 Westchester Avenue,
White Plains, New York 10604.
or to:
IBM United Kingdom Laboratories limited,
Publications, Mail Point 095,
Hursley Park,
Winchester, Hampshire, England, S021 2JN.
IBM may use or distribute any of the information you supply in any
way it believes appropriate without incurring any obligation
whatever.
©
Copyright International Business Machines Corporation 1977,
1978, 1979, 1980, 1981, 1983
This manual contains sample programs. Permission is hereby
granted to copy and store the sample programs into a data
'processing machine and to use the stored programs for study
and instruction only. No permission is granted to use the
sample programs for any other purpose.
i i
About This Book
THE PURPOSE OF THIS BOOK
The purpose of this book is to guide the CICS system programmer
through the task of installing a CICS system.
WHO THIS BOOK IS FOR
This book is intended for the system programmer who is responsible
for setting up a CICS system. The system programmer may also have
wider responsibilities~ such as the installation of VSE~ VTAM~
and other programs that will run with CICS.
The system programmer will need to refer to other CICS books such
as the CICS/VS Resource Definition Guide to find the required CICS
resource definition macro instructions for use when creating a
particular CICS system.
This book assumes that the system programmer has a working
familiarity with VSE job control language.
THE SCOPE AND ORGANIZATION OF THIS BOOK
This book covers two major topics: ;nstallat;on and operat;ons.
The installation process will generally be carried out only once
in creating your system~ whereas the operations process may be
repeated from time to time during the day-to-day running of your
system.
1.
2.
Installation is described in Parts 1 and 2.
Operations are described in Parts 3~ 4, and 5.
The contents of each part are as follows:
•
Part 1. "Installing CICS" describes the installation process,
from receipt of the distribution tape to the installatio~ of
an initial CICS system.
•
Part 2. "Extending Your CICS System" describes how to extend
a CICS system. This may be either a system that you have just
created with the help of Part 1 of this book, or a system that
existed earlier.
A sample application package is supplied with CICS Version 1
Release 6, and Part 2 explains how to install this package and
use it to check that your system is running satisfactorily.
Part 2 also gives information on installing some additional
CICS functions and associated programs:
Addi ng Dl/I
Using the VSE shared virtual area
Adding CICS monitoring support
Installing resource definition online (ROO).
For detailed information on intercommunication, see the
CICS/VS Int~rcommunication Facilities Guide.
•
Part 3. "Installing Control Tables and Application Programs"
explains how to modify, assemble, link-edit, and install CICS
tables, map sets, and application programs. Part 3 also
describes which libraries and job control statements you will
need.
.About Thi s Book
iii
•
Part 4. "Setting Up CICS Data Sets" describes the various
CICS data sets and the jobs necessary to define, initialize,
use, and subsequently process them.
•
Part 5. "Running the CICS System" describes how to start up,
run, and shut down the CICS system. It provides a typical
startup job stream, and shows the messages that you can expect
at the system console during startup. It also shows how to
enter startup override parameters, what you must do while
CICS is running, and what to do if there is a system failure.
•
Part 6. "Migrating and Applying Service to the CICS System"
describes how to migrate from CICS Version 1 Release 5 to CICS
Version 1 Release 6. Part 6 also describes what is meant by
serv;ce, and how to apply it.
•
Appendixes
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
A.
B.
C.
D.
E.
F.
Contents of the distribution libraries
CICS modules eligible for the SVA
Pregenerated modules
Sample tables and table entries
Aids and sample application programs
Sample job streams.
OTHER CICS PUBLICATIONS
This publication is one of a library of CICS publications
providing information on all aspects of CICS. It replaces Part 1
and the appendixes of the CICS/VS System Programmer's Guide
(DOS/VS). (Part 2 of the CICS/VS System Programmer's Guide
(DOS/VS) is replaced by the CICS/VS Performance Guide,
SC33-0134.)
The publications that deal with the design, installation,
generation, and performance of a CICS system are:
iv
1.
CICS/VS System/Application Design Guide, SC33~0068: provides
information to help the system design team decide which CICS
facilities will best suit the needs of their organization.
2.
CICS/VS Customization Guide, SC33-0131: gives details of the
. macro instructions that you need when generating the required
CICS management programs. Read it in conjunction with the
more general guidance given in this book.
3.
CICS/VS Resource Definition Guide, SC33-0149: gives details
of the macro instructions that you need when generating the
required CICS control tables. Read it in conjunction with the
more general guidance given in this book.
4.
CICS/VS Application Programmer's Reference Manual (Command
level), SC33-0077: is for Assembler, COBOL and Pl/I
application programmers. It contains both introductory and
reference material and assumes a knowledge of the General
Information manual and of whichever programming language will
be used.
5.
CICS/VS Application Programmer's Reference Manual (RPG II),
SC33-0085: is similar to the CICS/VS Application
Programmer's Reference Manual (Command level), but is issued
as a separate publication because the command format for
RPGII is very different from that of Pl/I, COBOL, and
assembler languages.
6.
CICS/VS Application Programmer's Reference Manual (Macro
level), SC33-0079: is for application programmers who are
maintaining programs written to the CICS macro-level
interface in assembler, COBOL, or Pl/I. It is also intended
for system programmers who are writing user extensions to
CICS in assembler.
CICS/DOS/VS Installation and Operations Guide
7.
CICS/VS Recovery and Restart Guide, SC33-0135: provides
information on the recovery and restart aspects of a CICS
system.
8.
CICS/VS Intercommunication Facilities Guide, SC33-0133. You
will need this book if the CICS system will be using
intersystem communication (ISC) or multi region operation
(MRO).
9.
CICS/VS Performance Guide, SC33-0134: describes how to
adjust the optimization parameters to obtain the required
performance from your CICS system.
The CICS/DOS/VS Program Directorv, supplied with the distribution
tape, contains the latest information on installing CICS. Use it
in conjunction with this book. Where differences occur, regard
the CICS/DOS/VS Program Directory as the latest level of
information. It may contain information that is not in this book.
When running CICS, you will also need:
1.
CICS/VS Operator's Guide, SC33-0160: tells terminal
operators how to initiate CICS transactions, control various
parts of the CICS system, switch messages, collect
statistics, retrieve terminal error information, and use the
processor console as a CICS terminal.
2.
CICS/VS Messages and Codes, SC33-0156: contains all CICS
messages, and is for use by the terminal operator, system
programmer, and application programmer.
Publications on some other IBM products are listed in the
Bibliography at the end of this book.
TERMINOLOGY
"
The formal title of the IBM program product described in this book
is "Customer Information Control System/Disk Operating System/
Virtual Storage." For brevity, this program is called simply
"CICS" throughout most of this book, although the formal
abbreviation "CICS/DOS/VS" or "CICS/VS" is retained when quoting
the titles of other CICS publications. Where it is necessary to
refer to a particular release of CICS, CICS/DOS/VS Version 1
Release 6 is abbreviated to CICS 1.6, and CICS/DOS/VS Version 1
Release 5 to CICS 1.5.
Similarly, the name of the Virtual Storage Extended/Advanced
Functions program product is abbreviated to VSE/AF or VSE.
In this book, the term VlAM refers to ACF/VTAM and ACF/VTAME. The
term BlAM refers to BTAM-ES.
In the programming examples throughout this book, the dollar
symbol ($) is used as a national currency symbol. In countries
where the dollar is not the national currency, the local currency
symbol should be used.
There is a glossary of terms and abbreviations at the back of this
book.
About This Book
v
Introducti on . . . . . . . . • . • . . • • . . . • . . • • • • • .
>.
Part 1.
Installing CICS . . . . • . • . . • . • . . . • . . • • • >
Part 2.
Extending Your CICS System
Part 3.
Installing Control Tables and Application Programs
Part 4.
Setting Up CICS Data Sets • • . . . • • . . • . . • . . • >
Part 5.
Running the CICS System • • . • . • . • • . . • • . • • .
Part 6.
Migrating and Applying Service to the CICS System. • . • >
• • • • • • • • • • • • • • • >
•
•
•
About This Book
vii
•
• 1
•
':
'
'!
>.1."
I
~
>.
CIIIIII
..
>.
Appendi xes . . . . . . . . . · . . . . . . . . . . . . . . . . . . >
Glossary . • . . • • • • . • . . • . . . • . . . • • . . . . • . .
CIIIIIII
1
Contents
Introduction
1
Part 1.
3
Installing CICS
Chapter 1.1.
What is Installation?
5
.The Distribution Tape (Basic Tape)
The Opti onal Tape
•..•.••..
The Installati on Process
.••...•••
6
6
6
Chapter 1.2. What is Needed to Install and Run a CICS system
7
Program Directory
. • • .
. ...
7
7
Service Required
. • • • . • • ..
. ..••
Distribution Material
•.•••.••......•.
7
Ha rdwa re Requ i rement s
...••..
.. • . . • . • . . . . 7
Disk Storage Space for Installation
8
Software Requi rements
•••..•
9
9
Operating System
..••..
9
Data Access Methods
..... .
10
Telecommunication Access Methods
Data language/I (Dl/I)
11
Compi lers
....••••
12
12
Other Software Components
12
Running Under VM
13
Publications
13
CICS Publications
13
VSE Publications
13
Other Publications
Chapter 1.3.
Installing the CIes Distribution Tape
Format of the Di stri buti on Tape
. . • •
. •..
The MSHP Hi story Fi Ie
..... .
Space P lann i ng
..•.....•....•.
Installation Job Stream
Exi sti ng CICS Users Only
..•.
New CICS Users
..•••..••.
All Users
.......•.........•.
Output From the Sample Installation Job Stream
What to Do If the Installati on Job Fai Is
..•.
After the Installati on Job
...•...•..•..
Chapter 1.4.
Initial CICS startup
••••
15
15
15
16
16
16
17
17
20
21
21
23
The Initial CICS System
....••••••
CICS Control Tables
..•....•
The System Initialization Table
•....•...
Program Control Table and Processing Program Table
Termi nal Control Tables
.....
. .••.•
Starting Up CICS
....•....•........••
Running the Sample CICS Job Stream
Startup Errors
...•••...•...••.
An Initial CICS System
.••.........
Communicating with CICS from the System Console
End of Installation?
...•
24
24
24
25
26
26
26
26
Part 2.
29
Extending Your CICS system
Chapter 2.1.
Introduction
Chapter 2.2.
system Data sets
23
23
27
31
Creating a Working CICS System
31
• • • • •
VSAM Requirements
•............•..•..
Essential CICS Data Sets and their Purpose
Temporary Storage and Transient Data
Temporary Storage
...••.
Transient Data
..••.
Dumps
•....••••.•..
. • • •
Trace
.....
. • • .
CICS Statistics
•••..••.
Contents
33
34
36
36
36
38
41
43
44
ix
Other CICS Data Sets
•••••••.••••.•••
Job to Start Up CICS With the CICS Data Sets Defined
Console Output
•••.
Other Output
• • • . . . • • .
CICS Stat i st i cs
• • . •
CICS Dump
••.•
CICS Trace
••••
46
46
48
50
51
53
Chapter 2.3. Sample APpl;cat;on package and CICS Tables
63
63
59
CICS System Resources
•••••••••••••.•••
Sampl e Appl i cat i on Programs
• • • • •
Creat i on of the User Fi Ie FI l EA
. • • • . •••
Sampl e Tabl es
•.•••••••
• • • •
Work Files
..•••..•.
Processing Program Table (PPT)
Program Contro I Tabl e (PCT)
•.••••.
Destination Control Table (DCT)
.'.
Fi Ie Control Table (FCT)
..•.
Terminal Control Table (TCT)
•••••.
• •••
Constructing the Startup Job Stream
••.••..••••
Starting Up CICS to Run the Sample Application Programs
84
Chapter 2.4. Restart and Recovery of eICS
91
..
•
68
69
70
71
72
73
78
Requirements for a Warm Keypoint to be Taken
Automat; c Startup
•..•..••
. •••
Creat i on of the Restart Data Set
•••••
. • • •
Demonstrati on of Warm Restart
• . • • • •
• •••
Emergency Restart
.••...•.••...•••.
Requirements for Emergency Restart to be Performed
Creation of the System log . • • • • . . . . • . • • . • . •
Journal Control Table (JCT)
•..••.•..••
Destination Control Table With l860 Queue Defined as
Physically Recoverable
.•...•
• •••.
Demonstrat i on of Emergency Restart
.•••••••
Data Integr i ty and Backout of Data
•••••••••
Dynami c Transacti on Backout
•.••.•.••••••.
Requirements for Dynamic Transaction Backout to be
Performed
..••••..•...
103
Chapter 2.5. CICS System Generation
115
••••
What; s System Generat; on?
•.•••..•••
What Can You Generate?
••...••...•.
Assembling the DFHSG Macro Instructions (Stage 1)
Execut i ng the Job Stream (Stage 2)
•.••.
Regenerati ng a Pregenerated Module
•.•••
Overv i ew
•...•••....
Installation and Use
•....•..
Allocating Space in the SVA
....
loadi ng the SVA
•••...••••
Using the SVA during CICS Execution
Updating Phases in the SVA
• • • •
104
105
110
112
113
118
120
• • • •
• •••
Reassembling DL/I DOS/VS Modules
Chapter 2.8. Adding eIes Monitoring Facility support
Controlling the Monitoring Facilities
.••••
Monitoring Control Table
.•••
Journal Control Table
.•.•
• • • .
System Initialization Table
CSTT Transaction
•..•••.
CSD Fi Ie or PPT and PCT Entri es
•••..•.••.
Processing Output from the CICS Monitoring Facility
Preparing for Migration
•••••..•..••••
Mi grati on of PCT and PPT Entri es
••••.•.
. .•••
Migration of Programs, Map Sets, and Partition Sets (PPT)
Migration of Profiles (PCT)
•
• ••.
Migration of Transactions (PCT)
••••.
Profile Properties
•••.
CICS/DOS/VS Installati on and Operat ions Gui de
102
115
Chapter 2.7. Adding DL/I Support
Chapter 2.9. Migrating R2source Definitions
91
92
93
94
100
101
115
116
Chapter 2.6. CICS Modules in the VSE Shared Virtual Area
x
64
64
67
121
121
122
122
122
123
123
125
125
127
128
128
128
129
129
129
129
131
131
133
133
134
134
134
After You Have Migrated Your Tables to the CSD File
135
Part 3.
139
Installing Control Tables and Application Programs
Chapter 3.1.
Introduction
141
Chapter 3.2.
Minimum Resource Definitions
...........•.
Installing the CICS Control Tables
...... .
Assembling and link-Editing the Control Tables
The Next Step
.....
•. . . . . . . . . . . .
Installing CICS Control Tables
144
144
144
146
Chapter 3.3.
Installing Map sets and Partition sets
147
••••••••
143
Installing Map Sets
.......•..........•.•
Install i ng Physi cal Map Sets
......•
Installing Symbolic Description Map Sets
.
Installing Physical and Symbolic Description Map Sets
Together
............•......
Installing Partition Sets
........•..
152
154
Chapter 3.4.
157
Installing Application Programs
Command-level Application Programs
Using the IBM-Supplied Sample Procedures
Using Your Own Job Stream
Macro-level Application Programs
Assembl er language
....••.
High-level languages
....•...•..•
Part 4.
147
148
150
158
159
161
172
172
172
setting Up CICS Data sets
177
Chapter 4.1.
preparing to set Up CICS Data sets
179
Chapter 4.2.
Temporary storage Data set
181
VSE/VSAM Space Management for SAM Feature
180
••••••
Job Control Statements to Define the Temporary Storage
Data Set
..........
. . . .
Space Consi derati ons
.....•.........
The Control Interval Size
..•...•.
. .••..
Humber of Control Intervals
.•......•.......
Job Control Statements for CICS Execution
..•.
Chapter 4.3.
Transient Data Intrapartition Data set
••••
182
183
183
184
184
185
Job Control Statements to Define a VSAM Intrapartition
Data Set
.......................•.
Space Considerations
.........•........
Job Control Statements to Define a DAM Intrapartition Data
Set
..................•.
. . . • . .
Space Consi derati ons
.........•.•
. . . .
Considerations Independent of Access Method
Job Control Statements for CICS Execution
VSAM Intrapartition Data Set
..•..•......
DAM Intrapartition Data Set
................
186
186
187
187
187
187
Chapter 4.4.
Transient Data Extrapartition Data sets
189
Chapter 4.5.
Journal Data sets
191
• • • • • • • • • • • ••
Di sk Journals
......
.
... . . . . • . .
Preparing Disk Data Sets for System logs and Journals
(DFHJCJFP)
.........
. . . .
. . • . • •
Space Considerations
.....
•... . . . . . •
Job Control Statements for CICS Execution
..••.
Tape Journals
. . . . . /. . . . . . . . . . . • . . . . .
Preparing Tapes for System logs and Journals (DFHFTAP)
Job Control Statements for CICS Execution
......
Writing an EOF Mark on a Journal or System log (DFHTEOF)
Journals for CICS Monitoring Facility Output
Chapter 4.6.
Restart Da ta set
••••
Information Written to the Restart Data Set
Warm Restart
......•.....
Emergency Restart
............
. . • • • •
Job Control Statements to Define and Initialize the
Restart Data Set
......•..•......
Contents
185
186
191
192
193
194
195
195
195
195
196
197
198
198
198
199
xi
Space Calculations
••.•.••...•.•••••.
Job Control Statements for CICS Executi on
••••.•••.
Chapter 4.7.
Automatic statistics Data sets
199
200
201
System Stat i st i cs
....
. . • • .
Requested Stat i st i cs
..•.
Automatic Statistics
Termination Statistics
.•.
Destinations for Statistics
..... .
Job Control Statements for CICS Execution
Space Calculations
.•...•......••••..••
Processing the Automatic Statistics Data Sets CDFHSTUP)
201
201
201
202
202
202
203
204
Chapter 4.8.
207
Auxiliary Trace Data sets
•••••
Job Control Statements for CICS Execution
Space Calculat ions
•.•.....
• •••.•
Processing the Auxiliary Trace Data Set (DFHTUP)
208
209
209
Chapter 4.9.
213
Dump Data sets
•••••••
Job Control Statements for CICS Execution
Space Calculations
..........••
Processi ng the Dump Data Sets (DFHDUP)
•••.
Chapter 4.10.
CICS system Definition File
Fi Ie Control Table Defi ni ti on of the CSD Fi Ie
.•••
Job Control Statements to Define and Initialize the CICS
System Definition File
........•
Space Calculati ons
......•....•••
Backup and Recovery Procedures
.....•.
Job Control Statements for CICS Execution
CSD File Availability
....•.....•...•..•..
Multiple Users of theCSD File Within a CICS Region
Multiple Users of the CSD File Across CICS or Batch
Regi ons
...................... .
Dlsposition of the CSD File After Abnormal Termination
Processing the CICS System Definition File (DFHCSDUP)
Job Control Statements to Invoke DFHCSDUP
....•.
DFHCSDUP Commands
....•......•.•...••
Rules for the Syntax and Preparation of Utility Commands
215
215
216
219
220
220
221
222
222
222
222
222
223
223
224
225
229
231
Chapter 4.12.
VTAM Terminals
........ .
BTAM Terminals
......... .
Local and Remote BTAM Terminals
Remote BTAM Terminals Only
..•••
Sequential Devices
....••.
VSE Console
......... .
Terminal Definitions
234
235
235
236
237
239
Chapter 4.13.
DL/I Definitions
241
Application Control Table (ACT)
Storage Layout Control (SLC) Table
Part 5.
Running the CICS system
Chapter 5.1.
Overview of CICS Operations
Planning Your CICS System
....•.••••
Selecting the Function You Need
Prepari ng CICS Data Sets
..•....•••
Preparing Resource Definition Tables
Prepari ng Management Modules
•...
Ensuring Previous Execution is Complete
Preparing the startup Job Stream
..•••••
System Initialization Parameters
Selecting Types of Startup
Check i ng your VSE System
....•
Selecti ng Modules for the SVA
...•••.
Ensuring that the VTAM Partition is Active
Running the Startup Job Stream
Selecting the Partition
....
Nucleus and Dynamic Storage Area
GETVIS
.....•..•..
xi i
CICS/DOS/VS Installati on and Operati ons Gui de
233
241
241
243
245
245
245
245
245
245
246
246
246
247
247
247
247
247
247
248
248
Calculating the Storage for Your System
Operating the CICS System
...... .
DFH1500 CONTROL IS BEING GIVEN TO CICS
Master Termi na I
.....
Shutting Down the CICS System
Uncontrolled Shutdown
Postprocessing
...... .
Chapter 5.2.
248
250
250'
250
251
251
252
The CICS startup Job stream
253
A Typi cal startup Job stream
....
. ••.
Creating and Running Your Own Startup Job Stream
System Console Messages
....
Di sk Journals
........•.
Tape Journals
.•.......
Chapter 5.3.
253
255
258
259
263
system Initialization Parameters
267
PARM Options
.........•.
UPSI Job Control Statement
...•...•
Operator Communication
.........•.••.
Operator and SYSIPT Overrides
.....
System Initialization Override Parameters
Defaults
.......... .
Selection of Modules and Tables
START Options
....... .
268
269
270
270
270
270
Chapter 5.4.
277
267
268
operating Procedures
Fo rms and Tabl es
. . • . . • .
CICS Online Log Sheet
.......•...••..••••
CICS Incident Report
.........•
Data Set/Data Base and Transaction Table
Transaction and Program Table
Flowcharts
............ .
How to Use the Flowcharts
List of Flowchar~s
•.......
Chart A-I: Sequence of Operations
Chart B-1: Initializing the Network
Chart B-2: Start Up CICS
.........•.
Chart B-3: Selection of CICS Startup Options
Chart B-4: Perform Warm (or Cold) Start
Chart C-l: Normal CICS System Monitoring
Chart 0-1: Shut Down CICS
.....•..
Chart E-1: Acti on on User Problem
...•..••••
Chart E-2: Machine Check, Power Failure, VSE Loop, or
Abend
...............•...••
Chart F-1: Perform Emergency Restart
Chart F-2: Perform Emergency Restart (continued)
Chart F-3: Perform Emergency Restart (continued)
Chart F-4: Perform Emergency Restart (continued)
Chart F-5: Perform Emergency Restart (continued)
Chart G-l: Log Tape Errors . . . . . . . . . . . •
. . .' . . .
Chapter 5.5. Actions to be Taken After an Emergency
Restart
••••••••••••••••••••••
Controlled Shutdown Following an Emergency Restart
System Failure During Emergency Restart
•..•.•
Part 6.
Migrating and Applying Service to the CICS system
Chapter 6.1.
Migrating to CICS 1.6
281
283
285
286
286
287
288
290
292
294
296
298
300
302
304
306
308
310
312
314
316
319
319
319
321
323
Changes to System Generation
...••
Changes to CICS Tables
...•...
Running CICS 1.5 and CICS 1.6 Together
Changes to System Initialization
Changes to the CICS Translators
Removal of the Entry Level System
Removal of Obsolete Function
Pre-VS BMS Maps
..........•••
Chapter 6.2.
277
279
323
324
325
325
326
326
326
326
APplying Service to CICS
327
Types of Serv ice
.....
Program Update Tape (PUT)
....... .
Use of MSHP
Service Materials SUPplied
327
328
328
329
Contents
xii i
Service Application Checklist
Sample PTF
. . .•
329
331
Appendixes
333
Appendix A.
contents of the Distribution Libraries
335
APpendix B.
CICS Modules Eligible for the SVA
339
APpendix C.
Pregenerated Modules
343
Appendix D.
Sample Tables and Table Entries
Core Image Library
...•.
Relocatable Library
..•..•..••
. ..••
Source Statement Library
.......••..•
•••••••
Modules With a Dummy Pregenerated Version
....
Modules With Nondummy Suffixed Pregenerated Versions
DFHSG Macro Instructions for the Pregenerated System
Pregenerated Sample Tables
•••.
Other Sample Tables
....•...••.•
Copy Books fo r Sampl e Tabl e Ent r i es
••..
. . . • •
Source Code for Sample Tables
•......•.. •.•.
Contents of the CICS System Definition (CSD) File after
Initialization
•..••.....•.•••.••
Appendix E.
Aids and sample Application Programs
CICS Aids
.................••.•.••
BTAM Error Statistics Recorder (DFHSDR$)
.••.
Transient Data Write to Terminal (DFHTDWT$)
•..•.
CICS-DL/I Installation Tester (DFHTDLI)
CICS Monitoring Facility Output Listing Progrqm
CDFHXMOLS)
•................•..•••.
Sample Application Programs
.......••.•.
FILEA Sample Applications
.............•••.
Intersystem Communication Message Routing Sample
Application
.•........•..........•
Distributed Transaction Processing Sample Applications
BMS Partition Support Sample Applications
.•••
Appendix F.
Sample Job Streams
•••••••••••
Sample Procedures
.........••.•.
DFHEITAl - Translate, Assemble, and link-Edit
Assembler-language Appl) cati on Programs
•
DFHEITCl - Translate, Compile, and link-Edit COBOL
Appl i cat ion Programs
.............•.
DFHEITPl - Translat~, Compile, and link-Edit PL/I
Appl i cat i on Programs
....•......
DFHEITRL - Translate, Compile, and link-Edit RPG II
Application Programs
....
General-Purpose Job Stream
Defi ne VSAM Master Catalog
. • • .
. ••.
Defi ne VSAM User Catalog
.•.....••
Defi ne VSAM Space
............
. .•.
Define Auxiliary Temporary Storage Data Set
.•.•
Define Transient Data Intrapartition Data Set
..••
Job to Start Up CICS Wi th Data Sets
. . ••
. ••.
Print Dump Data Set
.....•.
. .•..
Pri nt Auxi Ii ary Trace Data Set
.•..
Define VSAM FIlEA Cluster
...•...•.
Initialize Sample VSAM FIlEA File
.....•.
Create New Pri vate Core Image Library
.••.
Assemble and link-Edit Sample DFHPPTS1
Start Up CICS System for Sample Run
••..
Defi ne Restart Data Set
...••••..•..
Initialize Restart Data Set
• • •.
• .•.•
Format Journal Disk Extent
....
Format Second Journal Disk Extent
•••••
Format Journal Tape
...... .
Verify VSAM Files
.......•
. .•.
Define CICS System Definition File
•...•.
Initialize CICS System Definition File
Delete CICS System Definition File
Delete Restart Data Set
....••
xiv
CICS/DOS/VS Installation and Operations Guide
335
335
337
343
343
346
351
351
352
353
355
372
377
377
377
378
379
380
381
381
384
385
386
389
389
389
389
390
390
391
391
391
391
391
392
392
392
392
393
393
394
394
394
395
395
395
396
396
396
396
396
397
397
Delete
Delete
Delete
Delete
Delete
FIlEA File
•..••.•.•.•••.
Intrapartition Transient Data Set
Auxiliary Temporary Storage Data Set
VSAM Space
•••••
VSAM User Catalog
397
397
397
397
398
Glossary
399
Bi bl i ography
••••••••••
VSE/Advanced Functi ons
•.••.
Systems Network Archi tecture (SHA)
.
Basic Telecommunications Access Method
VSAM
. . . • .
Dl/I DOS/VS
409
409
409
409
409
409
Index
411
Contents
xv
Figures
1.
2.
3.
4.
5.
6.
7•
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
CICS and its Software Environment
CICS library Sizes (At Initial Shipment)
CICS Space Requi rements
..
. ...
listing the Contents of a DASD Volume
.••
Install i ng into Hew l i brari es
. ..
..
Sample Installation Jobstream Output Using an IBM
3310 Di rect Access Storage Dev ice
....... .
Addi ng Standard Label Informati on
.•....
.
Starting Up an Initial CICS System
..
.•.•
Sample Output on Starting Up an Initial CICS System
Communicating with CICS Using the System Console
.
Punching the Sample Job Stream to a POWER Punch Queue
Def; n i ng a VSAM User Catalog and Space
Defining the Auxiliary Temporary Storage Data Set
Defining the Intrapartition Data Set
.
.
Defining the Dump Data Sets
.•
. .... .
Defining the Trace Data Sets
...
... .
Start i ng Up CICS Wi th System Data Sets Defi ned
..
Sample Output on Starting Up CICS With Essential Data
Set s .
...... ...
• . ..
.
Sample Transactions To Demonstrate Data Set Operation
Process i ng the Dump Da ta Set
..
. . . . •
Processing the Auxiliary Trace Data Set
Defining the User File FILEA
..
.
loading the User File FILEA With Initial Data
Defining a Private Core Image Library
.
. .•
Addi ng Assembly Work Fi les and Link Fi Ie
.. .
Assembling and link-Editing a Sample PPT
... .
Assembling and Link-Editing a Sample PCT
•..
Assembling and Link-Editing a Sample DCT
Assembling and Link-Editing a Sample FCT
.
Assembling and Link-Editing a Sample BTAM TCT
Assembling and Link-Editing a Sample VTAM TCT
...••
Starting Up CICS to Run the Sample Application Package
Defi ni ng the Restart Data Set
.
. . ..
.
Initializing the Restart Data Set
..
.•..
Starting Up CICS with Warm Restart Capability
Sample Output on Starting Up CICS with Warm Restart
Formatting System Log Data Sets on Disk
.
. ..
Assembling and link-Edithlg a Sample JCT
..
Starting Up CICS with Emergency Restart Capability
Veri fyi ng VSAM Fi les
...
.. .
Sample Output on Starting Up CICS with Emergency
Restart
. . . . . . . . . ..
~
.•
.••
Starting Up CICS with Dynamic Transaction Backout
Capabi Ii ty
.
.
....
••
Using Cards as Intermediate Storage between Stages 1
and 2
...
. . . . ..
.
Using Tape Output (Optional) for Stages 1 and 2
•.
Using POWER Internal Reader to Store the Output From
Stage 1
.
..
. . . .
Format of Stage 1 Output
.
. ..
Reassembl i ng a Pregenerated Module
.
•.
Source Member A. DFHSGDl I
.
• . . .
Installing the CICS Control Tables
..•.
.
Assembling and link-Editing a CICS Control Table
Install i ng Physi cal Map S e t s .
. ..
Assembling and link-Editing a Physical Map Set
Installing Symbolic Description Map Sets
.
Assembling and link-Editing a Symbolic Description
Map Set
..
...
. .
..
Assembling and Link-Editing a Physical and a Symbolic
Descr i pt i on Map Set
. . . . . . . ..
...
Installing Partition Sets
•
. ....
Assembling and link-Editing a Partition Set
.
Installing a Command-level Application Program
Invoking DFHEITAl Sample Procedure
Figures
1
8
9
16
18
20
22
25
26
27
32
34
37
40
42
44
47
48
49
53
59
65
66
67
68
69
70
71
72
75
76
84
93
93
94
98
102
103
105
106
108
114
116
117
118
119
120
126
145
146
149
149
151
152
153
154
154
159
160
xvi;
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
xv iii
Invoking DFHEITCl Sample Procedure
•.••••••
Invoking DFHEITPl Sample Procedure
•.•..•••
Invoking DFHEITRl Sample Procedure
•
. ...••
Preparing an Assembler-language Application Program
(Usi ng Di sk)
...
.....
••.
. ....
Preparing an Assembler-language Application Program
(Using Tape)
....
•.
. ...•.•..••.
Preparing a COBOL Application Program (Using Disk)
Preparing a COBOL Application Program (Using Tape)
Preparing a Pl/I Application Program (Using Disk)
Preparing a Pl/I Application Program (Using Tape)
•
Preparing an RPG II Application Program (Using SYS002)
Preparing an RPG II Application Program (Using SYS003)
Preparing an RPG II Application Program (Using SYSPCH
on Disk)
...
...• ........•...•
Preparing an RPG II Application Program (Using SYSPCH
on Tape)
..•........•
.....
. •..
Installing a Macro-level Application Program Written
in COBOL or Pl/I
...
. .•..•..•..•..
Example in which Tape is Used as the Output from the
Preprocessor and Input to the Assembler
.....
Preparation of a Macro-level COBOL or Pl/I Program
The DFHCSDUP Offline Utility Program
CICS anI i ne log Sheet
•..•...•..•
C.ICS Inci dent Report
. . . . . ..
.
Data Set/Data Base and Transaction Table
Transacti on and Program Table
•..
•
CICS/DOS/VS Installation and Operations Guide
160
161
161
162
163
164
165
166
167
168
169
170
171
173
175
176
224
278
280
282
284
Questionnaire
CICS/DOS/VS Installation and Operations Guide
(CICS/VS Version 1 Release 6)
To help us produce books that meet your needs, please fill in this questionnaire. It would help us if
you provide your name and address in case we need to clarify any of the points you raise. Please
understand that IBM may use or distribute whatever information you supply in any way it believes
appropriate without incurring any obligation whatever to you.
1.
Please rate the book on the points shown below
The book is:
1
accurate
2
readable
2
well laid out
2
well organized
2
easy to understand
2
adequately illustrated
2
has enough examples
2
And the book as a whole?
excellent
2.
2
3
3
3
4
4
4
4
4
4
4
5
5
5
5
5
5
5
inaccurate
unreadable
badly laid out
badly organized
incomprehensible
inadequately illustrated
has too few examples
3
4
5
poor
3
3
3
3
When using this book. did you find what you were looking for?
What were you looking for?
What led you to this book?
Did you come straight to this book?
3.
Which topics does the book handle well?
5.
How could the book be improved?
6.
How often do you use this book?
Less than once a month?
4.
And which does it handle badly?
0 Monthly? 0 Weekly 0 Daily? 0
7.
What sort of work do you use GIGS for?
8.
How long have you been using GIGS?
9.
Have you any other comments to make?
_ _ _ years/months
Thank you for your time and effort. No postage stamp necessary if mailed in the USA. (Elsewhere,
an IBM office or representative will be happy to forward your comments or you may mail directly to
either address in the Edition Notice on the back of the title page.)
Questionnaire
Q
(")
en
o
o
en
Fold and Tape
Fold and Tape
<
en
Fold and Tape
<
~
tJ)
o·
:::l
No postage
necessary
if mailed
in the
United States
:0
('!)
ro
~
('!)
0)
:::l
tJ)
.-+0
Q)
BUSINESS REPLY MAil
Q)
~.
o
:::l
FIRST CLASS
PERMIT 40
ARMONK. NEW YORK
Q)
:::l
c..
o
"'0
('!)
...,
Postage will be paid by addressee:
Q)
.-+0
O·
:::l
International Business Machines Corporation
Department 812H
1133 Westchester Avenue
White Plains, New York 10604
tJ)
I \ .:. '
'~:!.
1.
"
"
~~
l,,17, "!,r
G)
c
a:
('!)
:,c
S·
.-+0
('!)
c..
:::l
C
Fold and Tape
Fold and Tape
Fold and Tape
Name and address:
en
~
en
(")
W
w
6
a......,
a
en
Job Title ........................ Company ......................... .
Address ......................................................... .
.................................................. Zip ........... .
---®
- --R
-- -----..-.....,--~
- - ---~
•
Introduction
The IBM Customer Information Control System/Virtual Storage
(CICS/VS) is a general purpose data-base/data-communication
system. The term data-base/data-communication (DB/DC) is
descriptive of the type of processing carried out by online
systems as opposed to batch-processing systems. Generally,
online systems involve the transmission of information from a
remotely located terminal to a computer, the use of that
information to access data maintained by the computer (referred
to as a data base), and the transmission of processed information
back to the terminal.
Operating System
(VSE/Advanced Functions)
t
CICS
***********************************
Telecommunications
Data Access
*
*
System
*
*
Access Method
Method
*
* Management *
*
(VSAM, ISAM'I~~~__~~~* File
* Component
*Terminal ~ (BTAM-ES, ACF/VTAM,
or ACF/VTAM-E)
or DAM)
*
***************
*
System
* Control *
* Control *
*
* Services
*
/
*Component* Component *Component*
***************
*
Terminals
System
*
Terminals
*
Monitoring *
*
* Component *
*
***********************************
*
Application
* Basic *
,
*
Services
* Mapping *
*
Component
* Support *
Other CICS
systems and
***********************************
networks
*
*
*
*
\
t
User Application Programs
(written in Assembler,
COBOL, PL/I, or RPG II)
Figure 1. CICS and its Software Environment:
represents CICS.
the area outlined by asterisks
Introduction
1
Part 1. Installing CICS
•
Part 1.
Installing CICS
3
Chapter 1.1. What is Installation?
This book is about the installation of a CICS system .
At its simplest, ;nstallat;on means mounting the distribution
tape onto a tape drive and copying the information into libraries
in your VSE system. This is a straightforward process that may
take, for example, as little as 3 minutes 42 seconds of machine
time on an IBM 4331 Processor. At the end of this process:
•
•
You will have copied a core image library, a relocatable
library, and a source statement library
•
You will have merged the history file on the distribution tape
into your system history file.
In short, you will have installed CICS, as it is supplied.
Of course, in order to use the CICS system to do productive work,
you will need to do some other things. CICS provides a framework
of management modules that is common to all eIes systems. But you
must provide the application programs or application packages
that will perform the processing that is unique to your
requirements. You will need to:
•
Install these application programs or packages into the VSE
system.
•
Defi ne them to the CIeS system wi th the ai d of eICS control
tables.
o
Define other resources to eICS - for example, the precise
configuration of terminals that is to be used when running the
application programs.
•
Defi ne eICS data sets and user fi les that wi 11 enable the
application programs to carry out their tasks.
All these activities must be completed in order to construct a
total CIeS system, suited to your own production environment.
The word "installation" is, therefore, often used for all the
activities necessary to construct a working system. But these
activities are not necessarily all carried out at the same time.
You may wish to modify your system from time to time or to extend
it by installing new application packages. You may wish to add
new terminals to the system, or make it possible for eIeS to
communicate with other eIeS systems. You will then have to
redefine the control tables or re-create data sets or rebuild the
job stream used to run the eIeS system.
In this book, all these activities, which may be performed
repeatedly during the life of a eIeS system, are called CICS
operations. In this way, the book distinguishes between
installation, which is performed only once, and operations, which
are the recurrent tasks necessary to ensure that a CIes system
continues to satisfy the changi~g demands,of its users.
The installation tasks - as described above - are described in
Part 1 and in Chapters 2.S through 2.10 of this book. The
operations tasks are described in Parts 3, 4, and S.
The distribution tape contains a set of sample application
programs, together with appropriate tables that can be used to
test them. For those users who are new to the installation of a
total CIeS system, the. first few chapters of Part 2 have been
written to provide a tutorial, step-by-step description of the
procedures involved, using the sample application programs for
illustration. The discussion, however, frequently goes further
Chapter 1.1.
What is Installation?
5
and aims to explain concepts not reflected in the samples. A user
who has worked through Chapters 2.1, 2.2, 2.3, and 2.4 should be
able not only to install a simple working system, but also to
understand some of the underlying processes.
Some experienced users may choose to skip the tutorial chapters
and turn to the reference material in the later chapters in Part 2
and in Parts 3, 4, and 5.
THE DISTRIBUTION TAPE (BASIC TAPE)
CICS is supplied on a single distribution tape known as the bas;c
tape. Its contents are listed in Appendix A.
The basic tape contains all the material normally required to
install and run a CICS system. The great majority of CICS modules
are supplied only in pregenerated form, relieving users of the
need to carry out system generation. A small number of CICS
modules are also supplied in source form, so that users can, if
necessary, generate them to suit their own requirements. For many
users, this will be unnecessary, because the modules will meet the
users' requirements in their standard, pregenerated form.
The basic tape thus contains:
•
The core image library, containing the pregenerated modules
and the sample application programs and maps
•
The source statement library, containing the source code of
those modules for which system generation is permitted in
this release, as well as the macros used for building CICS
control tables and for compiling CICS application programs
•
The relocatable l;brary, containing elements such as VSE
logic modules, modules required when link-editing application
programs, or items that are required if it is found necessary
to generate alternative versions of modules in the core image
library
•
The HSHP history f;le, containing information about the CICS
product.
THE OPTIONAL TAPE
In addition to the basic tape, it is possible to order separately
the optional tape. The optional tape contains the source code for
those CICS modules that are distributed only in the pregenerated
form on the basic tape. The means to generate these modules is
not supplied, and the tape is not required for product
installation or operation. No service is applied to the contents
of the optional tape, nor to any modules that may have been
assembled from it. Most users will not need the optional tape.
THE INSTALLATION PROCESS
You copy the contents of the CICS distribution tape to your direct
access storage device (DASD) using the Maintain System History
Program (MSHP), which is an integral part of VSE. This procedure
is commonly known as restoring the libraries on the tape.
During this MSHP installation job, the libraries on the
distribution tape are copied to spaces you have defined on your
DASD. The information in the history file on the distribution
tape is merged into your system history file; it will subsequently
be used during the servicing of CICS.
6
CICS/DOS/VS Installation and Operations Guide
Chapter 1.2. What is Needed to Install and Run a CICS System
PROGRAM DIRECTORY
Read the CICS/DOS/VS Pr09ram Directory first, before starting the
installation process. The program directory is a source of
additional or updated information about the installation process.
The program directory should be used together with this manual
but, where differences occur, the program directory will contain
the latest level of information.
Consult the program directory for the release level of other
program products against which CICS was assembled.
If you are an existing CICS user, you should also read at least
"Chapter 6.1. Migrating to CICS 1.6" before you install CICS 1.6.
SERVICE REQUIRED
You should call your IBM program support representative to
confirm that no other PTFs or APAR fixes are required - either to
your system before CICS is installed - or to CICS before you can
use it. Make sure that, if a fix is available, you install it
only if it might affect your particular hardware or software.
DISTRIBUTION MATERIAL
The basic machine-readable material for CICS/DOS/VS is
distributed on a single 9-track magnetic tape of either 1600 or
6250 bits per inch (bpi). The optional machine-readable material
is also avai lable at ei ther 1600 bpi or 6250 bpi. The recordi ng
mode for all tapes is EBCDIC.
The basic and optional tapes are ordered separately.
The basic distribution tape supplied will contain CICS service up
to the level currently available.
The optional tape, if ordered, will contain no service, and the
source members on the tape will not be serviced.
Both the basic and optional tapes have been created using the VSE
BACKUP utility program to dump complete libraries from disk to
tape. All libraries are private libraries.
The contents of the basic tape must be restored (that is, copied
from tape to disk) using the MSHP installation program (as
described in the next chapter).
The libraries on the optional tape can be restored using the VSE
RESTORE utility program. The LIST function of that program can be
used to list all libraries on the optional tape, including file
name, file identifier, and library sizes for a specific direct
access storage device (DASD) type.
HARDWARE REQUIREMENTS
CICS/DOS/VS runs in a virtual storage environment on any IBM
System/370, 303x series, 308x series, or 43xx series system
configuration that supports the VSE operating system. Each
system must have sufficient real storage to satisfy the combined
requirements of CICS, the host operating system, appropriate
access methods, batch requirements, and application programs that
you may require.
Chapter 1.2.
What is Needed to Install and Run a CICS System
7
•
The configuration must include sufficient I/O devices to support
the requirements for system output, system residence, and system
data sets. Sufficient direct-access storage must be available to
satisfy your information storage requirements, and may consist of
any direct-access facility supported by the system configuration
and the programming system. See also the documentation for the
host operating system for details of any features and engineering
change levels that are required.
For a list of the terminals that can be used with CICS, see the
CICS/VS General Information manual, GC33-0155.
To use the sample application programs supplied as part of the
distribution material, you will need an IBM 3277 Display Station
or a compatible terminal devi.ce.
Distribution and maintenance of CICS requires one 9-track tape
drive.
DISK STORAGE SPACE FOR INSTALLATION
The information contained here refers to the CICS distribution
tape at initial shipment. The distribution tape is periodically
refreshed with the currently available service and so the
libraries on the tape you have may have changed in size. The
CICS/DOS/VS Program Directory contains information about the
space requirements required for the libraries on the distribution
tape received with that directory.
The basic distribution tapes contain a core image library, a
relocatable library, and a source library. You have to specify
your own data set identifiers for these libraries when they are
copied to disk. For convenience, these libraries are referred to
as CICS160.CIl, CICS160.RElO, and CICS160.S0URCE throughout this
book, but these identifiers can be replaced by identifiers of your
own choice. Similarly, this book refers to your own private core
image library as USER.PRIVATE.CIl.
The size of the eICS data in the distributed libraries is
approximately 27 million bytes.
Library
CICS160.CIl
CICSI60.RElO
CICSI60.SQURCE
No. of
L;brary Blocks
2903
4313
124245
Ho. of
D;rectory Entr;es
357
281
907
Figure 2. CICS Library Sizes (At Initial Shipment)
8
CICS/DOS/VS Installation and Operations Guide
The amount of direct-access storage you will need to install the
libraries depends on the DASD type. Figure 3 shows the space
needed for the libraries of CICS 1.6 as defined for all IBM
direct-access storage devices supported as library residence
volumes. The figures in brackets refer to the space to be reserved
for directory entries, out of the total allocation.
Library
3330
Cyls
3340
Cyls*
3350
Cyls*
3310/3370
Blocks
CICS160.CIL
16(3)
39(4)
8(3)
6387(33)
CICS160.RELO
10(2)
25(2)
5(2)
3142(15)
CICS160.S0URCE
164(4)
439(5)
84(3)
43187(41)
Total
190
503
97
52716
•
Figure 3. CICS Space Requirements
Note: Entries marked with an asterisk have been calculated using
the formulas in "Chapter 4. Storage Requirements" of the
VSE/Advanced Functions System Generation manual. All sizes are
approximate and include a lOY. margin for servicing requirements.
You should check the figures given above with the CICS/DOS/VS
Program Directory - if there are any differences, use the
CICS/DOS/VS Program Directory figures.
You should keep CICS in its own libraries and catalog your own
library members in other private user libraries.
SOFTWARE REQUIREMENTS
OPERATING SYSTEM
CICS/DOS/VS Version 1 Release 6 operates under IBM System/370
VSE/AF Version 1 Release 3. Ho specific supervisor options are
required for CICS.
DATA ACCESS METHODS
CICS can use Virtual storage Access Method (VSAM), Indexed
Sequential Access Method (ISAM), or Direct Access Method (DAM) to
support user files and some CICS data sets.
VSAM
This release of CICS assumes that you have VSAM on your system. In
addition, VSAM Access Method Services (AMS) are required for
generating various CICS data sets and files.
'-
Chapter 1.2.
What is Heeded to Install and Run a CICS System
9
ISAM
For users who have ISAM files, CICS/DOS/VS requires a special
version of the ISAM logic module to provide support for in-line
WAITs and the browse functions. The logic module required by
CICS/DOS/VS for access to an ISAM file can be provided in either
of two ways:
•
By a separate assembly of the DFHISMOD macro instruction,
following which the module is cataloged in the relocatable
library, and then link-edited automatically with the CICS
file control table when required.
•
By assembling DFHISMOD in-line within the file control table,
using the DFHFCT TYPE=LOGICMOD macro instruction.
A file control table may require up to four logic modules
providing support (or specifically without support) for
rotational position sensing (RPS), and the "prime data in main
storage" option of ISAM record addition (CORDATA=YES option) - a
total of four combinations of functional support. In general,
even if the DFHFCT TYPE=LOGICMOD macro instruction is used, it is
usually necessary to link-edit at least one additional logic
module from the relocatable library. MNOTEs in the assembly
listing for the file control table provide guidance on the
generation of these additional logic modules. See the
description of the file control table in the CICS/VS Resource
Definition Guide for more details.
Four preassembled ISAM logic modules, with all options included,
are provided in the relocatable library supplied on the CICS
distribution tape (see "Relocatable Library" on page 333).
DAM
CICS supports DAM as a file access method. CICS 1.6 does not
provide a pregenerated DFHSDAM module, because the access method
module is now provided by VSE and is loaded into the VSE shared
virtual area (SVA) at OPEN time.
TELECOMMUNICATION ACCESS METHODS
Terminals can be attached to CICS by means of Virtual
Telecommunications Access Method (ACF/VTAM or ACF/VTAM-E) or
Basic Telecommunications Access Method (BTAM-ES).
VTAM
Special considerations apply to CICS terminal control for the
following reasons:
•
The use of ACF/VTAM requires complementary definitions in
CICS and VTAM.
•
Some users who do not have ACF/VTAM installed in their system
may have assembly errors if attempts are made to apply service
to CICS-supplied modules containing VTAM macros.
The suffixable terminal control modules are listed in
Appendix C. Because these modules include VTAM macros,
servicing of the pregenerated system presumes that you have
ACF/VTAM installed.
Note: The pregenerated system also includes the nonsuffixable
modules DFHZCA, DFHZCC, DFHZCW, and DFHZCY, which all provide
VTAM terminal support only. Servicing of these modules also
presumes that you have ACF/VTAM installed.
CICS can communicate with different releases of VTAM. It can
determine which level you are using, and hence what level of
10
CICS/DOS/VS Installation and Operations Guide
funct ion is ava i lable. Thi 5 means that you can upgrade CICS and
VTAM at different times. Use of the release level indicator
facility in ACF/VTAM Version 2 Release 1 enables CICS to
determine, at ,execution time, whether certain facilities are
available in VTAM, and modify the execution to take the necessary
actions.
The pregenerated modules in CICS have been assembled against
ACF/VTAM Version 2 Release 1. These pregenerated modules can be
used with any release of ACF/VTAM from Version 1 upwards.
,".
You can assemble CICS for one version of VTAM, assemble its
terminal control table for another version, and execute the,whole
system with either. CICS recognizes, at execution time, any
mismatches in level, and selects a valid subset of function. This
means, for example, that you can now develop and assemble all
terminal control tables at a central location, on a system that
contains the latest levels of program products. You can then ship
the tables to remote nodes, which can use them unchanged.
Intersystem communication facilities through ACF/VTAM, other than
for communication within the same processor, require the
installation of the multisystem networking facility of ACF/VTAM.
To be able to use the extended LU6 (LU6.2) for intersystem
communication (ISC), you must install ACF/VTAM Version 2 Release
1. The CICS/VS Intercommunication Facilities Guide describes the
ACF/VTAM options that are required when communicating with other
CICS systems or with IMS/VS.
BTAH
a BTAM logic module (BTMOD) is required by the
is link-edited automatically to the terminal
a BTAM line group or control unit is specified.
be cataloged in a relocatable library.
Seven different BTMODs are supplied on the distribution tape, and
the source of these modules is included in the distribution source
library. See Appendix A for a description of these modules. If
you apply service to BTMOD, you should reassemble the BTMOD that
you are using and re-link-edit the terminal control table that you
are using.
DATA LANGUAGE/I (DL/I)
To use the optional CICS/DOS/VS interface to Data Language/I
CDl/I), you must previously install the DL/I DOS/VS C5746-XX1)
program product.
The pregenerated modules in CICS 1.6 were assembled against DL/I
DOS/VS Version 1 Release 6. If you require a different level of
DL/I, see "Chapter 2.7. Adding DL/I Support" on page 125.
Chapter 1.2.
What is Heeded to Install and Run a CICS System
A
""
When service is applied (see "Chapter 6.2. Applying Service to
CICS" on page 327), CICS modules may need to be assembled against
the installation libraries. This will cause some modules to be
assembled with the lower level of function suitable for the VTAM
release you have installed. If and when you upgrade to a later
VTAM release, the executing system will give information about
the modules that can be reassembled to obtain enhanced function.
If BTAM is used,
CICS system. It
control table if
This module must
•
'
•
11
•
I '
,
,~.~
,
COMPILERS
Depending on the language to be used for application programs, you
will need one or more of the Tollowing compilers:
•
Full ANS COBOL Version 3 Compiler, 5736-CB2, and Full ANS
COBOL Library, 5736-LM2 (see Note 1)
CICS does not support application programs using the
optimizing option of 5736-CB2.
•
DOS/VS COBOL Compiler and library, 5746-CBl, or library only,
5746-LM4 (see Note 1)
~ICS supports application programs compiled using the
optimizing option of 5746-CB1, provided that the
application programs include a new compiler control
statement at appropriate places within the source code.
•
ANS COBOL Subset, 5736-CB1 (see Note 1)
•
Full ANS COBOL Version 2, 360N-CB-482 (see Note 1)
•
DOS Pl/I Optimizing Compiler and libraries, 5736-Pl3 (see
Note 2) or
DOS Pl/I Optimizing Compiler, 5736-Pl1 (see Note 2)
DOS Pl/I Resident library, 5736-lM4 (see Note 2)
DOS Pl/I Transient library, 5736-lM5 (see Note 2)
•
DOS/VS RPG II Compiler, 5746-RGI
Notes:
1.
ANS COBOL Version 3 or DOS/VS COBOL must be installed to use
the command-level interface within COBOL programs.
2.
DOS Pl/I Version 1 Release 5.1 or later must be installed to
use the command-level interface within PL/I programs.
You must ensure that the DFHSAP module, provided by Pl/I, 1S
available when running CICS with Pl/I. In addition, DFHPlII
must be available when link-editing command-level application
programs written in Pl/I. Versions of these modules are no
longer provided by CICS.
OTHER SOFTWARE COMPONENTS
Appendix C in the CICS/VS General Information manual, GC33-0155,
contains a list of other software products that you may wish to
run with CICS.
RUNNING UNDER VM
CICS operates in a VM/370 system under control of VSE, subject to
the following considerations:
12
1.
CICS operating in a virtual machine has the same requirements
as CICS operating in a real machine. Other software
components (for example, access methods, compilers, and the
release of VSE under which CICS runs) must be valid for that
release of CICS.
2.
The minimum hardware requirements of CICS operating in a
virtual machine are the same as those for CICS running in a
real machine and should be considered as additional to the
minimum requirements for VM/370 itself and any other virtual
machines within the VM/370 environment.
CICS/DOS/VS Installation and Operations Guide
PUBLICATIONS
If you are new to CICS, you should read most of this book. Start
with Chapter 1.1, which will give you an overview of the
installation process. If you are an existing CICS user, you
should at least read "Chapter 6.1. Migrating to CIeS 1.6" on page
323 before you install CICS 1.6.
CICS PUBLICATIONS
The other CICS publications, and their relationship to this book,
are described in "About this Book" on page iii.
VSE PUBLICATIONS
You may need some of these VSE pUblications while you install
CICS:
•
VSE/Advanced Functions System Control statements, SC33-6095
•
VSE/Advanced Functions Maintain System History Program User's
Guide, SC33-6072
•
VSE/Advanced Functions Messages, SC33-6098
•
VSE/Advanced Functions Operating Procedures, SC33-6097.
OTHER PUBLICATIONS
Publications describing some other products are listed in the
Bibliography at the back of this book.
Chapter 1.2.
What is Needed to Install and Run a CICS System
13
Chapter 1.3. Installing the CICS Distribution Tape
FOR HAT OF THE DISTRIBUTION TAPE
The distribution tape is available at either 1600 bpi or 6250 bpi.
In both cases, the tape contains seven files:
1. Dummy file
2. Dummy file
3. Basic library file
a. Basic core image library
b. Basic relocatable library
c. Basic source statement library
4. Dummy file
5. MSHP history file
6. Dummy file
7. Dummy file
THE HSHP HISTORY FILE
The CICS distribution libraries are
the Maintain System History Program
part of VSE. MSHP is the means used
also the VSE system itself and other
as VSAM, VTAM, and so on.
installed under control of
(MSHP), which is an integral
to install not only CICS but
components and features such
MSHP is also designed to assist in the application of IBM-supplied
software corrections, and to maintain records of changes made to
the system; MSHP automates certain checking requirements (see
"Chapter 6.2. Applying Service to CICS" on page 327).
MSHP records installation and service activities in an MSHP
system history file in order to reflect the current status of your
operational system. MSHP can subsequently use the history file to
compare an operational system's history with IBM-supplied
information on requirements for installing additional programming
support or applying corrections to the installed programming
support.
You will already have a system history file in existence for your
operational system. During the CICS installation program, the
MSHP history file on the distribution tape is merged with this
system history file to create an updated system history file.
However, MSHP can keep information about only one release of a
program product in your system history file. If you have CICS 1.5
installed and you install CICS 1.6, the service history of CICS
1.5 will be overwritten by the new CICS release and no maintenance
can then be applied to CICS 1.5.
If you wish to maintain both CICS 1.5 and CICS 1.6 simultaneously,
you will have to create a separate system history file for the
CICS 1.6 system (see below under "Existing CICS Users Only" on
page 16).
Chapter 1.3.
Installing the CICS Distribution Tape
15
SPACE PLANNING
You must decide where to allocate space for the CICS libraries.
The amount of space required has been given in Figure 3 in Chapter
1.2. You must first identify, on the DASD volume (or volumes)
that is to hold the libraries, suitable areas of free space. In
order to do so, you must list the volume table of contents (VTOC)
of the DASD. As an example, the following job can be used to list
the contents of the DASD volume 111111, and to send the listing to
SYSLST:
//
//
//
//
/&
JOB LVTOC LIST VOLUME TABLE OF CONTENTS
ASSGH SYS004,DISK,TEMP,VOL=111111,SHR
ASSGH SYSOOS,SYSLST
EXEC LVTOC
Figure 4. Listing the Contents of a DASD Volume
The DASD space you identify is used in the MSHP installation job
described later in this chapter.
INSTALLATION JOB STREAM
EXISTING CIeS USERS ONLY
If you have an existing CICS 1.5 system installed, and you wish to
keep this system operational while you install and test out the
CICS 1.6 system, you will have to create a new system history
file, to hold information relating to CICS 1.6 alone. At a later
stage, when you are ready to move to exclusive use of the CICS 1.6
system, you will merge the information in the CICS 1.6 system
history file with the system history file of your operational
system.
The steps required are as follows:
16
1.
Create a new, empty system history file.
2.
Using this new system history file, install CICS 1.6 as
described later in this chapter.
3.
Use this new system history file when applying service to CICS
1.6 but, for all other maintenance, use your old system
history file.
4.
Test CICS 1.6 and establish a new production CICS system.
5.
When you no longer require CICS 1.5, merge your new history
file information into your old system history file.
6.
Delete the history file with only CICS 1.6 information in it.
CICS/DOS/VS Installation and Operations Guide
creat;ng a New (Empty) system H;story F;le
The suggested amount of space required for the system history file
on various device types is as follows:
Dev;ce Type
S;ze
3330
3340
3350
3310/3370
38 tracks
96 tracks
30 tracks
900 blocks
You should now run the MSHP job that creates the new system
history file. Be careful that you do not overwrite your existing
history file. The following job is an example of the required job
control statements:
// JOB CREATE HEW SYSTEM HISTORY FILE
// ASSGN SYS019,DISK,TEMP,VOl=111111,SHR
// EXEC MSHP
CREATE HIST SYS
DEFIHE HIST SYS EXTEHT=num1:num2 UNIT=SYS019 ID='cics160.sys.history'
/*
/&
In the above job, the new system history file has been created on
volume 111111 with file identifier cics160.sys.history. The
value of num! is the starting address (relative to zero) of the
file, num2 is the size of the file, both numbers being expressed
in terms of tracks or blocks, depending on DASD type.
NEW CICS USERS
If you are a new user of CICS and you do not have any other CICS
system installed on your VSE system, you will need to refer to the
MSHP system history file that already exists as part of your VSE system. This system history file may be defined in your standard
labels; if not, check your installation for its name and location.
You must include the file identifier and the extent information of
the system history file in the job stream to install CICS.
ALL USERS
The installation job below defines an auxiliary history file in
addition to the system history file (you do not have to run a job
to create the auxiliary history file explicitly). The auxiliary
history file is needed during the installation process only. The
contents of the history file on the distribution tape are copied
to the auxiliary history file, and any prerequisite checking is
done at this stage before the contents are merged into the system
history file.
You need to specify the size of the auxiliary history file to be
the same as that of the system history file.
The three CICS libraries (core image library, relocatable
library, and source statement library) are installed onto DASD
defined as logical units SYS007, SYS008, and SYS009 respectively.
Chapter 1.3.
Installing the CICS Distribution Tape
17
Before you install any program product, you should create a backup
copy of your system, including the system history file.
Figure 5 shows the installation job stream. Read the notes
carefully and then modify the job stream to suit your system.
// JOB INSTALL COMPONENT FROM TAPE
//
//
//
//
//
//
//
ASSGN SYS019,DISK,TEMP,VOL=111111,SHR
ASSGN SYS002,DISK,TEMP,VOL=111111,SHR
ASSGN SYS006,cuu
ASSGN SYS007,DISK,TEMP,VOL=111111,SHR
ASSGN SYS008,DISK,TEMP,VOL=111111,SHR
ASSGN SYS009,DISK,TEMP,VOL=111111,SHR
MTC REW,SYS006
II II 11
CICS system hi story fi Ie
Auxiliary history file
Distribution tape
Private core image library
Private relocatable library
Private source statement library
// OPTION CATAL
// EXEC MSHP
INSTALL COMPONENT FROMTAPE ATTACH
DEFINE CLIB PRIVATE EXTENT=numl:num2 DIRECTORY=num3 ID='cics160.cil'
DEFINE RLIB PRIVATE EXTENT=numl:num2 DIRECTORY=num3 - a!I.
ID='cics160.relo'
~
DEFINE SLIB PRIVATE EXTENT=numl:num2 DIRECTORY=num3 ID='cics160.source'
DEFINE HIST AUX EXTENT=numl:num2 UNIT=SYS002 ID='cics160.aux.history'
DEFINE HIST SYS EXTENT=numl:num2 UNIT=SYS019 ID='cics160.sys.history'
/*
// MTC
/&
RUN,SYS006
Figure 5. Installing into New Libraries
18
CICS/DOS/VS Installation and Operations Guide
Notes:
If you are an existing CICS user and you have created an empty
history file, use that new history file in this job. Otherwise
use your system history file.
In this sample installation job stream, all the CICS
libraries are installed onto the same pack; this pack also
contains enough space for the auxiliary history file. Each
library and the auxiliary history file could be on different
packs, however. Replace the volume identifiers in this
example with your own names. If you do not have unique volume
identifiers, you will have to change all assign statements
to:
// ASSGN
SYSOOx,cuu
where CUU is the address of the DASD.
B
CUU is the address of the tape drive where the distribution
tape is to be mounted.
The ATTACH parameter will install the distribution libraries
into new libraries on your DASD. If libraries already exist
on your DASD in the space allocated in the DEFINE statements
for the new CICS libraries, you will get message
4444D OVERLAP ON UNEXPIRED FILE
and you must reply DELETE to overwrite the existing
libraries. If you did not expect to receive this message,
check your space calculations.
numl is the starting address for the library or history file.
For CKD devices, it specifies the track number and should be
the start of a cylinder. For FBA devices, it must be the
first FBA block of the library or history file.
num2 is the size of the library or history file as expressed
in either tracks or FBA blocks (see Figure 3). For CKD
devices, this number must correspond to an integral number of
cylinders.
num3 is the number of tracks or FBA blocks to be allocated for
the library directory (see Figure 3).
ID='datasetname' The data set names specified here are the
ones you wish to specify for the libraries on your DASD.
Change these to suit your naming conventions.
If any MSHP control statement extends beyond column 72, you
should split it before a keyword, using a dash (-) preceded
and followed by at least one blank as a continuation
character, and continue the statement on the next line.
If your system history file is defined in your standard
labels, you may leave out this statement.
After you have modified the job stream, mount the distribution
tape and run the job.
Chapter 1.3.
Installing the CICS Distribution Tape
19
OUTPUT FROM THE SAMPLE INSTALLATION JOB STREAM
Figure 6 shows sample output from running the installation job
stream. The job took 3 minutes 42 seconds to run on an IBM 4331
Processor with an IBM 3310 Direct Access storage Device and IBM
3420 tapes.
// JOB INSTALL COMPONENT FROM TAPE
DATE 01/11/83,CLOCK 15/25/44
// ASSGN SYS019,DISK,VOL=111111,SHR
CICS system history file
IT201 SYS019 HAS BEEN ASSIGNED TO X'241'
// ASSGN SYS002,DISK,VOL=111111,SHR
Auxiliary history file
1T20I SYS002 HAS BEEN ASSIGNED TO X'241'
// ASSGN SYS006,181
Distribution tape
// ASSGN SYS007,DISK,VOL=111111,SHR
Privat~ core image library
1T20I SYS007 HAS BEEN ASSIGNED TO X'241'
// ASSGN SYS008,DISK,VOL=111111,SHR
Private relocatable library
1T20I SYS008 HAS BEEN ASSIGNED TO X'241'
// ASSGN SYS009,DISK,VOL=111111,SHR
Private source statement library
1T20I SYS009 HAS BEEN ASSIGNED TO X'241'
// MTC REW,SYS006
// OPTION CATAL
// EXEC MSHP
INSTALL COMPONENT FROMTAPE ATTACH
DEFINE CLIB PRIVATE EXTENT=1000:6400 DIRECTORY=33 ID='CICS160.CIL'
DEFINE RLIB PRIVATE EXTENT=7400:3200 DIRECTORY=15 ID='CICS160.RELO'
DEFINE SLIB PRIVATE EXTENT=10600:43200 DIRECTORY=41 ID='CICS160.S0URCE'
DEFINE HIST AUX EXTENT=53800:900 UNIT=SYS002 ID='CICS160.AUX.HISTORY'
DEFINE HIST SYS EXTENT=100:900 UNIT=SYS019 ID='CICS160.SYS.HISTORY'
M038I INSTALL IN PROGRESS
M060I RESTORE PROGRAM NOW INVOKED
ALLOC PC=0000006400(0000000033),
PR=0000003200(0000000015),
PS=0000043200(0000000041)
8R35I RESTORE OF PC LIBRARY IN PROGRESS
8R36I RESTORE HAS BEEN SUCCESSFUL
8R35I RESTORE OF PR LIBRARY IN PROGRESS
8R36I RESTORE HAS BEEN SUCCESSFUL
8R35I RESTORE OF PS LIBRARY IN PROGRESS
8R36I RESTORE HAS BEEN SUCCESSFUL
8R38I *** RESTORE COMPLETE ***
x
X
M300I MERGING HISTORY INFORMATION FOR COMPONENT 5746XX300 COMPLETED
M308I MERGING HISTORY INFORMATION FOR FEATURE H38
COMPLETED
M0411 FUNCTION COMPLETED
// MTC RUN,SYS006
EOJ INSTALL
DATE 01/11/83,CLOCK 15/29/26,DURATIOH 00/03/42
Figure 6. Sample Installation Jobstream Output Using an IBM 3310 Direct Access Storage
Device
20
CICS/DOS/VS Installation and Operations Guide
WHAT TO DO IF THE INSTALLATION JOB FAILS
If the installation job fails, examine the output from the
installation job. Possible errors are:
1.
Library extents not big enough.
Message:
•
8R351 RESTORE OF xx LIBRARY IN PROGRESS
followed by
•
8R401 LIBRARY IS FULL
and the job will cancel.
Action: Recalculate sizes (see Figure 2), modify the job in
Figure 5, and rerun the job.
2.
Library extents overlapping.
Message: 4444D OVERLAP ON UNEXPIRED FILE
Action: Recalculate sizes (see Figure 2), modify the job in
Figure 5, and rerun the job.
If you receive any other error messages, look them up in the
VSE/Advanced Functions Messages manual, Se33-6098. Take the
appropriate action, and then rerun the installation job. If the
installation job fails again for the same reason, call your IBM
support representative.
AFTER THE INSTALLATION JOB
After the MSHP installation job has been completed, the contents
of the eleS basic libraries will have been copied from the
distribution tape to your DASD. You will have a eleS pregenerated
system containing management modules, sample control tables, and
sample application programs.
Whenever you run eleS or any jobs that require
facilities, you will need to make reference to
eleS libraries by means of the DLBL and EXTENT
statements. The DLBL statement contains label
file on DASDj the EXTENT statement defines the
that file.
access to eles
the location of the
job control
information for a
area occupied by
These labels can be included in the startup job itself, but more
commonly are written into the system standard subarea where they
will be accessible to all partitions, or into the partition
standard subarea only.
Standard labels should, in fact, be used for all eleS libraries
and files. The labels should be added to existing system or
partition standard label information. Standard labels are used
in all example jobs shown in the rest of this chapter.
It is possible to add standard label information to a running
system. The job to do this must run in the background partition
when system labels are being added, or in the relevant partition
when partition labels are being added.
The following job can be used to add standard label
for the eleS libraries created by means of the MSHP
job described in the last chapter. You must ensure
identifiers and the volume identifiers match those
job.
Chapter 1.3.
information
installation
that the file
in the MSHP
Installing the eleS Distribution Tape
21
// JOB LABELS
// OPTION STDLABEL=DEL
C160PCL
C160PRl
C160PSl
/*
//
//
//
//
//
//
//
(or // OPTION PARSTD=DEL)
OPTION STDLABEL=ADD
(or // OPTION PARSTD=ADD)
DlBl CI60PCl,'CICSI60.CIL'
EXTENT ,111111
DlBL C160PRL,'CICS160.RELO'
EXTENT ,111111
DLBL C160PSL,'CICS160.S0URCE'
EXTENT ,111111
/*
/&
Figure 7. Adding Standard Label Information
The label information is stored permanently into the system or
partition standard subarea without overwriting the information
that already exists in that subarea.
After you have added the standard label information, it is
available to the following job, which you can run to list the
members of the CICS libraries you have installed:
// JOB DSERV DISPLAY ALL CICS FILES
// LIBDEF CL,FROM=C160PCL
// lIBDEF RL,FROM=C160PRl
// lIBDEF Sl,FROM=CI60PSl
//
EXEC DSERV
DSPLYS CD,RD,SD
/*
/&
See the Appendixes at the back of this book for more details on
the pregenerated CICS system:
•
Appendix A summarizes the contents of the distribution
libraries.
o
Appendix B lists the CICS modules eligible for the SVA.
o
Appendix C describes the pregenerated modules that can be
selected to specify a particular CICS system.
•
Appendix D describes the sample tables.
o
Appendix E describes the sample applications.
If you are an existing CICS user, you will already have your own
tables and startup job streams, as well as applications. If you
wish to use these with CICS 1.6, read "Chapter 6.1. Migrating to
CICS 1.6," which describes the changes you must make to your
tables and job streams before starting up CICS 1.6.
If you are a new CICS user or an inexperienced user,
chapter of this book, which explains how to start up
CICS system. Following on from that, Part 2 of this
describes how to extend this initial CICS system and
sample applications.
22
CICS/DOS/VS Installation and Operations Guide
read the next
a very simple
book
run the CICS
Chapter 1.4. Initial CICS Startup
THE INITIAL CICS SYSTEM
CICS consists of a set of control and service programs. The
distributed libraries contain at least one version of every eICS
program needed to run a CICS system. If you use these
pregenerated modules, you avoid most of the system generation
processes that would otherwise have to be carried out by yourself.
CICS gi ves you a wi de choi ce of opti ons of the faci Ii ti es
provided. For example, if you do not use ISAM, CICS gives you the
opportunity not to include the CICS ISAM support, thus reducing
the size of the CICS system during execution.
CICS gives this ability to select the functions you require by
means of suffixable modules. Each CICS module name consists of the
following parts:
•
The first three letters:
DFH
•
Three characters describing the function of the module, for
example: FCP (file control program)
•
A 2-character suffix that distinguishes between different
versions of certain CICS modules, thereby allowing more than
one version of a module to exist. For example, DFHFCPS$
contains VSAM and ISAM support. DFHFCP3$ contains VSAM but no
ISAM support.
CICS CONTROL TABLES
CICS is a table-driven system. Before CICS can be run, the
resources it controls for a particular run must be defined in CICS
control tables, which are prepared separately.
For example, user data sets are defined in the file control table,
and terminals are defined in the terminal control table. These are
suffixed like the CICS modules, allowing you to have more than one
table defined in the system, from which you can choose particular
tables for a particular startup. You might, for example, have one
FCT, DFHFCTDA, for the day shift and use a different one,
DFHFCTNT, for the night shift.
The list below gives the names of all CICS tables.
Table
Name
Application load table
Destination control table
File control table
Journal control table
Monitor control table
Nucleus load table
Program control table
Program list table
Processing program table
System initialization table
Sign-on table
System recovery table
Terminal control table
Terminal list table
Temporary storage table
Transaction list table
DFHAlTxx
DFHDCTxx
DFHFCTxx
DFHJCTxx
DFHMCTxx
DFHNLTxx
DFHPCTxx
DFHPLTxx
DFHPPTxx
DFHSITxx
DFHSNT
DFHSRTxx
DFHTCTxx
DFHTLTxx
DFHTSTxx
DFHXLTxx
Chapter 1.4.
Initial CICS startup
23
Versions of certain of these control tables are provided as
samples in the pregenerated system (see Appendix D).
All these tables can be created in more than one version. Apart
from the sign-on table, the different versions are distinguished
by specifying a 2-character suffix when the tables are defined.
(The sign-on table cannot be generated with a suffix; if you have
more than one version, you must ensure that the one you are using
for the CICS run is named DFHSNT.)
The 2-character table suffix can be used in the system
initialization table (SIT) or as an override parameter during
system initialization to identify the version to be used for a
particular CICS run.
Certain CICS tables must be available before CICS can be run:
•
•
•
•
The
The
The
The
system initialization table
program control table
processing program table
terminal control table.
THE SYSTEM INITIALIZATION TABLE
The system initialization table defines which CICS tables,
modules and other system parameters are to be used for a
particular CICS system.
The distribution tape contains - in both source form and
pregenerated module form - a sample system initialization table
with the suffix 1$. A listing of the source of this table is also
included in Appendix D. (See the CICS/VS Resource Definition
Guide for detailed information on each parameter in the sample
system initialization table.)
In this chapter, DFHSIT1$ will be used in the job to start up an
initial CICS system.
PROGRAM CONTROL TABLE AND PROCESSING PROGRAM TABLE
CICS is a transaction-processing system. To communicate with
CICS, you enter transaction names. These transaction names must
have been defined in the program control table (PCT). The PCT
contains the information to be used by CICS for identifying and
initializing a transaction. Information includes the transaction
priority and the security key, as well as the name of the program
to which CICS must pass control.
The program name referenced by a transaction must also be defined
in the processing program table (PPT).
A sample PCT and PPT (DFHPCTl$ and DFHPPTl$) are supplied with the
distribution libraries (they are listed in Appendix D).
TERMINAL CONTROL TABLES
Pregenerated terminal control tables (TCTs) are supplied. One
(DFHTCTl$) has support for a system console and a card reader/line
printer terminal only. DFHTCT1$ will be used in this chapter.
Appendix D lists the other TCTs provided on the distribution tape.
"Chapter 2.3. Sample Application Package and CICS Tables," will
explain how to extend this initial TCT to include BTAM and VTAM
terminals.
24
CICS/DOS/VS Installation and Operations Guide
STARTING UP CICS
Using the tables provided, you can now start up a CICS system. In
order to make this initial startup as easy as possible, we have
defined a CICS system without system data sets. This system will
have very little function, but it can be used to enter the CICS
CEMT transaction.
Figure 8 shows the job stream needed to start up the initial CICS
system.
// JOB CICS TO START UP AN INITIAL CICS SYSTEM
// LIBDEF CL,SEARCH=CI60PCL
(see note 1)
// EXEC DFHSIP,SIZE=1200K,PARM='CONSOLE' (see notes 2 and 3)
/*
/&
Figure 8. Starting Up an Initial CICS System
Notes:
1.
You must define, by means of LIBDEF statements, the sequence
in which the libraries are to be searched for phases, modules,
and so on. Two library concatenation chains can be built for
each library type, one permanently for a partition and one
temporarily for the duration of the CICS job only. If you
have both a temporary and a permanent search chain, the
temporary chain is searched before the permanent chain.
Thus, to include the CICS core image library in the search
chain for the duration of the CICS job, you should include the
LIBDEF statement shown in the above startup job.
2.
Sufficient virtual storage should be specified for the CICS
partition to allow all user applications, CICS programs, and
CICS tables to be resident in virtual storage. The CICS/VS
Performance Guide should be used to calculate a figure for
your requirements. For this initial CICS system, a partition
size of ISaaK should be specified using the ALLOC macro of
VSE, with a minimum ALLOCR value of lOOK. These sizes are
more than sufficient to run a simple CICS system.
The SIZE parameter specified on the EXEC statement is the size
of that part of the virtual partition which will be directly
available to the program. The remainder of the partition may
be used as additional storage (GETVIS area) for other modules
or data required by the program in that partition. The system
always allocates a minimum partition GETVIS area of 48K bytes
but certain programs, for example VSAM, require more than the
minimum value.
3.
A PARM option of 'CONSOLE' is included here to enable system
initialization overrides to be entered at the system console.
The pregenerated system initialization table (DFHSIT1$) will
be used to start up an initial CICS system. In response to
the prompt to specify alternative override parameters, enter:
sit=I$,$end
If, however, you are using asynchronous operator
communication support, you must also specify the reply
identifier, for example:
2 sit=l$,$end
where '2' is the reply identifier.
Chapter 1.4.
Initial CICS Startup
25
RUNNING THE SAMPLE CICS JOB STREAM
Figure 9 shows the messages displayed at the system console while
the job to start up·CICS is being run. The job is running in the F2
partition. When the CICS system initialization has been
completed (in the F2 partition in the present example), the final
initialization message is displayed and, at this point, CICS is
ready to be used for productive work.
F2 002 // JOB CICS
(see note
DATE 03/11/83iCLOCK 22/49/24
F2 002 // EXEC DFHSIP,SIZE=1200K,PARM='CONSOLE'
(see note
F2 002 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS.
F2 002 DFH1500 - SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
*F2 002
AND ENTER $END WHEN COMPLETED
2 sit=l$,$end
(see note
F2 002 SIT=l$,$END
F2 002 DFH1501 - DFHSIT1$ IS BEING LOADED
F2 002 DFH1500 - LOADING CICS NUCLEUS
F2 002 DFH1500 - CICS START-UP IS COLD
F2 002 DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
F2 002 DFH1500 - TERMINAL DATA SETS ARE BEING OPENED
F2 002 DFH1500 - SUB POOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS
F2 002 DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
(see note
F2 002 DFH1500 - STXIT MACROS ARE BEING ISSUED
F2 002 DFH1500 - PROCESSING RESIDENT PROGRAMS
F2 002 DFH1500 - SUBPOOl SIZE FOR THIS START-UP IS
744K
F2 002 DFH1500 - CONTROL IS BEING GIVEN TO CICS
(see note
1)
2)
3)
820K
4)
5)
Figure 9. Sample Output on Starting Up an Initial CICS System
Notes:
1.
The libraries required for this job are defined in the
partition standard subarea, and their search order is
specified in a lIBDEF statement.
2.
The PARM='CONSOLE' operano produces the prompt for system
initialization overrides.
3.
Overrides, terminated by Send.
4.
The supplied TCT provides support for the system console.
5.
Final CICS message - you can now communicate with CICS.
STARTUP ERRORS
If any problems occur during CICS initialization, look up the
message in the CICS/VS Messages and Codes manual and take the
appropriate action before rerunning the startup job.
AN INITIAL CICS SYSTEM
In the F2 partition, you now have an initial CICS system, but with
very little function.
COMMUNICATING WITH CICS FROM THE SYSTEM CONSOLE
At this stage you will wish to communicate with CICS. You can use
only the system console ("Chapter 2.3. Sample Application
Package and CICS Tables" will explain how to use a full-screen
CICS terminal).
26
CICS/DOS/VS Installation and Operations Guide
As soon as CICS initialization has been completed and the message
DFH1500 - CONTROL IS BEING GIVEN TO CICS
has been received, you can communicate with CICS from the system
console. On the console, enter:
msg partition-id
In the example dialog below, CICS is running in the F2 partition,
so you enter:
msg f2
Figure 10 shows a typical dialog between the operator and the CICS
system.
CICS transactions can be entered from the console prefixed by the
appropriate reply identifier. In the example, the command:
2 cemt inquire terminal
was entered.
The CICS system is shut down by the CICS command CEMT PERFORM
SHUTDOWN at the system console.
F2 002
msg f2
*F2-002
2 cemt
F2-002
F2 002
F2 002
*F2 002
2 cemt
F2-002
F2 002
F2 002
F2 002
DFH1500 - CONTROL IS BEING GIVEN TO CICS
inquire terminal
TerCCNSL) TraCCEMT) PriC 000 ) Pag Ins Ati Tti
TerCSAMA)
PriC 032 ) Aut Ins Ati Tti
RESPONSE: NORMAL TIME: 22.50.34
DATE: 83.070
perform shutdown
DFH1701 - C.I.C.S. IS BEING TERMINATED
DFH1799 - TERMINATION OF CICS/VS IS COMPLETE
EOJ CICS
DATE 03/11/83,CLOCK 22/50/51,DURATION 00/01/27
Figure 10. Communicating with CICS Using the System Console
END OF INSTALLATION?
You have now run an initial CICS system. Part 2 of this book will
help you extend this initial system by adding system and user data
sets, CICS control tables, and the sample CICS application
package.
Chapter 1.4.
Initial CICS Startup
27
Part 2. Extending Your CICS System
•.
•
Part 2.
Extend;ng Your CICS System
29
"
•
"'.":
I
Chapter 2.1. Introduction
You have now completed the installation of the CICS system as
supplied on the distribution tape. You are able, as shown in the
last chapter, to start the system up, perform some very basic
operations, and shut it down again. You will now wish to extend
it (and possibly modify it) by installing your own application
programs. These application programs will have been written by
you, or supplied, to enable you to use the system to satisfy the
specific requirements of your installation.
The process of performing the various tasks required to complete •
the i nstallat i on of a work i ng system is best illustrated by means •
of an example. The CICS system, as supplied on the distribution
tape, contains some sample application programs; these will now
be used in this and the next two chapters to describe the
procedures involved. The style adopted will be tutorial; if you
are familiar with the topics discussed, you should refer direct to
Parts 3, 4, and 5 of this book for the equivalent information in
reference form.
If you are an existing CICS 1.5 user, you will have your own
versions of CICS control tables and startup job streams. You may
also have generated your own versions ofCICS management modules.
See "Chapter 6.1. Migrating to CICS 1.6" for a description of the
changes you must be aware of before you run your own CICS 1.6
system.
CREATING A WORKING CICS SYSTEM
The installation of application programs into the VSE core image
libraries is not, by itself, sufficient to enable them to be run
as CICS application programs. You must also make them known to
the CICS system by defining them in a CICS control table (the
processing program table). By doing so, you define the programs
as CICS resources; the process of assembling and link-editing the
control table is known as resource definition.
An instance of the execution of an application program is known as
a transaction. Transactions are initiated by sending a
transaction identifier to a running CICS system. The transaction
identifier can be between 1 and 4 characters in length. CICS
associates this identifier with the corresponding application
program, initiates the transaction, and passes control to the
application program.
Transaction identifiers are a further instance of CICS resources.
You must define them to CICS in the program control table, each
entry in the table including both the transaction identifier and
the name of the corresponding application program.
A number of further CICS resources, such as user files and
terminals, must be defined to CICS in control tables. These are
described in more detail in "Chapter 2.3. Sample Application
Package and CICS Tables."
Apart from the control tables, you will need to define CICS data
sets. Some of these, like the auxiliary temporary storage data
set and the transient data intrapartition data set, are usually
required to satisfy requests made by application programs.
Others, such as the dump data set or the auxiliary trace data set,
are more commonly required to enable the CICS system or the
operator to perform certain operations. The CICS data sets are
described in "Chapter 2.2. System Data Sets."
Finally, you will need to construct a job stream to run the CICS
system. In doing so, you will need to be aware of the function
provided by the various pregenerated modules on the distribution
Chapter 2.1.
Introduction
31
i._
,_-
tape (listed in Appendix C). You will need to choose your own
versions (or the pregenerated versions) of the CICS control
tables for the CICS run. The various modules and tables are
identified by 2-character suffixes and these are defined to CICS
during CICS initialization as initialization parameters. In this
way, CICS is able to build up a running system with the precise
components you have specified at CICS startup time. The CICS
startup job stream is described in "Chapter 2.3. Sample
Application Package and CICS Tables."
All the jobs mentioned in the following three chapters are
supplied, in general form, in the single Z.DFHSPJCL book in the
source statement library. Appendix F lists this source book. It
is not intended that this source book should be run as a single
job stream. You should punch out this source book and edit
individual jobs with your specific installation values, for
example, data set names and space allocations.
If you are using the VSE interactive computing and control
facility (ICCF), the following job can be used to punch the sample
job stream to the POWER punch queue.
*
$$ JOB JNM=PUNCHSP
* $$
PUN ClASS=Q
// JOB PUNCHSP
// LIBDEF Sl,FROM=C160PSL
// EXEC SSERV
PUNCH Z.DFHSPJCL
/*
/&
* $$
EOJ
Figure 11. Punching the Sample Job Stream to a POWER Punch Queue
The job stream can then be retrieved using the ICCF GETP
procedure:
GETP PUNCHSP Q DELETE MEM=DFHSPJCL
The DFHSPJCL sample job stream will need to be modified as
follows:
Notes:
1.
In the DFHSPJCL sample job stream, the fields included in
lowercase should be replaced with your own values before each
job is run.
2.
In the DFHSPJCL sample job stream, the *$$ should be deleted.
*$$ // should be replaced with //
*$$ /* should be replaced with /*
*$$ /& should be replaced with /&
The source books for the sample tables are also supplied in the
distribution source library. These are included as A. books, to
be used as copy files in your assembly of CICS control tables.
Appendix D names and describes each source book.
32
CICS/DOS/VS Installation and Operations Guide
Chapter 2.2. System Data Sets
This chapter (together with the next two chapters) is intended for
a new user, to provide an introductory and more tutorial approach
to the installation process. This chapter contains a general
description of the data sets, concentrating particularly on those
which need to be defined to run the sample application programs.
In order to place the description in context, this chapter also
includes a short overview of how the data sets are used in a CICS
system.
The CICS data sets can be divided into classes according to the
type of activity for which they are used. The following list
shows such a classification:
Purpose
Type of Data set
Access Method
Temporary storage
VSAM
Transient data
(intrapartition)
VSAM or DAM
Transient data
(extrapartition)
SAM
Dump
SAM
Performance monitoring
Auxiliary trace
Automatic statistics
Monitoring journals
SAM
SAM
SAM
Restart, recovery, and
journaling
System log and
journals
SAM
Restart
VSAM
CICS system
definition file
VSAM
Application programming
Problem determination
Resource definition online
Not all of these data sets nee~ necessarily be defined when
running a CICS system. If your application programs are written
in such a way that none of them ever makes any request to read or
write to intrapartition transient data, the transient data
intrapartition data set need not be defined. If you will never be
requesting automatic (as opposed to termination or requested)
statistics, the automatic statistics data sets need not be
defined. Again, if your procedures are such that CICS is always
started up without reference to the preceding run, if no data
needs to be preserved from run to run, and if information does not
need to be recovered or backed out (see "Chapter 2.4. Restart and
Recovery of CICS") after the unlikely event of a system failure,
you can run CICS without defining a restart data set and CICS
system log. In most cases, however, these data sets will be found
to be required at some stage in the lifetime of a production
system. As part of your installation procedure, therefore, you
should define these data sets after the initial system described
in Part 1 of this book has been set up.
The amount of space to be allocated to the data sets depends on
the requirements of your installation and on the DASD available to
you. Part 4 of this book contains information to aid you in
making this choice. In the examples given in the next few
chapters, suggested space allocations have been chosen to be
sufficient to run the sample application programs.
,
'
Part 4 of this book describes the CICS data sets in some detail.
The chapters in that part explain which CICS functions use the
data sets, how the data sets are defined and initialized, how they
are manipulated during CICS execution, and how the information
Chapter 2.2.
System Data Sets
33
•
stored in them is postprocessed by CICS-supplied utility
programs.
Part 4 is intended as reference material for system programmers
who are familiar with the basic CICS functions and the data set
requirements for their use.
VSAM REQUIREMENTS
As indicated in the above table, certain of the CICS data sets are
defined as VSAM files. Before this can be done, you must define
the VSAM data spaceCs) that is to contain the data sets and
indicate which VSAM catalog(s) is to own the data space(s). In
general, for performance reasons, you may wish to define the
various VSAM files to reside on different volumes: you should
then define a separate u~er catalog for each volume.
You may also wish to define one or more of your VSAM files as
UNIQUE. A unique file is such that no other file can occupy its
data space. In this case, the data space is not defined
separately; it is defined as part of the definition of the unique
file itself.
In this book, however, the sample jobs assume that the data sets
are all defined on a single VSAM data space, owned by a user
catalog defined to have the name CICS160.UCAT.
The following jobs can be used to define a user catalog occupying
19 tracks on a 3350 volume with volume identifier M3350A, and to
define VSAM space of a further 171 tracks belonging to that
catalog. It is assumed that the VSAM master catalog for the
system has already been defined as part of your VSE installation.
// JOB DEFUCAT CREATE VSAM USER CATALOG
// EXEC IDCAMS,SIZE=AUTO
DEFINE USERCATAlOG
CNAMECCICS160.UCAT)
ORIGIN(19)
VOlUMECM3350A)
TRACKS(19»
- (see note)
CATAlOGCVSAM.MASTER.CATALOG)
/*
/&
// JOB DEFSPACE DEFINE SPACE
// EXEC IDCAMS,SIZE=AUTO
DEFINE SPACE
(VOlUMES(M3350A)
ORIGIN(38)
TRACKS(171»
CATAlOGCCICS160.UCAT)
- (see note)
(These jobs are included in Z.DFHSPJCL)
Figure 12. Defining a VSAM User Catalog and Space
Note: The job to define the user catalog, included in Z.DFHSPJCl.
has the BLOCKS parameter coded. If you are using CKD DASD, you
must replace the BLOCKS parameter in the job with a TRACKS
parameter, as shown in the example above.
34
CICS/DOS/VS Installation and Operations Guide
The equivalent sizes for a user catalog on devices other than a
3350 are:
User catalog
Dev;ce Type
S;ze
3330
3340
3310/3370
19 tracks
24 tracks
438 blocks
VSAM space
S;ze
171 tracks
216 tracks
3942 blocks
After you have defined the data space(s) and associated them wit~_
a VSAM catalog, you are ina posi t i on to defi ne the VSAM fi les
•i •
that are to be used as CICS data sets. All definitions are
performed using VSAM Access Method Services; sample jobs for this
purpose are given later in this and in following chapters.
Finally, every time you run the job to start up CICS, each VSAM
file used by CICS must be identified by means of a DlBl control
statement. No EXTENT statement should be included, because the
file is owned by VSAM. The VSAM catalog that owns the file must,
however, be specified explicitly or implicitly.
Chapter 2.2.
System Data Sets
35
ESSENTIAL CICS DATA SETS AND THEIR PURPOSE
TEMPORARY STORAGE AND TRANSIENT DATA
Temporary storage and that type of transient data known as
intrapartition are storage mechanisms provided by CICS to enable
an application program to pass data created by one transaction, to
be used later by the same transaction or by a different
transaction. The type of transient data known as extrapartition
enables an application program to read data originating outside
the CICS system or to store data intended for a destination
outside the CICS system. The difference between temporary
storage and intrapartition transient data depends largely on the
way the saving of data and later retrieval is performed.
Temporary storage is essentially used for storing and retrieving
data randomly, that is, in any order. The data is, in fact,
stored in the form of queues of records, but these records may be
read or updated in any order, by specifying the position in the
queue.
Transient data, on the other hand, is designed to be a sequential
storage technique. The elements of data are written, or read, in
sequence as a queue, and no mechanism exists for updating an
element already written. When elements in an intrapartition
transient data queue are read, the elements are destroyed, that
is, they may not be read again during the CICS run.
TEMPORARY STORAGE
Data may be written to temporary storage either in main storage or
in auxiliary storage, the choice of storage type being made by the
application program at the time the data is written.
Data in main temporary storage does not survive from one CICS run
to the next: main storage is, therefore, used if the data is
needed for only short periods of time. It is also used if only
relatively small amounts of data are to be stored.
Auxiliary temporary storage is used if large amounts of data are
to be stored or if the data is to be kept for extended periods of
time and, in particular, maintained from one CICS run to the
following one. The ability of CICS to restore temporary storage
data in this way relies, however, on the existence of a restart
data set and the possibility of performing a "warm restart" (see
"Chapter 2.4. Restart and Recovery of CICS").
Data is written to temporary storage in the form of a queue of
elements or records. The queue name (referred to as DATAID) is
assigned dynamically by an application program at the time the
queue is created by writing the first record in it. Further
records may then be added to the queue by the same transaction or
a different transaction, and the queue may be explicitly deleted
when no longer required. When the queue is deleted, the storage
allocated to it IS released and may be reused by subsequent
temporary storage requests.
Temporary storage Data Set
Use of auxiliary temporary storage requires the definition of a
single VSAM auxiliary temporary storage data set for the CICS run.
The data set must be large enough to satisfy all demands for .
storage made during the run, the storage within the data set being
allocated and released dynamically in response to requests made
by application programs. Note also that eIeS itself makes
requests to temporary storage, on behalf of application programs,
when performing certain CICS functions (see "Chapter 4.2.
Temporary Storage Data Set" for details).
36
CICS/DOS/VS Installation and Operations Guide
How to Define
The following is a sample job for defining the temporary storage
data set. The job defines a nonindexed VSAM file (cluster) with
name CICS160.TEMP.STORAGE on volume M3350A in a VSAM data space
owned by user catalog CICS160.UCAT.
// JOB CRATS CREATE AUXILIARY TEMPORARY STORAGE DATA SET
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
(NAME(CICS160.TEMP.STORAGE)
RECORDSIZE(4089,4089)
RECORDS(144)
NOHIHDEXED
CONTROLINTERVALSIZE(4096)
SHAREOPTIOHS(2)
VOLUMESCM3350A»
DATA
CNAMECCICS160.TEMP.STORAGE.DATA» CATALOGCCICS160.UCAT)
•
(This job is included in Z.DFHSPJCL)
Figure 13. Defining the Auxiliary Temporary Storage Data Set
JeL Required for eles Execution
When the temporary storage data set (and any YSAM file) is defined
in the CICS startup job, only a single DLBL statement is required,
indicating that the file is managed by VSAM.
The catalog that owns the file can be identified explicitly by
including the CAT= operand in the DLBL statement. This operand
specifies the filename of a DLBL statement for the catalog. This
enables you to associate different catalogs with the various VSAM
files in the system. A catalog might, for example, be identified
by the statement:
// DLBL CICSUCT,'CICS160.UCAT'"YSAM
and the DLBL statement for the VSAM file would then refer to
CICSUCT.
If the temporary storage data set is defined as above, and the
catalog that owns the data set is identified to CICS by a DLBL
statement with filename CICSUCT, the following DLBL statement
should also be included in the job to start up CICS:
// DLBL DFHTEMP,'CICSI60.TEMP.STORAGE'"YSAM,CAT=CICSUCT
where the filename DFHTEMP is a required name.
Chapter 2.2.
System Data Sets
37
The catalog is specified implicitly by omitting the CAT= operand
from the DlBl statement for the VSAM file. The DlBl statement for
the catalog is then included with reserved filename IJSYSUC:
// DlBl
IJSYSUC,'CICS16D.UCAT'"VSAM
and the one catalog is assumed to own all the VSAM files in the
job.
SIT Overrides
The version of the temporary storage program used in the initial
system described in Part 1 of this book ;s DFHTSP1$. This allows
temporary storage to be written and read in main storage only. In
order to start up CICS and enable auxiliary temporary storage to
be used, you may specify that the pregenerated module DFHTSP2$ is
to be loaded when the system is being initialized. This can be
achieved by including the initialization override parameter
TSP=2$
with the CICS startup job.
TRANSIENT DATA
As in the case of temporary storage, data written to transient
data is stored in the form of named queues of elements. The
method of defining and processing these queues is, however,
somewhat different.
The queues, referred to as destinations, must be predefined in a
table, known as the destination control table (DCT). Any number
of DCTs may be defined; the particular DCT selected for a CICS run
determines which destinations may be used during that run.
Destinations are of two types:
1.
Intrapartition, which are accessible only to application
programs within the CICS system
2.
Extrapartition, which are known not only within the CICS
system, but can also be processed by programs independent of
the CICS system.
Intrapartition Destinations
Intrapartition destinations are queues in which items of data are
stored for subsequent retrieval by a transaction running in the
same CICS partition; the transaction refers to the queue by its
name (DESTID) and retrieves at each stage the oldest item of data
that has not yet been read. Thus, an item of data cannot be read
more than once, and the extent of an intrapartition queue is
described at any moment by the two pointers to the oldest and
newest items of data in the queue.
The most common use of intrapartition data is one in which a
number of transactions accumulate a collection of records by
writing to the same queue. Subsequently, a separate transaction
is initiated to process the entire queue. This transaction may be
initiated:
1.
38
Explicitly, by an operator entering the transaction
identifier at a terminal, or
CICS/DOS/VS Installation and Operations Guide
2.
Automatically, by CICS, when a specified period of time has
elapsed or a specified time of day has been reached, or
3.
Automatically, by CICS, when a specified number of records
has been collected on the queue.
The last method of initiating a transaction is achieved by
including in the destination control table entry definition for
the queue, the number of queue elements that will trigger off the
transaction (trigger level - TRIGLEV) and the identifier of the
transaction to be initiated (TRAHSID).
An example of an intrapartition destination with a trigger level
is given in the definition of the L860 queue included in the
DFHXDCTS sample copy book described in "Destination Control Table
(DCT)" on page 71.
Extrapartition Destinations
Extrapartition destinations are sequential data sets (queues)
external to the CICS partition, residing on any sequential device
(DASD, tape, printer, and so on).
Extrapartition destinations may be defined in the destination
control table either as sequential input files or as sequential
output files. They cannot be processed as both.
Input transient data files may be defined as residing on disk or
magnetic tape, or they may be defined as a card reader or
simulated card reader (SYSIPT) held on disk or tape.
Output transient data files may again be defined as disk or tape,
or they may be sent direct to a printer (for example, SYSLST).
They may alternatively be defined to simulate SYSLST or SYSPCH on
disk or tape.
Data written to extrapartition destinations is, in general,
intended for subsequent input to a batch program or,
alternatively, is routed direct to an output device such as a line
printer.
An example of an extrapartition destination routed to SYSLST is
contained in the pregenerated destination control table
(DFHDCT1$) as the termination statistics destination, CSSL.
An example of an extrapartition destination routed to a disk or
tape file is one of the automatic statistics data sets (CSSM or
CSSH). The use of automatic statistics is described in "Chapter
4.7. Automatic Statistics Data Sets."
Transient Data Intrapartition Data set
If intrapartition transient data is to be used, it is necessary to
define an intrapartition data set for the CICS run. There is, in
this case, no option to define transient data queues in main
storage: the data frequently needs to be preserved for long
periods of time, and from one CICS run to another. The
intrapartition data set is a VSAM (or DAM) data set in which,
unlike temporary storage, a particular control interval (or
track) may not hold elements from more than one queue
(destination) at any given time. The data set should, therefore,
be defined large enough to allow at least a control interval (or
track) for every destination that is active at any given time.
The destination may be defined with the reusable queue space
feature (REUSE=YES in the DCT). If this is done, a control
interval (or track) allocated to the queue is released for reuse
when all the items of data stored in the control interval (or
track) have been read. Otherwise, the application program must
purge the space allocated to the queue explicitly at appropriate
Chapter 2.2.
System Data Sets
39
points to prevent the space growing unboundedly or remaining
allocated for an indefinite time.
How to Define
The following sample job defines a transient data intrapartition
data set as a nonindexed VSAM file with name CICSI60.INTRA.TRANSD
on volume M3350A in a data space owned by user catalog
CICS160.UCAT.
// JOB CRITD CREATE INTRAPARTITION TRANSIENT DATA SET
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
(NAMECCICS160.INTRA.TRANSD)
RECORDSIZE(1529,1529)
RECORDS(lOO)
NONINDEXED
CONTROLINTERVAlSIZE(1536)
VOLUMESCM3350A»
DATA
(NAME(CICS160.INTRA.TRANSD.DATA»
CATALOGCCICS160.UCAT)
(This job is included in Z.DFHSPJCl)
Figure 14. Defining the Intrapartition Data Set
JeL Required for eles Execution
If the transient data intrapartition data set has been defined as
above, and the user catalog has been identified in the CICS
startup job with filename CICSUCT, you should also include the
following statement:
// DLBL DFHNTRA,'CICS160.INTRA.TRANSD'"VSAM,CAT=CICSUCT
The filename DFHNTRA is a required name.
SIT Overrides
The pregenerated system initialization table used to bring up the
initial system described in Part 1 of this book is DFHSIT1$. This
contains (see Appendix D) the entries TDP=I$ and DCT=I$. The
pregenerated transient data program DFHTDPl$ supports
extrapartition transient data only (see Appendix C).
Correspondingly, the pregenerated sample table DFHDCTl$ defines
only extrapartition destinations (including CSSl, which is used
by CICS for termination statistics). If you wish to include
intrapartition transient data in your CICS system, you will need
to:
40
1.
Include a system initialization override for an appropriate
version of the transient data program, for example, TDP=6$,
and
2.
Code, assemble, and link-edit in your system a destination
control table that includes entries for your own
CICS/DOS/VS Installation and Operations Guide
intrapartition queue (destination) names. When assembling
the table, you can choose the 2-character suffix by which you
wish it to be known, and then identify the table in the CICS
startup job by means of the DCT= initialization override
parameters.
More guidance on how to assemble and link-edit your own
destination control table is given in the next chapter.
DUMPS
Dumps (representations of the contents of selected areas of main
storage) provide the fundamental means of:
1.
Determining that a program is functioning as intended
(especially while the program is being developed), and
2.
Analyzing problems that may occur from time to time.
Dumps are not necessarily produced as the result of a CICS system
failure. They may be written in a variety of circumstances,
either when the CICS system detects an error or as a result of the
user making an explicit request. Any number of dumps may be
recorded during the progress of a CICS run. A description of the
types of dumps and occasions when they are produced is given in
"Chapter 4.9. Dump Data Sets."
If the CICS system is still in control after the problem has
occurred, it may - depending on circumstances - produce a
transaction dump or a formatted dump. In contrast to basic,
unformatted dumps of storage, formatted and transaction dumps are
intended to make it easier to diagnose errors by performing
automaticallY the mechanical process of finding the control
blocks in storage. Each control block is printed separately in
the dump, and is preceded by a heading; for some of the blocks,
the important fields are printed by name. In addition, the dump
may contain diagnostic error messages if the nature of the failure
is simple enough for the CICS system to identify.
More detailed information on formatted and transaction dumps and
advice on how to interpret them is given in the CICS/VS Problem
Determination Guide.
Dump Data Sets
Dumps produced by CICS are placed in a CICS data set. Because, in
general, it is impossible to foresee when an error producing a
dump will occur, it is important that every CICS run should
include a dump data set. In order to print a dump in the data set,
a CICS utility program - DFHDUP (Dump Utility Program) - is
provided. This runs in batch mode and requires the dump data set
to have been closed by the CICS system before the utility program
can be run.
If a large number of dumps is produced in the course of a CICS
run, a single dump data set may be insufficiently large to hold
'them all. To overcome this problem, CICS allows two dump data
sets to be defined. When the first data set becomes full, the
operator (or the CICS system) may switch to the other data set.
The switching is performed by means of the CEMT master terminal
transaction either explicitly or automatically (see "Chapter 4.9.
Dump Data Sets" for details). The first data set is closed and
may be printed down using DFHDUP while CICS is still executing.
When a dump data set is opened for output, the pointers in the
data set are reset and any recorded dumps are effectively lost.
This takes place at CICS startup time, when the first data set
that is to be used is opened, and again when the alternate data
set is opened after a switch. You should remember, therefore,
that if a data set has not been opened during a CICS run, it will
either be empty or will contain data unrelated to that run. In
Chapter 2.2.
System Data Sets
41
order to ensure that both data sets are empty at the start of a
CICS run, you might use the technique of switching the data sets
twice as soon as CICS has been initialized.
When you are defining the dump data sets, the space allocated to
them should be dictated by the frequency with which dumps are
expected to occur and, of course, by the amount of DASD space you
have available. A frequent technique, which avoids excessive
switching of dump data sets, is to define a primary data set large
enough to hold all the dumps that are likely to occur during a
CICS run. A secondary, smaller data set is then also defined, for
use on the rare occasions when the primary data set becomes filled
up.
If this secondary data set is required, it will be used only for
the length of time that it takes to print down the primary data
set (using DFHDUP). The data sets are then switched again and the
primary data set comes into operation in the normal way.
The sample job control statements given below show a suggested
allocation of 40 tracks for the primary data set DFHDMPA, and 10
tracks for DFHDMPB.
Jet Required for eIes Execution
Because the dump data sets are SAM files, they are defined to CICS
by the usual DLBL and EXTENT control statements: there is, in
this case, no need to predefine them by means of a separate job.
You might wish to include the DLBL and EXTENT statements for these
and the other CICS data sets as part of the definitions in the
partition standard labels, to take effect during initialization
of the VSE system. You can then omit mentioning these statements
explicitly in the CICS startup job. In the examples in this book,
however, the DLBL and EXTENT statements will be given in full in
the jobs to which they belong. This means that the extent
information is repeatedly established; there is no disadvantage
in this, so long as it is not modified from run to run.
The control statements below define two dump data sets named
CICS160.DUMP.DATASET.A and CICS160.DUMP.DATASET.B, occupying 40
tracks and 10 tracks beginning at tracks numbered 210 and 250
respectively on an IBM 3350 Direct Access Storage Device. The
equivalent sizes for devices other than a 3350 are:
Device Type
3330
3340
3310/3370
Sizes
50 and 10 tracks
128 and 32 tracks
1200 and 300 blocks
For an explanation of the other operands in these statements, see
VSE/Advanced Functions System Control Statements.
//
//
//
//
DLBL DFHDMPA,'CICSI60.DUMP.DATASET.A',0,SD
EXTENT SYSOOl"I,O,210,40
DLBL DFHDMPB,'CICS160.DUMP.DATASET.B',0,SD
EXTENT SYSOOl,,1,0,250,10
Figure 15. Defining the Dump Data Sets
42
CICS/DOS/VS Installation and Operations Guide
Filenames DFHDMPA and DFHDMPB are required names.
SIT Overr;des
The system initialization table used to define the initial system
described in Part 1 of this book contains the entry DCP=NO. This
means that, when the initial system is initialized, a dummy
version of the dump control program is loaded. If the conditions
that would result in a dump occur, the dummy version is invoked
but control is returned immediately without the dump being
actuallY recorded. The version of the dump control program that
supports recording of dumps on disk is DFHDCPD$ (see Appendix C).
After you have defined the dump data sets on disk, therefore, you
should include the override parameter
DCP=D$
with the CICS startup job.
TRACE
CICS trace is used to record the progress of CICS transactions and
is a further aid in debugging problems that may occur. Whereas a
dump gives a snapshot of conditions at a particular instant of
time, CICS trace provides a a history of events leading up to a
certain situation. CICS trace can also be useful in analyzing
performance problems such as excessive waiting on events in the
system, or bottlenecks resulting from inefficient system setup or
application program design.
In many CICS installations, recording of CICS requests in the
trace table is arranged to take place continuously while CICS is
running. If an error occurs and this causes a dump to be taken,
the trace entries are then immediately available as part of the
dump, and can be printed out in interpreted form as part of DFHDUP
processing. For information on the format of trace entries and
for hints on how to use trace to analyze problems, consult the
CICS/VS Problem Det~rmination Guide.
Trace entries are stored for all, or selected, requests made by
application programs to CICS management modules. The entries are
of standard length (32 bytes each) and are stored sequentially in
a trace table, whose size is determined at CICS startup time by
means of the TRT= initialization parameter. When the table
becomes full, subsequent entries overwrite the oldest entries in
a wraparound manner.
Aux;l;ary Trace Data Sets
Trace entries can be preserved from being overwritten by writing
them to an auxiliary trace data set as well as the main storage
trace table (see "Chapter 4.8. Auxiliary Trace Data Sets" for
details). When auxiliary tracing has been completed and after the
trace data set has been closed, the information can be printed
down, as in the case of the dump data set, with the help of the
CICS-provided DFHTUP utility program (trace utility program).
The utility also allows trace entries to be selected for printing
according to defined criteria.
Tracing of CICS requests in auxiliary storage is normally
controlled by means of the CEMT master terminal transaction. (For
other methods of initiating and terminating both main storage and
auxiliary storage trace, see "Chapter 4.8. Auxiliary Trace Data
Sets.") Because of the volume of output produced, tracing is
usually activated only for limited periods of time, typically
when a situation that has caused a problem requires to be rerun
because the in-core trace has not provided sufficient
information.
Chapter 2.2.
System Data Sets
43
Two auxiliary trace data sets may be defined: in this way,
tracing to auxiliary storage may continue after the other data set
has been closed and while it is being printed. The switch from
the one data set to the other is carried out by the master
terminal operator using the CEMT master terminal transaction. If
the data set becomes full, the master terminal operator is
prompted to perform the switch by the CICS system which detects
the end of data set condition, closes the data set, and displays a
message at the system console.
JCL Required for CICS Execut;on
The following statements define two auxiliary trace data sets
named CICS160.AUX.TRACE.A and CICS160.AUX.TRACE.B. The data sets
begin at tracks 260 and 300, and occupy 40 tracks each.
The comments in the previous section of this chapter about DlBl
and EXTENT statements for the dump data sets apply equally to the
auxiliary trace data sets.
//
//
//
//
DlBl
EXTENT
DlBl
EXTENT
DFHAUXT,'CICS160.AUX.TRACE.A',0,SD
SYS001,,1,0,260,40
DFHBUXT,'CICS160.AUX.TRACE.B',0,SD
SYS001,,1,0,300,40
Figure 16. Defining the Trace Data Sets
Filenames DFHAUXT and DFHBUXT are required names.
SIT Overrides
The pregenerated version of the trace control program selected in
the initial system initialization table is DFHTRP5$ (main storage
only). To allow auxiliary tracing to disk to be available, the
override parameter
TRP=D$
must be included with the startup job.
The pregenerated system initialization table DFHSITl$ contains
the entry:
TRT=512
indicating that 512 trace entries can be accommodated in the
in-core trace table. This value can be changed, if required.
TRT is set to be 0, no tracing will take place.
If
CICS STATISTICS
CICS statistics are the simplest means of gathering information
that can be used to analyze the behavior and performance of the
system. They provide information relating to most of the
activities in the CICS system, including for example:
•
•
•
•
Number of tasks in the system
Number of transactions accepted and the identity of each
Number of programs used and the identity of each
Identity of each terminal used.
A complete description of the information provided by CICS
statistics is included in the CICS/VS Performance Guide.
44
CICS/DOS/VS Installation and Operations Guide
Three r"cthods of obtaining the statistics are available:
1.
The accumulated stati sti cs for the CICS run are always
recorded when CICS is shut down. As already mentioned, these
statistics (referred to as termination statistics) are
written to a CICS-defined extrapartition transient data
destination CSSL. There is no way of suppressing these
statistics except by not defining the destination CSSL in the
destination control table (OCT), or by running the CICS
system with no DCT at all defined. If the CSSL destination is
defined, it must be associated with a filename in the DCT
which, in turn, must be defined to VSE as a sequential output
file (in the initial system described in "Chapter 1.4.
Initial CICS Startup," this file is defined to be SYSLST).
2.
Making an explicit request at any time while CICS is running.
The accumulated statistics are then recorded in the same
format as the termination statistics described above, and are
written to the extrapartition destination CSSL (or to a
different extrapartition destination if specified with the
request). Requested statistics, as this method is called, are
initiated by means of the master terminal CSTT transaction.
Both requested statistics and termination statistics are
formatted by CICS so that they can be sent direct to an output
printer.
3.
Automatic periodic recording of the statistics, the frequency
of recording being specified with the CSTT transaction
request which initiates the recording. This method is
referred to as automatic statistics. After each recording is
made, the statistics counts are reset to zero, so the values
recorded refer only to the period of time between recordings.
statistics Data sets
As mentioned above, for both termination and requested
statistics, the output is formatted by CICS in such a way that it
can be directed immediately to an output printer. This fact is
reflected in the pregenerated destination control table DFHDCTl$
where the extrapartition destination CSSL is defined to be
associated with the VSE symbolic unit SYSLST. No explicit job
control statements are then required to define a statistics data
set when running CICS.
In the case of automatic statistics, the output is not formatted
for immediate printing, but instead must be sent to a sequential
output data set. The mechanism for doing this also uses
extrapartition transient data destinations; in this case, the
destination names are CSSM and CSSN, and these must correspond to
sequential access method (SAM) files defined on disk or tape with
filenames DFHSTM and DFHSTN as specified on the DLBL system
control statements.
"Chapter 4.7. Automatic Statistics Data Sets" describes how to
define automatic statistics data sets and how to control the
recording of them.
SIT Overrides
The initial system described in Part 1 of this book included the
transient data program DFHTDPl$ (extrapartition only). This
version can be used to record automatic and requested statistics
as long as the destinations are defined in the destination control
table. Because the pregenerated table DFHDCTl$ does not include
CSSM and CSSN, only requested statistics (sent to destination
CSSL) will be demonstrated in the sample run at the end of this
chapter.
Chapter 2.2.
System Data Sets
45
OTHER eIes DATA SETS
The remaining CICS data sets are described later in this book.
The restart data set has been mentioned already in connection with
maintaining temporary storage data from one CICS run to the next.
The restart data set, together with the system log, is concerned,
more generally, with recreating the same CICS environment at
startup time as was in effect at the time of the previous
shutdown. These concepts are discussed further in "Chapter 2.4.
Restart and Recovery of CICS."
The CICS system definition file is used to hold information
necessary to enable the definition of resources (programs and
transactions) to be carried out while CICS is running. Online
definition of resources is described in the CICS/VS Resource
Definition Guide.
JOB TO START UP eIeS WITH THE eIes DATA SETS DEFINED
At this stage, it may be instructive to start up CICS again,
including all the essential CICS data sets described so far.
following facilities have been defined:
•
•
•
•
•
The
Temporary storage
Transient data
Dump
Auxiliary trace
Statistics.
The system initialization table used for this startup is the same
as the one used to start up the initial CICS system described in
"Chapter 1.4. Initial CICS startup" (DFHSITl$). To the startup
parameters defined in this table are added override parameters,
included here in the SYSIPT file. Because the initial system
initialization table includes only console support, the
demonstration in this chapter will again be limited to the
console. "Chapter 2.3. Sample Application Package and CICS
Tables" explains how to install a terminal control table that
allows transactions to be run from terminals.
Although no user application programs have yet been defined in the
system, CICS-provided transactions (such as those shown in
Figure 19) can be used to demonstrate some of the functions that
can be performed with a subset of these data sets.
The functions that can be demonstrated in this way are dump,
auxiliary trace, and statistics - both requested and termination.
The temporary storage and intrapartition data sets are included
in the startup job, but are not used at this stage. To
demonstrate these functions, it is necessary to install
application programming in the system together with a destination
control table (not provided in the pregenerated system). How this
is done is explained in the next chapter.
The system initialization parameters necessary to start up a
system with these facilities enabled are included here in the form
of system initialization override parameters read from SYSIPT.
The system is notified that SYSIPT parameters are to be included,
either by means of the SYSIN or SI parameter in the PARM option
(as shown in the following example), or alternatively by means of
an UPSI job control statement with a setting of 1. (See Chapter
5.3 for a full description of UPSI settings for a CICS
startup
job stream.)
The CICS startup job is followed by jobs to print down the dump
and auxiliary trace data sets to show the type of output that may
be expected. Only a single data set is processed in each case; in
a production system where data-set switching is needed, the
utilities might be run against data sets that had become full
while CICS was still running.
46
CICS/DOS/VS Installation and Operations Guide
// JOB CICS BRING UP CICS SYSTEM WITH DATA SETS
User VSAM Catalog
// DLBl CICSUCT,'CICS160.UCAT'"VSAM
* Auxiliary Temporary storage
// DLBL DFHTEMP,'CICS160.TEMP.STORAGE'"VSAM,CAT=CICSUCT
* Intrapartition Transient Data
// DLBL DFHNTRA,'CICS160.INTRA.TRANSD'"VSAM,CAT=CICSUCT
Dump Data Sets
// DLBL DFHDMPA,'CICS160.DUMP.DATASET.A',O,SD
// EXTENT SYS001,,1,O,210,40
// DLBL DFHDMPB,'CICS160.DUMP.DATASET.B',Q,SD
// EXTENT SYS001,,1,O,250,10
Auxiliary Trace
// DlBL DFHAUXT,'CICS160.AUX.TRACE.A',Q,SD
// EXTENT SYS001,,1,O,260,40
// DlBl DFHBUXT,'CICS160.AUX.TRACE.B',Q,SD
// EXTENT SYS001,,1,O,300,40
* ASSGN of DASD Containing CICS and User Files
// ASSGN SYS001,DISK,TEMP,VOL=M3350A,SHR
Search Order for Core Image libraries
// LIBDEF Cl,SEARCH=C160PCL
* Start Up CICS With Override Parameters From SYSIPT
// EXEC DFHSIP,SIZE=1200K,PARM='SIT=1$,SI'
TSP=2$,TDP=6$,DCP=D$,TRP=D$
$END
*
*
*
*
/*
/&
(This job is included in Z.DFHSPJCl)
Figure 17. Starting Up CICS With System Data Sets Defined
The messages displayed at the system console while the above job
is being run, are shown in Figure 18. After the final message
shown has been displayed, CICS is ready to accept transaction
identifiers and initiate application programs to perform useful
work.
The CEMT and CSTT transactions are provided by CICS and can be
used to demonstrate a few simple operations on the CICS data sets.
Examples of these commands are shown in Figure 19, where they are
given in their full, unabbreviated forms. CICS does, however,
accept abbreviated forms of the commands, as long as the meaning
is not ambiguous, thus
cemt set auxtrace on open
can be written
cemt s a on op
and
cemt perform shutdown
can be written
cemt p shut
The cemt perform shutdown command is used to terminate the CICS
run. As part of shutdown processing, CICS records termination
statistics which, in the present example, are sent to SYSlST.
Chapter 2.2.
System Data Sets
47
CONSOLE OUTPUT
F2 002 // JOB
C~CS
BRING UP CICS WITH SYSTEM DATA SETS
DATE 03/!!/83,CLOCK 23/22/54
F2 002 * User VSAM Catalog
F2 002 * Auxiliary Temporary storage
F2 002 * Intrapartition Transient Data
F2 002 * Dump Data Sets
F2 002 * Auxiliary Trace
F2 002 * ASSGN of DASD containing CICS Data Sets
F2 002 1T20I SYS001 HAS BEEN ASSIGNED TO X'329'
F2 002 * Search Order for Core Image Libraries
F2 002 * Start Up CICS With Override Parameters From SYSIPT
F2 002 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS.
F2 002 DFH1500 - READING OVERRIDE PARAMETERS FROM SYSIPT
F2 002 TSP=2$,TDP=6$,DCP=D$,TRP=D$
F2 002 $END
F2 002 DFH150! - DFHSIT1$ IS BEING LOADED
F2 002 DFH1500 - LOADING CICS NUCLEUS
F2 002 DFH1500 - CICS START-UP IS COLD
F2 002 DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
F2 002 DFH1500 - TERMINAL DATA SETS ARE BEING OPENED
F2 002 DFH1500 - DUMP DATA SET IS BEING OPENED
F2 002 DFH1500 - INITIALIZING TEMPORARY STORAGE
F2 002 DFH1500 - SUBPOOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS
F2 002 DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
F2 002 DFH1500 - STXIT MACROS ARE BEING ISSUED
F2 002 DFH1500 - PROCESSING RESIDENT PROGRAMS
710K
F2 002 DFH1500 - SUBPOOL SIZE FOR THIS START-UP IS
F2 002 DFH1500 - CONTROL IS BEING GIVEN TO CICS
Figure 18. Sample Output on Starting Up CICS With Essential Data Sets
F2 002
msg f2
*F2-002
2 cemt
F2 002
F2 002
*F2 002
2 cemt
F2 002
F2 002
*F2 002
2 cemt
F2 002
F2 002
*F2 002
2 cemt
F2 002
F2 002
*F2 002
2 cemt
F2 002
F2 002
*F2 002
48
DFH1500 - CONTROL IS BEING GIVEN TO CICS
inquire dump
DumCDFHDMPA ) Ope
RESPONSE: NORMAL TIME:
set dump close
23.30.02
DATE:
83.070
DumCDFHDMPA ) Clo
RESPONSE: NORMAL TIME:
set dump open
NORMAL
23.30.14
DATE:
83.070
DumCDFHDMPA ) Ope
NORMAL
RESPONSE: NORMAL TIME: 23.30.27
DATE:
perform sriap title('User"s Sample Dump')
83.070
Sna
RESPONSE: NORMAL TIME:
set dump switch
23.31.25
DATE:
83.070
Dum(DFHDMPB ) Ope
RESPONSE: NORMAL TIME:
NORMAL
23.31.48
DATE:
83.070
CICS/DOS/VS Installati on and Operati ons Gui de
786K
2 cstt
*F2 002
2 cemt
F2 002
F2 002
*F2 002
2 cemt
F2 002
F2 002
*F2 002
2 cemt
F2 002
F2 002
*F2 002
2 cemt
F2 002
F2 002
*F2 002
2 cemt
F2 002
F2 002
F2 002
F2 002
aor
DFH1800 STATISTICS REQUEST IS BEING PROCESSED
inquire auxtrace
AuxCDFHAUXT ) Off Clo
RESPONSE: NORMAL TIME:
set auxtrace on open
23.32.16
DATE:
83.070
AuxCDFHAUXT ) On Ope
RESPONSE: NORMAL TIME:
set auxtrace off close
NORMAL
23.32.34
DATE:
83.070
AuxCDFHAUXT ) Off Clo
RESPONSE: NORMAL TIME:
set auxtrace switch
NORMAL
23.32.47
DATE:
83.070
AuxCDFHBUXT ) Off Ope
RESPONSE: NORMAL TIME:
perform shutdown
NORMAL
23.33.03
DATE:
83.070
DFH1701 - C.I.C.S. IS BEING TERMINATED
DFH1799 - TERMINATION OF CICS/VS IS COMPLETE
EOJ CICS
DATE 03/11/83,CLOCK 23/33/28,DURATION 00/10/34
Figure 19. Sample Transactions To Demonstrate Data Set Operation
Chapter 2.2.
System Data Sets
49
OTHER OUTPUT
The output from the CICS run consists of the following:
1.
A file of requested statistics and a file of termination
statistics, both sent direct to the printer (SYSlST).
2.
A snap dump of the CICS partition, which has been put to the
primary data set DFHDMPA.
3.
A CICS trace of activity during the short period of time
between setting auxiliary trace on and off. This has been put
to the primary auxiliary trace data set, DFHAUXT.
If they are still open, the data sets themselves are automaticallY
closed when CICS is shut down. The data sets can now be processed
by using the CICS-provided utility programs.
On the following pages are reproduced statistics, dump, and trace
printouts produced by running the utility jobs in a batch
partition. No job is required for statistics, because the output
is directed to SYSlST.
50
CICS/DOS/VS Installation and Operations Guide
CICS STATISTICS
The printed output from the previous run consists of a file of
requested statistics followed by a file of termination
s~atistics. In each of these, you should, for example, be able to
flndthe following information:
II
II
Whi ch transacti ons were used
II
Whi ch programs were used
II
Which terminals were used.
Number of tasks
The CICS/VS Performance Guide describes the contents of each type
of statistics.
REQUESTED STATISTICS
03/11/83
~**********************************
TASK CONTROL STATISTICS *************************************
PEAK NUMBER OF TASKS
1
NUMBER OF TIMES AT MAX TASK
0
TOTAL NUMBER OF TASKS
7
MAX. NO. ACTIVE TASKS REACHED
1
II
************************************** STORAGE STATISTICS ***************************************
NUMBER OF STORAGE ACQUISITIONS
101
NUMBER OF STORAGE RELEASES
69
* NO STORAGE VIOLATIONS *
*********************************** TRANSACTION STATISTICS **************************************
TRANSACTION PROGRAM
TIMES
TIMES
TIMES ADD'L STORAGE
TIMES
10 (L-LONG)
NAME
CALLED BY
STALL- REQ'D FOR ANTICIPAT TRANSACTION
(S-SHORT)
TRANSACTION PURGED
PAGING TASK
RESTARTED
CEMT( L )
DFHEMTP
S
0
0
CSTE( L)
DFHTACP
1
0
0
CSTT< L )
DFHSTKC
1
0
0
*****TOTAL S~ooo~*
7
0
0
0
II
************************************* PROGRAM STATISTICS ****************************************
PROGRAM
TIMES
TIMES
NAME
PROGRAM USED PROGRAM FETCHED
DFHEITMT
S
1
DFHEMB
S
1
DFHEMTD
S
1
DFHEMTP
S
1
DFHFELG
1
1
DFHOCP
3
1
DFHSTKC
1
1
DFHSTPD
1
1
DFHTACP
1
1
DFHTEP
1
1
DFHTEPT
1
1
11
*****TOTALS*****
29
*************************************** DUMP STATISTICS *****************************************
NUMBER OF STORAGE DUMPS
0
************************************ TERMINAL STATISTICS **************************************
LINE
NO OF TERMINAL
INPUT
OUTPUT
TRANS- TRANSTRANSPIPELINE MESSAGES
10
POLLS
10
MSGS
MSGS
MISSION ACTION
ACTION
NOT PROCESSED
ERRORS
ERRORS
TOTAL GROUPS MAX CONSEC
0001
6
CNSL
6
6
o
o
6
0002
1
SAMA
o
o
o
o
o
7
6
o
o
**TOTALS**
6
6
o
o
********************************** TRANSIENT DATA STATISTICS ************************************
DESTINATION EXTRAPARTITION INTRAPARTITION INDIRECT AUTOMATIC
REMOTE
IDENT
REQUESTS
OUTPUTS
REQUESTS TRANSACTION
REQUESTS
INITIATION OUTPUTS
CPLI
66
CSSL
S9
CSMT
8
**TOTALS**
66
0
67
o
o
NUMBER OF TRACKS/CIS USED BY INTRAPARTITION TRANSIENT DATA
o
**************************** TEMPORARY STORAGE STATISTICS ***************************************
NUMBER OF RECORDS PUT /PUTQ MAl N
0
NUMBER OF RECORDS PUT TO UNIQUE 10 S
MAX VIRT STRG USED FOR RECORDS
NUMBER OF CIS AVAILABLE FOR USE
o
o
240
**************************** DYNAMIC TRANSACTION BACKOUT STATISTICS *****************************
NUMBER OF RECORDS LOGGED BY DTB
0
NUMBER OF RECORDS SPILLED BY DTB
0
CICS ELAPSED TIME IS 0000 HOURS 10 MIN 06 SEC.
RELATIVE DAY IS
0
Chapter 2.2.
System Data Sets
51
RE~UESTED
STATISTICS
03/11/83
*********************************** TASK CONTROL STATISTICS *************************************
PEAK NUMBER OF TASKS
1
NUMBER OF TIMES AT MAX TASK
0
TOTAL NUMBER OF TASKS
12
MAX. NO. ACTIVE TASKS REACHED
1
II
************************************** STORAGE STATISTICS ***************************************
NUMBER OF STORAGE ACQUISITIONS
164
NUMBER OF STORAGE RELEASES
117
* NO STORAGE VIOLATIONS *
*********************************** TRANSACTION STATISTICS **************************************
TRANSACTION PROGRAM
TIMES
TIMES
TIMES ADD'l STORAGE
TIMES
ID (L-LONG)
NAME
CALLED BY
STALL- REQ'D FOR ANTICIPAT TRANSACTION
(S-SHORT)
TRANSACTION PURGED
PAGING TASK
RESTARTED
CEMT( l )
DFHEMTP
10
0
O~.
CSTE( L )
DFHTACP
1
0
o
!rill
CSTT< l )
DFHSTKC
1
0
0
*****TOTAlS*****
12
0
0
0
************************************* PROGRAM STATISTICS ****************************************
PROGRAM
TIMES
TIMES
NAME
PROGRAM USED PROGRAM FETCHED
DFHEITMT
10
1
DFHEMB
10
1
DFHEMTD
10
1
DFHEMTP
10
1
DFHFELG
1
DFHJCSDJ
1
DFHOCP
3
DFHSTKC
2
1
DFHSTLK
1
1
DFHSTP
1
1
DFHSTPD
2
1
DFHSTTD
1
1
DFHSTTR
1
1
DFHTACP
1
1
DFHTEP
1
1
1
DFHTEPT
1
16
*****TOTALS*****
56
~
11
*************************************** DUMP STATISTICS *****************************************
NUMBER OF STORAGE DUMPS
0
************************************ TERMINAL STATISTICS **************************************
LINE
NO OF TERMINAL
INPUT
OUTPUT
TRANS- TRANSTRANSPIPELINE MESSAGES
10
POLLS
10
MSGS
MSGS
MISSION ACTION
ACTION
NOT PROCESSED
ERRORS
ERRORS
TOTAL GROUPS MAX CONSEC
0001
11
CNSL
11
11
o
11
o
0002
1
SAMA
o
o
o
o
o
12
o
o
11
11
o
11
o
**TOTALS**
II
********************************** TRANSIENT DATA STATIsTICS ************************************
DESTINATION EXTRAPARTITION INTRAPARTITION INDIRECT AUTOMATIC
REMOTE
IDENT
REQUESTS
OUTPUTS
REQUESTS TRANSACTION
REQUESTS
INITIATION OUTPUTS
CPlI
147
CSSL
140
CSMT
8
o
o
**TOTALS**
147
0
148
NUMBER OF TRACKS/CIS USED BY INTRAPARTITION TRANSIENT DATA
o
**************************** TEMPORARY STORAGE STATISTICS
NUMBER OF RECORDS PUT /PUTQ MAl N
*******************~~******************
NUMBER OF RECORDS PUT TO UNIQUE ID S
MAX VIRT STRG USED FOR RECORDS
NUMBER OF CIS AVAILABLE FOR USE
0
o
o
240
**************************** DYNAMIC TRANSACTION BACKOUT STATISTICS *****************************
NUMBER OF RECORDS LOGGED BY DTB
0
NUMBER OF RECORDS SPILLED BY DTB
0
52
CICS/OOS/VS Installation and Operations Guide
CICS DUMP
Pr;nt;ng the Dump Data set
After the CICS system has been shut down (or after a dump data set
has become full and a switch to the alternate data set has taken
place), the data set can be printed down using the CICS-provided
DFHDUP utility program. This program formats the output on the
printed page and, where appropriate, interprets the hexadecimal
values in storage with their EBCDIC equivalents.
A sample job that can be used to print down a data set is shown
below:
// JOB PRTDUMP
// DLBL DTFDISK,'CICS160.DUMP.DATASET.A'"SD
// EXTENT SYSOOl,,1,0,210,40
// ASSGN SYSOOl,DISK,TEMP,VOL=M3350A,SHR
// EXEC DFHDUP,SIZE=80K
DEVICE=DISK
/*
/&
(This job is included in Z.DFHSPJCL)
Figure 20. Processing the Dump Data Set
In the above sample job, the file name must be DTFDISK if disk
dump data sets are being used. You may also need to add:
// LIBDEF CL,SEARCH=C160PCL
before the EXEC statement.
A description of the job control statements to be used when
running DFHDUP and of the parameters that can be specified are
given in "Chapter 4.9. Dump Data Sets."
Chapter 2.2.
System Data Sets
53
Sample CICS Formatted Dump output
The dump, only a portion of which has been reproduced here, can be
divided into several parts. These include:
II
II
II
II
Short symptom stri ng
Trace table containing a record of the flow within CICS
List of control blocks used in the CICS run
list of programs used in the CICS run.
The CICS/VS Problem Determination Guide, SC33-0163 describes a
formatted dump in some detail.
.
CUSTOMER INFORMATION CONTROL SYSTEM FORMATTED DUMP
FORMATTED DUMP INVOKED BY MASTER TERMINAL. TITLE _ USER'S SAMPLE DUMP
SYMPTOMS: AB/UCSMT PIOS/5746XX300 FLOS/FOOOKC RIOS/OFHEMTO
CICS/VS LEVEL
0160
005345E8
COMMON SYSTEM AREA
004C CSACOTA
00S70140
0074 CSAPLBA 00S33800
0078 CSAPUBA
008C CSASITBA 006S8E06
011C CSATRTBA 006330CO
0128 CSATCTBA
0130 CSAOCT6A 00S661AO
00000000
00000000 00000000 00000000 50S5A8S0
00000003 C0000800 00S6E4BO
00000020
5061B022 00S3441E 505S4442 AOSS44D2
005708BO 00534QEe 00000008
00000040
005336Q8 00S70140 0011QQQC 00570140
2331241F 00000000 07000100
00000060
0081376B 00050COO 00000000 000148E8
00003000 00533800 006C37FF
00000080
00S3S5C8 FOFFFFFE 0000004B 006S8E08
00000000 00000000 00S6ABSO
OOOOOOAO
00000000 00000000 00S34684 00S34664
0056F800 00534CAO 00S34E70
OOOOOOCO
OOOAOOOl 000C0400 00534QE8 00000000
00000000 00000000 00000000
OOOOOOEO
405362BO 0055AS40 0055E800 036S74FO
00640COC 00533QOO 00563E44
00000100
00S6436C 0064F78A 00636774 00630888
00000000 00S3C06C 01S41Q20
00000120
00000000 00000000 00533eQ8 00000000
005661AO 0056AS20 00S6FOOO
00000140
00000000 40630860 00534410 00000000
005660A4 006302EO 00000000
006422C2 00000000 00000000 3AQ6511A
00000160
018170<:.lC 02000000 00000000
00000180
00000000 00000000 00000000 006SA20e
00000000 00000000 00000000
000001AO
07FE58FO 01QC07FF 0183A733 0183A77C
000q6000 OOOCOOOO E6060q02
000001CO
OOOOOOOC OOOCOOOO 001C001C OOOOSCOO
00082COO 00046COO OCOOOCOO
000001EO
OCOOOCOO OOOCOOOO OCOOOCOO OCOOOOOC
OOOOOCOO OOOCOOOO OCOOOOOC
00000200
00000000 00000000 00000000 00000000
00000000 00000000 00000000
00000220
LINES TO 000003EO SAME AS ABOVE
00534qE8
OPTIONAL FEATURES LIST
0000 CSAATP
00000000
0008 CSAOLI
00000000
0034 CSAJCTBA
00000000
00000000 00000000 00000000 00655150
00S684F4 00000000 006S6ES8
00000020
006421C4 00641ECO 206417E4 00000000
00000000 00000000 00000000
00000040
00000000 00000000 00000000 00000000
006360F6 00000000 00000000
00000060
80000000 01F40S06 00000000 0000FE1C
00640440 0083070F 00000000
00000080
00S36068 0064CFCO 0064AQAO 00643030
00000000 00000000 00000000
OOOOOOAO
00000000 00000000 0053633C 0053A808
00540108 00S633S0 00S662CO
OOOOOOCO
0055A420 00560230 00658440 00536208
006S6ECO 00S3CC18 00S67C60
OOOOOOEO
0064EF80 006404<;10 00656700 005673CO
00000000 00000000 00000000
00000100
00553268 0064CEOO 0064CBOO 00000000
00000000 00000000 00S41S0C
00000120
005S4378 00000000 00000000 00000000
00000000 00000000 00000000
00000140
00000000 00000000 00000000 00000000
00000000 006401EO 005S0024
00000160
00000000 00558024 00637E10 0053FEBS
0053Q398 00000000 00000000
00000180
00633CEO 00SSFQ60 00000000 00000000
00000000 00000000 00S36008
000001AO
00633CQO 00S34228 00000000 00000000
00000000 00630448 00000000
000001CO
00000000 00000000 00000000 00001000
00000000 00000000 00000000
000001EO
00000000 00000000 00000000 00000000
00000000 00000000 QS3AQ642
00000200
QS3AQ642 1BOE2000 00000000 00000000
0065Q288 00000000 00000000
00000220
00000000 00000000 00000000 00000000
00000000 00000000 00000000
00534C28
CLASS MAXIMUM TASK COUNTERS
00000000
OOOCOOOC 010COOOC OOOCOOOC
00000000 00000000 0000010C OOOCOOOC
00000020
OOOCOOOC OOOCOOOC OlOCOOOC OOOCOOOC
000C010C OOOCOOOC OOOCOOOC
00000040
OOOCOOOC 000C010C OOOCOOOC OOOCOOOC
010COOOC OOOCOOOC 000C010C
00000060
OOOCOOOC OlOCOOOC OOOCOOOC OOOC
00630448
PROGRAM CHECK / ABEND TRACE TABLE
00000000
070QD6C7 OQC10440 C3C8CSC3 0261C1C2
CS05C440 E30QC1C3 CS40E3C1
00000020
0063048e 00630488 00630788 00000000
00000000 00000340 00000000
00000040
00000000 00000000 00000000 00000000
00000000 00000000 00000000
00000060
LINES TO 00000320 SAME AS ABOVE
0065SE08
SYSTEM INITIALISATION TABLE
00000000
CS13C616 00000000 04000200 00000000
00000000 006SQ220 006SQqAO
00000020
006SQ208 00642S6C 00000000 00000000
OOOSOCOO 000Q6000 0700004B
00000040
00000000 00003000 00000800 00000200
00040000 01F4FEOO 000003Ee
00000060
00000000 00000000 C4C2C4C3 C3CQC3E2
40404040 400SF020 C1406CF1
00000080
400S4040 10050000 00000000 00000000
00C3CqC3 E207E.2C2 C3CqC3E2
OOOOOOAO
40404040 40404040 00404040 40404040
00404040 40404040 00404040
OOOOOOCO
00404040 40404040 40400000 OC004040
OS06F1S6 05060506 OS06F1S6
OOOOOOEO
F1SBF1SB F1S60S06 DS060S06 40404040
40404040 4040F356 C45S4040
00000100
4040F65B F25SC4SB F1564040 OS060S06
05060506 OS060S06 OS060506
00000120
40404040 OS060S06 OS060506 DS060S06
OS064040 40404040 40400506
00000140
40400S06 40404040 40404040 40404040
40404040 40404040 40404040
OOOAQQQC 010C010C 010C010C
00000160
40C34040 00400000 40404040 00400000
00000180
010C010C 010C010C OOOCOOOC OOOCOOOC
40404040 40404040 40404040
000001AO
40404040 40404040 40404040 40404040
40404040 40404040 40404040
000001CO
LINES TO 000003EO SAME AS ABOVE
0065q208
INITIALISATION MODULES
54
CICS/DOS/VS Installati on and Operati ons Gui de
DATE:03/11/S3
006C37FF
005338Q8
00S34120
E2C104C1
00000000
0083070F
CS13C616
C500FFOO
00000000
00566SSC
006330CO
00000000
00000000
006303FO
FFs34sQe
C10QC5Cl
ocooocoo
OOOOOCOO
00000000
00000000
006S6Eee
00000000
00000000
00S34,SE8
00000000
00S64020
00636SEO
00S3FS28
00000000
00000000
00000000
00000000
00S34C2e
00000000
00000000
1BOE2000
00000000
00000000
000C010C
010COOOC
OOOCOOOC
C203C57A
00000000
00000000
006SQ240
OOOOOOOC
03E80000
E8400S01
E30QOSOS
40404040
OS060S06
E2S6E256
F1S90506
40400S06
40404040
010C010C
40404040
40404040
TIME:23:31:24
PAGE
1
ooeo CSATDTCA 00S3ssce
012C CSAFCT6A 00000000
**...............
Y ••••••••••• U ••••• *
/ ............. K ••••••• Y •••• SAMA*
* ... ~ ..... R •••••••••••••••••••• *
*.A ••••••••••••• Y ••••••••••••• C •• *
* ... HO ••••••••••••••••••••••• E.F.*
* ........... 0 ••• 0 •• 8 ••••••• +.E ••• M
* ........... Y •••••••••••••••••••• *
* ..... V •• Y •••• 0 • • • • • • • • • • • • • • • **
* ...... 7 •••••••• H •••••••••••••••• *
lE ••••••••••• ~ •••••• / ••• Y ••• 0 ••••• lE
* ................. -U •••••••••••• *
* ... B ••••••••• 0 ••• A ••••••••••••• 0*
* •••••••••••••• S~ ••••••••••••••• Q*
* ••• OJ •••• CX •• CX ••• - ••••. WORKAREAlE
ill • • • • • • • • • • • • • • M . . . . . . . . . . . . . . . . . . if
* ......................................................
M ....................................
M
*
* .................. 04 ••••••••••• H*
* ... 0 ••••••• U •••••••••••••••••••• *
* ................... 6 •••••••••••• *
M • • • • • 4 NO •••••••••• M • C • • • • • • • • • y *
If •• - • • • • • • • z ....•••.....••••..... *
* .............. Y •••• Q • • • • • • • • • • • *
* .. U ••••••• O ••••••••••••••• - •••• *
* ...... M • • • • • • • • • • • • • • • • • • • • • • • e.*
lIE • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • *
*
lIE • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
-M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HL ••••••••••••• M
* .......... : .......
q- ••••• ••••••••••••• - ••••• *
-M • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • *
* ................................ M
* ........................ N.O ••••• *
*N.O ••••••••••••••• KH •••••••••••• *
M ••••• •
M • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • ill
* ................................ *
*' ..................................
M
..................................... M
)If. • • • • • • • • • ... • •
M
*PROGRAM CHECK/ABEND TRACE TABLE:*
* ... H ••• H ••• H • • • • • • • • • • • • • • • • • • • *
* ................................ *
*
K ••••••••••••••••••• - ••••••••• *
** .....................
4 ••••• y.y •• *
........ OBOCCICS
NO.A .1Y N.*
* N .N ••••••••••• CICSPS6CICSTRNN~
*E.F ••••••••••••••••••• K ••• R ••• K
M ••
*
..
14
*.
N01$NONON01$NONO*
*l$l$l$NONONO
3$0$
S$S$M
*
6$2$0$1$
NONONONONONONON01$NO*
NONONONONONONO
NO
NOM
* NO
*
*
• •••• R ••••••••••••• *
* C •••
....................
*
*
*
M•••• A1B1Cl01E1F1G1H111J1
00000000
00180018 C1F1C2Fl C3F1C4Fl CSF1C6F1 C7F1C8Fl CQF101Fl
006Sq240
OVERRIDE PARAMETERS
M•• SIT=lt.TSP=2t.TOP=6$.OCP:Ot.TRM
00000000
0023E2Cq E37EFls8 68E3E207 7EF2s86B E3C4077! F6s868C4 C3077EC4 Se6BE309
MP:O$.
M
00000020
077EC4s8 68
006Sq220
ATP CSA EXTENSION
M ••••• Y.Y •• R ••••••
OC
00000000
00000000 03E803E8 001CQgeC OOOCOOOO
006SQQAO
SIP COMMUNICATIONS AREA
M ••••••••••• Y ••• Q •• SQ •• V ••• W •••• YM
006SA208 006SAS22 006SA6S4 00S34sE8
00000000
OOOOSOOO 006SQC08 006S90E8 006S9F9a
M • • • • • • • • • • K ••••••••••••• Y ••••• M
00000020
006s8E08 00000000 006S9240 006s9COe 00000000 00561940 006SE800 00000000
M •••••••••••••••••••••••••••••••• M
00000000 00000000 00000000 00000000
00000040
00000000 00000000 00000000 00000000
M • • • • • • • • • Y ••• Z ••••••••••••••••• M
00633A70 00550024 00S70000 00573200
00000060
40630SBO 00S70130 00SSE800 80SSEQQE
M • • • • • • • • • • • • • 1 ••••••• Y •• S ••••• M
00570140 00S34SE8 sOsSEZ78 006S8E08
00000080
00561940 00000144 00s732EO eOSSFl12
M
• • • • • • • • • • • • • • • • • R ••••••• ( ••••• M
006S99AO 006S8E08 00S34030 00000000
OOOOOOAO
00S3S0CO 006SBC7C 00S3S110 006SAC40
M • • • Y • • • • • • M •••••• + •••• Y ••• : •••• M
00S34E70 00S34SE8 506S667A 00S362BO
OOOOOOCO
00S34QE8 006SBC40 806S6E04 00S6A8S0
M .1 .•..••••••••••••••••••••••••• M
00000018 006SAC28 00000000 00000000
OOOOOOEO
00F14400 00534020 00000000 00000F13
M • • • • • • • • • • Q ••• H ••• •
M
00000FF9 00000000 002C8000 40404040
00000100
00000000 00000080 00S69800 00568800
M
M
40404040 40404040 40404040 40404040
00000120
40404040 40404040 40404040 40404040
00000140
LINES TO 000001EO SAME AS A80VE
M
OFHSIJl .L ••••• S •••• M
00000200
40404040 40404040 40404040 C4C6C8E2 C901F140 00930800 000701E2 4A000320
M••••••••••••••••• M •••••••••••• SM
2E044000 00000000 006SAC28 000019E2
00000220
78032090 00120003 20780000 0000009A
M • • • • • • • • • • • • • • Q ••• R ••••••••••••• M
006S9920 006SA09C 00000000 00534650
00000240
00000018 00000000 00000000 006s98AO
M ••••••• 0
M
00000260
00000000 OOOOOOFO
006SQ920
SU6TASK SAVE AREA
MOI'HJCSUB •••••••••••••••••••••••• M
00000000 00000000 00000000 00000000
00000000
C4C6C801 C3E2E4C2 00000000 00000000
M •••••••••••••••••••••••••••••••• *
00000000 00000000 00000000 00000000
00000020
00000000 00000000 00000000 00000000
00000040
LINES TO 00000060 SAME AS ABOVE
006sQ8AO
SUBTASK SAVE AREA
1I0FHLOAOR •••••••••••••• I< ••••••••• M
0065AC28 006S926S 00000000 00000445
00000000
C4C6C803 06C1C409 07600000 006sAOBC
M •• L.- •••••••••••••• U •••••••••• R.M
006S9BE4 00000001 006S9C08 006sQ9AO
00000020
006S934C 606sB610 00000000 00000000
II • • • • • • • U •••••••••• N.O ••••••••••• M
00009s3A 96384370 00000000 00000000
00000040
006S8E08 006s~BE4 00000000 00658780
M • • • • • • • • • • • • • • • • • • • • • • • • • IT:l$.TM
00000000 00000000 30C9E37E FlsB6BE3
00000060
00000000 00000000 00000000 00000000
006330CO
TRACE TA8LE
008118FF AE56990F 00000000 00000000
M•• M • • • • • • • • • • • • A •••• R ••••••••• M
00000000
0063SC40 006330EO 006370CO 00000000
FIELD A FIELD B CHARS
RESOURCE
TRACE TYPE
TIME OF DAY
10
REG 14 REQO TASK
23 23:14.620864 FO 40SSE6E4
~g~ ~~f~A~~I=CICS
23 23:14.721280
Fl 4061COOC ;gg: gggg~ ~~~~gg~2 gg~~§~~~ :;::::::
SCP ACQUIREO USER STORAGE
23 23:14.721408 C8 SOssA8S0 0004 00001 005708BO 8C610078 ••••• /..
23 23:14.786176
F6 6061BF84 4003 00001 00570868 00000000 •••••••••••••. 0. CCSSMMTT ~ TOP PUT
~ TMP OCT LOCATE
23 23:14.786240
EA 40566678 0003 00001 01000600 00S701C4
TMP RETN NORMAL
23 23:14.786400
EA 40SSQOE8 0055 00001 01000600 00566204
23 23:14.788640
FO 40566846
RESOURCE
~~~C~A~~p~CI=OISP
TIME OF DAY
10
REG 14 ~~g; ~~g~l 2~~~~gO~ O~i~~gAg
23 23:14.788800
F6 40566864
~~~pRETN NORMAL
23 23:14.788896
E6 7061C3F2 ~g~f gggg~ g~ggg~g~ ~~Ei~2g~
23 23:14.78eQ28 F2 S061C410
g~~~~tg
~~~ ~~~Klgg~~iTIONAL
23 23:14.788992
EA 40SSE036 ~~g; ggggi g~ggg~gg gg~~g~g2
23 23:14.789120
EA 40sS90E8
~~~ ~~+~A~~RMAL
23 23:14.789152
Fl 40SSE96E g~g~ ggggi g~~gg~~g gg~~~~~~
23 23:14.789280 C8 sOSSA8S0
~g~ ~~~gl~~o RSA STORAG!
23 23:14.837056
Fl 40SsE642 ggg: ggggi gg~~g~~g ~~~~~2~g
SCP ACQUIRED PGM STORAG!
23 23:14.840224 C8 sOSSA8S0 0004 00001 0061BOOO 88000800 . / . . . . . .
23 23:14.841408 FO 40sSE6E4
~g~ ~t~6 ~g6=~~~SIO LOCAL
23 23:14.8Q4912
FC 4061B074 ~gg! ggggi ~fg~gggg ~gEtg~~i
23 23:14.895008 F2 40616348
OFHFELG
~g~ ~g~~~~IN
23 23:14.895072
Fl 60SSE09E zgg~ gggg~ gg~ggggg gg~~~2gg
SCP RELEASED RSA STORAGE
23 23:14.895104 C9 SOSSA886 0004 00001 00570930 89570058
23 23:14.895200
F2 S061C424
g~~+~~
~g~ ~~~KLgg~~~TIONAL
23 23:14.895264
EA 40SSE036 ~~g; ggggi g~gggggg gg~~g~g~
23 23:14.895392
EA 40Ss90E8
~~~ ~~+~A~~RMAL
23 23:14.895424 F1 40ssE96E ggg~ ggggi g~~gg~~g gg~%~2gg
23 23:14.895456 C8 SOSSA8s0
~g~ ~~~~ii~o RSA STORAGE
23 23:14.914112
Fl 40SSE642 ggg: ggggt gg~~gi~2 ~~~~~2~g
SCP ACQUIRED PGM STORAGE
23 23:14.915936 ce SOsSA8s0 0004 00001 0061AOOO 88001000 . / . . . . . .
KCP WAIT OCI=CICS
23 23:14.920864 FO 40SSE6E4 4004 00001 88000000 00S626F6 ••••••• 6
23 23:14.972544 FO 40541660
~g~ ~~iiM~CI:TCP
23 23:14.991296
F3 S061A044 ~gg; 6g601 i;~~~ggg gg~~~~gg :;::::::
ICP RETN NORMAL
23 23:14.991360
F3 40657626 0065 00001 0061AOOO 88001000
23 23:14.991392
F2 S061AOS8
g~~+~~+
~g~ ~g~OLgg~~~TIONAL
23 23:14.991456
EA 40SSE036 ~~g; gggg~ g~gggggg gg~gg~g2
TMP RETN NO~MAL
23 23:14.9Q1S84
EA 40SS90E8 0005 00001 01000300 00562C60
KCP WAIT OCI=CICS
23 23:14.998112
FO 40SSE6E4 4004 00001 88000000 00562C86
23 23:15.065184 F6 S061A8s0
g~~+
~~: 6~~ LOCATE
23 23:15.065248
EA 40566678 ;gg~ gggg~ g~~~g~~g gg~gg~g2
TMP RETN NORMAL
23 23:15.065376
EA 40SS90E8 0055 00001 01000600 00566204
KCP WAIT OCI=OISP
23 23:15.067616
FO 40566846 4004 00001 20000000 00S62C86
TOP RETN NORMAL
23 23:15.067712
F6 40566864 0055 00001 01000600 00566204
23 23:15.067776
F6 S061A8S0
g~~+
+g~ ~~+ LOCATE
23 23:15.067808 EA 40566678 ~gg~ ggggi g~~~g;~g gg~gg~g2
TMP RETN NO~MAL
23 23:15.067904
EA 40SSQOE8 0055 00001 01000600 00566204
KCP WAIT OCI=OISP
23 23:15.071936
FO 40566846 4004 00001 20000000 00S62C86
TOP RETN NORMAL
23 23:15.072032
F6 40566864 0055 00001 01000600 00566204
23 23:15.072224 F6 S061A850
g~~+
+~~ 6g~ LOCATE
23 23:15.072288 EA 40566678 ~gg~ ggggt g~~&g;~g gg~gg~g2
TMP RETN NORMAL
23 23:1S.0723S2
EA 40SsQOE8 0055 00001 01000600 00566204
KCP WAIT OCI=OISP
23 23:15.074272
FO 40566846 4004 00001 20000000 00S62C86
TOP RETN NORMAL
23 23:15.074368 F6 40S66864 0055 00001 01000600 00566204
23 23:15.074560
F6 S061A8S0
g~~+
+~~ 6~+ LOCATE
23 23:15.074624 EA 40566678 ~gg~ ggggi g~~~g~~~ gg~gg~g2
TMP RETN NO~MAL
23 23:15.074688
EA 40SSQOE8 0055 00001 01000600 00566204
KCP WAIT OCI=OISP
23 23:15.076608 FO 40566846 4004 00001 20000000 00S62C86
TOP RETN NORMAL
23 23:15.076704 F6 40566864 0055 00001 01000600 00566204
23 23:15.076864 F6 S061A8S0
g~~+
+g~ 6~+ LOCATE
23 23:15.076928 EA 40566678 ~gg~ ggggi g~~&g;~~ gg~gg~g2
TMP RETN NORMAL
23 23:15.076992
EA 40SS90E8 0055 00001 01000600 00566204
KCP WAIT OCl=OISP
23 23:15.078944 FO 40566846 4004 00001 20000000 00S62C86
TOP RETN NORMAL
23 23:1S.07~040
F6 40566864 0055 00001 01000600 00566204
23 23:15.079264 F6 S061A8S0
g~~+
+~~ 6~+ LOCATE
23 23:15.079296
EA 40566678 ~gg~ gggg~ g~~&g~~g gg~gg~g2
TMP RETN NO~MAL
23 23:1S.0793~2
EA 40SS90e8 0055 00001 01000600 00566204
KCP WAIT OCI=OISP
23 23:15.081312
FO 40S66846 4004 00001 20000000 00S62C86
TOP RETN NORMAL
23 23:15.081408 F6 40566864 0055 00001 01000600 00566204
CSMT
TOP PUT
23 23:15.081472
F6 s061A8S0 4003 00001 00570888 00000000
q........
·CHARS··
::::SAMA
:::::::0
:::&::0:
::::::0:
::::SAMA
::::::0:
:::::::6
:::&::0:
::::::0:
.t......
:::::::6
:::::::6
:::::::0
:::::::6
:::::::0
:::::::0
:::::::0
Chapter 2.2.
System Data Sets
55
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
24
24
24
24
24
24
2<1
2<1
29
2<1
29
29
29
29
29
29
2<1
29
29
29
29
2<1
29
2<1
29
29
29
29
29
29
2<1
29
29
2<1
29
29
29
29
29
2<1
29
29
29
2<1
29
29
29
29
29
29
29
29
29
29
29
29
29
29
29
2Q
29
29
29
2Q
29
29
29
29
29
29
29
29
29
29
29
2<1
56
lS.061S36
lS.001600
lS.063SS2
lS.063648
15.083680
15.083744
15.083808
15.083<104
15.0e3<168
lS.084000
15.084032
lS.0840<16
15.084160
15.084224
15.084256
15.084352
15.084448
15.084480
15.084512
15.084576
15.084608
15.084640
lS.245536
20.251712
21.827424
21.e2e064
21.828096
21.828160
21.831488
22.154432
S2.7Q8784
S2.798n2
52.799040
52.799136
52.802272
52.802464
52.802S60
S2.8026e8
52.802<l12
52.803392
52.814S92
52.834336
52.834432
S2.8345'l2
S2.e39136
52.906464
52.906592
52.9428e-0
52.<143040
S2.943072
52.943168
52.943200
52.<143232
53.005952
S3.006048
53.006176
53.006272
53.006336
53.006368
53.006400
53.110976
53.111200
53.111264
53.111360
53.111488
53.111520
53.111584
S3.111616
53.113408
53.113760
53.265472
53.26SS68
S3.265632
53.265696
53.265856
53.265920
S3.267872
53.268032
53.268128
53.268256
53.268320
S3.268352
53.270464
53.512352
53.934624
53.934752
54.036896
S4.036960
S4.0370S6
54.037216
54.074720
54.076640
54.079680
54.141664
54.141792
54.1418S8
54.141<152
54.142112
54.142144
54.142816
EA
EA
FO
F6
F2
Fl
C9
E6
Fl
C<1
F2
FO
08
Fl
C8
EA
EA
08
FO
00
Fl
C<1
FO
FD
Fl
C8
Fl
C8
FO
FD
FO
EA
EA
Fl
C8
00
EA
EA
FO
FC
E5
F2
EA
EA
FO
Fl
C8
Fl
C8
El
El
El
F1
C8
El
El
Fl
C8
El
El
El
El
F2
EA
EA
F2
EA
EA
FO
FO
E1
El
F2
EA
EA
Fl
C8
F2
EA
EA
Fl
C8
FO
FO
Fl
C8
El
F2
EA
EA
F1
C8
FO
Fl
CS
F2
EA
EA
El
E1
40S66676
40SS90E6
40566846
40566864
4061A188
60SSED<1E
SOSSA886
7061C4S2
40618908
SOSSAe86
S061B91C
40S5E80C
60536EEO
406S6E7C
505SAe.SO
60530400
40SS90E8
4053D71A
SOS36EEA
SOS377B4
40S3708A
S055A886
40541660
0000013C
40545666
S05SA850
40S"SBBS
S05SA850
40541660
0000013C
50SSlE42
70S368A2
40SS90E8
40S36AOO
SOSSAeso
SOS377B4
405360Q4
405S90E8
40541660
OSS434F8
40S435AA
S0543CEO
40SSED36
405S<10E8
40S5E6E4
40S3B3$8
S055A$SO
6053B7C4
505SA850
S062F32E
S062F32E
S062F428
40S5A4Q8
S05SAeso
5062F428
4062F4E8
6053BECO
505SA850
4062F4E8
S062FS16
5062F516
S062F6DO
60S602S8
4055E036
40S590E8
4053C144
4055ED36
40S590E8
405SE6E4
40S41660
5062F6DO
5062F704
605602S8
405SED36
405S<10E8
6053BECO
505SAe50
5053C144
40SSED36
405S90E8
40S5E96E
S05SA8S0
405SE6E4
40541660
605367C4
S05SA8S0
40621760
5053BAQE
40SSED36
405S90E8
4055E642
S05SAeso
4055E6E4
6053BECO
S055A8S0
SOS3BCDA
40SSED36
40SS90E8
40621760
50621CQ2
0003
OOSS
4004
OOSS
1004
4004
0004
2001
4004
0004
1004
e004
0203
DB04
0004
0003
0005
0005
0304
0704
4A04
0004
4004
0104
ES04
0004
E404
0004
4004
0104
1304
0003
0005
EA04
0004
0604
0003
0005
4004
OS03
OC03
8804
0003
0005
4004
CC04
0004
CC04
0004
0004
00F4
0004
0004
0004
00F4
0004
CC04
0004
00F4
0004
00F4
0004
e204
0003
0005
0404
0003
OOOS
4004
4004
00F4
0004
e204
0003
0005
CC04
0004
el04
0003
0005
8904
0004
4004
4004
CC04
0004
0004
0404
0003
0005
8e04
0004
4004
CC04
0004
0804
0003
0005
00F4
0004
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
00001
KCP
KCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
00002
TCP
TCP
TCP
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
TCP
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
TCP
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
01000600
01000600
20000000
01000600
00000000
00S70<130
00S70Q30
00FFe80S
0056E4S0
00S6E4BO
00000000
00000000
02000568
00000085
00570<130
00000000
00000000
00000000
00S62C86
04000400
00570000
00S70000
44000000
00807E02
00000052
0056ESEO
OOOOOOSD
0056E950
44000000
00eO<l630
C30SE2D3
01040100
01040100
oooooeco
00570000
C3DSE2D3
OCOO0100
OCOO0100
44000000
00000000
00000000
00000000
01000300
01000300
e8000000
00000230
00570cDO
000001DB
00570BI0
00570B20
00000000
00570820
COOCOOOO
00570000
00000000
00570820
0000009E
00572FOO
00000000
00S70B20
00000000
00S70820
00000000
01000300
01000300
00000000
01000300
01000300
88000000
.. 4000000
00000000
00570B20
00000000
01000300
01000300
OOOOOOFO
0057ZFBO
00000000
01000300
01000300
005700S0
00S730BO
e8000000
44000000
00000232
00573110
00573120
00000000
01000300
01000300
00570130
0061QOOO
88000000
000000C4
00573360
00000000
01000300
01000300
00000000
00573120
00S701C4
00S66204
00562C86
00S66204
00000000
00S6E4BO
69S700S8
00000000
00533F14
96000040
00000000
00000000
00S70880
00533F14
<1BOOOO<18
47F09106
50E020F4
SOE020F4
00000000
C3E2E3C5
00000000
8A040878
00534400
00eOQS7A
80S34020
85000068
eOS34020
84000068
00534400
00el172D
C3CSD4E3
00S34F08
00S5CFC4
80534020
8A0408C8
C3CSD4E3
005SCFC4
00000000
00S34400
00S34020
00000000
00000000
005701C4
00561988
005619AE
01534020
8COO0238
01534020
8COOOlE8
00000208
00000208
00000C02
9D570Q34
eC0021F8
00000C02
0000020A
01534020
8COOOOA8
0000020A
00000402
00000402
00000E06
00000000
00S701C4
00S619DO
00000000
005701C4
00561QDO
005~19F6
00534400
00000E06
00000E02
00000000
005701C4
00561B80
01S34020
eCOOOOF8
00000000
005701C4
00561B90
015.34020
89S70058
00S618A6
00S34400
01534020
8COO0248
00008 .. 04
00000000
005701C4
00561CI0
01534020
88001000
00S61C36
01534020
8COOOOD8
00000000
005701C4
00561CI0
00008404
00001002
••••••• 0 CSMT
........
........
........
::::: :u:
........
:• :u:::::
.U ••••
........
OFHTEP
OFHTACP
:::::
(,::
•••• 4 •• 4
•••• 4 •• 4
::: :CSTE
........
........
........
· .- .....
:...:Y:::.:
..
........
)
• .Z& ••••
CNSLCEMT
:::::: :6
CEMT
:::::: .Ii
CNSLCEMT
••.••.• D CEMT
........
........
........
:::::: :6
........
........
......
........
:::::: .y
........
........
........
:::::: :e
........
........
......
........
........
........
........
........
:::::: :6
........
:::::: :0
CEMT.* ••
DFHEMTP
DFHEMTP
DFHEITMT
OFHE ITMT
DFHEITMT
DFHE ITMT
:::::: :6
........
........
:::::: :6
........
• •• 0 ••
••••••• 8
:::::: :6
........
........
........
........
......
........
........
:::::: :6
........
.......
......
••. D ••
... -...
:::::: :6
........
DFHEMTO
DFHEMTD
DFHEMTD
DFHEMTD
••• & ••
DFHEMB
DFHEMB
./
~
DFHEMB
DFHEMB
CICS/DOS/VS Installati on and Operati ons Gui de
TMP OCT lOCAT!
TMP RETN NORMAL
KCP WAIT OCI:DISP
TOP RETN NORMAL
PCP RETURN
SCP FREEMAIN
SCP RELEASED RSA STORAGE
TACP
SCP FREEMAIN
SCP RELEASED TACL! STORAG!
PCP RETURN
KCP DETACH
SPP SYSTEM
SCP GETMAIN INITIMG
SCP ACQUIRED JCA STORAGE
TMP OWE
TMP RETN NORMAL
SPP RETN
KCP DEQALL
KCP TERMINATE
SCP FREEMAIN
SCP RELEASED TCA STORAGE
KCP WAIT DCI:TCP
REPEAT 00013 TIMES
SCP GETMAIN CONDITIONAL INITIMQ
SCP ACQUIRED TERMINAL STORAGE
GETM~IN
CONDITIONAL INITIMG
SCP
SCP ACQUIRED LINE STORAGE
KCP WAIT DCI=TCP
REPEAT 00013 TIMES
ATTACH-CONDITIONAL
TMP PCT LOCATE
TMP RETN NORMAL
scp GETMAIN CONDITIONAL INITIMG
SCP ACQUIRED TCA STORAGE
KCP CREATE
TMP PCT TRANSFER
TMP RETN NORMAL
KCP WAIT DCI=TCP
ZCP ZSUP START UP TASK
XSP SECURITY
pCP XCTL-CONDITIONAL
TMP PPT lOCATE
TMP RETN NormAL
KCP WAIT DCI:CICS
SCP GETMAIN I NIT IMG
SCP AC~UIRED USER STORAGE
SCP GETMAIN INITIMG
SCP ACQUIRED USER STORAGE
EIP ASSIGN ENTRY
EIP ASSIGN RESPONSE
EIP GETMAIN ENTRY
SCP GETMAIN INITIMG
SCP AC~UIRED USER STORAGE
EIP GETMAIN RESPONSE
EIP IGNORE-CONDITION ENTRY
SCP GETMAIN INITIMG
SCP ACqUIRED USER STORAGE
EIP IG~O~E·CONDITION RESPONSE
EIP RECEIVE-TC ENTRY
EIP RECEIVE-TC RESPONSE
EIP LOAD ENTRY
pCP LOCATE
TMP PPT LOCATE
TMP RETN NORMAL
pCP LOAD
TMP PPT LOCATE
TMP RETN NOQMAL
KCP WAIT DCI:CICS
KCP WAIT DCI:TCP
EIP LOAD RESPONSE
EIP LINK ENTRY
pCP LOCATE
TMP PPT LOCATE
TMP RETN NORMAL
SCP GETMAIN I NITIMG
SCP ACQUIRED USER STORAGE
pCP LINK-CONDITIONAL
TMP PPT LOCATE
TMP RETN NORMAL
SCP GETMAIN
SCP ACqUIRED RSA STORAGE
KCF' WAIT OCI:CICS
KCP WAIT DCI=TCP
SCP GETMAIN INITIMG
SCP ACQUIRED USER STORAGE
EIP ENTRY
pCP LOAD
TMP PPT LOCATE
TMP RETN NORMAL
SCP GETMAIN
SCP AC~UIRED PGM STORAGE
KCP W~IT DCI:CICS
SCP GETMAIN INITIMG
SCP ACQUIRED USER STORAGE
pCP DELETE
TMP PPT LOCATE
TMP RETN NORMAL
EIP RESPONSE
EIP ASKTIME ENTRY
KCP
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
23
~~
2q
2q
2q
2q
2q
2q
2q
2q
2q
2q
2q
2q
2q
Zq
2q
2q
2q
2q
2q
2q
2q
2q
2q
2q
2q
2q
Zq
2Q
2q
2q
2q
2q
2q
2q
2Q
54.142880
54.142q44
54.142q76
54.143040
54.143168
54.143Z32
54.187360
54.187424
54.187584
54.187712
54.187776
54.187872
54.187q04
54.187q36
54.188064
54.1880Q6
54.188160
54.1881q2
54.188256
54.188288
S4.1q0720
S4.1qOQ12
S4.1qOq44
54.1ql008
S4.1q1072
S4.1q1200
S4.1Q1328
S4.1~1360
54.237024
54.237056
54.237120
54.238208
S4.23Q328
S4.23q3q2
F3
F3
E1
E1
F1
C8
FC
FC
E1
F2
F1
Cq
F1
Cq
F1
Cq
E1
E1
Fl
Cq
E1
F2
F1
Cq
FO
FO
00
FC
FC
F1
Cq
Cq
Cq
Cq
6065848E
40657626
S0621Cq2
S0620EEC
40S4060E
S055A850
S0540B70
40541C3A
S0620EEC
6055F3AC
6055EFA2
S055A8~6
6055EOqE
5055A886
5053BECO
5055A886
5062F704
5062F736
4055A4FA
S055A886
S062F736
40SSF3AC
60SSEFA2
S055A886
405SEBOC
40S36EEA
505377B4
SOS36F3E
40545510
4053708A
50SSA886
SOSSA886
5055A886
50S5A886
1303
0055
00F4
0004
C304
0004
0103
0105
00F4
1004
4004
0004
4004
0004
4004
0004
00F4
0004
0004
0004
00F4
1004
4004
0004
8004
0304
0704
OB03
OBOS
4A04
0004
0004
0004
0004
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
00002
KCP
KCP
KCP
KCP
KCP
S4~~~~--------~~~~~4_~T.~CP
OCCO
OOOOOCEO
00000000
00000020
00000040
00000060
00000080
OOOOOOAO
OOOOOOCO
OOOOOOEO
OOOOOEOO
00000E20
000001:40
00001400
00001420
00001440
00001460
000014AO
000014CO
000014EO
00001500
00001S20
00001540
00001560
00001580
000015AO
00001SCO
00001SEO
00001600
00001620
00001640
00001660
00001680
000016AO
000016CO
000016EO
00001700
00001720
00001740
00001760
00001780
000017AO
000017CO
00001860
00001880
000018AO
000018CO
000018EO
OOOOHOO
00001Q20
0000H40
000021EO
00S70qBO
00000000
00000020
00000040
00000060
13S70A30
00573120
00000000
00573120
OOOOOOSF
0056EQCO
00810000
00810000
00000000
00000000
00573110
00573110
00S730BO
00S730BO
00572FBO
00S72FBO
00000000
00570B20
40000000
00570000
00000000
00000000
00S70B10
00570B10
00000000
00S61C36
04000400
04000000
04000000
00570000
00573360
00S72FOO
00570800
00570000
44000000
008117EA
EQCO
00000000
00001002
00001002
00000404
00534020
85000078
00534020
0056EqCO
00000404
OFHEMTO
00000000
01534020
8C000248
01534020
8QS700S8
01534020
8COOOOF8
00000E02
00000C04
q0570Q34
8C0021F8 ••••••• 8
00000C04
OFHEMTP
00000000
01534020
8C0001E8
00000000
00000000
C3C504E3
01534020
00534020
00000000
8C000008 ••• - ••• Q
8COOOOA8
8C000238
8A0408C8 :: ::::: Ii
00534400
008117EA
80534020
078 •• Z •••••
::2::::.:
::::: :Z:
:::::: .s
:::::: .Y
: :: :ce':'i-
::i:::"
ICP
ICP
EIP
EIP
SCP
SCP
ZCP
ZCP
EIP
PCP
SCP
SCP
SCP
SCP
SCP
SCP
EIP
EIP
SCP
SCP
EIP
PCP
SCP
SCP
KCP
KCP
KCP
ZCP
ZCP
SCP
SCP
SCP
SCP
SCP
KCP
GETIME
RETN NORMAL
ASKTIME RESPONSE
SENO-TC ENTRY
GETMAIN INITIMG
AC~UIREO TERMINAL STORAGE
ZARQ APPL REQ ERASE WRITE
RETN ZAR~ APPL REq ERASE WRITE
SENO-TC RESPONSE
IlETURN
FREEMAIN
RELEASEO USER STORAGE
FREEMAIN
RELEASEO RSA STORAGE
FREEMAIN
RELEASEO USER STORAGE
LINK RESPONSE
FREEMAIN ENTRY
FREEMAIN
RELEASEO USER STORAGE
FREEMAIN RESPONSE
RETURN
FREEMAIN
RELEASEO USER STORAGE
OETACH
OEQAll
TERMINATE
ZISP ISC FREE OETACH
RETN ZISP ISC FREE OETACH
FREEMAIN
RElEASEO USER STORAGE
RElEASEO USER STORAGE
RELEASEO USER STORAGE
RElEASEO TCA STORAGE
WAIT OCI=TCP
REPEAT
00571800 80S70BA8 OUOL~___
80570C05 00000000 00000003
2g2g~~~2 gg~~a~~~ gg~~a~~g ~g~~~~oEO~0--OO~0~0~""nr~~~~__~~~~~~Oo.SS77!1~8FF~0
00571880 00571800
00S718FO A0622Q8C
00000000 00000000
00000000 00501880
00000000 00000000
00000000 00000000
00000000 A0622Q8C
00000000 00000000
00000000 00000000
LINES TO 000013£0
00000000 00000000
00000080 00000000
00000000 00000000
LINES TO 00001480
00000000 00000000
40404040 40000000
00020080 07C10QE3
40404040 40400003
01010001 OOAOOOOO
00000040 00000000
00000000 00000000
00000000 00000000
C1040703 C540C4E4
00000000 00000000
00000000 00000000
00000000 00000000
00000040 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000040 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000100 00000000
00000000 00000000
00000000 00000000
LINES TO 00001840
00000000 00000000
40E20SC1 0740E3CQ
70504000 00000000
00000000 00000000
00000000 00000000
000008E8 00000000
00000000 00000000
LINES TO 000021CO
00000000 00000000
USER STORAGE
eC0001E8 00570000
00000000 00633A7e
0062F260 00630265
00000000 00S70QCO
00000000 00571A20
00622Q82 00000000
00000000 00S71Q40
00000000 00000000
00000000 00000000
00000000 00S71ACO
00622Q82 00000000
00000000 00623813
00000000 00000000
SAME AS ABOVE
00000000 00000000
08602001 00572138
00000000 00000000
SAME AS ABOVE
00000080 0000006!
00000001 0080E205
CQE3CQ06 05404040
40000001 00010000
00000000 00000000
00000000 00S720F4
00000000 00000000
00000080 00000020
04074040 40404040
00000000 00000000
00000000 00000000
00000000 00000000
01000200 03010401
00000000 00000000
00000040 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000040 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
SAME AS ABOVE
00000080 0000002B
E303C540 70E4E2C5
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
SAME AS ABOVE
00000000 00000000
00000000
00S70A78
00570AQC
00S34SE&
08000000
0062Fe71
00S70C3C
00000000
00000000
00S7183C
00S70COC
00000000
00000000
00000000
0057180C
00570C10
00000000
00000000
0062EQQC
00571880
00000000
00000000
00000000
00000001
00S71Q20
00000000
00S70COC
60622814
00623538
00000000
00000000
00S70C10
70622814
80S70BA8
00000000
005718S0
OOOOOOOq
00623510
00000000
00000000
00S718FO
OOOOOOOq
00000000
00000000
00000000 00000000 00000080 00000014
00000020 00050000 00800000 00000000
00000000 00000000 00000000 00000000
00000080
C1D74040
00038000
E3CQE303
00000000
&0572138
00000000
00000080
40404040
00000000
00000000
00000000
05010000
00000000
00000040
00000000
00000000
00000000
00000000
00000040
00000000
00000000
00000000
00000000
00000000
00000000
40404040
00010001
CS404040
00000000
&4108000
00000000
00000000
40404040
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
07CSOQC6
40404000
0000C606
40404040
00000040
28AOOOOO
00000000
E4E2C50Q
00000000
00000000
00000000
00000040
00000000
00000000
00000000
00000000
00000040
00000000
00000000
00000000
00000000
00000100
00000000
00000000
00000000
060Q0440
00000000
OQ04C1E3
01012000
0000002C
00000000
00000000
70E240E2
00000000
00000000
00000000
OOOOOOOA
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000080
OQ7070E2
00000000
00000000
00000000
00000000
00000000
00000000
40E2C104
00000000
00000000
00000000
00000000
00000000
4007CSOQ
0703CS40
00000000
00000000
000008E8
00000000
00000000
C6060Q04
C4E40407
00000000
00000000
00000000
00000000
00000000
•••••••••••••••••••••••••••• M
14 • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • 14
M- • • • • • • • • • • • • • • • • • • • • • • • • • • • • . , . OM
M •••••••••••••••••••••••••••••••• M
*
M ••• O ••••••• O •••••••••• Z.- •••••••
M •••••••••••••••
•••••••••••••••• M
M ••••• ) •••••••••••••••••••••••••• M
M •••••••••••••••••••••••••••••••• M
14 • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • 014
e ....................
M •••••••••••
M
l4 ••••••••••••••••••••••••••• Y •••• M
M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
* ................................ M
l4 ••••••••• - •••••••••••••••••••••• l4
M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
PERFORM l4
l4
••••••••• SNAP
••••• l4
M•••• PARTITION
•••••••••• FORMATl4
l4
••••••• TITLE
•••• l4
14 • • • • • • • • • • • • • • • • • • • • • • • •
M ••••••••••••••••••••••••••••••• M
14 • • • • • • • • • • • • • • 4 •••• 0 • • • • • • • • • • • l4
M •••••••••••••••••••••••••••••••• M
l4 •••••••••••••••••••••••• USER·S SM
MAMPLE ~UMP
•••••••• l4
M •••••••••••••••••••••••••••••••• M
M • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • If
l4 ••••••••••••••••••••••••••••••• l4
M. ••
• ••••••••••••• ~ •••••••••••••
*
l4 •••••••••••••••••••••••••••••••• M
• • • • • • • • • • • • l4
14...........
M •••••••••••••••••••••••••••••••• M
M ••••••••••••••••••••••••••••••• M
14 • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • M
M • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • l4
M...........
. ........... M
M •••••••••••••••••••••••••••••••• M
M • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • oM
M ••••••••••••••••••••••••••••••••
*
M •••••••••••••••••••••••••••••••• M
M •••••••••••••••••••••••••••••••• M
l4 •••••••••••••••••••••••• PERFORMI4
l4 SNAP TITLE( 'USER"S SAMPLE OUMPl4
l4') ••••••••••••••••••••••••••••• l4
M •••••••••••••••••••••••••••••••• M
M •••••••••••••••••••••••••••
Y •••• 14
M • • • Y •••••••••••••••••••••••••••• M
M ••••••••••••••••••••••••••••••••
*
e .... M
00000000 00000000 &C0021F6 00S70QBO
M •••••••••••••••••••••••••••
00000000
6062F266
00570QCO
00000000
M ••• Y, ••••••••••••••••••••••••• 7.*
M ••••••••••••••
.2 ••••••••••••• l4
00570S2C
00S70ABC
00S70BA8
00000000
00000000
00S70S1C
00000000
00000000
5062F704
00000720
00571520
00000000
Chapter 2.2.
e. -
M •• 2- ••••••••••••••••••• Y •••••••• M
M • • • • • • • • • • • Y ••••••••••••••••••••
*
System Data Sets
57
00000080
000000040
OOOOOOCO
OOOOOOEO
00000100
00000120
00000140
00000160
00000180
000001040
000001CO
OOOOOlEO
AOORESS
M •••••••••••••••••••••••••••••••• M
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
M •••••••••••••••••••••••••••••••• M
00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
M • • • • • • • • • • e .....••. Y ••••••• Cit •••• M
00000000 00000000 0062F871 00570A6C 005706048 e0570A<;IC 80570A<;Ie 00000000
M • • • Y ••••••• Y.Y •••••••••••••••••• M
00000000 00000000 00000000 00000000
00570BA8 00000000 000021E8 21E80000
M • • • • • • • • • • • • OFHEMTO •••••••••••• M
00000000 00000000 00000000 C4C6C8C5 04E3C440 00000000 00000000 00000000
* ................................ iIE
00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
M •••••••••••••••••••••••••••••••• M
00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
M •••••••••••••••••••••••••••••••• M
00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000108
MO ••••••• DFHEMTO OFHEITMT ••••• C •• M
F0000016 004COOOO C4C6C8C5 04E3C440 C4C6C8C5 CQE304E3 0233124C 0083070F
*CEMT ••• MCNSl •••••••••••••••••••• *
C3C504E3 0000005C C305E2D3 00000000
00000000 00000000 00000000 00000000
i'
40404000
00000000
00000000
00000000 00000000 00000040 40404040
00000000
~
Y....
-II(
00000000 00000000 8COOOIE8 00570000
ERROR
PAGE C.B.
AODRESS
PAGE
C.B.
ERROR
PAGE C.6.
ERROR
AOORESS
NO
TYPE COUNT
NO
TYPE COUNT
NO
TYPE COUNT
0065Q240
OVRPM
005338q6
33
TCT
2
0056BA04
26
SKT
00533qOO
15
ZEPO
0065<;18040
3
SU6SAV
00566B24
26
SKT
SUBSAV
0065Q<;l20
3
00533E20
34
TCTOTF
0056SB04
26
SKT
StPCOM
3
00533E50
34
TCTOTF
0056BC44
24
OSG
0065G1'1AO
00533E88
34
TCTOTF
0056C414
23
OSG
00533EB8
34
TCTlE
0056C6E4
22
OSG
00533F14
34
TCTlE
00560364
20
OSG
lq
OSG
00534020
51
TCTTE
00560AC4
00534120
52
TCTTE
0056EI04
26
OSG
00534226
52
TCTSE
0056E2E4
26
DSG
00534300
52
TCTSK
0056E4F4
21
SKT
00534400
34
TCTWl
34
PPT
0056E4F4
005345E6
1
CSA
0056E800
52
TIOA
00534QE6
1
CSA
0056E8EO
52
TIOA
00534C26
2
CMXT
0056F000
15
TSUT
00534Co40
52
OCA
54
OCA
0056F800
00534030
53
TCA
55
TCA
00570000
00534E70
53
TCA
00570140
54
TCA
005350CO
54
TMlL
00570440
57
PCl
00535110
54
lFS
00570470
56
EIS
56
TMLl
00535486
16
TCA
00570628
005355C6
15
TCA
00570680
56
LFS
00570<;160
00535760
16
TMll
60
USER
00535800
16
LFS
005706040
58
USEQ
00536006
32
SECBL
58
USER
005720040
00566000
32
OTF
57
USEQ
00572E50
005661040
32
OCT
00572F50
57
RSA
005661B4
32
OCT
57
USER
00572F60
~05661C4
32
OCT
00573200
57
USER
00566104
32
OCT
006302EO
32
SSA
005661E4
33
OCT
00630340
18
SSA
005661F4
33
OCT
2
STR
00630448
00566204
33
OCT
006308BO
27
SSA
00566214
33
OCT
006326FO
17
SSA
005604620
14
TSMAP
00633'1040
17
SSA
15
RPl
18
SSA
0056040440
006330420
0056AABO
15
RPl
27
SSo4
006330470
0056AB50
14
PAM
18
TMSS
00633850
005604070
14
MAPl
00633C<;I0
17
SSAL
TQT
3
0056AE03
14
MAP2
006330CO
0056BQ34
16
SKT
SIT
2
00658E08
00566Q34
46
PCT
006s<;l208
2
SIMOOS
005660464
21
SKT
0065G1220
3
ATP
VEQS'N TIME DATE OPTIONS
NAM!
ENTRY
LOAD
ENTRY
LOAO
NAME
VERS'N TIME OAT! OPTIONS
POINT
POINT
POINT
POINT
40
01601
00636DF6 00636cce OFHFDP
00533SQe 00533860 OFHTCTlt 01601
00
40
01601
40
006401EO 006401ce OFHSCQ
00536206 005361FO OFHEKC
01601
40
006417E4 006417C8 OFHKPPDY 01601
40
00536260 005362QO OFHKCP
01601
00
00641ECO 00641EA8 OFHSRTl$ 01601
0053Q366 0053'13040 OFHAlP
01601
40
40
006421C4 006421048 OFHSRPl$ 01601
005304806 0053A7FO OFHEEI
01601
40
01601
00
00643030 00643018 OFHMGT
40
0053633C 00536320 OFHEIP
01601
40
01601
0064AQAO 006404'188 OFHMGP
40
0053CC16 0053CCOO OFHESP
01601
40
01601
0064CBOO 0064CAE8 DFHEEX
40
0053C06C 0053COAO OFHSPP
01601
40
01601
0064CEOO 0064COE8 OFHE6U
40
0053F826 0053F810 OFHERM
01601
40
01601
0064CFCO 0064CFA8 OFHlFO
0053FE66 0053FEAO OFHXSP
01601
40
40
00640440 00640428 DFHOIPOY 01601
40
00540106 005401CO OFHETC
01601
40
006404QO 00640478 OFHEOI
01601
0054150C 005414FO OFHZCPS$ 01601
4000FFEFFC
40
00640COC 00640698 OFHOCPO$ 0160t
4000EFFDFFBOFFFF7FFF
00545566 005455'10 OFHTCPS$ 0160t
40
01601
0064EF80 0064EF68 DFHEDC
00553268 005532040 OFHETL
01601
40
00:00 .58/ 2 FO
20
0064F78A 0064F778 DFHSAP
40
00554376 00554360 OFHZCXS$ 01601
40
00655150 00655138 OFHBFPlt 01601
00558024 00558008 OFHTMP
0160U
00
40
01601
00656700 006567B8 OFHEBF
40
005504420 005504408 OFHESC
01601
40
00656E58 00656E38 DFHJCPOY 01601
40
005~A540 005504518 OFHSCP
01601
40
DFHEJC
01601
00656ECO 00656EA8
40
0055E800 00550006 OFHPCP3$ 01601
40
01601
006574FO 00657408 OFHICP
40
00560230 00560218 OFHEPC
01601
40
01601
00658440 00658428 DFHEIC
40
00563350 00563338 OFHEFC
01601
00
00658E08 0065S0FO DFHSITl$ 01601
4000004000
00563E44 00563E28 OFHFCPOY 01601
40
01601
0065Q286 0065Q270 DFHCICS
40
00564020 00564008 OFHETS
01601
40
0056438C 00564358 OFHTSP2$ 0160t
0000
005661040 00566006 OFHOCT1$ 01601
40
005662CO 005662048 OFHETO
01601
4000704
0056655C 00566536 OFHTOP6$ 01601
40
005673CO 005673046 OFHUEM
01601
40
00567C60 00567C46 OFHEMS
0160t
40000000000005
005684F4 00568408 OFHMCPOY 01601
00618020 00618008 OFHOCP
01601
0061Q020 0061Q008 OFHEM9
01601
006104024 006104006 OFHTEP
01601
00616020 0061B008 OFHFElG
01601
0061B820 00618808 OFHTACP
0160t
006lFAI0 006lFAI0 OFHTEPT
00 ::0
0:0 58/
00620820 00620800 OFHEMTD
0160U
006208FO 006208FO DFHEITMT 160::0 00:14 58/ 0
0062F260 0062F240 DFHEMTP
0160U 23:56 04/23
00633CEO 00633CC6 DFHVCPDY 0160t
00637EIO 006370F8 OFHTRPD$ 01601
40
40
006365EO 00636SC8 OFHETR
01601
40
00636774 0063B758 OFHCMPOY 01601
ENO OF CICS/VS FORMATTED DUMP
M...........
••••••••••
II
II
58
CICS/DOS/VS Installat i on and Operat ions Gu ide
It
. ............
CICS TRACE
processing the Auxiliary Trace Data set
//
//
//
//
//
JOB PRTAUX
DLBL DFHAUXT,'CICS160.AUX.TRACE.A'"SD
EXTENT SYSOOl,,1,O,260,40
ASSGN SYSOOl,DISK,TEMP,VOL=M3350A,SHR
EXEC DFHTUP,SIZE=80K,PARM='DEVICE=DISK'
/*
/&
(This job is included in Z.DFHSPJCL)
Figure 21. Processing the Auxiliary Trace Data Set
Notes:
1.
In the above sample job, the file name must be DFHAUXT.
2.
You may also need to add:
// LIBDEF CL,SEARCH=C160PCL
before the EXEC statement.
3.
The DEVICE= operand included here indicates that the
auxiliary trace has been recorded on disk. Further operands
can be added to indicate that trace entries are to be selected
according to specified criteria (for example, those entries
resulting from specified transactions or occurring between
specified times). See Chapter 4.8 for details of the
parameters that can be used.
Chapter 2.2.
System Data Sets
59
sample CICS Auxiliary Trace output
The CICS/VS Performance Guide describes a trace in some detail.
CUSTOME~
INFO~MATION
SELECTION PARAMETERS:
AUXILIARY T~ACE ACTIVATED AT
TIME OF DAY
10
REG 14
23 32:26.463552
F2 SOS36COA
23 ~2:26.46364S
EA 40SSE036
23 32:26.46380S EA 405S~OE8
23 32:26.463~36
E1 40621760
23 32:26.464576
E1 50621C92
23 32:26.464672
F3 606S848E
23 32:26.464704 F3 40657626
23 32:26.464736
El 50621C~2
23 32:26.464832
E1 S0620EEC
23 32:26.464928 Fl 4054060E
23 32:26.465056 CS SOSSA850
23 32:26.465120
FC 50540670
23 32:26.465184 FC 40541C3A
23 32:26.465216
E1 50620EEC
23 32:26.465280
F2 60SSF3AC
23 32:26.465312
F1 60SSEFA2
23 32:26.465344 C9 SOSSA886
23 32:26.465376
Fl 60SSED9E
23 32:26.465440 C9 SOSSA886
23 32:26.465504 Fl SOS36ECO
23 32:26.465568 C9 5055A886
23 32:26.465600
El 5062F704
23 32:26.465664 El S062F736
23 32:26.465696
F1 40SSA4FA
23 32:26.465728 C9 50SSA886
23 32:26.468224 El 506ZF736
23 32:26.468416
F2 40S5F3AC
23 32:26.468448 Fl 60SSEFA2
23 32:26.468544 C9 SOS5A886
23 32:26.468608 FO 405SE60C
23 32:26.468736
FO 40536EEA
23 32:26.468800 00 S05382F2
23 32:26.468864 DO 50537784
23 32:26.468928 FC SOS36F3E
23 32:26.469024 FC 40545510
23 32:26.469056
Fl 40S3708A
23 32:26.499232 C9 SOSSA886
23 32:26.500320 C9 SOSSA886
23 32:26.501504 C9 50SSA8S6
23 32:26.503456 00 S05382F2
23 32:26.510080
FO 40541660
23 32:26.510144 DO S053S2F2
23 32:26.514592
FO 40541660
23 32:26.514688 00 SOS382F2
23 32:26.519744 FO 40541660
23 32:26.519808 00 50S382F2
23 32:26.520640
F1 SOS45C1C
23 32:26.520704 C9 505SA886
23 32:26.520768 F1 40S4SCCO
23 32:26.521824 C9 50S5A886
23 32:26.521920
F1 40545666
23 32:26.521984 C8 SOSSA8S0
23 32:26.526112
FO 40541660
23 32:31.520960 DO SOS382F2
23 32:31.521120 DO SOS382F2
23 32:31.522432
FO 40541660
23 32:36.527040 DO 50S382F2
23 32:36.527168 00 SOS382F2
23 32:36.528512
FO 40541660
23 32:38.862976 DO SOS382F2
23 32:38.863104 DO 50S382F2
23 32:38.865696
FO 50SS1E42
23 32:38.865792
EA 705368A2
23 32:38.866208 EA 40SS90E8
23 32:38.866304 Fl 40S36AOO
23 32:38.868288 C8 505SA850
23 32:38.868384 00 50537764
23 32:38.868448 EA 40536D94
23 32:38.868544 EA 40SS90E8
23 32:38.S68S76 DO 50S382F2
23 32:38.868672
FO 40541660
23 32:38.868736 DO 50S382F2
23 32:38.869120
FC 05S434F8
23 32:38.869504
ES 40543SAA
23 32:38.869632
F2 S0543CEO
23 32:38.869664 EA 40SSED36
23 32:38.869792
EA 405S90E8
23 32:38.870432
Fl 605367C4
23 32:38.870496 C8 S055A8S0
23 32:38.870560
El S062F32E
23 32:38.870656
E1 S062F32E
23 32:38.870688 E1 S062F428
23 32:38.870720
F1 40SSA498
23 32:38.873760 C8 SOSSA8S0
23 32:38.873824 El 5062F428
23 32:38.873888 El 4062F4E8
23 32:38.873952
F1 60S36ECO
60
CONT~OL SYSTEM
DEVICE=OISK
23:32:33.6S
REQD TASK
FIELD A
OS04 OOOO~ 00000000
0003 OOOO~ 01000300
0005 00009 01000300
00F4 00009 00000000
0004 00009 00S72FCO
1303 00009 13570500
0055 00009 00S72FCO
00F4 OOOO~ 00000000
0004 00009 00S72FCO
C304 00009 00000066
0004 00009 00S6E9CO
0103 00009 00810000
0105 00009 00810000
00F4 00009 00000000
1004 00009 00000000
4004 00009 00S72FBO
0004 00009 00S72FBO
4004 00009 00S72FSO
0004 OOOO~ 00S72FSO
4004 00009 00S72E50
0004 00009 00S72E50
00F4 00009 00000000
0004 00009 005709CO
0004 00009 40000000
0004 00009 00S706AO
00F4 00009 00000000
1004 00009 00000000
4004 00009 00570960
0004 00009 00570960
8004 00009 00000000
0304 00009 00000000
0504 00009 00000000
0704 00009 03380400
0603 00009 04000000
0605 00009 04000000
4A04 KCP
00570000
0004 KCP
00573200
0004 KCP
00S720AO
0004 KCP
00570000
0504 TCP
00000000
4004 TCP
44000000
0504 TCP
00000000
4004 TCP
44000000
OS04 TCP
00000000
4004 TCP
44000000
OS04 TCP
00000000
4004 TCP
00S6E9CO
0004 TCP
00S6E9CO
6004 TCP
00000000
0004 TCP
00S6E8EO
ES04 TCP
00000052
0004 TCP
00S6E8EO
4004 TCP
44000000
0904 KCP
80000000
OS04 TCP
00000000
4004 TCP
44000000
0904 KCP
80000000
OS04 TCP
00000000
4004 TCP
44000000
0904 KCP
00000000
0504 TCP
00000000
1304 TCP
C3DSE2D3
0003 TCP
01040100
0005 TCP
01040100
EA04 TCP
000009A8
0004 TCP
00570000
0604 00010 C3DSE2D3
0003 TCP
OC000100
0005 TCP
OC000100
OS04 TCP
00000000
4004 TCP
44000000
0504 00010 00000000
OS03 00010 00000000
OC03 00010 00000000
8804 00010 00000000
0003 00010 01000300
0005 00010 01000300
CC04 00010 00000108
0004 00010 00570960
0004 00010 00S709CO
00F4 00010 00000000
0004 00010 00S709CO
0004 00010 COOCOOOO
0004 00010 00S70BAO
00F4 00010 00000000
0004 00010 005709CO
CC04 00010 0000009E
T R ACE
FIELD B
00000000
005701C4
00S61Cl0
0000840A
00001002
00000000
00001002
00001002
00000404
00534020
85000078
00534020
0056E9CO
00000404
00000000
01534020
~i~g2~~~
89570058
01534020
eCOOOOF8
00000E02
00000C04
90570404
8C0021F8
00000C04
00000000
01534020
8COOOIE8
00000000
00000000
ggg~g2~g
UTI LIT Y
CHA~S
~ESOU~CE
•••••••• DFHEMB
••••.•• 0 DFHEMB
••••••••
••••••••
••••••••
••••••••
••••••••
••••••••
••••••••
•••••• •
•• Z •••••
•••••••
•••••• Z.
••••••••
•••••••• DFHEMTD
•••••••
:::&::.:
•••
.!t ••••
••• .!t • • •
••• .!t ••• 8
••••••••
••••••••
•••••• M
••••••• S
••••••••
•••••••• DFHEMTP
•••••••
••••••• Y
••••••••
••.•••••
::::CEMT
01534020 •••••••
00534020 •••••• •
00000000 ••••••••
8C000008 ••••••• ~
8COOOOA8 ••••••••
8AO*09A8 ••••••••
00000000 ••••••••
00534400 ••••••••
00000000 ••••••••
00534400 ••••••••
00000000 •.••••••
00534400 •.••••••
00000000 .••••••••
80534020 •• Z . . . .
85000078 •• Z .••..
80534020 ••.••• •
85000068 •• Y•••••
80534020 •••••••
85000068 •• Y •••••
00534400 ••••••••
3A9·S61CB •••••• /.
00000000 ••••••••
00534400 ••••••••
3A98668E ••••••••
00000000 ••••••••
00534400 ••••••••
3A9866S5 ••••••••
00000000 ••••••••
C3C5D4E3 CNSLCEMT
00S34Foe •••••••• CEMT
00SSCFC4 ••••••• 0
80534020 •••••••
~~g;g1~~
0055CFC4
00000000
00000000
00534400
00000000
00534020
00000000
00000000
00S701C4
00561988
g~~~ci~~g
00000208
00000208
00000C02
90570404
8C0021F8
00000C02
0000020A
01534020
CNSlCEMT
••••••• 0
••••••••
••••••••
••••••••
••••••••
•••••••
••••••••
••••••••
••••••• 0
••••••••
::::::.
y
••••••••
••••••••
••••••••
••••••• M
••••••• 8
••••••••
••••••••
•••••••
CICS/DOS/VS Installati on and Operati ons Gui de
CEMT
CEMT.M ••
DFHEMTP
DFHEMTP
PRO G RAM
TYPE
DELETE
PPT LOCATE
RETN NO~MAL
RESPONSE
ASKTIME ENT~Y
GETIME
RETN NORMAL
ASKTIME RESPONSE
SEND-TC ENTRY
GETMAIN INITIMG
ACQUIRED TERMINAL STO~AGE
ZARQ APPL REQ ERASE WRITE
RETN ZARQ APPL RE~ ERASE WRITE
SEND-TC RESPONSE
T~ACE
PCP
TMP
TMP
EIP
EIP
ICP
ICP
EIP
EIP
SCI'
SCI'
ZCP
ZCP
EIP
PCP
SCP
SCP
SCP
SCP
SCP
SCP
Ell'
EIP
SCP
SCP
EIP
PCP
SCP
SCP
KCP
KCP
KCP
KCP
ZCP
ZCP
SCI'
SCI'
SCP
SCP
KCP
KCP
KCP
KCP
KCP
KCP
KCP
SCP
SCP
SCP
SCP
SCP
SCP
KCP
KCP
KCP
KCP
KCP
KCP
KCF'
KCP
KCP
KCP
TMP
TMP
SCP
SCP
KCP
TMP
TMP
KCP
KCP
KCP
ZCP
XSP
PCP
TMP
TMP
SCP
SCP
EIP
EIP
EIP
SCP
SCP
EIP
EIP
SCP
RETU~N
FREEMAIN
RELEASED USER STORAGE
FREEMAIN
RELEASED RSA STORAGE
FREEMAIN
RELEASED USER STORAGE
LINK RESPONSE
FREEMAIN ENTRY
FREEMAIN
RELEASED USER STORAGE
FREEMAIN RESPONSE
RETURN
FREEMAIN
RELEASED USE~ STO~AGE
DETACH
DE~ALL
DISPATCH
TERMINATE
ZISp ISC FREE DETACH
RETN ZISP ISC FREE DETACH
FREEMAIN
RELEASED USER STORAGE
RELEASED USER STORAGE
RELEASED TCA STORAGE
DISPATCH
WAIT DCI=TCP
DISPATCH
WAIT DCI=TCP
DISPATCH
WAIT DCI:TCP
DISPATCH
FREEMAIN
RELEASED TERMINAL STO~AGE
FREEMAIN ALL
RELEASED TE~MINAl STO~AGE
GETMAIN CONDITIONAL INITIMG
ACQUIRED TERMINAL STORAGE
WAIT DCI=TCP
SYSTEM RESUME
DISPATCH
WAIT DCI=TCP
SYSTEM RESUME
DISPATCH
WAIT DCI=TCP
SYSTEM RESUME
OISPATCH
ATTACH-CONDITIONAL
PCT LOCATE
RETN NORMAL
GETMAIN CONDITIONAL INITIMG
ACQUIRED TCA STO~AGE
CREATE
PCT TRANSFER
RETN NORMAL
DISPATCH
WAIT OCI=TCP
DISPATCH
ZSUP START UP TASK
SECUIUTY
XCTL-CONDITIONAL
PPT LOCATE
RETN NORMAL
GETMAIN INITIMG
ACQUIRED USER STORAGE
ASSIGN ENTRY
ASSIGN RESPONSE
GETMAIN ENTRY
GETMAIN INITIMG
ACQUIRED USER STO~AGE
GETMAIN RESPONSE
IGNORE-CONDITION ENTRY
GETMAIN INITIMG
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:32
23:~2
23:32
23:32
23:32
23:32
23:32
END 0
38.873984
38.874048
38.874080
38.874240
38.874336
38.874368
38.874432
38.874528
38.874560
38.874592
38.874656
38.874752
38.874784
38.886080
38.856176
38.886336
38.886400
38.886528
38.886560
38.886624
38.886688
38.886720
38.886752
38.886944
C8 SOSSA8S0
El 4062F4E8
El S062F516
El 5062F516
El 5062F6DO
F2 60560258
EA 405SED36
EA 405S90E8
F2 40S3C144
EA 405SED36
EA 405590E8
El 5062F6DO
El 5062F704
F2 60560258
EA 4055ED36
EA 405590E8
Fl 6053BECO
C8 S055A8S0
F2 5053C144
EA 4055ED36
EA 40SS90E8
Fl 4055E96E
C8 5055Ae50
Fl 6053B7C4
38.88e·864
C8 5055A850
38.892672
E1 40621760
38.892768 F2 5053BA9E
38.892832
EA 4055ED36
38.892992
EA 405590E8
38.893152
Fl 6053SECO
38.893216 C8 5055A850
AUXILIARY TRACE DATA
0004
00F4
0004
00F4
0004
8204
0003
0005
0404
0003
0005
00F4
0004
8204
0003
0005
CC04
0004
8104
0003
0005
8904
0004
CC04
0004
0004
0404
0003
0005
CC04
0004
-
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
00010
TOTAL
TRACE
TRACE
........
........
........
........
........
........
........
........
........
........
........
........
........
........
........
......
........
........
........
........
00572DAO 8COOOOA8
00000000 0000020A
005709CO 00000402
00000000 00000402
00S709CO 00000E06
00000000 00000000
DFHEITMT
01000300 005701C4 ••••••• 0 DFHE ITMT
01000300 00561900
00000000 00000000
DFHE ITMT
01000300 005701C4 ••••••• 0 DFHE ITMT
01000300 00561900
00000000 00000E06
005709CO 00000E02
DFHEMTO
00000000 00000000
01000300 005701C4 ••••••• 0 DFHEMTD
01000300 00561880
OOOOOOFO 01534020 ••• 0 ••
00572E50 eCOOOOF8 ••• .!c ••• 8
00000000 00000000
DFHEMTD
01000300 005701C4 ••••••• 0 DFHEMTD
01000300 00561B80
00570050 01534020 ••• .!c ••
00572FSO 8957005e ••• .!c ••••
00000232 01534020
00572FBO 8COO0248
00572FCO 0000840A
00000000 00000000
DFHEMB
01000300 005701C4 ••••••• 0 DFHEMB
01000300 00561C10
000000C4 01534020 ••• 0 ••
00573200 8COOOOD8 ••••••• Q
TIME ACTIVE
00:00:05.21
RECORDS READ
118
RECORDS SELECTED
118
Chapter 2.2.
SCP
EIP
EIP
EIP
EIP
PCP
TMP
TMP
PCP
TMP
TMP
EIP
EIP
PCP
TMP
TMP
SCP
SCP
PCP
TMP
TMP
SCP
SCP
SCP
SCP
EIP
PCP
TMP
TMP
SCP
SCP
ACQUIRED USER STORAGE
IGNORE-CONDITION RESPONSE
RECEIVE-TC ENTRY
RECEIVE-TC RESPONSE
LOAD ENTRY
LOCATE
PPT LOCATE
RETN NORMAL
LOAD
PPT LOCATE
RETN NORMAL
LOAD RESPONSE
LINK ENTRY
LOCATE
PPT LOCATE
RETN NORMAL
GETMAIN INITIMG
ACQUIRED USER STORAGE
LINK-CONDITIONAL
PPT LOCATE
RETN NORMAL
GETMAIN
ACQUIRED RSA STORAGE
GETMAIN INITIMG
ACQUIRED USER STORAGE
ENTRY
LOAD
PPT LOCATE
RETN NORMAL
GETMAIN INITIMG
ACQUIRED USER STORAGE
System Data Sets
61
Chapter 2.3. Sample Application Package and CICS Tables
Chapter 2.2 described the setting up of some of the CICS data sets
commonly used while running a CICS system. This was done in
preparation for the central task necessary to complete the
installation of a working system, that is, installing and
integrating your own application programs or application packages
with the base distributed system whose installation was described
in Part 1.
In general, installing application programs involves assembling
(or translating and compiling) them and link-editing them to a
private core image library other than the CICS core image library.
Further, the application programs (and other entities) have to be
made known to the CICS system by including their definitions in
CICS control tables. This chapter continues the tutorial
approach of the last chapter, and explains the steps necessary to
set up a CICS system based on the sample application programs
provided on the distribution tape.
Your application programs are supplied by you to perform the
specific applications required by your installation. The CICS
system provides the management modules that control and manage
these programs and service CICS requests made by them.
A frequent requirement of an application program is to display
information on a display terminal or to read information from the
terminal. This involves sending to the terminal a data stream,
which includes not only the information to be displayed but also
the encoded layout of the information on the screen. The data
stream is in the form of screen addresses, attributes of the
various fields, position of the cursor, and so on. The
construction of this data stream is both arduous and prone to
error.
To relieve the application programmer of the need to be concerned
with device data streams and, furthermore, to allow application
programs to be written in a form that is independent of the
characteristics of a specific device, CICS allows the layout of
data on the screen to be expressed in terms of maps.
A map is defined independently of the application program. The
application program refers to the map and to fields within it by
name, when it is building up a screen of information. The defined
map is then used by CICS to construct the actual data stream that
is sent, at run time, to the terminal. The interpretation of the
defined maps and the construction of the data stream are performed
by Basic Mapping Support (BMS), a major component of CICS, which
is fully described in the CICS/VS Application Programmer's
Reference Manual (Command level).
CICS SYSTEM RESOURCES
Application programs and maps are examples of what are known to
the CICS system as resources. Other examples are user fi les,
queues (transient data and temporary storage), transaction
identifiers, terminal identifiers, and so on. These, together
with their characteristics, must be defined to the CICS system in
the form of CICS control tables. In the case of transaction
identifiers and application programs, these resources may also,
or alternatively, be defined online while CICS is running (see
"Chapter 2.9. Migrating Resource Definitions").
Any number of alternative versions of the control tables may be
set up, defining different combinations of resources to be used
for particular environments. The different tables of a
particular type are distinguished by appending a 2-character
suffix to the base table name. The environment for a particular
Chapter 2.3.
Sample Application Package and CICS Tables
63
CICS run is then defined by the suffixes chosen for the various
tables during CICS initialization time at start up. In addition,
of course, versions of the CICS management modules must be
selected that will support the resources used.
SAMPLE APPLICATION PROGRAMS
In order to demonstrate how to install application programs and
how to define them and the resources they use to the CICS system,
a set of sample application programs has been included with the
pregenerated system. These are provided in source form as A., C.,
P., and R. source books in the CICS source statement library in
Assembler, COBOL, PL/I, and RPG II versions respectively. The
programs use the command-level interface when making CICS service
requests. The function of the sets of programs in each of the
four languages is identical.
The names of the programs in each set are given in Appendix E.
Associated with the programs are a number of maps used by the
programs to format data on an IBM 3270-series display terminal.
Like the programs, the maps must be assembled and link-edited to a
private core image library.
The pregenerated system contains not only the source versions of
these sample application programs and maps, but also their
already assembled (or compiled) and link-edited forms in the CICS
core image library. This part of the installation will not,
therefore, be discussed further in the present chapter. If you
wish to carry out the assembly or compilation of these programs
for yourself, you will need to define a private core image library
and follow the instructions given in "Chapter 3.3. Installing Map
Sets and Partition Sets" and "Chapter 3.4. Installing
Application Programs."
CREATION OF THE USER FILE FILEA
In order to run the sample application programs (and, indeed, any
typical application program), you will need to create a file (or
files or data bases) of the data to be used by the programs. In
general, such files can be either VSAM, ISAM, or DAM files; or
they can be managed by DL/I, but this would require the
installation of the DL/I DOS/VS program product on your system.
Specifically, the sample application programs require a VSAM file
known as FILEA to be created. This is a key-sequenced file that
you must define in VSAM space and then load with the initial data
needed to run the sample application programs. The following job
can be used to perform the definition:
64
CICS/DOS/VS Installation and Operations Guide
// JOB DEFILEA CREATE VSAM FILEA CLUSTER
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
CNAMECSAMPLE.TEST.FILEA)
INDEXED
BUFFERSPACE(4096)
RECORDSIZEC80 80)
RECORDSC500 200)
KEYSC6 1)
SHAREOPTIONS(2)
VOlUMESCM3350A»
DATA
CNAMECSAMPLE.TEST.FILEA.DATA»
INDEX
CNAMECSAMPLE.TEST.FILEA.INDEX»
CATAlOGCCICS160.UCAT)
lISTCAT ENTRIESCSAMPLE.TEST.FllEA) All
CATALOGCCICS160.UCAT)
-
CThis job is included in Z.DFHSPJCL)
Figure 22. Defining the User File FllEA
The file has here been defined in VSAM space belonging to the
previously-defined user catalog CICS160.UCAT. The definition is
similar to that used for auxiliary temporary storage and
intrapartition transient data except for the fact that those data
sets are defined as nonindexed. In the case of FllEA, an index
component is also defined. (If the index component name is not
explicitly given in the defining job, a .name will be generated by
VSAM.)
Any indexed Ckey-sequenced) VSAM file must be loaded with at least
one record before it can be used for VSAM processing. The
following job loads FILEA with the data required for the sample
application programs:
Chapter 2.3.
Sample Application Package and CICS Tables
65
JOB INTFILEA
DLBL CICSUCT,'CICSI60.UCAT'"VSAM
/ / DLBL FILEA,'SAMPLE.TEST.FILEA'"VSAM,CAT=CICSUCT
// EXEC IDCAMS,SIZE=AUTO
REPRO INFILE
(SYSIPT
ENVIRONMENT
(BLOCKSIZE(80)
RECORDFORMAT(FIXUNB)
RECORDSIZE(80»)
OUTFILE(FILEA)
SURREY, ENGLAND
3215677826
000100W. DAVIS
WARWICK, ENGLAND
9835618326
000102F. ALDSON
LONDON, ENGLAND
1284629326
000104S. BOWLER
CROYDON, ENGLAND
1948567326
000106B. ADAMS
SARATOGA, CALIFORNIA 4612075301
000111GENE BARLOWE
SAN JOSE,CALIFORNIA 2231212101
000762GEORGE BURROW
WASHINGTON, DC
3451212021
000983H. L. L. CALL
BOBLINGEN, GERMANY 7031555110
001222J.R.REYNOLDS
SINDELFINGEN,GERMANY7031999021
001781HAROLD JAMES
PARIS, FRANCE
1234567010
003210M. P. CREPIN
SUNNYVALE, CAL.
3411212000
003214HUBERT C HERBERT
003890PHILIPPE SMITH, JR NICE, FRANCE
0000000028
DUBLIN, IRELAND
7111212102
004004STAN SMITH
SOUTH BEND, S.DAK. 6121212010
004445DANIEL O'GALWAY
SUNNYVALE, CALIF.
3221212010
004878D.C. CURRENT
SAN FRANCISCO, CA. 0000000101
005005J. S. LAVERENCE
SARATOGA, CALIF.
6771212020
005444JEAN LAWRENCE
BOSTON, MASS.
4131212011
005581JOHN ALDEN III
NEW DELHI, INDIA
7033121121
006016DR W. T. KAR
NEW YORK, N.Y.
2121212031
006670WILLIAM KAPP
0069680. CONRAD
WARWICK, ENGLAND
5671382126
STUTTGART, GERMANY 7031100010
007007BRIGITTE EICRN
REDWOOD CITY, CALF. 3331212111
007248B. C. WILLIAMSON
SAN JOSE, CALIF.
4151212003
007779MRS. W. WELCH
TORONTO, ONTARIO
0341512126
100000G. NEADS
OTTAWA, ONTARIO
5121200326
111111C. MEARS
GLASGOW, SCOTLAND 6373829026
200000A. BONFIELD
FRANKFURT, GERMANY 2003415126
222222J. WIEBERS
NEW YORK, U.S.
6473980126
300000K. TRENCHARD
CARDIFF, WALES
7849302026
3333330. MYRING
MILAN, ITAL Y
2536373826
400000W. TANNER
444444A. FISHER
CALGARY, ALBERTA
7788982026
MADRID, SPAIN
4445464026
500000J. DENFORD
KINGSTON, N.Y.
3994442026
555555C. JARDINE
600000F. HUGHES
DUBLIN, IRELAND
1239878026
LA HULPE, BRUSSELS 4298384026
666666A. BROOKMAN
DALLAS, TEXAS
5798432026
700000A. MACALLA
WILLIAMSBURG, VIRG. 9187613126
7777770. PRYKE
WES TEND, LONDON
2423338926
800000H. BRISTOW
888888B. HOWARD
NORTHAMPTON, ENG.
2369163926
TAMPA, FLA.
9000000. WOODSON
3566812026
999999R. JACKSON
RALEIGH, N.Y.
8459163926
//
//
11
11
11
11
02
06
04
04
06
03
06
05
11
10
06
08
10
04
05
01
11
10
10
01
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
81$0100.IIYES
81$1111.11YES
81$0999.99YES
81$0087.71YES
74$OI11.11YES
74$0000.OOYES
75$9999.99YES
73$3349.99YES
77$0009.99YES
75$3349.99YES
73$0009.99NO
74$0009.99NO
73$1259.99NO
73$0009.99NO
73$5399.99NO
73$0009.99NO
74$0809.99NO
74$0259.99NO
74$0009.88YES
75$3509.88NO
81$0009.88YES
75$5009.88NO
75$0009.88NO
75$0009.88YES
81$0010.00YES
81$0011.00YES
81$0020.00YES
81$0022.00YES
81$0030.00YES
81$0033.00YES
81$0040.00YES
81$0044.00YES
81$0000.00YES
81$0005.00YES
81$0010.00YES
81$0016.00YES
81$0002.00YES
81$0027.00YES
81$0030.00YES
81$0038.00YES
81$0040.00YES
81$0049.00YES
/*
/&
(This job is included in Z.DFHSPJCL)
Figure 23. loading the User File FILEA With Initial Data
66
CICS/DOS/VS Installation and Operations Guide
SAMPLE TABLES
As explained above, in order to define the application programs
and maps, and the other resources they require, to the CICS
system, a number of control tables must be coded and assembled and
link-edited to a private core image library, and then selected
during system initialization at CICS start-up time.
The rules for coding control tables and the meaning of the various
operands that describe the resources being defined are explained
fully in the CICS/VS Resource Definition Guide. In order to
simplify this part of the installation of the sample application
programs, the distributed system contains copy books for the
entries required. Their names and contents are listed in Appendix
D. The actual copy books that are relevant to the samples are
included, where required, in the text that follows.
Each table defining the resources of a particular type is coded,
beginning with a TYPE=INITIAl macro statement and ending with
TYPE=FINAl. The TYPE=INITIAl statement may include the SUFFIX=xx
operand, where xx is a user-chosen 2-character identifier of the
version of the table. In the following examples, the suffix will
be Sl throughout.
The body of the table is composed of a series of macro statements,
describing each resource being defined. It is these definitions
for the sample applications that are included as copy books in the
distributed A. library.
Before the control tables can be assembled and link-edited into
your system, you must define a private core image library (if you
do not already have one defined) to hold them (and application
programs, maps, and so on, that you may wish to install). The
following job can be used for this purpose:
// JOB CREATE NEW PRIVATE CORE IMAGE lIBRARY
User Private Core Image library
// DlBl U160PCl,'USER.PRIVATE.CIl',99/365
// EXTENT ,M3330A,1,0,19,57
// lIBDEF Cl,NEW=U160PCl
// EXEC CORGZ
NEWVOl Cl=3(4)
*
(This job is included in Z.DFHSPJCl)
Figure 24. Defining a Private Core Image library
The size chosen for the private core image library is such as to
occupy an integral number of cylinders. The above job allocates 3
cylinders of space on an IBM 3330 Direct Access Storage Device for
the private core image library, of which 4 tracks are to be used
for the directory. The equivalent sizes for a private core image
library on devices other than a 3330 are:
Dev;ce Type
3340
3350
3310/3370
Chapter 2.3.
S;ze
144 tracks (12 cyls)
57 tracks (3 cyls)
1350 blocks
D;rectory S;ze
10 tracks
3 tracks
94 blocks
Sample Application Package and CICS Tables
67
WORK FILES
Temporary DASD space needs to be provided for three assembly work
files and one input file for the linkage editor. These files can
be defined in every assembly job stream, or they can be added to
the system or partition standard labels. These files may already
be included in the standard labels for your installation - you
should check before you define them yourself.
//
//
//
//
//
//
//
//
//
//
//
//
//
//
JOB CREATE WORK FILES AND LINK FILE
OPTION STDlABEl=ADD
(or OPTION PARSTD=ADD)
DLBl IJSYSOl,'WORK.FILE.1',0,SD
EXTENT SYSOOl,,1,0,418,361
DLBL IJSYS02,'WORK.FILE.2',0,SD
EXTENT SYS002,,1,0,779,361
DLBL IJSYS03,'WORK.FILE.3',0,SD
EXTENT SYS003,,1,0,1140,266
DlBL IJSYSLN,'SYSlNK.FIlE',O,SD
EXTENT SYSLNK,,1,0,1406,76
ASSGN SYS001,DISK,PERM,VOl=M3330A,SHR
ASSGN SYS002,SYSOOI
ASSGN SYS003,SYS001
ASSGN SYSLNK,SYS001
/*
/&
(This job is included in Z.DFHSPJCL)
Figure 25. Adding Assembly Work Files and link File
The equivalent sizes for these files on devices other than a 3330
are:
Dev;ce Type
3340
3350
3310/3370
68
SYSOOl
SYS002
SYS003
912
285
8550
912
285
8550
672
228
6300
CICS/DOS/VS Installation and Operations Guide
SYSLNK
192
76
1800
PROCESSING PROGRAM TABLE (PPTl
This table contains definitions of the user's application
programs and maps and also CICS-supplied application programs.
The definitions of the CICS-supplied programs are contained in
the DFHXPPT copy book that is part of DFHPPTl$, used to start up
the initial system.
To this must be added one of the copy books DFHXPPTA, DFHXPPTC,
DFHXPPTP, or DFHXPPTR, depending on the language you are using.
The copy book for the assembler language (DFHXPPTA) is shown
below:
TITLE 'DFHXPPTA - COPYBOOK FOR ASSEMBLER SAMPLE PROGRAMS'
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBLER,PROGRAM=XDFHAMNU
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBLER,PROGRAM=XDFHAALL
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBLER,PROGRAM=XDFHABRW
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBLER,PROGRAM=XDFHAREN
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBLER,PROGRAM=XDFHACOM
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBLER,PROGRAM=XDFHAREP
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMA
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMB
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMC
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMD
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMK
DFHPPT TYPE=ENTRY,MAPSET=XDFHAML
Thus, for example, if you will be using assembler-language
application programs, you would run the following job:
// JOB CICSTAB ASSEMBLE AND LINK-EDIT SAMPLE DFHPPTSI
* User Private Core Image Library
// DLBL U160PCL,'USER.PRIVATE.CIL'
// EXTENT ,M3330A
// OPTION CATAL,NODECK,ALIGN
// LIBDEF CL,TO=U160PCL
I I LIBDEF RL,SEARCH=C160PRL
1/ LIBDEF SL,SEARCH=C160PSL
1/ EXEC ASSEMBLY
DFHPPT TYPE=INITIAL,
SUFFIX=Sl
COPY
DFHXPPT
COPY
DFHXPPTA
DFHPPT TYPE=FINAL
END
1*
1/
1&
EXEC lNKEDT
(This job is included in Z.DFHSPJCL)
Figure 26. Assembling and Link-Editing a Sample PPT
In order to reduce the amount of listed output from the assembly
of the PPT, PCT, FCT, OCT, and TCT, you might wish to include the
PRINT NOGEN option in the job stream.
Chapter 2.3.
Sample Application Package and CICS Tables
69
PROGRAM CONTROL TABLE (PCT)
This table is used by CICS to identify incoming transaction
identifiers and to initialize the transaction by invoking the
appropriate program. Here again, there are a number of basic
CICS-required entries that are included in the DFHXPCT copy book.
To these must be added the entries in copy book DFHXPCTA,
DFHXPCTC, DFHXPCTP, or DFHXPCTR, depending on the language you
are using. The copy book for assembler language (DFHXPCTA) is
shown below:
TITLE 'DFHXPCTA - COPYBOOK FOR ASSEMBLER SAMPLE PROGRAMS'
DFHPCT TYPE=EHTRY,PROGRAM=XDFHAMNU,TRAHSID=AMNU
DFHPCT TYPE=EHTRY,PROGRAM=XDFHAALL,TRANSID=AINQ
DFHPCT TYPE=EHTRY,PROGRAM=XDFHAALL,TRANSID=AADD
DFHPCT TYPE=EHTRY,PROGRAM=XDFHAALL,TRANSID=AUPD
DFHPCT TYPE=EHTRY,PROGRAM=XDFHABRW,TRANSID=ABRW
DFHPCT TYPE=EHTRY,PROGRAM=XDFHAREN,TRANSID=AORD
DFHPCT TYPE=EHTRY,PROGRAM=XDFHACOM,TRANSID=AORQ
DFHPCT TYPE=EHTRY,PROGRAM=XDFHAREP,TRANSID=AREP
The following job should be run:
// JOB CICSTAB ASSEMBLE AND LINK-EDIT SAMPLE DFHPCTSI
* User Private Core Image Library
// DLBL U160PCL,'USER.PRIVATE.CIL'
// EXTENT ,M3330A
// OPTION CATAL,NODECK,ALIGN
// LIBDEF CL,TO=U160PCL
// LIBDEF RL,SEARCH=C160PRL
// LIBDEF SL,SEARCH=C160PSL
// EXEC ASSEMBLY
DFHPCT TYPE=INITIAL,
SUFFIX=Sl
COpy
DFHXPCT
COPY
DFHXPCTA
DFHPCT TYPE=FIHAL
END
/*
// EXEC LNKEDT
/&
Figure 27. Assembling and Link-Editing a Sample PCT
70
CICS/DOS/VS Installation and Operations Guide
DESTINATION CONTROL TABLE (DCT)
The destination control table defines to CICS the transient data
queues (both extrapartition and intrapartition). Certain queue
names (destinations) are again required by CICS; these are
included in the pregenerated DCT for the initial system startup as
extrapartition destinations directed to the output printer
(SYSLST).
Two further destinations are required to run the sample
applications. These are defined in the DFHXDCTS copy book:
LOGA
L860
TITLE 'DFHXDCTS - COPYBOOK OF DCT ENTRIES FOR SAMPLE PROGRAMS'
DFHDCT TYPE=INDIRECT,
DESTINATION LOGA USED
X
DESTID=LOGA,
BY CICS SAMPLE PGMS
X
INDDEST=CPLI
DFHDCT TYPE=INTRA,
DESTINATION L860 USED BY ORDER
X
DESTID=L860,
ENTRY QUEUE PRINT SAMPLE PROGRAMS
X
DESTFAC=TERMINAl,
TERMINAL
X
TRANSID=AORQ,
<CHANGE IF WANT TO RUN 'PORQ','OREQ'X
TRIGLEV=30
AORQ IS AUTO INIT'ED WHEN QUEUE=30
The first destination, LOGA, is directed to the output printer in
the same way as the destinations in the pregenerated DCT. The
other destination, l860, is an example of an intrapartition
destination with a trigger level of 30 and an
automatically-initiated transaction identifier AORQ (see
"Intrapartition Destinations" on page 38 for a description of the
trigger-level mechanism).
This means that, whenever a transaction places the thirtieth
element on the L860 queue, the AORQ transaction is automaticallY
initiated by CICS to process the queue, and the queue is
effectively emptied again.
Before you assemble the sample OCT that includes thes~
destinations, you must ensure that the AORQ transaction
identifier is made to correspond to the language you are using,
that is, OREQ for COBOL, PORQ for PL/I, or RORQ for RPG II.
You then assemble the DCT by running the following job:
// JOB CICSTAB ASSEMBLE AND LINK-EDIT SAMPLE DFHDCTSI
* User Private Core Image library
// DLBL U160PCL,'USER.PRIVATE.CIL'
// EXTENT ,M3330A
// OPTION CATAL,NODECK,ALIGN
// LIBDEF CL,TO=U160PCl
// lIBDEF RL,SEARCH=C160PRl
// lIBDEF Sl,SEARCH=C160PSl
// EXEC ASSEMBLY
DFHDCT TYPE=INITIAL,
SUFFIX=Sl
COpy
DFHXDCTI
COPY
DFHXDCT
COPY
DFHXDCTS
DFHDCT TYPE=FINAl
END
/*
// EXEC lNKEDT
/&
Figure 28. Assembling and link-Editing a Sample DCT
Chapter 2.3.
Sample Application Package and CICS Tables
71
FILE CONTROL TABLE (FCTl
The file control table is used to define to CICS the user files or
data sets required to run your application programs. (Note,
however, that sequential files are defined as extrapartition
destinations in the destination control table.)
The only FCT entry necessary for the running of the sample
programs is for the file known as FIlEA (from which the sample
application package is sometimes referred to as the FIlEA
samples). This is a VSAM file that has been created and loaded
with the initial data used for the running of the sample
applications.
The DFHXFCTS copy book contains the single entry defining FILEA:
TITLE 'DFHXFCTS - COPYBOOK FOR FILEA'
DFHFCT TYPE=DATASET,DATASET=FILEA,ACCMETH=(VSAM,KSDS),
SERVREQ=(GET,PUT,UPDATE,NEWREC,BROWSE,DELETE),
RECFORM=(FIXED,BlOCKED),BUFND=3,BUFNI=2,STRNO=2,
OPEN=INITIAL
*
**
The following job should then be used to assemble and link-edit
the FCT:
// JOB CICSTAB ASSEMBLE AND LINK-EDIT SAMPLE DFHFCTSl
* User Private Core Image library
// DlBl U160PCl,'USER.PRIVATE.CIl'
// EXTENT ,M3330A
// OPTION CATAl,NODECK,ALIGN
// lIBDEF Cl,TO=U160PCl
// lIBDEF Rl,SEARCH=Cl60PRl
// LIBDEF SL,SEARCH=C160PSl
// EXEC ASSEMBLY
DFHFCT TYPE=INITIAl,
SUFFIX=Sl
COPY
DFHXFCTS
DFHFCT TYPE=FIHAl
END
/*
// EXEC lNKEDT
/&
Figure 29. Assembling and link-Editing a Sample FCT
72
CICS/DOS/VS Installation and Operations Guide
TERMINAL CONTROL TABLE (TCTl
In order to run the samples, it is necessary to define at least
one 3270-type display terminal and one printer in addition to the
console and sequential card reader/line printer definitions
already contained in the pregenerated TeT with suffix 1$ used to
start up the initial system in Part 1 of this book.
The DFHXTCTC copy book defines the VSE console for use as a CICS
terminal:
TITLE 'DFHXTCTC-SAMPLE TCT-COPYBOOK FOR CONSOLE'
DFHTCT TYPE=GPENTRY,
GPTYPE=CONSOLE,
CONSOLE SUPPORT
TRMIDNT=CNSL,
TERMINAL NAME
TRMUAL=32,
USER AREA LENGTH
TIOA LENGTH
LININL=80
Chapter 2.3.
x
X
X
X
Sample Application Package and CICS Tables
73
The DFHXTCTS copy book defines a pair of input and output
sequential devices that can be used to simulate a terminal to
CICS. In that copy book, the card reader and line printer
combination simulate a terminal known to a CICS application as
SAMA. Input can be submitted through the card reader (SYSRDR),
and output will be sent to the line printer (SYSLST).
TITLE
'DFHXTCTS - COPYBOOK TCT ENTRIES FOR SEQUENTIAL (CRLP) TX
ERMINAL ENTRIES'
***********************************************************************
***
0
T F S
***
***********************************************************************
DS
00
OC
CL32'INPUT AND OUTPUT OTFS'
OFHTCT TYPE=SOSCI,
OEVADDR=SYSRDR,
DEVICE=2540,
DSCNAME=READER
DFHEJECT
DFHTCT TYPE=SDSCI,
DEVADDR=SYSLST,
DEVICE=1403,
DSCNAME=PRINTER
DFHEJECT
*
*
*
*
*
*
************************************************************************
**
LIN E
AND
T E R MIN A L
***
***
0 E FIN I T ION
***
***********************************************************************
DS
00
DC
CL64'T E R MIN A LAN 0
LIN E
E N T R I E S'
***********************************************************************
OS
00
DC
CL32'S A M A LINE AND TERMINAL ENTRY'
DFHTCT TYPE=LINE,
ACCMETH=SEQUENTIAL,
TRMTYPE=CRLP,
ISADSCN=READER,
OSADSCN=PRINTER,
INAREAL=88,
DUMMY=DUMMY
DFHTCT TYPE=TERMINAL,
TRMIDNT=SAMA,
TRMPRTY=32,
TRMSTAT=(TRANSCEIVE),
DUMMY=DU~'MY
*
*
*
*
*
*
*
*
*
*
***********************************************************************
***
FIN A LIZ E
***
***********************************************************************
OS
00
DC
74
CL32'T C T
WAIT LIST'
CICS/DOS/VS Installati on and Operati ons Gui de
If you are using BTAM, the DFHXTCBS copy book defines two local
display terminals with symbolic units SYS020 and SYS021 and a
printer with symbolic unit SYS027:
TITLE 'DFHXTCBS-BTAM SAMPLE TCT-COPYBOOK FOR LOCAL TERMINALS'
DFHTCT TYPE=GPENTRY,
1 LINE FOR:
GPTYPE=3270L,
LOCAL 3270 DEVICE
TIOA LENGTH
LININL=160,
LINELST=(020),
ADDRESS
TRMFEAT=(DSUA),
FEATURE
TRMSTAT=(A),
TERMINAL STATUS
TRM~lODL=(2A) ,
TERMINAL MODEL
TRMUAL=(32),
USER AREA LENGTH
TRMIDNT=(L77A)
TERMINAL NAME
DFHTCT TYPE=GPENTRY,
1 LINE FOR:
GPTYPE=3270L,
LOCAL 3270 DEVICES
LININL=160,
TIOA lENGTH
LINELST=(021,027),
ADDRESSES
TRMFEAT=(DSUA,P),
FEATURES
TRMSTAT=(A,A),
TERMINAL STATUS
TRM~10DL=(2A,2C) ,
TERtolINAl MODELS
TRMUAL=(32,32),
USER AREA LENGTH
TRMIDNT=(l77B,L860)
TERMINAL NAMES
x
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
You can use this copy book unchanged, but you must assign in your
CICS startup job the addresses of the devices to the symbolic
units. For example:
ASSGN
SYS020,OAl
where OAI is the address of a display terminal, or
ASSGN
SYS020,IGN
if commands to the symbolic unit SYS020 are to be ignored.
The following job can then be used to assemble and link-edit the
DFHTCTSI control table:
// JOB CICSTAB ASSEMBLE AND LINK-EDIT SAMPLE DFHTCTSI
'* User Private Core Image Library
// DLBL U160PCL,'USER.PRIVATE.CIl'
// EXTENT ,M3330A
// OPTION CATAL,NODECK,ALIGN
// lIBDEF Cl,TO=U160PCl
(your private core image library)
// lIBDEF RL,SEARCH=(C160PRL,BTMRLB) (include BTAM relocatable library)
// lIBDEF Sl,SEARCH=(C160PSl,BTMSLB) (include BTAM source library)
// EXEC ASSEMBLY
DFHTCT TYPE=INITIAL,
'*
ACCMETH=NONVTAM,
'*
SUFFIX=Sl
COPY
DFHXTCTS
COPY
DFHXTCTC
COPY
DFHXTCBS
DFHTCT TYPE=FINAL
END
/'*
// EXEC LNKEDT
/&
Figure 30. Assembling and Link-Editing a Sample BTAM TCT
Chapter 2.3.
Sample Application Package and CICS Tables
75
If you are using VTAM, the copy book to be used is DFHXTCVS:
TITLE
'DFHXTCVS - COPYBOOK ENTRIES FOR VTAM SAMPLE TCT'
***********************************************************************
* L77A - VTAM SNA LUTYPE2.
NETNAME - D72L301.
*
*
*
*
*
***********************************************************************
VTRMI
DFHTCT TYPE=TERMINAL,TRMIDHT=L77A,TRMTYPE=LUTYPE2,TRMMODL=2, *
TIOAL=(1500,1920),RELREQ=(HO,YES),
*
BUFFER=1536,
*
FEATURE=(SELCTPEN,AUDALARM,UCTRAN,DCKYBD),
*
CHHASSY=YES,
*
HETNAME=D72L301,
*
PRIHTTO=(VTRM3),
*
GMMSG=HO,
*
ACCMETH=VTAM,TCTUAL=32,
*
COHNECT=AUTO,TRMSTAT=(TRANSCEIVE)
VTRM2
DFHTCT TYPE=TERMIHAL,TRMIDHT=L77D,TRMTYPE=3270,TRMMODL=2,
*
CLASS=(COHV,VIDEO),TIOAL=1500,RELREQ=(NO,YES),
*
FEATURE=(SELCTPEH,AUDALARM,UCTRAH,DCKYBD),
*
HETNAME=D72L304,
*
PRIHTTO=(VTRM3),
*
GMMSG=YES,
*
ACCMETH=VTAM,TCTUAL=32,
*
COHNECT=AUTO,TRMSTAT=(TRANSCEIVE)
VTRM3
DFHTCT TYPE=TERMIHAL,TRMIDHT=L860,TRMTYPE=3270P,TRMMODL=2,
*
NETNAME=P42L308,
*
RELREQ=(YES,YES),
*
CLASS=(COHV,VIDEO),TIOAL=1500,TCTUAL=32,
*
L77D - VTAM NON-SHA 3270.
L860 - VTAM NON-SHA 3270 PRIHTER.
NETHAME - D72L304.
NETNAME - P42L308.
ACCMETH=VTAM,CONHECT=AUTO,TRMSTAT=(TRANSCEIVE)
This defines a non-SNA local terminal (3270) with terminal name
L77A and a SNA local terminal (LUTYPE2) with terminal name L77B.
Here, you must ensure that the NETHAMEs for these terminals and
for the printer agree with the corresponding definitions in the
VTAM B. books.
If the NETNAMEs agree, you assemble and link-edit the TCT as
before:
// JOB CICSTAB ASSEMBLE AND LINK-EDIT SAMPLE DFHTCTSI
* User Private Core Image library
// DLBL UI60PCl,'USER.PRIVATE.CIL'
// EXTENT ,M3330A
// OPTION CATAl,HODECK,AlIGH
// lIBDEF CL,TO=U160PCL
(your private core image library)
// LIBDEF RL,SEARCH=(C160PRL,VTMRLB) (include VTAM relocatable library)
// lIBDEF SL,SEARCH=(C160PSl,VTMSLB) (include VTAM source library)
// EXEC ASSEMBLY
DFHTCT TYPE=INITIAL,
*
ACCMETH=(VTAM,NONVTAM)
*
SUFFIX=Sl
COPY
DFHXTCTS
COPY
DFHXTCTC
COPY
DFHXTCVS
DFHTCT TYPE=FINAL
END
/*
// EXEC LNKEDT
/&
Figure 31. Assembling and Link-Editing a Sample VTAM TCT
76
CICS/DOS/VS Installation and Operations Guide
Note: If you wish to use your own TeT with the sample programs,
you should ensure that uppercase translate is defined for the
display terminal, and the terminal identifier for the printer
must be L860.
Chapter 2.3.
Sample Application Package and CICS Tables
77
CONSTRUCTING THE STARTUP JOB STREAM
At this point, all the definitions necessary for running the
sample application programs have been completed. You are in a
position to start up CICS again and try them out. In the sense
that you now have a system that will perform a nontrivial piece of
work, you have completed the installation of a CICS system.
In putting together the job stream to start up CICS, you need to
identify (or define) to VSE, either explicitly or implicitly, all
the resources external to CICS that VSE is to make available t~
CICS during execution. These definitions are, in many cases,
performed by means of VSE DlBl and EXTENT job control statements,
the filename in a DLBl statement being the symbolic identifier
that CICS uses when making requests for the corresponding
resource.
Other resources are defined to the system, not by explicit DlBl
and EXTENT statements, but rather by any of a number of different
implicit methods. We will now consider each of the various
resources defined to CICS by means of CICS control tables earlier
in this chapter, and examine how each is defined to the operating
system.
Programs and Maps
Programs and Basic Mapping Support (BMS) maps are entities that
have been link-edited as phases in the various core image
libraries. As such, they are known to VSE without having to be
explicitly identified. The DLBl and EXTENT statements for the
core image libraries must, however, be included in the startup job
stream, together with a LIBDEF statement indicating the library
search order to be used by VSE when searching for a particular
application program.
The CICS-provided application programs (that is, those that
implement CICS-supplied transactions, for example, CEMT, CEDF, or
CECI) and the pregenerated application programs have been
link-edited in the CICS private core image library (C160PCL in our
example). Your own application programs will have been
link-edited to one or more user core image libraries (for example,
U160PCL defined earlier in this chapter).
The search order in the lIBDEF statement should be such that any
user libraries are searched before the CICS core image library. If
you are running CICS with PlI=YES (or Pll=YES) specified in the
initialization parameters, you should also include the Pl/I core
image library in the search chain.
Transact;ons
Whereas application programs and maps are physical entities
(phases in a core image library), transactions are no more than
identifiers (symbolic names). Insofar as the names are chosen by
the user, they have to be defined to CICS in the program control
table. VSE, however, is unaware of transaction identifiers, and
no VSE definitions are required.
The program control table associates each transaction identifier
with the corresponding application program that CICS is to invoke
to satisfy the transaction request. The program control table
can, therefore, be considered to be a logical extension of the
program processing table, which defines the physical resources.
The program control table and the program processing table (as
well as the other CICS control tables) will have been link-edited
to a user core image library; the DlBl and EXTENT statements for
this library, together with its lIBDEF statement, must be
included in the startup job stream.
78
CICS/DOS/VS Installation and Operations Guide
Queues or Dest;nat;ons
Temporary storage queue names (DATAIDs) are dynamically created
(and may be deleted) by application programs during the running of
CICS. These queue names are CICS resources managed internally by
CICS, which creates its own tables for this purpose. There is, of
course, no question of defining these resources to VSE. The
temporary storage data set, in which CICS allocates space for the
queues, must be defined in the startup job stream, however.
Intrapart;tion transient data queue names (destinations) are
similarly managed internally by CICS. The names here are
predefined in the destination control table and, again, are not
known to VSE. The intrapartition transient data set must,
however, be included in the startup job stream.
Extrapartition transient data destinations refer to physical
files that may be individually processed not only by CICS
transactions, but also by other programs unconnected with the
CICS system (for example, by batch programs running in a different
partition).
Extrapartition transient data files must be defined to VSE in the
startup job stream as sequential files, either on disk or on tape
or as printer output. (The printer output is, of course, not
processed by a program but instead is printed immediately or, if
you are using a spooling system, is batched up and is printed at
the end of the CICS run.)
The extrapartition transient data file definitions in the startup
job stream must correspond to the definitions in the destination
control table (DCT). For disk files, DLBL and EXTENT statements
are required; the filename must be the same as the DSCNAME
operand in the DCT definition. Also, the symbolic unit address,
if specified in the EXTENT statement, overrides any that may have
been specified in the DEVADDR operand in the DCT.
For tape files, the symbolic unit address, as specified in the
DCT, should be assigned (ASSGN) in the startup job stream to the
physical unit on which the tape is to reside. If standard-labeled
tapes are used, a TLBL statement is required.
Finally, if extrapartition printer output is defined in the DCT by
means of the DEVADDR=SYSLST operand, the VSE ASSGN for SYSLST is
used and no further job control statement is required in the
startup job stream.
User Files and Data Bases
User files are held on direct access storage devices and are
defined as CICS resources in the file control table. The user
files may be managed by any of the following access methods: VSAM,
ISAM, or DAM, or they may be managed by the data base subsystem,
DL/I.
User files are defined to VSE in the startup job stream in
different ways, dependent on the access method used. In all
cases, however, a DLBL job control statement is required, whose
file name is the same as the DATASET operand in the corresponding
ent~y in the file control table.
The DLBL statement should also
include the file identifier of the file, as stored on the direct
access storage device.
VSAM files must have been defined previously within VSAM space and
associated with an existing VSAM user catalog. The DLBL statement
for such a file must include the identifier VSAM and may include
the filename of the user catalog that owns the file. The DLBL
statement for the user catalog must also be included in the
startup job stream. Thus, for example, the VSAM file FILEA used
in the sample application package would be defined by:
//
DlBl
FIlEA,'SAMPlE.TEST.FILEA'"VSAM,CAT=CICSUCT
Chapter 2.3.
Sample Application Package and CICS Tables
79
ISAM and DAM files require, in addition to the DLBL statement, an
EXTENT statement indicating the location of the file on the direct
access storage device and an ASSGN statement speci~ying the
physical address on which the direct access storage device is
mounted. The DlBL statement must include the identifier ISE to
indicate an ISAM file, or DA to indicate a DAM file.
Further examples of the job control statements needed to define
user files in the startup job stream are given in "Chapter 4.11.
User File Definitions."
DL/I data bases are VSAM files, and are defined in the startup job
stream in exactly the same way as VSAM files processed directly by
CICS. In addition, if DL/I data bases are being used, two further
tables must be defined in the startup job stream. Details of how
to code these definitions are given in "Chapter 4.13. DL/I
Definitions."
Terminals
Not all the terminals connected to a host system are necessarily
known to the CICS system. Only those terminals defined in the
particular terminal control table selected during CICS
initialization are made known to CICS and thereby become CICS
resources. These terminals must also be made known, either
explicitly or implicitly, to the operating system.
The method of defining terminals to the system and the requirement
or otherwise to include job control statements for them in the
startup job stream depends on whether the terminal access method
used for that terminal (and reflected in the terminal control
table definition) is BTAM or VTAM.
Local BTAM Terminals: Each terminal is connected (usually via a
channel-attached local control unit) to a unique physical address
(channel and unit address).
If you are using BTAM, you should code, in the TYPE=SDSCI macro in
the terminal control table, a LINELST operand specifying a list of
three-digit numbers, each of which is interpreted as the symbolic
unit address of a single terminal. All the symbolic unit
addresses coded in a particular LINELST operand may be considered
to be related, for example referring to the terminals controlled
by a single control unit.
The TYPE=SDSCI macro is followed by a single TYPE=LINE macro. (In
the case of local terminals, this macro does not actually
represent a physical line, but is merely required to build an
internal control block.> The TYPE=LINE macro must be immediately
followed by one or more TYPE=TERMINAL macros describing the
actual terminals and corresponding, in order, to the symbolic
unit addresses in the lINElST operand. (You may alternatively use
the TYPE=GPENTRY macro as, for example, in the DFHXTCBS sample
copy book described earlier; all these macro definitions are then
replaced by a single macro.)
In the startup job stream, each of the symbolic unit addresses
defined in the LINELST operand must be assigned to the physical
address to which the corresponding terminal is connected, for
example:
//
ASSGN
SYS021,OA2
where SYS021 is the symbolic unit address and OA2 is the physical
address.
Thus, when a CICS application program refers to a terminal, which
it identifies by the symbolic name in the TRMIDNT operand in the
DFHTCT TYPE=TERMINAl macro, the CICS system associates the
terminal with the symbolic unit address (by position in the
lINELST operand) and this is finally associated with the real
address by the ASSGN job control statement.
80
CICS/DOS/VS Installation and Operations Guide
Remote BTAM Terminals: A variety of methods of connecting remote
terminals with the host computer is used, depending on the
characteristics of the terminals and intervening controllers.
general, however, a group of terminals may be attached to a
control unit which, in turn, is connected via modems and a
telecommunications line to a transmission control unit (or
communications controller). The transmission control unit is
attached directly to a system channel.
In
The transmission control unit is able to control a number of lines
as described above, each of these lines corresponding to a unique
physical address (channel and unit address). The way such a
configuration is described in the CICS terminal control table is
to code a TYPE=SOSCI macro for each transmission control unit
controlling transmissions to CICS terminals.
As before, this macro contains a LINELST operand with a list of
three-digit numbers; these are now interpreted as symbolic unit
addresses of the lines connected to the controller. It is these
lines (as compared with the actual terminals in the local case)
that are associated with the physical addresses.
For each line controlled by a terminal communications unit, a
TYPE=LINE macro must be coded in the same order as the
corresponding LINELST entries. Each TYPE=LINE macro must be
immediately followed by one or more TYPE=TERMINAL macros
describing the terminals on that line.
In the startup job stream, each of the symbolic unit addresses
defined in the LINELST operand is assigned to the physical address
of that line. Thus:
//
ASSGN
SYS030,OCO
assigns the symbolic unit address SYS030 to the physical address
OCO.
The individual terminals on a line are further identified by
polling and addressing characters that are part of the actual data
stream traveling along the line. The polling and addressing
characters are recognized by the control unit to which the
terminals are attached, which itself delivers the data to or from
the actual terminal.
The polling and addressing characters for the terminals on a line
are built into the control unit to which the terminals are
attached. The polling and addressing characters are made known to
CICS by:
1.
Preceding the corresponding TYPE=lINE macro in the terminal
control table with a set of OTFTRMLST macro statements that
define the characters, and
2.
Associating the TYPE=LINE macro with the list of polling
characters and each TYPE=TERMINAL macro with the
corresponding addressing characters.
VTAM Terminals: If you are using VTAM, no definitions in the CICS
startup job stream are required. VTAM, or the network control
program, contains tables in which the network of terminals it
controls is described, and it uses these to manage the flow of
data between CICS and the terminals, using only the I/O facilities
of the operating system.
The local terminals controlled by VTAM may be SNA terminals
connected to a channel-attached cluster controller, or they may
be non-SNA 3270 terminals connected via a local control unit (as
in the BTAM configuration).
Remote terminals controlled by VTAM are attached to a SNA cluster
controller, which is connected via an SOLC line with a
channel-attached communications controller. The communications
Chapter 2.3.
Sample Application Package and CICS Tables
81
controller may also be loaded with code to enable remote terminals
to be connected to it via a binary synchronous (BSC) line.
Terminals, controllers, and lines are defined in VTAM tables as
nodes in the network. In particular, each terminal known to VTAM
(or rather, each logical unit (lU) in the case of SNA terminals)
has been defined in the VTAM table definitions with a VTAM node
name that is unique throughout the VTAM domain.
A given VTAM terminal (or logical unit) defined in the CICS
terminal control table has two names associated with it: the
NETNAME, which is the same as the VTAM node name, and the TRMIDNT,
which is the name used by application programs when referring to
that terminal.
Before using a terminal control table with VTAM terminal
definitions, you should therefore make sure that the NETNAMEs
defined in the table agree with the VTAM node names in your VTAM
system (as held in the B. books in the VSE libraries). If the
names do not agree, it is probably most convenient to alter the
NETNAMEs in the terminal control table and reassemble and
link-edit it to your core image library in the usual way.
CICS Data sets
The startup job stream must contain not only definitions of the
user resources discussed up to this point, but also definitions of
any CICS data sets that are to be used.
In addition to the dump and auxiliary trace data sets described in
"Chapter 2.2. System Data Sets," you may also need to define:
•
The restart data set, if you are using AUTO start (see
"Chapter 2.4. Restart and Recovery of CICS")
•
The system log, if you are running recoverable transactions
(see "Chapter 2.4. Restart and Recovery of CICS")
•
User journals, if you wish to record audit-type information
or perform forward recovery (see "Chapter 4.5. Journal Data
Sets")
•
The CICS system definition file, if you wish to define certain
resources interactively (see "Chapter 4.10. CICS System
Definition File")
•
The statistics data sets, if you intend to gather automatic
statistics (as distinct from requested or termination
statistics) (see "Chapter 4.7. Automatic Statistics Data
Sets").
CICS Core Image Library
The CICS private core image library contains the pregenerated
modules and tables; and these are used during CICS initialization
to load the CICS system into the CICS partition. The CICS private
core image library must be defined to VSE either in the startup
job stream or, more commonly, in the partition or system standard
labels (see "Starting Up CICS" on page 25).
82
CICS/DOS/VS Installation and Operations Guide
These should be chosen so that the CICS initialization process
loads a CICS system that is suited to your precise requirements.
The initialization override parameters included in the job stream
supersede or supplement the initialization parameters defined in
the system initialization table.
After you are satisfied that the override
correctly specified for your environment,
them in a new system initialization table
yourself, and use that suffix as the sole
the startup job stream.
Chapter 2.3.
parameters are
you may prefer to code
with a suffix chosen by
override parameter in
Sample Application Package and CICS Tables
83
STARTING UP CICS TO RUN THE SAMPLE APPLICATION PROGRAMS
The following job stream incorporates most of the topics that have
already been described earlier in this chapter, and you may wish
to run the job to test the sample application programs provided
with CICS.
// JOB CICS START UP CICS SYSTEM FOR SAMPLE RUN
User Private Core Image Library
// DLBL U160PCL,'USER.PRIVATE.CIL'
// EXTENT ,M3330A
* User VSAM Catalog
// DLBl CICSUCT,'CICS160.UCAT'"VSAM
* Auxiliary Temporary Storage
// DlBl DFHTEMP,'CICS160.TEMP.STORAGE'"YSAM,CAT=CICSUCT
* Intrapartition Transient Data
// DlBl DFHNTRA,'CICS160.INTRA.TRANSD'"YSAM,CAT=CICSUCT
* FIlEA Sample Data Set
// DlBl FIlEA,'SAMPLE.TEST.FIlEA'"VSAM,CAT=CICSUCT
* Dump Data Sets
// DlBL DFHDMPA,'CICS160.DUMP.DATASET.A',O,SD
// EXTENT SYSOOl,,1,O,210,40
// DlBl DFHDMPB,'CICS160.DUMP.DATASET.B',O,SD
// EXTENT SYSOOl,,1,O,250,lO
* Auxiliary Trace
// DLBL DFHAUXT,'CICS160.AUX.TRACE.A',O,SD
// EXTENT SYSOOl,,1,O,260,40
// DLBL DFHBUXT,'CICS160.AUX.TRACE.B',O,SD
// EXTENT SYSOOl,,1,O,300,40
* ASSGN of DASD Containing CICS and User Files
// ASSGN SYSOOl,DISK,TEMP,VOL=M3350A,SHR
* Search Order for Core Image Libraries
// LIBDEF Cl,SEARCH=(U160PCl,C160PCl)
* Local Terminals Defined in Sample BTAM TCT
ASSGN SYS020,OAl
ASSGN SYS021,OA2
ASSGN SYS027,OA4
* Start Up CICS With Override Parameters From SYSIPT
// EXEC DFHSIP,SIZE=1200K,PARM='SIT=1$,SI'
TSP=2$,TDP=6$,DCP=D$,TRP=D$
PPT=Sl,PCT=Sl,DCT=Sl,FCT=Sl,FCP=3$,TCT=Sl
BMS=S$,PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
$END
*
/*
/&
(This job is included in Z.DFHSPJCl)
Figure 32. Starting Up CICS to Run the Sample Application Package
In the above job stream, the override parameters include the
tables assembled"previously, and also:
FCP=3$
BMS=S$
PGRET=P/
PGPURGE=T/
PGCOPY=C/
PGCHAIN=X/
84
)
)
)
)
Support for YSAM files
Full-function BMS required to run the
sample transactions
To allow BMS paging to be performed
CICS/DOS/VS Installation and Operations Guide
When eleS initialization is complete and the message:
DFH1500 - CONTROL IS BEING GIVEN TO CleS
is received at the CICS system console, the eleS terminals that
have been powered on are enabled for the entry of transactions. At
this point, a VTAM terminal displays the following panel (you can
suppress the di splay or change the "WELCOME TO CICS/VS" message by
means of the GMMSG= operand of the DFHTCT TYPE=TERMINAL macro, and
the GMTEXT= operand of the DFHTCT TYPE=INITIAL macro
respecti vely):
~OOEDFH2312
WELCOME TO eleS/VS
***
16:18:32
ccceee
eeeece
11111
SSSSSS
ccecccee
cceccccc
11111
SSSSSSSS
ecce ce
eccc ce
ssss ss
III
cce
cec
SSSS
III
eee
cec
III
SSSS
eccc cc
ecce ce
III
ss SSSS
ccccccce
ccccecee
SSSSSSSS
11111
eccccc
11111
eecccc
SSSSSS
***
***
ssssss
VVVV VVVV
ssssssss
VVV
VVV
SSSS ss
VVV VVV
ssss
VVV VVV
ssss
VVVVVV
VVVVV
55 SSSS
ssssssss
VVVV
SSSSSS
VVV
A BTAM terminal does not display any special message when eleS
initialization is completed. However, the screen is cleared and
the "SYSTEM AVAILABLE" indicator, if any, is turned on. To make
sure the terminal is connected to CICS, you can press the ENTER
key. If so, you will receive the message:·
DFH2001
INVALID TRANSACTION IDENTIFICATION - PLEASE RESUBMIT
You can now enter transactions at the screen. You may wish to
test the full-screen operation of the eICS-provided master
terminal transaction CEMT. The eEMT transaction was introduced
in Figure 19 on page 48, where the commands were entered from the
console.
Chapter 2.3.
Sample Application Package and eles Tables
85
Clear the screen and enter "cemt inquire dump".
screen is displayed:
The following
INQUIRE DUMP
STATUS: RESULTS - OVERTYPE TO MODIFY
DumCDFHDMPA ) Ope
RESPONSE: NORMAL
PF: 1 HELP
3 END
TIME:
4.29
DATE: 83.071
7 SBH 8 SFH 9 MSG 10 S8 11 SF
Return the cursor to the beginning of line 1 and overtype "INQUIRE
DUMP" with "set dump close". Press ENTER. The resulting screen
is:
SET DUMP CLOSE
STATUS: RESULTS - OVERTYPE TO MODIFY
DumCDFHDMPA ) Clo
RESPONSE: NORMAL
PF: 1 HELP
3 END
86
NORMAL
TIME:
4.57
DATE: 83.071
7 SBH 8 SFH 9 MSG 10 S8 11 SF
CICS/DOS/VS Installati on and Operati ons Gui de
The same effect could have been achieved by moving the cursor to
the start of the word "Ope" in the first screen and overtyping the
letter "0" with "c".
Move the cursor either to the start of the word "CLOSE" and
overtype with "open", or to the start of the word "Clo" and
overtype with "0". Press ENTER. The screen display will be:
SET DUMP OPEN
STATUS: RESULTS - OVERTYPE TO MODIFY
Dum(DFHDMPA ) Ope
RESPONSE: NORMAL
PF: 1 HELP
3 END
NORMAL
TIME:
5.15
DATE: 83.071
7 SBH 8 SFH 9 MSG 10 SB 11 SF
Return the cursor to the beginning of line 1 and overtype with
"perform snap title('User"s Sample Dump')". Press ENTER. A
formatted dump of the CICS partition is recorded (because
FDP=(,FORMAT) in DFHSITl$). The screen displayed is:
PERFORM SNAP TITLE('USER"S SAMPLE DUMP')
STATUS: RESULTS - OVERTYPE TO MODIFY
Sna
RESPONSE: NORMAL
PF: 1 HELP
3 END
Chapter 2.3.
TIME:
6.02
DATE: 83.071
7 SBH 8 SFH 9 MSG 10 SB 11 SF
Sample Application Package and CICS Tables
87
Overtype the words "PERFORM SNAP" with "set dump switch". Press
ENTER. The DFHDMPA data set has been closed automatically and is
now ready to be printed (using DFHDUP), while the alternate data
set DFHDMPB has been opened for output. The screen now shows:
SET DUMP SWITCH
STATUS: RESULTS - OVERTYPE TO MODIFY
DumCDFHDMPB ) Ope
RESPONSE: NORMAL
PF: 1 HELP
3 END
Press PF3.
NORMAL
TIME:
6.30
DATE: 83.071
7 SBH 8 SFH 9 MSG 10 SB 11 SF
The following screen is now displayed:
CEMT SET DUMP SWITCH
STATUS: SESSION ENDED
88
CICS/DOS/VS Installation and Operations Guide
At this point, the CEMT transaction has been completed and you may
continue by typing the same or a different transaction. The
following figure shows the full-screen versions of the
transactions shown in "Chapter 2.2. System Data Sets." You might
wish to complete these and demonstrate that the results are
identical to those obtained in that chapter.
CEMT INQUIRE DUMP
Shows initial status of the dump data set. This should be OPE
SET DUMP CLOSE
The data set is changed to CLO
SET DUMP OPEN
The data set is opened again.
PERFORM SNAP TITLE('USER"S SAMPLE DUMP')
This will produce a CICS system dump for later use.
SET DUMP SWITCH
Switch the dump data set.
<PF3>
<CLEAR>
CSTT AOR
This will put the statistics collected to date to the
system printer or to SYSLST.
<CLEAR>
CEMT INQUIRE AUXTRACE
Shows initial status of auxiliary trace. Should be OFF CLO
SET AUXTRACE, ON OPEN
Opens the data set and starts auxiliary trace.
SET AUXTRACE OFF CLOSE
SET AUXTRACE SWITCH
<PF3>
<CLEAR>
CEMT PERFORM SHUTDOWN
You may now wish to run the sample application programs. Because
FILEA is not open, you must use CEMT to open it. The full command
to use is:
cemt set dataset(filea) open
After the file is open, you can run AMNU (or one of its language
alternatives). Type AMNU and follow the screen prompts. A
description of the sample applications is given in Appendix E and
also in the CICS/VS Application Programmer's Reference Manual
(Command-Level).
You might also like to test the CICS execution diagnostic
facility. Type CEDF, then CLEAR the screen. Type AMNU. Each
CICS request issued by the application program is displayed on the
screen and the opportunity is given to alter certain of the
arguments. CEDF is a very powerful onl i ne means of traci ng t~e
execution of an application program and of making online cha"ges
to EXEC CICS statements without the necessity of reassembli"g or
recompiling the program.
Chapter 2.3.
Sample Application Package and CICS Tables
89
Chapter 2.4. Restart and Recovery of CICS
Among the various messages displayed during CICS initialization,
the message:
DFH1500 - CICS START-UP IS COLD
is of particular interest.
This message means that CICS is being started up entirely afresh
and without reference to any previous run. In such a situation,
it is possible that valuable information may be lost from one run
to the next.
For example, during a CICS run, records of data might be
written to an intrapartition transient data queue. The queue
might be defined with a trigger level, so that whenever the
number of records in the queue reaches a certa in value, a
transaction is automatically initiated to process them. At
the time CICS is shut down, it is probable that a number of
records remain on the queue, waiting to be processed. If the
subsequent startup is cold, intrapartition transient ~ata is
cleared and the records are lost.
To prevent data being lost in this way, CICS can preserve it
between one run and another and can perform what i s known as a
warm restart. A warm restart, however, relies on information
having been saved, in the form of a warm keypoint, as part of
the processing carried out is used during the following
startup to re-create the data and the status of CICS
resources, and to enable the system to continue largely as if
the shutdown had not occurred.
REQUIREMENTS FOR A WARM KEVPOINT TO BE TAKEN
Two things are necessary to enable this saving to be carried out.
First, CICS must be running with a further data set, the restart
data set, defined. The restart data set serves as the repository
of all the information that may have to be restored during the
following startup.
Second, the CICS management modules must include the keypo;nt
One of the functions of the keypoint program is
to record the warm keypoint on the restart data set during a
normal shutdown. The information in a warm keypoint includes:
prosram (DFHKPP).
•
Destination control table entries for intrapartition queues.
•
Auxiliary temporary storage queue names and pointers to
records in these queues. (Temporary storage queues held in
main storage are lost across a warm restart.>
•
Entries in the file control table, program control table,
processing program table, and terminal control table (except
those for BTAM switched terminals)
•
Control information representing requests to initiate
transactions, which have not yet been honored at the time of
the shutdown.
Chapter 2.4.
Restart and Recovery of CICS
91
AUTOMATIC STARTUP
After having successfully completed a warm keypoint, the keypoint
program writes a further record (the control record) to indicate
that the next time CICS is started up, a warm restart may be
performed. What actually occurs at the next startup depends on
the system initialization parameters (or override parameters)
used.
To take full advantage of the warm keypoint, CICS must be started
with the START=AUTO system initialization parameter. CICS then
tests the control record during initialization and performs a
warm restart if it is possible to do so.
If START=AUTO is used, it is possible to perform a warm restart on
certain of the CICS facilities and not on others. This is done by
specifying the (,COLD) setting for the corresponding override
parameters for which a cold start is required (see "Chapter 5.2.
The CICS Startup Job Stream" for details).
If, instead, the START=COLD system initialization parameter is
used, a cold start is forced, irrespective of whether a warm
keypoint was taken previously or not (the pregenerated system
initialization table DFHSITl$ includes START=COLD). Again, if the
restart data set is not defined, or if the keypoint program does
not exist, then, whatever the value of the START parameter, a cold
start is forced by the CICS system.
You should use START=AUTO for all normal operations unless there
are good reasons for forcing a specific type of start.
92
CICS/DOS/VS Installation and Operations Guide
CREATION OF THE RESTART DATA SET
The restart data set is a key-sequenced VSAM file that you must
define in VSAM space and then load with an initial record (the
control record) before it can be used by CICS.
The control record contains a value such that, even with
START=AUTO, CICS will recognize that the restart data set is newly
created and will, therefore, perform a cold start.
The following job can be used to create the restart data set,
belonging to the user catalog CICS160.UCAT:
// JOB DEFRSD CREATE RESTART DATA SET
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
(NAMECCICS160.RSD)
INDEXED
RECORDSIZE(2000 2000)
RECORDS(250 100)
KEYSCI0 0)
FREESPACE(20 20)
SHAREOPTIONS(2)
VOLUMESCM3350A»
DATA
(HAMECCICS160.RSD.DATA»
INDEX
(HAMECCICS160.RSD.IHDEX»
CATALOG(CICS160.UCAT)
(This job is included in Z.DFHSPJCl)
Figure 33. Defining the Restart Data Set
The following job should then be used to load the initial record:
// JOB INITRSD INITIALISE RESTART DATA SET
// DLBl CICSUCT,'CICS160.UCAT'"VSAM
// DlBl DFHRSD,'CICS160.RSD'"VSAM,CAT=CICSUCT
// EXEC IDCAMS,SIZE=AUTO
REPRO INFILE
(SYSIPT
ENVIRONMENT
(RECORDFORMAT(FIXUNB)
BlOCKSIZE(80)
RECORDSIZE(80»)
OUTFILE(DFHRSD)
ACTl 0001
/*
/&
(This job is included in Z.DFHSPJCl)
Figure 34. Initializing the Restart Data Set
Chapter 2.4.
Restart and Recovery of CICS
93
DEMONSTRATION OF WARM RESTART
You may now wish to demonstrat~, with the aid of a v~ry s;mpl~
example, how warm keypointing and warm restart work. You will
need to start up CICS again with the r~start data set defined in
the startup job stream and with
KPP=D$
(the only version provided) and with START=AUTO specified in the
override parameters.
The startup job is now:
// JOB CICS WITH WARM RESTART
User Private Core Image library
// DlBl U160PCl,'USER.PRIVATE.CIl'
// EXTENT ,M3330A
* User VSAM Catalog
// DlBl CICSUCT,'CICS160.UCAT'"VSAM
Auxiliary Temporary Storage
// DlBl DFHTEMP,'CICS160.TEMP.STORAGE'"YSAM,CAT=CICSUCT
* Intrapartition Transient Data
// DLBL DFHNTRA,'CICS160.INTRA.TRANSD'"YSAM,CAT=CICSUCT
* Restart Data Set
// DLBL DFHRSD,'CICS160.RSD'"YSAM,CAT=CICSUCT
FILEA Sample Data Set
// DLBL FILEA,'SAMPLE.TEST.FIlEA'"VSAM,CAT=CICSUCT
* Dump Data Sets
// DLBl DFHDMPA,'CICS160.DUMP.DATASET.A',O,SD
// EXTENT SYSOOl,,1,O,210,40
// DLBL DFHDMPB,'CICS160.DUMP.DATASET.B',O,SD
// EXTENT SYSOOl,,1,O,250,lO
* Auxiliary Trace
// DLBL DFHAUXT,'CICS160.AUX.TRACE.A',O,SD
// EXTENT SYSOOl,,1,O,260,40
// DLBL DFHBUXT,'CICS160.AUX.TRACE.B',O,SD
// EXTENT SYSOOl,,1,O,300,40
* Search Order for Core Image libraries
// lIBDEF Cl,SEARCH=(U160PCl,C160PCL)
* ASSGN of DASD containing CICS and User Files
// ASSGN SYSOOl,DISK,TEMP,VOl=M3350A,SHR
* Local Terminals Defined in Sample BTAM TCT
ASSGN SYS020,OAl
ASSGN SYS021,OA2
ASSGN SYS027,OA4
* Start Up CICS With Override Parameters From SYSIPT
// EXEC DFHSIP,SIZE=1200K,PARM='SIT=1$,SI'
TSP=2$,TDP=6$,DCP=D$,TRP=D$
PPT=Sl,PCT=Sl,DCT=Sl,FCT=Sl,FCP=3$,TCT=Sl
BMS=S$,PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
KPP=D$
START=AUTO,$END
*
*
*
/*
/&
Figure 35. Starting Up CICS with Warm Restart Capability
The first time. you start up CICS using this job stream, a cold
start will be performed, because no warm keypoint exists in the
restart data set. Before shutting down CICS with a warm keypoint,
and in order to have something to record, you can now use the AORD
sample transaction (or any of its high-level language
alternatives) to perform some processing.
For this demonstration, you should make sure that you have a local
printer connected and known to CICS. If you are using BTAM, the
94
CICS/DOS/VS Installation and Operations Guide
printer should be connected on the same address as is assigned to
SYS027: OA4 in the above example. If you are using VTAM, the
address should agree with that specified in the appropriate VTAM
B-book.
The AORO transaction refers to the FILEA user file, which has been
defined as initially closed. You must first open the file, as
described in the previous chapter, by means of the command:
cemt set datasetCfilea) open
You may also wish to modify the trigger level of the
intrapartition transient data queue L860 from its assembled value
of 30 to the value 3. The command you can use is:
cemt set queueCl860) trigger(3)
This makes the demonstration that follows somewhat less
protracted.
At a BTAM or VTAM terminal, enter the transaction AORD. A screen
is displayed requesting details of a single order that is to be
placed on the L860 queue.
You might reply with the following data:
ORDER ENTRY
NUMBER
PART NO
QUANTITY
111111
111111
111111
PRESS ENTER TO CONTINUE, CLEAR TO QUIT
The screen is redisplayed requesting a second order. Type a
second screen of data with 2s in place of the Is above. Press
ENTER, then press CLEAR. The AORD transaction is now completed,
with two entries having been placed on the L860 queue.
Chapter 2.4.
Restart and Recovery of CICS
95
You might now wish to confirm that the two entries are actually
present on the queue. There is no direct way of counting the
number of elements on an intrapartition queue. Furthermore, as
explained in Chapter 2.2, reading the elements from the queue also
causes them to be effectively deleted from the queue.
Digression: the CEBR Transaction
Perhaps the most convenient way of demonstrating that the two
entries exist on the L860 queue is to use the CEBR transaction.
This transaction is normally used to browse (nondestructively)
the elements on a temporary storage queue. It is, however, also
possible to use this transaction to read (destructively) the
elements on an intrapartition queue and to transfer them to a
temporary storage queue. You can then place the elements back on
the (now empty) intrapartition queue and delete them from the
temporary storage queue.
You should remember, however, that this operation does not simply
restore the elements into their original positions in the.queue.
The original elements have been deleted; the rewritten elements
occupy new positions and take up new space in the intrapartition
data set.
At your terminal, enter the transaction CEBR.
screen is displayed:
CEBR
TS Queue
ENTER COMMAND ===>
CEBRL77A Record
**************************
*************************
1 of
0
The following
Col
1 of
TOP OF QUEUE *******************************
BOTTOM OF QUEUE *****************************
STORAGE QUEUE CEBRl77A
IS EMPTY
HELP
PF2 : SWITCH HEX/CHAR
PF3
VIEW TOP
PF5 : VIEW BOTTOM
PF6
SCROLL BACK HALF
PF8: SCROLL FORWARD HALF PF9
SCROLL BACK FULL
PFll: SCROLL FORWARD FULL PF12:
TEMPORAR~
PFI :
PF4
PF7
PFIO
96
0
CICS/DOS/VS Installation and Operations Guide
TERMINATE BROWSE
REPEAT LAST FIND
UNDEFINED
UNDEFINED
Now overwrite the name of the temporary storage queue that is to
be created, with the name of your choice (for example, AAAA) and
type the command:
get 1860
in the command line. Press ENTER. This transfers all the entries
in the L860 queue to the temporary storage queue:
CEBR
TS Queue
ENTER COMMAND ===>
AAAA
**************************
00001 111111111111111111L77A
00002 222222222222222222L77A
*************************
PF1 :
PF4 :
PF7 :
PFI0:
HELP
VIEW TOP
SCROLL BACK HALF
SCROLL BACK FULL
PF2 :
PF5 :
PF8 :
PFll:
Record
1 of
2
Col
1 of
22
*******************************
TOP OF QUEUE
BOTTOM OF QUEUE
*****************************
SWITCH HEX/CHAR
VIEW BOTTOM
SCROLL FORWARD HALF
SCROLL FORWARD FULL
PF3 :
PF6 :
PF9 :
PF12:
TERMINATE BROWSE
REPEAT LAST FIND
UNDEFINED
UNDEFINED
After you have confirmed that the entries have been placed on the
L860 queue, you can write them back with the command:
put 1860
and delete the entries from the temporary storage queue by
entering the command:
purge
End of Digression
If you now shut down CICS using:
cemt perform shutdown
a warm keypoint will be recorded and these two entries will be
saved in the restart data set. The messages displayed are:
2 cemt
F2 002
F2 002
F2 002
F2 002
perform shutdown
DFH1701 - C.l.C.S. IS BEING TERMINATED
DFH1796 - KEYPOINT SUCCESSFUL
DFH1799 - TERMINATION OF CICS/VS IS COMPLETE
EOJ CICS
DATE 03/12/83,CLOCK 00/22/40,DURATION 00/02/57
Chapter 2.4.
Restart and Recovery of CICS
97
start up CICS again with START=AUTO. This time, a warm restart is
performed and the following messages appear:
F2 002 // JOB CICS WITH WARM RESTART
DATE 03/12/83,CLOCK 00/22/43
F2 002 * User Private Core Image Library
F2 002 * User VSAM Catalog
F2 002 * Auxiliary Temporary Storage
F2 002 * Intrapartition Transient Data
F2 002 * Restart Data Set
F2 002 * FILEA Sample Data Set
F2 002 * Dump Data Sets
F2 002 * Auxiliary Trace
F2 002 * Search Order for Core Image Libraries
F2 002 * ASSGN of DASD containing CICS and User Files
F2 002 1T20I SYS001 HAS BEEN ASSIGNED TO X'329'
F2 002 * Local Terminals Defined in Sample BTAM TCT
F2 002 * Start Up CICS With Override Parameters From SYSIPT
F2 002 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS.
F2 002 DFH1500 - READING OVERRIDE PARAMETERS FROM SYSIPT
F2 002 TSP=2$,TDP=6$,DCP=D$,TRP=D$
F2 002 PPT=S1,PCT=Sl,DCT=S1,FCT=Sl,FCP=3$,TCT=S1
F2 002 BMS=S$,PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
F2 002 KPP=D$
F2 002 START=AUTO,$END
F2 002 DFH1501 - DFHSIT1$ IS BEING LOADED
F2 002 DFH1500 - LOADING CICS NUCLEUS
F2 002 DFH1500 - CICS START-UP IS WARM
F2 002 DFH1500 - OPENING INTRAPARTITION ACB
F2 002 DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
F2 002 DFH1500 - DATA BASE DATASETS ARE BEING OPENED
F2 002 DFH1500 - TERMINAL DATA SETS ARE BEING OPENED
F2 002 DFH1500 - DUMP DATA SET IS BEING OPENED
F2 002 DFH1580 - NO WARM START INFORMATION FOR TSP, TSP COLD STARTED
F2 002 DFH1500 - INITIALIZING TEMPORARY STORAGE
F2 002 DFH1500 - SUBPOOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS
692K
F2 002 DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
F2 002 DFH1500 - STXIT MACROS ARE BEING ISSUED
F2 002 DFH1500 - PROCESSING RESIDENT PROGRAMS
F2 002 DFH1500 - SUBPOOL SIZE FOR THIS START-UP IS
626K
F2 002 DFH1500 - CONTROL IS BEING GIVEN TO CICS
Figure 36. Sample Output on Starting Up CICS with Warm Restart
During CICS initialization, CICS resources are restored to the
same state they had at the time of the previous shutdown. In
particular, the FILEA file is still open and the trigger level of
the L860 queue is still set at 3.
To demonstrate this, you can run the following dialog:
2 cemt inquire datasetCfilea)
F2 002
DatCFILEA
) Vsa Ope Ena Rea Upd Add Bro Del Exc
F2 002 RESPONSE: NORMAL TIME:
23.46
DATE: 83.071
*F2-002
2 cemt inquire queueCl860)
F2 002
QueCL860) Tri( 00003 )
Int Ena
F2 002 RESPONSE: NORMAL TIME:
24.04
DATE: 83.071
98
CICS/DOS/VS Installati on and Operati ons Gui de
Furthermore, the two entries previously placed on the l860 queue
are still there. You can, if you wish, verify this by using the
CEBR transaction described above to read them and then rewrite
them. If you now invoke the AORO transaction again and type a
further order consisting, for example, of 3s in place of the 1s
and 2s used before, the arrival of the third element on the queue
triggers off the AORQ transaction (see the definition of the l860
queue in "Dest i nat ion Contro 1 Table (OCT)" on page 71.
This transaction processes all three entries and sends them for
printing at the local printer.
You can now shut down CICS again, using the command:
cemt perform shutdown
whereupon a warm keypoint will be taken.
Chapter 2.4.
Restart and Recovery of CICS
99
EMERGENCY RESTART
On rare occasions, it may happen that CICS or the VSE system
suffers an unexpected failure. Such a failure may possibly occur
as a result of a CICS or VSE processing error, or it may occur as a
result of a hardware fault or loss of power. Alternatively, the
CICS system may be deliberately abnormally terminated by the
system operator, either by a request to VSE to cancel CICS or by
means of the CICS command:
cemt perform shutdown immediate
Whatever the reason for the abnormal termination, CICS activity
in all these situations is brought to an abrupt stop. There is no
opportunity to take a warm keypoint, or even to complete any
application program processing that may have been in progress.
Because no warm keypoint can be recorded after an abnormal
termination, further measures must be taken to preserve data that
might otherwise be lost, and to re-create it and make it available
to the subsequent CICS run. These measures involve recording each
change to the data at the time that the change is actually being
made. The recording is performed automatically by eICS in a
further CICS data set: the CICS system log. If CICS is
terminated abnormally, the system log is scanned backward during
the following startup and the correct data is extracted from it
before allowing the CICS run to proceed.
The process of re-creating data from the system log after an
abnormal termination ;s known as emergency restart. At startup
time, CICS inspects the control record in the restart data set and
determines that no warm keypoint exists. If START=AUTO is used as
an initialization parameter, and if the system log is defined and
available, CICS performs an emergency restart automatically. If
no system log is defined, CICS performs a cold start.
The choice of which changes to data are to be recorded on the
system log is made rather differently than in the case of a warm
keypoint. In the case of a warm keypoint, CICS records the total
environment at the time of the normal shutdown, and the user can
select which Cif not all) facilities are to be restored at the
subsequent warm restart. In the case of system logging and
emergency restart, the user has to specify explicitly which items
of data are to be recorded; they are then restored automatically
at the subsequent emergency restart. The data that is logged and
restored in this way is known as recoverable.
100
CICS/DOS/VS Installation and Operations Guide
REQUIREMENTS FOR EMERGENCY RESTART TO BE PERFORMED
Apart from the restart data set and the keypoint program, a number
of other components must also be present in the CICS system to
enable system logging and subsequent emergency restart to be
performed.
The system log has already been mentioned. The system log is
considered to be a particular case of a CICS resource (it is a
special case of a journal) and, as such, it must be defined to
CICS in a journal control table.
The CICS management module that performs the actual reading and
writing to the system log is the journal control program (DFHJCP).
This module must also be included in a CICS system to allow
emergency restart to be performed.
It was mentioned earlier that~ whenever a recoverable resource
(intrapartition queue, temporary storage queue, or user file) is
modified by an application program, the corresponding change is
also recorded on the system log. This enables the data to be
re-created in case an emergency restart has to be performed. In
the case of transient data and temporary storage~ CICS must also
record on the system log the base state against which these
changes are to be applied.
Such a recording of the state of these resources at a particular
moment is known as a system activity keypo;nt. At least one
activity keypoint must exist in the system log for emergency
restart to be possible. In a practical situation, activity
keypoints would be recorded with a certain frequency to reduce the
amount of time spent in scanning the system log backward during
emergency restart. Because, however, the default action is for no
activity keypoints to be taken, you must explicitly set the
frequency of activity keypoints (AKPFREQ system initialization
parameter) to a nonzero value.
A further CICS management module must be specified explicitly if
emergency restart is to be possible. This is the transaction
backout program (DFHTBP). The other management modules that take
part in emergency restart are loaded and invoked automatically
without having to be specified explicitly. DFHTBP~ however, can
be suffixed - two versions are supplied in the pregenerated system
- and the version to be used must be specified at startup time by
means of a system initialization parameter.
Finally, the actual resources that are to be made recoverable must
be defined as such to the CICS system. The way this is done
depends on the type of resource:
•
A recoverable queue must be defined in the destination
control table with the appropriate DESTRCV (destination
recovery) attribute.
•
A recoverable (auxiliary) temporary storage queue name must
be defined in the temporary storage table (DFHTST).
•
A recoverable user file must be defined in the file control
table with the LOG=YES attribute.
In addition, the corresponding management modules that manage
these resources (DFHTDP, DFHTSP~ and DFHFCP) must, where
required, be chosen in the versions that can record changes to
these resources onto the system log.
Chapter 2.4.
Restart and Recovery of CICS
101
CREATION OF THE SVSTEH LOG
The system log is a sequential file that may be created on disk
(or on tape - see Chapter 4.5). Two data sets may be defined, so
that one may be receiving output while the other is being copied,
for example, to archive tape, if required.
Unlike the dump and auxiliary trace data sets, the system log must
be preformatted before the first time it is used. After this has
been done, the system log is used repeatedly, the old data being
overwritten each time a data set switch is made.
The formatting of the system log is performed by a CICS-supplied
utility program (DFHJCJFP for disk, DFHFTAP for tape), which must
be run as a batch job, separate from the CICS job.
The following sample jobs format two system log data sets on disk
volume M3330B, each of the data sets occupying 57 tracks. In a
running CICS system, the size of each data set would have to be
very much larger, for example, 200 cylinders of 3330 or 3350
direct-access storage for the primary data set and 50 cylinders
for the secondary data set (see "Chapter 4.5. Journal Data
Sets").
//
//
//
//
//
JOB CICSFDSK FORMAT PRIMARY JOURNAL DISK EXTENT
DlBl JOURNAl,'CICS160.SYSTEM.lOG.A',O,SD
EXTENT SYSOll,M3330B,l,O,19,57
ASSGN SYSOll,333
EXEC DFHJCJFP,SIZE=AUTO
/*
/&
//
//
//
//
//
JOB CICSFDSK FORMAT SECONDARY JOURNAL DISK EXTENT
DlBl JOURNAl,'CICS160.SYSTEM.lOG.B',0,SD
EXTENT SYSOl1,M3330B,1,0,76,57
ASSGN SYSOll,333
EXEC DFHJCJFP,SIZE=AUTO
/*
/&
(These jobs are included in Z.DFHSPJCl)
Figure 37. Formatting System log Data Sets on Disk
Note: You will also need to add:
// lIBDEF Cl,SEARCH=C160PCl
before each EXEC statement in the above job stream.
The formatted log data sets are then defined in the CICS startup
job in the usual way for sequential files:
//
//
//
//
DlBl DFHJOIA,'CICS160.SYSTEM.lOG.A',O,SD
EXTENT SYS002,M3330B,1,O,19,57
DlBl DFHJOIB,'CICS160.SYSTEM.lOG.B',O,SD
EXTENT SYS002,M3330B,1,O,76,57
where the file names DFHJOIA and DFHJOIB are required names.
102
CICS/DOS/VS Installation and Operations
G~ide
JOURNAL CONTROL TABLE (JCT)
The journal control table defines the system log as a CICS
resource to the system. It is also a means of defining any user
journals you may wish to employ to perform your own explicit
journaling of data.
The pregenerated system does not contain any pregenerated version
of the journal control table. It does contain a copy book
(DFHXJCT) that defines a system log consisting of two data sets on
disk:
TITLE 'DFHXJCT - COPYBOOK FOR SYSTEM LOG'
DFHJCT TYPE=ENTRY,JFILEID=SYSTEM,JTYPE=DISK2,BUFSIZE=4096,
DEVADDR=(SYS019,SYS019),BUFSUV=2048,
JOUROPT=INPUT
*
*
This copy book is, in turn, referenced as an included file in the
DFHJCTl$ copy book:
TITLE 'DFHJCTl$ SAMPLE JCT'
DFHJCT TYPE=INITIAL,
STARTER=YES,
ALLOWS $ IN SUFFIX
SUFFIX=l$
COPY DFHXJCT
- ENTRY FOR SYSTEM LOG
DFHJCT TYPE=FINAL
x
X
To assemble and link-edit a journal control table defining a
system log with the above properties, you can run the following
job:
//
//
//
//
//
//
//
//
JOB CICSTAB ASSEMBLE AND LINK-EDIT SAMPLE DFHJCTl$
DLBL U160PCL,'USER.PRIVATE.CIL'
EXTENT ,M3330A
OPTION CATAL,NODECK,ALIGH
LIBDEF CL,TO=U160PCl
LIBDEF RL,SEARCH=C160PRL
LIBDEF SL,SEARCH=C160PSL
EXEC ASSEMBLY
COpy
DFHJCTl$
END
/*
// EXEC LNKEDT
/&
Figure 38. Assembling and Link-Editing a Sample JCT
Chapter 2.4.
Restart and Recovery of CICS
103
DESTINATION CONTROL TABLE WITH L860 QUEUE DEFINED AS PHYSICALLY RECOVERABLE
In the demonstration that follows, the l860 queue used previously
will be recovered after a system failure. To define the l860
queue as physically recoverable, you must add the DESTRCV=PH
attribute to the queue definition.
You can then assemble and link-edit a new destination control
table (DFHDCTS2) by running the following job:
//
//
//
//
//
//
//
//
JOB CICSTAB ASSEMBLE AND lINK-EDIT SAMPLE DFHDCTS2
DLBL U160PCL,'USER.PRIVATE.CIl'
EXTENT ,M3330A
OPTION CATAl,NODECK,AlIGN
LIBDEF Cl,TO=U160PCl
LIBDEF Rl,SEARCH=C160PRl
lIBDEF SL,SEARCH=C160PSL
EXEC ASSEMBLY
DFHDCT TYPE=INITIAl,
SUFFIX=S2
COPY
DFHXDCTI
COPYDFHXDCT
lOGA
DFHDCT TYPE=INDIRECT,
DESTINATION lOGA USED
x
DESTID=LOGA,
BY CICS SAMPLE PGMS
X
INDDEST=CPlI
DFHDCT TYPE=INTRA,
l860
DESTINATION l860 USED BY ORDER
X
DESTID=l860,
ENTRY QUEUE PRINT SAMPLE PROGRAMS
X
DESTFAC=TERMINAl,
TERMINAL
X
TRANSID=AORQ,
<CHANGE IF WANT TO RUN 'PORQ','OREQ'X
TRIGlEV=30,
AORQ IS AUTO INIT'ED WHEN QUEUE=30 X
DESTRCV=PH
PHYSICAL RECOVERY OF QUEUE
DFHDCT TYPE=FINAl
END
/*
// EXEC lNKEDT
/&
104
CICS/DOS/VS Installati on and Operati ons Gui de
DEMONSTRATION OF EMERGENCY RESTART
You can now start up the following job to demonstrate the working
of emergency restart. The operations performed will be similar to
those used when warm restart was demonstrated.
// JOB CICS WITH EMERGENCY RESTART CAPABILITY
* User Private Core Image Library
// DLBL U160PCL,'USER.PRIVATE.CIL'
// EXTENT ,M3330A
* User VSAM Catalog
// DLBL CICSUCT,'CICS160.UCAT'"YSAM
* Auxiliary Temporary Storage
// DLBL DFHTEMP,'CICS160.TEMP.STORAGE'"YSAM,CAT=CICSUCT
* Intrapartition Transient Data
// DLBL DFHNTRA,'CICS160.INTRA.TRANSD'"YSAM,CAT=CICSUCT
* Restart Data Set
// DlBl DFHRSD,'CICS160.RSD'"YSAM,CAT=CICSUCT
* FIlEA Sample Data Set
// DlBL FIlEA,'SAMPLE.TEST.FILEA'"YSAM,CAT=CICSUCT
* Dump Data Sets
// DLBl DFHDMPA,'CICS160.DUMP.DATASET.A',Q,SD
// EXTENT SYSOOl,M3350A,1,O,210,40
// DlBL DFHDMPB,'CICS160.DUMP.DATASET.B',O,SD
// EXTENT SYSOOl,M3350A,1,O,250,lO
* Auxiliary Trace
// DLBL DFHAUXT,'CICS160.AUX.TRACE.A',O,SD
// EXTENT SYSOOl,M3350A,1,O,260,40
// DLBl DFHBUXT,'CICS160.AUX.TRACE.B',O,SD
// EXTENT SYS001,M3350A,1,O,300,40
* CICS System Log
// DLBL DFHJOIA,'CICS160.SYSTEM.lOG.A',O,SD
// EXTENT SYS002,M3330B,1,O,19,57
// DlBL DFHJOIB,'CICS160.SYSTEM.LOG.B',O,SD
// EXTENT SYS002,M3330B,1,O,76,57
* Search Order for Core Image libraries
// LIBDEF CL,SEARCH=(U160PCL,C160PCL)
* ASSGN of DASD containing CICS and User Files
// ASSGN SYSOOl,DISK,TEMP,VOL=M3350A,SHR
// ASSGN SYS002,DISK,TEMP,YOL=M3330B,SHR
* Local Terminals Defined in Sample BTAM TCT
ASSGN SYS020,OAl
ASSGN SYS021,OA2
ASSGN SYS027,OA4
* Start Up CICS With Override Parameters From SYSIPT
// EXEC DFHSIP,SIZE=1200K,PARM='SIT=1$,SI'
TSP=2$,TDP=7$,DCP=D$,TRP=D$
PPT=Sl,PCT=Sl,DCT=S2,FCT=Sl,FCP=3$,TCT=Sl
BMS=S$,PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
KPP=D$,JCT=1$,JCP=1$,TBP=1$,AKPFREQ=200
START=AUTO,$END
/*
/&
Figure 39. Starting Up CICS with Emergency Restart Capability
Chapter 2.4.
Restart and Recovery of CICS
105
The differences between this job and the one used for warm restart
are:
•
•
•
•
•
•
•
The system log is defined.
JCP=1$ enables changes to be recorded onto the system log.
JCT=l$ defines the system log on disk as a CIC5 resource.
TBP=l$ causes the transaction backout program to be included.
AKPFREQ=200 causes the system to record activity keypoints.
DCT=S2 defines the L860 queue to be physically recoverable.
TDP=7$ causes the inclusion of a transient data program that
is able to record changes to intrapartition transient data on
the system log.
Because CICS was previously shut down with a warm keypoint, the
above startup will again result in a warm restart. It is,
therefore, unnecessary to open FILEA again or to change the
trigger level of the L860 queue.
Now, using the AORD transaction, again place two entries on the
queue and then end the transaction. There are many ways in which
you could terminate CICS abnormally at this point; for example
cemt perform shutdown immediate
You might like, instead, to cancel CICS as a VSE job:
cancel
F2 002
AR 015
F2 016
F2 017
F2 002
F2 002
F2 002
F2 002
F2 016
F2 002
f2,nodump
OP691 INTERV REQ BG OOC
OS12I SUB DFHLOADR CANCELED DUE TO MAINTASK
05121 SUB DFHJCSUB CANCELED DUE TO MAINTASK
OS011 JOB CICS
CANCELED DUE TO OPERATOR
DFH0606 - ABEND X'24' HAS BEEN DETECTED
DFH4510 - ALL OPEN JOURNALS NOW CLOSED
DFH0611 - ABNORMAL TERMINATION COMPLETE
OS12I SUB DFHLOADR CANCELED DUE TO MAINTASK
EOJ CICS
TERMINATION
TERMINATION
INTERVENTION
TERMINATION
DATE 03/12/83,CLOCK 00/30/58,DURATION 00/00/59
Before you start up CICS again, you may have to run a job to
verify that your VSAM files were correctly closed before CICS
attempts to open them again. If a system failure occurs while a
VSAM file is open, the file's catalog entry may not have been
updated with the correct end-of-file information. The access
method services VERIFY command updates the file's catalog entry
to show the file's real end-of-file indicators. (This is not
necessary if you have VSE/VSAM Version 1 Release 3 installed.)
The job you should run is shown below:
// JOB VERIFY
// DLBL IJSYSUC,'CICS160.UCAT'"VSAM
// EXEC IDCAMS,SIZE=AUTO
VERIFY DATASETCCICS160.TEMP.STORAGE)
VERIFY DATASET(CICS160.INTRA.TRANSD)
VERIFY DATASET(SAMPLE.TEST.FILEA)
Figure 40. Verifying VSAM Files
106
CICS/DOS/VS Installation and Operations Guide
start up CICS again using the CICS startup job used previously.
This time, an emergency restart is performed by the system. A
major part of the initialization process is concerned with the
execution of the recovery utility program and the transaction
backout program to recover the data that would otherwise have been
lost.
Finally, after the recovery has been completed, the system
operator is given the opportunity of either proceeding or not
proceeding with the CICS run. This is in case the process of
recovery by the CICS system was not sufficient, by itself, to
restore all the data to a consistent state. The prompt displayed
at this time enables the user to perform further work, before
exposing the data to a running CICS system.
Conditions that require the operator not to proceed will be very
rare indeed. However, if the operator does not proceed (that is,
replies CANCEL to the prompt), the system records a warm keypoint
before terminating CICS.
Chapter 2.4.
Restart and Recovery of CICS
107
The messages displayed during emergency restart are:
F2 002 // JOB CICS WITH EMERGENCY RESTART CAPABILITY
DATE 03/12/83,CLOCK 00/31/02
F2 002 * User Private Core Image Library
F2 002 * User VSAM Catalog
F2 002 * Auxiliary Temporary Storage
F2 002 * Intrapartition Transient Data
F2 002 * Restart Data Set
F2 002 * FILEA Sample Data Set
F2 002 * Dump Data Sets
F2 002 * Auxiliary Trace
F2 002 * CICS System log
F2 002 * Search Order for Core Image Libraries
F2 002 * ASSGN of DASD containing CICS and User Files
F2 002 1T20I SYS001 HAS BEEN ASSIGNED TO X'329'
F2 002 1T20I SYS002 HAS BEEN ASSIGNED TO X'333'
F2 002 * Local Terminals Defined in Sample BTAM TCT
F2 002 * Start Up CICS With Override Parameters From SYSIPT
F2 002 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS.
F2 002 DFH1500 - READING OVERRIDE PARAMETERS FROM SYSIPT
F2 002 TSP=2$,TDP=7$,DCP=D$,TRP=D$
F2 002 PPT=Sl,PCT=Sl,DCT=S2,FCT=Sl,FCP=3$,TCT=Sl
F2 002 BMS=S$,PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
F2 002 KPP=D$,JCT=1$,JCP=1$,TBP=1$,AKPFREQ=200
F2 002 START=AUTO,$END
F2 002 DFH1501 - DFHSIT1$ IS BEING LOADED
F2 002 DFH1500 - LOADING CICS NUCLEUS
F2 002 DFH1500 - CICS START-UP IS EMERGENCY
F2 002 DFH1500 - OPENING INTRAPARTITION ACB
F2 002 DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
F2 002 DFH1500 - DATA BASE DATASETS ARE BEING OPENED
F2 002 DFH1500 - TERMINAL DATA SETS ARE BEING OPENED
F2 002 DFH1500 - DUMP DATA SET IS BEING OPENED
F2 002 DFH1500 - JOURNAL CONTROL SUBTASK IS BEING ATTACHED/ENTERED
F2 002 DFH1500 - SUBPOOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS
682K
F2 002 DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
F2 002 DFH1500 - STXIT MACROS ARE BEING ISSUED
F2 002 DFH1500 - PROCESSING RESIDENT PROGRAMS
F2 002 DFH1500 - SUSPOOL SIZE FOR THIS START-UP IS
616K
F2 002 DFH2800I - DFHRUP IN PROGRESS
F2 002 DFH2800I - DFHRUP COMPLETED
F2 002 DFH1500 - OPENING JOURNAL FILES
EXTENT NOW RECEIVING OUTPUT ON 333
F2 017 DFH4508 - CICS SYSTEM LOG. PRIMARY
F2 002 DFH4500 - 01 OF 01 JOURNALS SUCCESSFULLY OPENED
F2 002 DFH5701 - TRANSACTION BACKOUT PROGRAM IN CONTROL
F2 002 DFH5703 - NO FBO-TABlE DATA PRESENT, NO FILE BACKOUT PERFORMED
F2 002 DFH5703 - NO MBO-TABLE DATA PRESENT, NO MSG. BACKOUT PERFORMED
F2 002 DFH5790 - DFHTBP PROCESSING COMPLETE, RETURNING CONTROL TO DFHSIP.
F2 002 DFH1588 - IS START-UP TO BE CONTINUED ?
*F2 002 DFH1505 - REPLY GO OR CANCEL
2 go
F2 002 DFH1500 - CONTROL IS BEING GIVEN TO CICS
Figure 41. Sample Output on Starting Up CICS with Emergency Restart
Messages of the type:
DFH5703 - NO FBO-TABLE DATA PRESENT, NO FILE BACKOUT PERFORMED
do not indicate any error. Rather, they advise that backout of
the named resource was not required. In this case, for example,
because no changes to recoverable files had occurred in the
previous run, no file backout is performed.
The entries on the L860 queue have now been recovered (you can
demonstrate this by using the CEBR transaction).
108
CICS/DOS/VS Installation and Operations Guide
Where emergency restart differs from warm restart, however, is
that any changes effected by means of the CEMT transaction have
not been restored. In particular, the FILEA file is now closed
and the trigger level of the L860 queue has been reset to 30:
2 cemt inquire datasetCfilea)
F2 002
DatCFILEA
) Vsa Clo Ena Rea Upd Add Bro Del Exc
*F2 002 RESPONSE: NORMAL TIME:
32.02
DATE: 83.071
2 cemt inquire queueCl86o)
F2-002
QueCL860) Tri( 00030 )
F2 002
Int Ena
*F2 002 RESPONSE: NORMAL TIME:
32.18
DATE: 83.071
You could, at this stage, make doubly sure that the queue entries
have been recovered by opening FILEA again, changing the trigger
level back to 3, placing another entry on the queue, and
witnessing all three elements being sent to your local printer.
Chapter 2.4.
Restart and Recovery of CICS
109
DATA INTEGRITY AND BACKOUT OF DATA
In the first part of this chapter, an analogy has deliberately
been drawn between warm restart and emergency restart. The
transient data queue was physically recovered in both cases: in
the first case, from the warm keypoint in the restart data set, in
the second case, from the activity keypoints and the recordings of
changes in the system log. The CICS abnormal termination was
engineered to occur after the transaction that modified the l860
queue had been completed.
In practice, of course, it is unlikely that an abnormal
termination of CICS will occur at a time when no transactions are
running in the system. If an abnormal termination does occur, it
is more likely to happen at a time when transactions are running,
so that the failure will stop the transactions reaching their
normal completion. A transaction that cannot complete in this way
is known as an infl;ght transaction. In the case of inflight
transactions, one has to consider not only physical recovery of
data but also data consistency (or data integrity).
It is frequently the case that a
perform a set of changes to data
the changes together, or none at
of the changes would be to leave
unusable state.
transaction whose function is to
in the system must carry out all
all. To carry out only a portion
the data in an inconsistent and
For example, a transaction might debit an account by a certain
amount and also queue a request that the same amount be paid out
in cash. The two operations are separate; but they must be
treated as one if data consistency is to be preserved.
A set of activities that must be completed as a unit in order to
preserve consistency of data is known as a logical unit of work.
CICS might terminate abnormally while a logical unit of work is
being performed. If the logical unit of work involves changes to
recoverable resources, then during the subsequent emergency
restart, not only will the resources be recovered, but the changes
will be backed out to the consistent state that obtained at the
start of the logical unit of work.
The most common instance of a logical unit of work is the
execution of a single transaction (a task). A logical unit of
work is terminated by a sync po;nt; and a transaction ends with an
implicit sync point. An application program can, however, have
within it any number of explicitly coded sync points, each sync
point signaling the completion of a set of related activities.
After the sync point has been executed, the set of changes carried
out in the logical unit of work is said to be committed and will
not be backed out.
At this point, it is necessary to distinguish between physically
and logically recoverable resources. Only logically recoverable
resources are backed out to a consistent state as described above.
Physically recoverable resources are restored to the state they
were in when the abnormal termination occurred, and no backout is
carried out.
The l860 queue defined in the previous section as recoverable was
defined as physically recoverable. This means, for example, that
if a single element is placed on the queue and then CICS
abnormally terminates before the AORD transaction is completed,
that single element will be recovered on the following emergency
restart.
If, on the other hand, the queue had been defined as logically
recoverable (by coding the DESTRCV=lG parameter in the
destination control table), then in the identical situation, the
single element would be recovered and then backed out to return to
its state at the beginning of the transaction. (In the example
below, the destination control table that defines a logically
recoverable queue l860 has been given the suffix S3.)
110
CICS/DOS/VS Installation and Operations Guide
The same distinction between physically and logically recoverable
resources cannot be made in the case of temporary storage queues.
A temporary storage queue cannot be defined as physically
recoverable. By including a temporary storage queue name (or
abbreviated name) in the temporary storage table, the queue is
defined to be logically recoverable and will always be restored
and backed out to a consistent state.
Again, in the case of user files, either logical recovery can be
defined (by means of LOG=YES in the file control table), or no
recovery at all. In this case, however, "no recovery" implies
physical recovery, because the files are held on permanent
storage and can be accessed in the normal way after CICS restart.
The only difficulty may occur when writing to a nonrecoverable
VSAM file. It is possible that VSAM itself buffers up the
requests and will not have completed writing to the file when the
abnormal termination occurs. In such a case, data may actually be
lost.
Chapter 2.4.
Restart and Recovery of CICS
111
DYNAMIC TRANSACTION BACKOUT
The discussion in the previous section about data consistency was
set in the context of an abnormal termination of the whole CICS
system. It was seen that an abnormal termination can affect a
number of inflight transactions and that data consistency has to
be restored by backing out changes that had already been carried
out but not yet committed.
It is also possible - and more common - for a single transaction
to terminate abnormally (abend), while the CICS system is
unaffected by the failure. The same considerations relating to
data consistency apply to this case as to the more severe case of
system failure. The main difference is that, because CICS is
still in control after a transaction abend, it can restore
consistency of data dynamically while CICS is still running and
while other transactions, which do not access that data, can
continue to run normally.
Theoretically, it would be possible to restore consistency of
data after a transaction abend from the information stored on the
system log. In practice, it is far more efficient for CICS to
record the changes at the time they are made in main storage (as
well as on the system log) and to use these records in main
storage to back out changes in case of a transaction abend. The
process of backing out these changes is known as dynamic
transaction backout.
The concepts of logical units of work, sync points, and committed
changes to resources apply equally when considering dynamic
transaction backout as they do to emergency restart. During the
execution of any task (that is, a particular instance of a
transaction), changes to recoverable resources are recorded in
the dynamic buffer associated with that task. If these records
overflow the dynamic buffer, the contents of the dynamic buffer
are written to a temporary storage queue and the dynamic buffer is
cleared once more.
The combination of the dynamic buffer and any associated
temporary storage records is known as the dynamic 109.
Whether data changes are actuallY backed out after a transaction
abend or not depends on two things:
1.
Data is backed out only if it has been defined as recoverable
(by means of the same definitions as those used for emergency
restart recovery).
2.
The transaction in which the data changes are performed must
itself be defined as recoverable, that is, requiring dynamic
transaction backout.
The dynamic log associated with a task is cleared whenever the
corresponding transaction is completed normally or when a sync
point is executed. If an inflight transaction terminates
abnormally without reaching a sync point, the records in the
associated dynamic log are used by the dynamic backout program to
restore the recoverable data to the state it was in at the start
of the failing transaction (or the start of the logical unit of
work).
Transactions are, by default, defined as recoverable. This means
that, if the dynamic backout program is present in the CICS
system, recoverable data will be backed out after a transaction
abend. If you wish a particular transaction to be nonrecoverable,
even though it makes changes to recoverable data, you must code:
DTB=NO
in the program control table entry for that transaction.
112
CICS/DOS/VS Installation and Operations Guide
REQUIREMENTS FOR DYNAMIC TRANSACTION BACKOUT TO BE PERFORMED
The requirements to enable data to be backed out after a
transaction abend can be summarized as follows:
o
DBP=l$ must be specified as a system initialization
parameter. (DBP=2$ is used if DL/I backout is also required.)
•
Transient data queues, temporary storage queues, or user
files must be defined as recoverable using the same
definitions as those used for emergency restart.
•
The size of the dynamic buffer may, if required, be explicitly
specified by means of the DBUFSZ system initialization
parameter. (The default size is 500 bytes.)
In summary, the following job might be used to enable both
emergency restart and dynamic transaction backout to be
performed:
Chapter 2.4.
Restart and Recovery of CICS
113
// JOB CICS WITH DYNAMIC TRANSACTION BACKOUT
* User Private Core Image library
// DlBl U160PCl,'USER.PRIVATE.CIl'
// EXTENT ,M3330A
* User VSAM Catalog
// DlBl CICSUCT,'CICS160.UCAT'"VSAM
* Auxiliary Temporary Storage
// DlBl DFHTEMP,'CICS160.TEMP.STORAGE'"YSAM,CAT=CICSUCT
* Intrapartition Transient Data
// DlBl DFHNTRA,'CICS160.INTRA.TRANSD'"VSAM,CAT=CICSUCT
* Restart Data Set
// DlBl DFHRSD,'CICS160.RSD'"YSAM,CAT=CICSUCT
* FIlEA Sample Data Set
// DLBl FIlEA,'SAMPlE.TEST.FIlEA'"VSAM,CAT=CICSUCT
* Dump Datasets
// DLBl DFHDMPA,'CICS160.DUMP.DATASET.A',O,SD
// EXTENT SYS001,M3350A,1,O,210,40
// DlBl DFHDMPB,'CICS160.DUMP.DATASET.B',O,SD
// EXTENT SYS001,M3350A,1,O,250,lO
* Auxiliary Trace
// DlBl DFHAUXT,'CICS160.AUX.TRACE.A',O,SD
// EXTENT SYSOOl,M3350A,1,O,260,40
// DlBL DFHBUXT,'CICS160.AUX.TRACE.B',O,SD
//" EXTENT SYSOOl,M3350A,1,O,300,40
* CICS System log
// DlBl DFHJOIA,'CICS160.SYSTEM.lOG.A',O,SD
// EXTENT SYS002,M3330B,1,O,19,57
// DlBL DFHJOIB,'CICS160.SYSTEM.lOG.B',O,SD
// EXTENT SYS002,M3330B,1,O,76,57
* Search Order for Core Image libraries
// lIBDEF CL,SEARCH=(U160PCl,C160PCl)
* ASSGN of DASD containing CICS and User Files
// ASSGN SYS001,DISK,TEMP,VOl=M3350A,SHR
// ASSGN SYS002,DISK,TEMP,VOl=M3330B,SHR
* local Terminals Defined in Sample BTAM TCT
ASSGN SYS020,OAl
ASSGN SYS021,OA2
ASSGN SYS027,OA4
* Start Up CICS With Override Parameters From SYSIPT
// EXEC DFHSIP,SIZE=1200K,PARM='SIT=1$,SI'
TSP=2$,TDP=7$,DCP=D$,TRP=D$
PPT=Sl,PCT=Sl,DCT=S3,FCT=Sl,FCP=3$,TCT=Sl
BMS=S$,PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
KPP=D$,JCT=1$,JCP=1$,TBP=1$,AKPFREQ=200
DBP=l$
START=AUTO,$END
/*
/&
Figure 42. Starting Up CICS with Dynamic Transaction Backout
Capability
For further information on recovery and restart, see the CICS/YS
Recovery and Restart Guide.
114
CICS/DOS/VS Installation and Operations Guide
Chapter 2.5. CICS System Generation
CICS consists of a set of management, service, and utility
programs that have to be prepared by a process similar to VSE
sY5tem generation. If you use the CICS pregenerated system, you
do not need to carry out system generation. The pregenerated
system provides at least one pregenerated version of every CICS
program, and contains sample tables, application programs, and
B~'S map set s.
The CICS management programs provided with the pregenerated
system are described in Appendix C. CICS provides only one
unsuffixable version of certain modules. Where two or more
suffixed versions of a module are supplied, Appendix C describes
each versi on so that you can select the appropri.ate versi on for
your own CICS system.
If you require support that does not exist in the pregenerated
modules, you may need to generate your own version of certain CICS
modules to provide that support.
WHAT IS SYSTEM GENERATION?
System generation is a process that enables you to generate your
own version of a CICS module to provide the support you require.
You must code a series of CICS system generation (DFHSG) macro
instructions, using the detailed information given in the CICS/VS
Customization Guide. When you have coded the appropriate macro
instructions, you have to carry out two stages of processing:
1.
Assemble the macro instructions to generate the job control
and source statements (job stream) required to assemble,
link-edit, and catalog the programs. This is called stage 1
of system generation.
2.
Execute the job stream.
generation.
This is called stage 2 of system
The rest of this chapter explains how to process the macro
instructions after they have been coded.
WHAT CAN YOU GENERATE?
Only the CICS modules listed below can be generated. See the
CICS/VS Customization Guide for details of how to code the
required macro instructions.
ACEE
ACP
ALP
CPY
CSA
DBP
DSCTS
EXI
FCP
GMM
ICP
ISP
KCP
PCP
PRK
P3270
RKB
RTY
DFHSG
PROGRAM=
CSS
CSO
KCP
TCP
CSA
DBP
INITIAL
TCP
FCP
TCP
ICP
ISC
KCP
PCP
TCP
TCP
TCP
DBP
Security 10 program
Abnormal condition program
Allocation program
VTAM 3270 print function support
Common systems area
Dynamic transaction backout
CICS dummy sections
VTAM 3270 print function support
File control program
VTAM Good Morning message program
Interval control program
Intercommunication program
Task control program
Program control program
VTAM 3270 print function support
3270 print function support
VTAM 3270 print function support
CICS-supplied transaction restart module
Chapter 2.5.
CICS System Generation
115
SCP
SCR
SPP
SRP
TACP
TBP
TCP
TOP
TPR
TRP
TSP
XFP
XSP
ZCA
ZCB
ZCC
ZCP
ZCW
ZCX
ZCY
ZCZ
ZNAC
ZNEP
ZRlG
ZRSP
OFHSG
PROGRAM=
SCP
SCP
KCP
SRP
CSO
TBP
TCP
TOP
BMS
TRP
TSP
ISC
CSS
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
TCP
storage control program
storage control recovery program
Sync point program
System recovery program
Terminal abnormal condition program
Transaction backout program
Terminal control program
Transient data program
BMS terminal page retrieval program
Trace program
Temporary storage program
Function shipping transformer program
Security program
VTAM terminal control program module
VTAM terminal control program module
VTAM terminal control program module
Common terminal control program module
VTAM terminal control program module
Common terminal control program module
VTAM terminal control program module
VTAM terminal control program module
Node abnormal condition program
Node error program interface program
Response logging program
Resend program
ASSEMBLING THE DFHSG MACRO INSTRUCTIONS (STAGE 1)
The DFHSG macro instructions must be used in stage 1 of the system
generation process to produce job streams for execution in stage
2.
For stage 1, the CICS private source statement library is needed.
The output of stage 1 on SYSPCH can be on cards (approximately
2000 for a complete system generation), tape, or disk. This
output is used as input (SYSIN) to perform stage 2.
Figure 43 shows the job stream needed to execute those
instructions, using cards as intermediate storage between stage 1
and stage 2.
Assumes SYSPCH assigned to card punch
// JOB CICSGEN
CICS/DOS/VS SYSTEM GENERATION - STAGE 1
// OPTION OECK,AlIGN
// lIBOEF Sl,SEARCH=(C160PSl,etc),PERM
// EXEC
ASSEMBLY
DFHSG TYPE=INITIAl,
(system generation macro instructions prepared
according to instructions provided in the
.
CICS/VS Customization Guide)
DFHSG TYPE=FINAl
END
*
Remove the output (from stage 1) from the punch stacker,
place in the card reader (stage 2 input), and make the
reader ready. The stage 2 assembly and link-edit will
be performed. This completes the process for generating
CICS/OOS/VS.
Figure 43. Using Cards as Intermediate Storage between stages 1
and 2
116
CICS/DOS/VS Installation and Operations Guide
Figure 44 shows the job stream needed to execute the system
generation macro instructions, using tape output for stage 1.
CICS source statement library is required for stage 1. A
permanent assign of your other program product libraries is
required before the stage 2 job is executed.
The
// JOB CICSGEN
CICS/DOS/VS SYSTEM GENERATION - STAGE 1
// LIBDEF SL,SEARCH=(C160PSL,etc),PERM
ASSGN SYSPCH,cuu
// MTC REW,SYSPCH
// OPTION DECK, ALIGN
// EXEC
ASSEMBLY
DFHSG TYPE=INITIAL
*
.
(system generation macro instructions)
DFHSG TYPE=FINAL
END
/*
CLOSE SYSPCH,PUNCH
// MTC REW,cuu
CICS/DOS/VS SYSTEM GENERATION - STAGE 2
ASSGN SYSIN,cuu
*
/&
After the completion of stage 2, in reply to operator
console output:
BG 1COOA ATTN cuu
issue:
ASSGN
(card reader)
SYSIN,cuu
This completes the process for generating CICS/DOS/VS.
Figure 44. Using Tape Output (Optional) for Stages 1 and 2
Figure 45 shows the job stream required to create the system
generation macro instructions using the POWER internal reader to
store the output from stage 1. A permanent assign of your other
program product libraries is required before the stage 2 job is
executed.
Chapter 2.5.
CICS System Generation
117
* $$ JOB JNM=CICSGEH,ClASS=A,DISP=D
* $$ PUN DISP=I,ClASS=A
// JOB CICSGEN
// lIBDEF Sl,SEARCH=(C160PSl,etc),PERM
// OPTION DECK,AlIGH
// EXEC
ASSEMBLY
DFHSG TYPE=INITIAl
.
(system generation macro instructions)
DFHSG
END
TYPE~FINAl
/*
/&
*
$$
EOJ
Figure 45. Using POWER Internal Reader to Store the Output From
Stage 1
Assembly Errors
If you use the XREF option, the stage 1 assembly cross-reference
listing will point to each program generated. Check the listing
carefully.
If you try to assemble a module that cannot be generated, an MNOTE
will be produced.
Messages that indicate any other assembly or link-editing errors
should also be investigated.
EXECUTING THE JOB STREAM (STAGE 2)
The job streams produced from stage 1 are MSHP jobs.
Each MSHP job that is executed will write the following
information to the system history file:
•
•
The date the module was generated
A list of macros used during the assembly of that module.
If any of these macros are serviced, a message will
the console saying that that module is now invalid.
also be set in the system history file showing that
backlevel and it will remain on until the module is
Figure 46 shows the format of the stage 1 output.
118
CICS/DOS/VS Installation and Operations Guide
be produced on
A flag will
the module is
reassembled.
// JOB XXXXyyysf
(see note 1)
// OPTION CATAl,NODECK,AlIGN
// EXEC MSHP,SIZE=550K
(see note 2)
TAILOR 5746-XX-300 PHASE=DFHyyysf
RESOLVES 'USER ASSEMBLY'
EXECUTE ASSEMBLY XREF
.
assembler source statements
/$
EXECUTE lNKEDT
PHASE DFHyyysf,*
/$
/*
/&
// JOB
Figure 46. Format of Stage 1 Output
Notes:
1.
In the JOB statement, "XXXX" is the job name specified in the
JOBHAME operand in DFHSG TYPE=INITIAl, "yyy" is the name of
the module, and "sf" the user suffix, if applicable. The
jobname "XXXXyyysf" is truncated to eight characters if
necessary.
2.
Ensure that there is enough space in your partition to run
MSHP.
For stage 2 jobs, a permanent assignment
required before SYSIN is assigned to the
Stage 2 also accesses the VSE supervisor
instructions, and related logic modules
library.
of private libraries is
intermediate storage.
and I/O macro
in the relocatable
Each MSHP job uses the CICS service information in your system
history file. Part of that information is the names of your
libraries that contain CICS. The MSHP jobs specify that the new
CICS phases are to be cataloged into the CICS core image library.
You must therefore ensure that a lIBDEF Cl,TO= statement is coded
before running the MSHP jobs.
Individual CICS/DOS/VS modules can be replaced, added, or
included more than once (using different suffixes) by means of the
system generation procedure.
Assembly Errors
If no high-level language options have been specified, DFHPCPlI
and DFHPCCOB will be listed as unresolved references when DFHPCP
is Ii nk-edi ted. If only one of Pl/I or COBOL has been speci fi ed,
the reference to the other language support routine will be
unresolved. This type of message can be ignored.
Messages that indicate any other assembly or link-editing errors
should be investigated.
Chapter 2.5.
CICS System Generation
119
REGENERATING A PREGENERATED MODULE
If you wish to reassemble a pregenerated module, you can use the
job stream shown in Figure 47.
// JOB SYSGEN
// LIBDEF SL,SEARCH=C160PSL
// EXEC ASSEMBLY
DFHSG TYPE=INITIAL,
OPSYS='DOS/VSE',
ASMBLR=ASSEMBLY,
PRINT=(LIST,XREF,NODSECT,DSLIST),
STAGE2=FORCE,
EJECT=YES,
JOBNAME=DFH,
DlI=YES,
DL/I SUPPORT
STARTER=YES,
MOD=(DBP,2$,ISP"TBP,2$,XFP,),
ACCTID='CICS 160'
DFHSG PROGRAM=PREGEN
DFHSG TYPE=FINAL
END
x
X
X
X
X
X
X
X
X
X
Figure 47. Reassembling a Pregenerated Module
Note: In this example, stage 2 jobs will be produced for DFHDBP2$,
DFHISP, DFHTBP2$, and DFHXFP.
120
CICS/DOS/VS Installation and Operations Guide
Chapter 2.6. CICS Modules in the VSE Shared Virtual Area
Many CICS modules (both nucleus and PPT) are read-only, and you
can place some or all of these modules in the shared virtual area
(SVA) of VSE. Note, however, that if multi region operation (MRO)
is being used, certain modules must be placed in the SVA, and
these are indicated later.
See Appendix B for a list of the SVA-eligible CICS modules.
Any user PPT modules that are read-only may also be placed in the
SVA.
OVERVIEW
The benefi ts to be deri ved from usi ng the SVA are:
•
shar;ng - Modules in the SVA may be shared by two or more CICS
systems in the same processor, thereby achieving an overall
reduction in the total working set. The CICS systems need not
be using intercommunication facilities in order to benefit
from the sharing of modules.
•
Integrity - The SVA ;s key 0 protected, so all modules placed
there are automatically protected from being overwritten by
other programs such as CICS appl i cati ons. Thi s i ntegri ty
feature is equally applicable to a single CICS system within
the processor.
Support for CICS modules in the SVA falls into two categories:
1.
2.
Modules that are required to be in the SVA if MRO is being
used. These modules are:
•
DFHIRP, the interregion communication program. For
integrity reasons, this CICS nucleus module must be used
from the SVA.
•
DFHSCTE, the subsystem control table extension. This
module provides an anchor for the interregion
communication control block structure and is not
read-only. It is nei ther a nucleus module nor a PPT
module.
Those CICS nucleus and PPT modules that are read-only and
hence SVA-eligible, but are not required to be in the SVA. You
can choose which modules in this category to place in the SVA.
Your selection would generally include modules in the working
set of the installation. Appendix B lists the CICS modules
that are eligible for the SVA. If you have modified a module
that is listed as SVA-eligible, it is your responsibility to
verify that the read-only attribute of the module has not been
destroyed if that module is to be used from the SVA.
User application programs written in assembler language (using
either the command-level or the macro-level interface) are
eligible for the SVA, provided that they are read-only.
Application programs written in other languages cannot be used
from the SVA, because the resulting PPT modules (phases in the
core image library) are not read-only. BMS map sets, and programs
for which RELOAD=YES is specified in the PPT, are also not
SVA-eligible.
There are no special CICS table or system initialization override
parameters controlling the usage of CICS modules from the SVA. The
core image library search sequence in effect for the CICS
execution determines whether or not modules in the SVA are used,
the default being to use modules from the SVA.
Chapter 2.6.
CICS Modules in the VSE Shared Virtual Area
121
The usual CICS system initialization suffixing options and
overrides apply to the selection of modules that have been
installed in the SVA.
Nucleus modules to be used from the SVA still require entries in
the nucleus load table (NLT), although those in the CICS default
table in module DFHSIB1 will suffice.
The ALIGN, FIX, ADRSPCE, PAGEIN, and PAGEOUT operands on DFHNLT
TYPE=ENTRY macro instructions do not apply when a nucleus module
is used from the SVA, and these will be ignored.
Application load table (ALT) and processing program table (PPT)
operands specifying virtual storage attributes (ALIGN, FIX,
PAGEOUT, and ADRSPCE) will be ignored for PPT modules used from
the SVA.
INSTALLATION AND USE
ALLOCATING SPACE IN THE SVA
Space in the SVA for the CICS modules and their system directory
list (SOL) entries must be allocated at IPL time via the SVA
command. This space is additional to any required for user
phases. Appendix B gives the approximate sizes (rounded up to the
nearest 1K byte boundary) for the SVA-eligible CICS modules.
These sizes were determined by reference to a listing of the
directory for the core image library of the pregenerated system.
For more accurate space estimates, you are advised to consult the
library listings at the time of installation, and to verify the
space estimates against actual space layout once modules have
been selected for residency in the SVA.
In calculating the space required, allowance must be made for the
way in which VSE loads the SVA. Starting at the low end, phases
are loaded in alphameric sequence regardless of any ordering
within a SET SOL command. If a phase will not fit within the
current page, it is loaded at the next (2K-byte) page boundary. No
back-filling takes place.
For a full-function CICS system, the space required, if all the
SVA-eligible nucleus modules are to be installed in the SVA, is
estimated to be of the order of 4S0K to SOOK bytes.
LOADING THE SVA
Modules to be loaded into the SVA must be link-edited as
SVA-eligible, that is with the SVA operand added to their PHASE
statements. CICS system generation ensures that all modules
considered to be SVA-eligible (as listed in Appendix B) are
cataloged in this way. To load any of these modules into the SVA,
a SET SOL job control command must be issued from the background
(BG) partition, naming the selected modules. This command can be
issued at any time after IPl, but must be issued before bringing
up any CICS system that will be using modules from the SVA.
Phases are taken from the libraries of the BG core image library
search chain. Thus any private core image libraries containing
modules to be loaded into the SVA must be specified in the SEARCH
operand of the lIBOEF command for BG.
122
CICS/DOS/VS Installation and Operations Guide
USING THE SVA DURING CIes EXECUTION
The core image library search sequence in effect for the CICS
execution will include any private core image libraries
containing CICS modules. The default library search sequence for
program fetch causes the system directory list to be searched
before the library search chains. Thus the default is to use
modules that have been loaded into the SVA.
If you want to use a private or nonshared version of a CICS module
that has been loaded into the SVA, in many cases this can be
achieved by a change of module suffix accompanied by an
appropriate CICS system initialization override. However, if the
module is not suffixable, it will be necessary to catalog the
module in a separate private core image library and to specify a
temporary (Job) SEARCH chain with 'SDL' placed after this library
in the chain. The same technique can be extended in order to test
a service fix or a new release of CICS in one partition, where the
service fix or new release has been installed into a private core
image library, and where other CICS systems in the same processor
are to continue to execute using modules from the SVA.
UPDATING PHASES IN THE SVA
Phases in the SVA may be updated or deleted without re-IPLing (for
details, see the VSE/AF manuals listed in the Bibliography).
Earlier versions of these phases remain in the SVA, but are no
longer addressable from the SDL. Note that a running CICS system
will continue to use the original versions of nucleus modules that
were in the SVA at the time the CICS system was initialized.
The CEMT NEWCOPY function may
has been updated in the SVA.
sequence defined for the CICS
not the updated module in the
be used to replace a PPT module that
The core image library search
partition will determine whether or
SVA is used.
Under no circumstances must the DFHSCTE module be updated in the
SVA while any CICS interregion communication is in progress,
because this could prove disastrous.
See VSE/Advanced Functions System Control Statements for further
details on the SVA IPL command and the SET SDL and LIBDEF job
control commands, and the VSE/Advanced Functions System
Management Guide for general information on using the SVA.
Chapter 2.6.
CICS Modules in the VSE Shared Virtual Area
123
Chapter 2.7. Adding DLjl Support
When installing CICS support for DL/I DOS/VS, you have to:
1.
Define DL/I data bases and application programs during the
preparation of CICS tables.
2.
Specify system table macros for DL/I support as follows:
a.
Define the DL/I DOS/VS application control table (ACT).
This table is required to associate online application
programs with one or more DL/I data bases.
b.
Optionally define a storage layout control (SLC) table
for use in an online environment, to specify the sequence
in which DL/I modules are to be loaded from the core image
library during DL/I initialization.
c.
Include in the CICS file control table (FCT) an entry for
each data base description (DBD) corresponding to a
physical data base. The name in the DATASET parameter in
the FCT and the NAME parameter in the DBD must be
identical.
d.
If program isolation is active or if emergency restart or
dynamic transaction backout is to be used with DL/I
tasks, assign the DL/I DOS/VS log to the CICS system log.
The DL/I DOS/VS log is assi gned by use of the VSE UPSI
byte information. See "Chapter 5.3. System
Initialization Parameters" on page 267 for information on
how to use the UPSI byte option with CICS.
e.
Define in the processing program table an entry for the
DL/I language definition table (DLZHLPI) if the execution
diagnostic facility is to be used with application
programs containing EXEC DLI commands. DLZHLPI is a
module provided with DL/I DOS/VS.
The DL/I DOS/VS Resource Definition and Utilities book tells you
how to define and generate the DL/I tables.
"Chapter 4.13. DL/I Definitions" in this book describes how to
define all DL/I data bases that are to be referenced during CICS
execution.
A CICS-DL/I installation tester (DFHTDLI) application program is
also supplied with the pregenerated CICS system - this program is
described in Appendix E.
REASSEMBLING DL/I DOS/VS MODULES
The pregenerated modules in CICS were assembled against DL/I
DOS/VS Version 1 Release 6. No CICS system generation is required
if you have that release of DL/I DOS/VS.
A set of DL/I DOS/VS modules will need to be reassembled if a new
release of CICS/DOS/VS is produced. The DL/I DOS/VS progr~m
directory contains information on how to create the necessary job
streams.
There is also a set of CICS modules that needs to be reassembled
for every new release of DL/I DOS/VS. The CICS system generation
macro instructions have been coded for you in a source member
called DFHSGDLI supplied in the CICS source library.
Chapter 2.7.
Adding DL/I Support
125
DFHSG TYPE=INITIAL,
OPSYS='DOS/VSE',
ASMBLR=ASSEMBLY,
PRINT=(LIST,XREF,NODSECT,DSLIST),
STAGE2=FORCE,
EJECT=YES,
JOBNAME=DFH,
DLI=YES,
Dl/I SUPPORT
STARTER=YES,
MOD=(DBP,2$,ISP"TBP,2$,XFP,),
ACCTID='CICS 160'
DFHSG PROGRAM=PREGEN
DFHSG TYPE=FINAl
END
x
X
X
X
X
X
X
X
X
X
Figure 48. Source Member A.DFHSGDLI
When this job executes, the library search order must include your
CICS, Dl/I, and VSAM libraries. Four CICS assembly jobs will be
produced, and these must be executed to assemble the
Dl/I-dependent modules.
"Chapter 2.5. CICS System Generation" has examples of executing
DFHSG job streams using cards and tape as intermediate output for
the assembly steps.
126
CICS/DOS/VS Installatioh and Operations Guide
Chapter 2.8. Adding CICS Monitoring Facility Support
The CICS monitoring facility enables you to collect
performance-related data during online processing for later
offline analysis. The data is collected in three monitoring
classes:
•
Account;n9 class data. This is high-level information such
as the number of transactions for each combination of
transaction type, terminal identification, and operator
identification. This data can be used for installation
accounting purposes.
•
Performance class data. This 1s more detailed resource-level
information such as the processor and elapsed time for a
transaction, or the time spent waiting for I/O. This data can
be used for performance monitoring and capacity planning. As
well as data for each transaction, global performance data
can be collected to provide information on the entire CICS
system.
•
Exception class data. This is information on exceptional
conditions raised by a transaction, such as queuing for VSAM
strings or waiting for temporary storage. This data will
highlight possible problems in system operation.
Each class of monitoring can be active alone or jointly with other
classes, and the information provided by each class of data is
described in the CICS/VS Performance Guide.
Standard CICS monitoring data is collected at predefined event
monitoring points (EMPs) in the CICS code. You can specify which
classes of data are to be collected at these EMPs, but you have no
control over the act~al data collected. Timing information in the
standard CICS monitoring data can be invalidated by transactions
that terminate abnormally.
As well as the standard CICS monitoring data, user application
programs can contribute data to user fields in the
transaction-level accounting and performance class records but
not the exception class. In accounting class records, one field,
a counter, is reserved for your use. In performance class
records, one optional character-string field and a variable
number of fields for counters and time periods can be used. See
the CICS/VS Customization Guide for further information.
The monitoring data is collected in
monitoring class. The way in which
CICS user journals is controlled by
(MCT). It is possible to merge any
data onto one journal.
separate buffers for each
these buffers are written to
the monitoring control table
two or all three classes of
',,--
Chapter 2.8.
Adding CICS Monitoring Facility Support
127
CONTROLLING THE MONITORING FACILITIES
The monitoring facilities are controlled by entries in the
monitoring control table, the journal control table, and the
system initialization table, and by the CSTT transaction.
Entries are also required in the CICS system definition file if
you are using resource definition online), or in the processing
program table (PPT) and the program control table. You should
read the information in the following sections in conjunction
with the relevant information on each table in the CICS/VS
Resource Definition Guide.
MONITORING CONTROL TABLE
The DFHMCT TYPE=RECORD macro is used to specify the class of
monitoring data to be recorded and, for each class of data being
collected, the CICS user journal to which the data is to be sent.
To specify the class of data to be collected, code the CLASS=
operand with ACC, PER, or EXC. If you want to define more than
one monitoring class, you have to code separate TYPE=RECORD macro
instructions for the other monitoring classes you require.
Code DATASET= with the number of the journal (in the range 02
through 99> to be used (this identifier must correspond with that
specified in the journal control table>.
For each transaction, the monitoring facility will acquire up to
three buffers (one for each class of data being collected) from
the dynamic storage area. When a task terminates, the contents of
each task-related buffer is written to a monitoring buffer, the
size of which is controlled by the MAXBUF operand. For
information on calculating the MAXBUF size, see the relevant
section in the CICS/VS Customization Guide.
If you require global performance data, code the FREQ= operand
with the time interval required between the start and stop of each
interval for which global performance data is required. The
number specified for FREQ= is in seconds, and can be between 1 and
43200 (12 hours).
For performance class data only, code CONV=YES if you want
conversational tasks to have separate performance class records
produced for each pair of terminal control I/O requests.
For performance class data only, if you want the amount of
processor time and the paging activity to be recorded in the data
for each transaction, code CPU=YES to specify that this facility
is required for a CICS system running under VSE.
A sample monitoring control table with appropriate entries is
included in the CICS source statement library as DFHMCT1$ (with
copy book DFHXMCTS).
JOURNAL CONTROL TABLE
Journals used to record the monitoring output must be defined in
the journal control table as user journals by specifying a JFILEID
value between 02 and 99 in the DFHJCT TYPE=ENTRY macro. The
JFIlEID value must be identical with the DATASET= value specified
in the corresponding DFHMCT TYPE=RECORD macro instruction. In
addition, the journals must be specified with FORMAT=SMF.
For further information on calculating the value to use for
BUFSIZE and BUFSUV, see the relevant section of the CICS/VS
Customization Guide.
A sample journal control table is included in the CICS source
statement library as DFHJCT1$ (with copy book DFHXJCTS).
128
CICS/DOS/VS Installation and Operations Guide
SYSTEM INITIALIZATION TABLE
To receive any class of monitoring data, CMP=YES must be specified
in the system initialization table, together with MCT=YES or xx.
Monitoring classes to be active at system initialization time
must be specified with the MOHITOR operand (ACC, PER, or EXC). In
addition, you must have a nondummy version of DFHJCP and a journal
control table.
CSTT TRANSACTION
Activation and deactivation of monitoring classes during CICS
execution is controlled by the CSTT transaction, which has the
following format.
CSTT MOHITOR,{OH!OFF}={([ACC][,PER][,EXC])!ALL}
This transaction also controls the CICS automatic statistics.
Further information is given in the CICS/VS Operator's Guide.
CSD FILE OR PPT AND PCT ENTRIES
In the CSD file, the entries required for monitoring are already
present in the IBM-provided DFHSTAHD group.
The entries required for monitoring are included in the PPT and
PCT, with other standard entries, when FH=STAHDARD is specified
on the DFHPPT TYPE=GROUP and DFHPCT TYPE=GROUP macro
instructions.
PROCESSING OUTPUT FROM THE CIeS MONITORING FACILITY
CICS monitoring facility output can be processed by the
following:
1.
A sample program, DFHXMOlS, which gives a basic listing of the
CICS monitoring facility output. Comments within the program
may help you if you wish to do your own processing of CICS
monitoring facility output. For information on DFHXMOLS, see
the CICS/VS Customization Guide.
2.
The extended-maintenance FDP, CICSPARS (S798-DAB), which
executes in conjunction with another FDP - GPAR (or
GPAR-DOS). Service level Reporter (program number 5740-DC3)
is an OS/VSl and MVS program product that can process CICS
monitoring facility output presented to it on tape. For
information on these products, see the relevant manuals
listed in the CICS/VS Performance Guide.
3.
An output-processing and analysis program provided by
your3elf. If you wish to code such a program, the CICS/VS
Customization Guide contains relevant information about the
CICS monitoring facility.
Chapter 2.8.
Adding CICS Monitoring Facility Support
129
Chapter 2.9. Migrating Resource Definitions
This chapter assumes that you already have a CICS system installed
with the control tables you require for normal operation.
Information is given in this chapter about how to change your CICS
system for resource definition online (RDO), to enable you to add
new programs and transactions online using the CEDA transaction.
In order to set up RDO, you have to provide a CICS system
definition (CSD) file and make it available to CICS. No special
system generation options are required for RDO, but the required
support must be generated in various CICS tables before you can
use the CEDA transaction.
PREPARING FOR MIGRATION
1.
Create a CICS system definition (CSD) file. Define a CICS
system definition file to VSAM (using AMS) as described in
"Job Control Statements to Define and Initialize the CICS
System Defi ni ti on Fi Ie" on page 220. The fi Ie wi 11 hold the
resource definitions when they are created.
2.
Initialize the CSD file. Before it can be used, the CSD file
must be initialized. The CSD file is initialized by means of
the DFHCSDUP offline utility program, using the INITIALIZE
command. This operation primes the CSD file with the
definitions of all the IBM-supplied programs, transactions,
and profiles. For details of the job stream required to run
DFHCSDUP, see "Job Control Statements to Define and
Initialize the CICS System Definition File" on page 220.
3.
Make the CSD fi Ie avai lable to CICS. Add the job statements
for the CSD file to the CICS execution job stream. For
details of the job statements, see "Job Control Statements
for CICS Execution" on page 222.
4.
Add entries to your existing program processing table (PPT)
and program control table (PCT) to define the CEDA
transaction and the programs it uses. These entries must be
present in the PPT and PCT specified for use by CICS
initialization.
RDO will probably enable you to dispense with the PPT and PCT
completely. However, in order to initiate the CEDA
transaction for the very first time, your existing PPT and PCT
have to be modified and regenerated as follows:
a.
Add the required programs to support the CEDA transaction
to your program processing table (PPT). To do this, code:
DFHPPT TYPE=GROUP,FN=SPI
DFHPPT TYPE=GROUP,FN=BACKOUT
DFHPPT TYPE=GROUP,FN=OPENCLSE
b.
Add the CEDA transaction definition to your program
control table (PCT). To do this, code:
DFHPCT TYPE=GROUP,FN=SPI
c.
You must provide security protection for the CEDA
transaction by coding:
DFHPCT TYPE=INITIAL,TRANSEC=(SPI(n), .•. ), •..
where n is a security code that has been assigned to
authorized users of CEDA.
Chapter 2.9.
Migrating Resource Definitions
131
The definition of the CEDA transaction must specify DTB=YES.
This is the default unless you specify DTB=NO on the DFHPCT
TYPE=INITIAL macro, in which case you must code a DFHPPT
TYPE=ENTRY macro for the CEDA transaction, specifying
DTB=YES.
Note: You cannot use the definitions from your initialized
CSD file at this stage, because they are not yet included in
the running CICS system.
For further details, see the CICS/VS Resource Definition
Guide.
5.
Check your sign-on table. The operator identification
specified in the OPIDENT parameter is used by the lock
mechanism of the CEDA transaction. If two or more operators
with the same OPIDENT are allowed to use the CEDA transaction,
one operator will be able to update groups locked to the other
operator(s).
6.
Add the definition of the CSD file to your file control table
(FCT). To do thi s, code:
DFHFCT TYPE=DATASET,DATASET=DFHCSD, •.•
For further information on the FCT entry for the CSD file, see
"File Control Table Definition of the CSD File" on page 220.
7.
Ensure that support for dynamic transaction backout is
specified in your system initialization table. To do this,
code:
DFHSIT TYPE=CSECT,DBP=xx, ...
where xx is the suffix of the required version of the dynamic
backout program. The pregenerated versions have the suffixes
1$ (without DL/I support) and 2$ (with DL/I support).
8.
Arrange anaud it tra i I (opt i onal) • If you wi sh to have an
audit trail of all the CEDA commands that modify the CSD file
or the running CICS system, you should define a transient data
queue named CSDL. To do this, code:
DFHDCT TYPE=INDIRECT,DESTID=CSDL,INDDEST=CSMT
This definition will send the audit trail of CEDA commands to
the same destination as the CSMT messages. If you wish, you
may direct the CSDL destination to any other transient data
queue or define it as an extrapartition queue. For details of
required block sizes and so on, see under "Required Entries in
the DCT" in the CICS/VS Resource Definition Guide.
If you do not want an audit trail of CEDA commands, do not
define the CSDL queue in your destination control table.
9.
Use CEDA. It will now be possible to initialize CICS and
invoke the CEDA transaction. For details of how to use the
CEDA transaction, see the CICS/VS Resource Definition Guide.
It will be possible to examine the CICS-supplied DFHLIST and
the contents of the groups in that list. Furthermore, it will
be possible to add new resource definitions to the CSD. A
useful exercise would be to run through the example session in
the CICS/VS Resource Definition Guide, substituting
transaction and program names of your own choice.
10. Prepare tables for migration. It is not necessary to migrate
your existing PPTs and PCTs into a form accessible by the CEDA
transaction. If the advantages of using RDO convince you that
such a step is worthwhile, however, you should make some
changes to your PPT before you carry out the migration.
All DFHPPT TYPE=ENTRY macro instructions for map sets should
be changed to specify the new MAPSET operand instead of the
132
CICS/DOS/VS Installati on and Operati ons Gui de
existing PROGRAM operand. In addition, you should ensure
that existing PPT entries for programs do not specify
USAGE=MAP. If you do not make these changes, the DFHCSDUP
offline utility program will define some map sets as programs
and some programs as map sets.
11. Migrate tables to the CSD file. The load module versions of
your tables can be migrated into CSD file entries using the
MIGRATE command of the DFHCSDUP offline utility program. For
further details, see the next section.
MIGRATION OF PCT AND PPT ENTRIES
You can use an offline utility routine to convert the entries at
present in your PCT and PPT into resource definitions on the CSD
file. This is done by executing the MIGRATE command of the
DFHCSDUP offline utility program, described in "DFHCSDUP
Commands" on page 225.
The tables to be migrated must first be assembled for CICS 1.6,
then link-edited into your CICS core image library. You should
ensure that none of the tables you migrate contains
internally-duplicated entries. You should not attempt to migrate
a table that produced errors with a severity greater than 4 when
it was assembled.
One group is created on the CSD file for each table migrated. If
the migrated table is a PPT, the group will contain program, map
set, and partition set definitions. If it is a PCT, the group will
contain definitions of transactions and profiles. After the
migration, you should reorganize the definitions into more
convenient, smaller groups, by using the CEDA transaction COpy
and DELETE commands.
If your tables contain entries for any IBM standard programs,
profiles, or transactions, these will not normally be migrated to
the group created by the MIGRATE command. This is because the
definitions for these entries already exist in one of the IBM
standard groups created by the INITIALIZE command, described in
"DFHCSDUP Commands" on page 225.
In special cases where the properties of the resource as defined
in your table differ from those of the IBM-supplied definition,
the definition will be migrated. An example of this is
transaction definitions with security protection, where the
security key provided may not be the same as the one that was
specified in the DFHPCT TYPE=INITIAL macro instruction. In this
case, the definition will be migrated.
MIGRATION OF PROGRAMS, HAP SETS, AND PARTITION SETS (PPT)
One definition record is created on the CSD file for each PPT
entry migrated. When you prepare the DFHPPT macros to assemble
your table, you can distinguish map sets and partition sets from
programs by using the MAPSET=name or PARTSET=name parameters. If
you have done this, the resulting resource definitions will
always have the correct resource types.
If you have not done this, and your map sets were identified by
coding the PROGRAM=name parameter, the migration routine will
normally create a PROGRAM definition. If however, you coded the
parameter USAGE=MAP, the migration routine assumes that the entry
is intended for use as a map set, and creates a MAPSET definition.
(This does not happen if you specified a language other than
PGMLANG=ASSEMBLER.)
Note, however, that the migrated definition of a map set does not
have the properties associated with USAGE=MAP. USAGE=MAP is not
supported by resource definition online.
Chapter 2.9.
Migrating Resource Definitions
133
In summary, the resource types created from PPT entries are:
DFHPPT
pa~amete~
coded
PROGRAM=name (without USAGE=MAP)
PROGRAM=name (with USAGE=MAP)
MAPSET=name
PARTSET=name
CSD·f;le
resou~ce c~eated
PROGRAM
MAPSET
MAPSET
PARTITIONSET
MIGRATION OF PROFILES (PCT)
If your PCT contains any user-created profiles, they will be
migrated to the CSD file as PROFILE definitions. Profiles can
also be created automatically from transaction entries (see
below). The automatically-created ones are interchangeable with
the user-defined ones, both in the way they can be associated with
transactions, and in the context of the EXEC CICS ALLOCATE
command.
The CICS-provided profiles (DFHCICST, DFHCICSV, and so on) are
created on the CSD file by the INITIALIZE command, so definitions
of these will not normally be migrated from your tables.
MIGRATION OF TRANSACTIONS (PCT)
Some of the properties that, in earlier releases of CICS, were
attributes of a transaction are now handled as attributes of a
profile. In a system with RDO, every transaction now has an
associated profile that contains most of the terminal-related
properties. A profile can be used by any number of transactions.
For every transaction that is migrated, a TRANSACTION definition
will be created, and possibly a PROFILE definition as well.
Whether that happens depends on the values of those transaction
attributes that are now handled as profile properties.
All transactions will be migrated with the following properties:
CLASS=LONG
PRIVATE=YES
DTB=YES
FDUMP=(ASRA,ASRB)
ANTICPG=NO
In addition, any PRMSIZE is ignored. There is no way, using the
resource definition online facility, of changing these
properties.
If the transaction being migrated has properties that differ from
the list above, messages will be produced by the migration
utility.
PROFILE PROPERTIES
When a transaction entry is migrated, a check is made on those
fields of the PCT entry that have become 'profile' properties.
They are compared with the properties of the default profile
DFHCICST. If they match, DFHCICST is taken as the associated
profile, and no new profile is created. Otherwise, they are
compared with the properties of two other CICS-provided profiles
(DFHCICSV and DFHCICSA) in a similar way. If the properties do
not match any of these three standard profiles, a new profile is
created automatically. It will be given the name xxxxtttt, where
tttt denotes the transaction name. The profile called xxXXtttt is
automatically associated with transaction tttt.
When the next transaction entry is migrated, the newly-created
profile will be used for comparison, along with DFHCICST,
DFHCICSV, and DFHCICSA. The properties may match any of these
four profiles. As this process continues, several new profiles
134
CICS/DOS/VS Installation and Operations Guide
may be generated, and several transactions may become associated
with a generated profile XXXXtttt.
In the very unlikely event of the name of a generated profile
XXXXtttt being the same as that of a user-defined profile (created
with a TYPE=PROFILE entry in the peT), the latter will be migrated
in the normal way. It is up to you to use the CEDA transaction
afterwards to ensure that the transaction that caused this to
happen is correctly defined and associated with a suitable
profile, which you must define yourself.
Transaction Names
A transaction will be migrated to the CSD file only if its name
conforms to the rules for a transaction name acceptable to RDO.
(See the description of the DEFINE TRANSACTION command in the
CICS/VS Resource Definition Guide.)
Lowercase transaction names
are permitted, and these will be migrated with lowercase names.
Mixed uppercase and lowercase names will also be preserved.
Transactions with names containing unacceptable characters (for
example,
and +) will not be migrated to the CSD file. You can
use the CEDA transaction to define these with names that are valid
for RDO, using the XTRAHID alias to cope with special characters.
*
Transaction Aliases
In a system with RDO, every transaction must have a primary
transaction name. This may not be the case for all the
transactions currently in your PCT. Some may be referred to only
by a TASKREQ key identifier. If this is the case, a name will be
automatically assigned to the transaction when the PCT entry is
migrated.
The name assigned to the transaction will be one of:
PAl, PA2, PA3
PFl through PF24
OPID
LPA
MSRE
-
for
for
for
for
for
PA keys
PF keys
the operator identification card reader
the 3270 light pen field
the magnetic stripe reader
If a migrated transaction is assigned one of these names, it is
possible that you already have another transaction in your table
with the same name. If this happens, the latter will be migrated.
The one with the name derived from a TASKREQ identifier will not
be migrated, and you can use CEDA afterwards to define this
transaction with a name that avoids the duplication.
AFTER YOU HAVE MIGRATED YOUR TABLES TO THE CSD FILE
1.
Rearrange the resource definition groups.
Bring up the CICS system with CEDA support, and use the CEDA
transaction to examine the migrated resource definitions on
the CSD file. The MIGRATE command will have created a group
for each table. It will be found that such groups are not
easily managed, and it is better to rearrange the transaction
and program definitions into logical groupings. Use the COpy
and DELETE commands to group related transactions, programs,
and so on, into the same group. We suggest that you split
groups containing many resource definitions (say, more than
200) into smaller groupings to avoid problems in the
management of such large groups. Create lists that name the
groups of resource definitions that must be installed
together during CICS initialization.
If you have migrated an extremely large PPT or PCT (with more
than 2000 entries, say), you may experience problems when
using the CEDA transaction to EXPAND or manipulate the very
Chapter 2.9.
Migrating Resource Definitions
135
large group created. If this happens, you may have to split
the table into smaller components and migrate the components
individually.
The migration operation may have produced a number of
messages indicating, for example, the certain transaction
names have been created for transactions initiated by program
function keys. You should read these warning messages
carefully. In most cases, these messages will warn you that
some parameter specified for a definition is not supported by
resource definition online, and no further action is
necessary. However, there may be messages that require
corrective action, for example, those warning of duplication
of definitions.
It may be necessary to change the name created by the
migration utility by means of the RENAME command. In
addition, the migration operation may have created certain
profile names because a PCT TYPE=ENTRY macro was split into a
transaction definition and a profile definition referenced by
the transaction definition. You may wish to rename these
profiles. If so, it will be necessary to alter the
transaction definitions that refer to that profile.
The created profile definitions may differ from the standard
CICS-provided definitions (DFHCICST) in ways that are of no
significance to your implementation. For example, the
DFHCICST has INBFMH=NO, whereas the PCT-derived profiles may
have INBFMH=EODS (because this was the default for the PCT).
If this distinction is of no significance to your
installation, it would be preferable for all references to
the derived profiles to be replaced by references to
DFHCICST. This is most easily done by using the generic
capabilities of the CEDA transaction ALTER command.
2.
Change the transaction security codes.
The following CICS-supplied transactions (shown here with
their group names) are defined with a transaction security
code (TRANSEC) of 2:
•
•
•
•
•
Master terminal - DFHMASTT (CSMT, CSST)
Operator - DFHOPER (CEMT, CEST)
Execution diagnostic facility - DFHEDF (CEBR, CEDF)
Interpreter - DFHINTER (CECI)
RDO - DFHSPI (CEDA)
These transactions can be used only by a terminal operator
having a security key that includes the value 2 (unless XSP=NO
is coded). You will almost certainly want to change this
security value by copying the appropriate groups and changing
the TRANSEC value. A TRANSEC oT 1 was not used because that
would have enabled all operators to use the transactions if
the CICS-supplied groups were to be installed unchanged by
mistake.
3.
Install CSD file definitions at CICS initialization.
Code the GRPlIST operand on the DFHSIT macro or as an
initialization override, specifying the list that contains
the names of the groups to be loaded during system
initialization. The contents of these groups will be merged
into the PPT and PCT in storage. If you have specified either
or both the PPT and PCT to have a blank suffix, it is
necessary to code PPT=YES and/or PCT=YES as initialization
overrides if you wish to load tables from the core image
library and use the GRPlIST operand.
136
CICS/DOS/VS Installation and Operations Guide
4.
Abandon use of the PPT and PCT.
The final step is to abandon the use of the PPT and PCT
completely. Before doing so, you must ensure that the list
you intend to use names all required groups, including all the
CICS-provided groups that your system needs.
To avoid loading the PPT or PCT from the core image library,
delete the PPT and PCT operands from your DFHSIT macro, or
code PPT=HO and PCT=HO as system initialization overrides.
In this case, all transactions and program definitions will
be derived from the CSD file, and no PPT or PCT will be loaded
into storage.
After you have set up appropriate back-up procedures for your
CSD file and your production system is running successfully
without use of the PPT and PCT load tables, you may delete
your PPT and PCT (both the source form and the core image
library phase form) from your libraries.
Chapter 2.9.
Migrating Resource Definitions
137
Part 3. Installing Control Tables and Application Programs
•
Part 3.
Installing Control Tables and Application Programs
139
Chapter 3.1. Introduction
This part is concerned with the app!;cat;on component of eIeS.
This relates to those elements of a running eIeS system that are
specific to the individual user and are not provided as part of
the distributed system (except for the sample tables, application
programs, and utilities mentioned in Appendixes D and E).
These elements will primarily consist of user-provided
application programs or application packages, together with
associated maps or map-set definitions. You can install these in
a eIeS system at any time after the eICS system itself has been
installed.
In order to install application programs or packages, you will
need to make changes to the CICS control tables, whi ch defi ne the
user resources to the CICS system. This part tells you how to
install modified or new tables in the CICS system, as well as how
to install maps, map sets, and application programs. This
information is given in the following chapters:
•
•
•
Installing CICS control tables (Chapter 3.2)
Installing map sets and partition sets (Chapter 3.3)
Installing application programs (Chapter 3.4).
•
This part does not tell you how to code the various resources. The
CICS/VS Resource Definition Guid~ tells you how to code the CIeS
control tables to obtain the facilities you need. Application
programming is dealt with in the CICS/VS Application Programmer's
Reference Manual (Macro level) and CICS/VS Application
Proorammer's Reference tlanual (Command level). The CICS/VS
Recovery and Restart Guide contains guidance information on the
preparation of node error programs, terminal error programs, and
program error programs.
Before you start to define resources for your CICS system, you
should:
o
Review the pregenerated control tables described in Appendix
D. Decide which of these, if any, are appropriate as they
stand or if they can be used as a base for modi fi cati on.
Ensure that the tables and programs you select are
consistent.
•
For the program processing table and program control table,
decide which transactions and programs should be defined in
the tables, and which entries will be created dynamically by
the CEDA transaction.
Chapter 3.1.
Introduction
141
Chapter 3.2. Installing CICS Control Tables
CICS is a table-driven system. Before CICS can be run, the
resources it controls must be defined in CICS control tables or
(for certain resources) in the CICS system definition file. This
chapter describes the preparation, assembly, and link-editing of
CICS control tables. For information on the CICS system
definition file, see "Chapter 4.10. CICS System Definition
File."
CICS tables describe the data base/data communication environment
and the treatment to be given to elements of that environment. All
information regarding the terminals, data sets (permanent and
temporary), programs, transactions, and operator identification
is contai ned in these tables. The tables are created
independently of system generation, but some of the tables are
required for the system to be operational.
Each control table is created separately and can be re-created at
any time prior to system initialization.
The list below gives the names of all tables that can be
installed:
Table
Name
Application load table
Destination control table
File control table
Journal control table
Monitor control table
Nucleus load table
Program control table
Program list table
Processing program table
System initialization table
Sign-on table
System recovery table
Terminal control table
Terminal list table
Temporary storage table
Transaction list table
DFHAlTxx
DFHDCTxx
DFHFCTxx
DFHJCTxx
DFHMCTxx
DFHNlTxx
DFHPCTxx
DFHPLTxx
DFHPPTxx
DFHSITxx
DFHSNT
DFHSRTxx
DFHTCTxx
DFHTLTxx
DFHTSTxx
DFHXLTxx
*
*
Note: The resources defined by means of the tables marked with an
asterisk may alternatively be defined, modified, and installed
while CICS is running. This method avoids the necessity of
preparing and link-editing the tables. Instead, you use:
•
The CICS-provided CEDA transaction (see the CICS/VS Resource
Definition Guide) and
•
The CICS system definition (CSD) file (see "Chapter 4.10.
CICS System Definition File").
If you wish to keep your CICS system running for an extended
period of time and LoJant to add new facilities, CEDA also allows
you to change definitions without having to shut down and restart
CICS - this is especially useful in the test phase of a CICS
installation.
Versions of certain of these control tables are provided as
samples in the pregenerated system (see Appendix D).
Apart from the sign-on table, all these tables can be created in
more than one version. The different versions are distinguished
by specifying a 2-character suffix when the tables are defined.
Chapter 3.2.
Installing CICS Control Tables
143
•
This suffix can then be used in the system initialization table or
as an override parameter during system initialization to identify
the version to be used for a particular CICS execution.
MINIMUM RESOURCE DEFINITIONS
Two CICS tables must exist in the load library before CICS can be
run:
•
•
System initialization table
Terminal control table.
In addition, program and transaction definitions must exist in
the system. You can do this
•
By providing a processing program table (PPT) and program
control table (PCT). You can supplement these with your own
entries, and assemble and link-edit these tables into the
core image library as described later in this chapter. You
must check the security values associated with all
transactions to ensure that they are available only for
authorized operators.
•
As an alternative to assembling and link-editing the PPT and
PCT, you can run the DFHCSDUP offline utility to create and
initialize the CICS system definition (CSD) file with the
required entries. You can then add further program and
transaction entries while running CICS, by using the CEDA
transaction (see "Chapter 4.10. CICS System Definition
File"). In this case, the file control table (FCT) will also
be required, with a DFHCSD entry.
other tables are needed only if you are using the corresponding
CICS facilities. For full details of all CICS tables, essential
and optional, see the CICS/VS Resource Definition Guide.
INSTALLING THE CICS CONTROL TABLES
The CICS/VS Resource Definition Guide tells you how to code the
macro instructions for each control table, and explains the
meaning of the various parameters that can be used. The rest of
this chapter describes the procedures to be followed to assemble
and link-edit the control tables and add them to the working
system.
New tables can be assembled at any time before a CICS system is
started up.
ASSEMBLING AND LINK-EDITING THE CONTROL TABLES
The steps and procedures for preparing the control tables are
illustrated in Figure 49. The tables are generated by assembling
the appropriate macro instruction (for example, DFHSIT macro for
the system initialization table) with its associated operands.
The output of each assembly is preceded by the linkage editor
control statements (PHASE and INCLUDE) required to link-edit the
table into the CICS core image library.
144
CICS/DOS/VS Installation and Operations Guide
Macro statements
defining the
control table
Linkage Editor
input (object)
Figure 49. Installing the CICS Control Tables
Each group of source statements defining a control table must be
terminated by an assembler END statement. The END statement may
include the label (symbol) of the table entry point, in the form
DFHxxxBA, where xxx is the name of the table (for example, TCT for
the terminal control table). If this is not provided, CICS will
generate the entry point address itself from the TYPE=INITIAL
macro instruction for the table.
Note: The label must be coded if a user-supplied nucleus load
table specifies ALIGN=ENTRY for the table. If the label is
omitted in this case, no entry point is assigned by the linkage
editor, and the table will be load-point aligned rather than
entry-point aligned.
Chapter 3.2.
Installing CICS Control Tables
145
The following is an example of the job stream required to assemble
and link-edit a CICS control table:
// JOB CICSTAB
CICS/DOS/VS CONTROL TABLE GENERATION
// OPTION CATAl,NODECK,AlIGN
ACTION SMAP
(VSE/AF Version 1 Release 3)
// lIBDEF Cl,TO=user-cil-filename
// lIBDEF Rl,SEARCH=cics-rlb-filename
// lIBDEF Sl,SEARCH=cics-slb-filename
// EXEC ASSEMBLY
*
.
source statements defining a CICS control table
END
/*
// EXEC
/&
lNKEDT
Figure 50. Assembling and link-Editing a CICS Control Table
Notes:
1.
ACTION SMAP may be used with VSE/Advanced Functions Release 3
to produce a linkage editor map, sorted into alphameric order
of CSECTs.
2.
When a destination control table or a file control table
addressing DAM files is link-edited, the unresolved external
reference $$$$$$$$ is listed and the module will also have one
unresolved address constant.
3.
When a file control table addressing ISAM files is
link-edited with the AUTOlINK option, one or more unresolved
external references may be listed, depending on which of the
CICS versions of the ISAM logic modules are present in the
relocatable library. The references are of the form:
DFHISMxy where x=R includes RPS support
x=N without RPS support
and
y=C includes CORDATA support
y=N without CORDATA support
In order to avoid generating unnecessarily large file control
tables containing unwanted ISAM logic modules, you should
specify the linkage editor NOAUTO option, and select the
logic modules required, uy means of INCLUDE statements.
Any other assembly and/or link-edit errors should not be ignored.
THE NEXT STEP
After you have successfully assembled and link-edited your table,
you have to define it in the system initialization table which, in
turn, is used when the system is initialized. Alternatively, the
system operator can override the system initialization table and
specify the new table explicitly in the system initialization
override parameters (see "Chapter 5.3. System Initialization
Parameters" for further information).
146
CICS/DOS/VS Installation and Operations Guide
Chapter 3.3. Installing Map Sets and Partition Sets
Basic Mapping Support CBMS) enables an application program to
read in device-dependent data and convert it to a
device-independent standard form, or to generate device-dependent
output data from this device-independent standard form. In both
cases, the structure of the device-independent standard form, and
the layout of the data on the display terminal are determined by a
user-defined m~p. Related maps - for example, maps used in the
same application program - are grouped together into a m~p set.
See the CICS/VS Ae.e.l i cati on Programmer's Reference ~1anual n1acro
level) or the CICS/VS Apel....U:ation Progrfimmer's Ref~r~nce Manual
(Command levell for further information on the definition and use
Of maps aI'ld map sets.
Some terminals, such as the IBM 8775 display terminal and the IBM
3290 display terminal, support screen division by partitions. The
available display area may be split into a set of related 'logical
screens' called partitions. The layout and properties of the set
of partitions which can be simultaneously displayed on a terminal
are defined by the BMS user in a partition set. See the CICS/V~
Application Programmer's Ref~renc~ Manual (Command level). for
further details on the definition and use of partition sets.
CICS supports the definition of map sets and partition sets by
assembler macro instructions. Map sets may also be defined
interactively, using program products such as Screen Definition
Facility CSDF)/CICS (program number 5740-XYF).
The remainder of this chapter describes how to assemble and
link-edit map sets and partition sets for use with CICS, assuming
that they are defined by the CICS-supplied macro instructions.
INSTALLING MAP SETS
Two kinds of map set must be generated:
•
A physical map set, used by BMS to translate data from the
standard dev i ce- independent form used by appl i cat i on programs
to and from the device-dependent form required by terminals.
•
A symbolic
program to
user data.
definition
and a data
description map set, used in the application
define the standard device-independent form of the
This is a DSECT in assembler language, a data
in COBOL, a BASED or AUTOMATIC structure in Pl/I,
structure in RPG.
Physical map sets must be cataloged in the core image library.
Symbolic description map sets may be cataloged in the source
statement library, or they may be included in the application
program itself.
The map set definition macro instructions are assembled twice,
once to produce the physical map set used by BMS in its formatting
activities, and once to produce the symbolic storage definition
that will be copied into the application program. The distinction
bett'Jeen these two types may be made ei ther by the TYPE operand of
the DFHMSD macro instruction, or by the use of the SYSPARM
parameter of the OPTION statement (SYSPARM='MAP' or
SY5 PAR ~1 = , DSEC T ' ), i n 1..J h i c h c () set h e TYP E 0 per and i s i g nor e d . The
use of SYSPARM allows both the physical map set and the symbolic
description map set to be generated from the same unchanged set of
BMS map set definition macro instructions.
Map sets can be assembled as either un~1;9ned or al;9ned (an
al i gned map is one in l.Jhi ch the length fi eld is al i gned on a
hal fword boundary). You should use unal i gned maps except incases
where an appl i cat i on package requ i res the use of a Ii gned maps.
Chapter 3.3.
Installing Map Sets and Partition Sets
147
The distinction between aligned and unaligned map sets is mad~ by
use of the SYSPARM parameter on the OPTION statement when
assembling the map set. SYSPARM='A' is used to indicate that
aligned maps are to be assembled, the type of map being taken from
the TYPE operand on the DFHMSD macro instruction. Alternatively
both the map set type and alignment may be specified by the
SYSPARM parameter. SYSPARM='AMAP' generates an aligned physical
map set, and SYSPARM='ADSECT' generates an aligned symbolic
description map set.
Prior to CICS 1.6, BMS was generated by the DFHSG PROGRAM=BMS
macro instruction to assume that all map sets are aligned, or that
all map sets are unaligned. Thus aligned and unaligned map sets
could not be mixed.
In CICS 1.6, the physical map set contains information indicating
whether it was assembled for aligned or unaligned maps. This
information is tested at execution time, and the appropriate map
alignment used. Thus aligned and unaligned map sets can be freely
mixed.
The above alignment information is, of course, missing from
physical map sets assembled before CICS 1.6. The BMS operand of
the DFHSIT macro instruction and the associated startup override
indicate whether map sets assembled before CICS 1.6 are aligned or
unaligned. See the CICS/VS Resource Definition Guide for further
information.
Offline map preparation support for the IBM 3270 Information
Display System was provided under earlier CICS BMS versions
through the DFHMDI and DFHMDF macro instructions, with no
requirement for a DFHMSD macro instruction. Such maps are no
longer supported. Their source definition must be modified to use
the DFHMSD macro instruction, and the resultant map set
reassembled.
Applications and maps designed for the 3270 Information Display
System will run unchanged on devices supporting extensions to the
3270 data straam such as color, extended highlight, programmed
symbols,'and validation. To use fixed extended attributes such as
color, only the physical map set need be reassembled. If dynamic
attribute modification by the application program is required,
both the physical and symbolic description map sets must be
reassembled, and the application program reassembled or
recompiled.
The following three sections describe, in turn, the preparation
of physical map sets and symbolic d~scription map sets
separately, and then in one job. In these sections, it is assumed
that the SYSPARM parameter is used to distinguish between the two
types of map set.
INSTALLING PHYSICAL MAP SETS
The procedure for installing physical map sets, illustrated in
Figure 51, is similar to that for installing assembler-language
application programs. The relocatable library is not needed.
148
CICS/DOS/VS Installation and Operations Guide
Macro statements
defining the map
set
Assembly
listing
Linkage Editor
input (object)
Figure 51. Installing Physical Map Sets
The following job stream is an example of the assembly and
link-edit of physical map sets:
// JOB BMSMAP
* CICS/DOS/VS ASSEMBLE AND LINK-EDIT BMS MAP SET
// OPTION CATAL,NODECK,ALIGN,SYSPARM='MAP'
(see note 1)
ACTION SMAP
(see note 2)
PHASE
name,*
(see note 3)
// LIBDEF CL,TO=user-cil-filename
// LIBDEF RL,SEARCH=cics-rlb-filename
// LIBDEF SL,SEARCH=cics-slb-filename
// EXEC
ASSEMBLY,SIZE=nnK
(see note 4)
source statements defining the physical map set
END
/*
// EXEC
/&
LNKEDT
Figure 52. Assembling and Link-Editing a Physical Map Set
Notes:
1.
If halfword-aligned length fields are required, it is
necessary to specify the option SYSPARM='AMAP' instead of
SYSPARM='MAP'
2.
ACTION SMAP may be used with VSE/Advanced Functions Version 1
Release 3 to produce a linkage editor map, sorted into
alphameric order of CSECTs.
Chapter 3.3.
Installing Map Sets and Partition Sets
149
3.
The PHASE statement must be used to specify the name of the
physical map set which BMS will load into storage. If the map
set is device-dependent, the PHASE name should be derived by
appending the device suffix to the original 1- to 7-character
map set name used in the application program. The suffixes to
be appended for the various terminals supported by CICS BMS
depend on the parameter specified in the TERM or SUFFIX
operand of the DFHMSD macro instruction that defined the map
set. See the CICS/VS Application Proqrammer's Reference
Manual (Command level) or the CICS/VS Application
Programmer's Reference Manual (Macro level) for a complete
list of map set suffixes.
4.
A SIZE parameter value of up to 400K bytes will be required
for the assembler under VSE.
Note that an entry in the processing program table is required for
each physical map set. This is defined using the DFHPPT macro
instruction or the CEDA DEFINE MAPSET command, as described in the
CICS/VS Resource Definition Guide.
Programmers writing assembler-language macro level application
programs have the option to assemble map sets into their
application programs. In this case, no separate physical map set
generation run is performed, and no processing program table
entry is required. The application program passes the address of
the map sets to BMS whenever a mapping operation is requested.
INSTALLING SYMBOLIC DESCRIPTION MAP SETS
Symbolic description map sets enable the application programmer
to make symbolic references to fields in the physical map set. The
source statements defining the symbolic description map set are
assembled, and the output directed to SYSPCH (the output may be on
card, tape, or disk). Where many map sets are to be used in an
installation, or where there is multiple use of common map sets,
you should place the symbolic description map sets in the source
statement library, from which they can be copied into any
application program.
When a symbolic description map set is generated under the same
name for different programming languages, a separate copy must be
placed on the sublibrary of the source statement library for each
language. Figure 53 illustrates the preparation of symbolic
description maps for BMS.
150
CICS/DOS/VS Installation and Operations Guide
/
~
Macro statements
defining the
symbolic
description
map set
VSE
Assembler
~
-
~
~
Text Deck containing
Application Program
Data structure definitions
Library
Maintenance
Listing
Figure 53. Installing Symbolic Description Map Sets
To use the symbolic description map set in a program. you must assemble
the map set and obtain a punched copy of the storage definition through
SYSPCH. Where many map sets are to be used in an installation, or where
there are multiple users of common map sets, you should establish a
private source statement library for each language that you use. The
symbolic storage definitions for map sets should be placed in each
library, from which they can be copied into application programs. When a
symbolic storage definition is prepared under the same name for more than
one programming language, a separate copy of the symbolic storage
definition must be placed in each source statement library. You must
ensure that the source statement libraries are correctly concatenated
with lIBDEF.
You need only one symbolic description map set corresponding to all the
different suffixed versions of the physical map set. For example, you
might want to run the same application on terminals with different screen
sizes. You would define two map sets each with the same fields, but
positioned to suit the screen sizes. Each map set would have the same name
but a different suffix. which would mDtch the suffix specified for the
terminal. You would need to assemble and link-edit the different physical
map sets separately but create only one symbolic description map set,
because the symbolic description map set would be the same for all
physical map sets.
The following example, which applies to symbolic description map sets for
any supported programming language, uses disk as intermediate storage
between the assembly and the catalog in the target source statement
library.
Chapter 3.3.
Installing Map Sets and Partition Sets
151
// JOB BMSASM
* CICS/DOS/VS ASSEMBLE BMS SYMBOLIC DESCRIPTION MAP SET
* USING DISK AS INTERMEDIATE OUTPUT
// DlBl IJSYSPH, 'MAP ASSEMBlY',O,SD
// EXTENT SYSPCH,balance of extent information
ASSGN SYSPCH,DISK,VOL=volid,SHR
// OPTION DECK,SYSPARM='DSECT'
// LIBDEF SL,FROM=cics-slb-filename
// EXEC ASSEMBLY
PUNCH' CATALS sublib.bookname'
(see note 1)
source statements defining symbolic description map set
.
END
/*
CLOSE SYSPCH,PUNCH
// DlBL IJSYSIN,'MAP ASSEMBLY',O,SD
// EXTENT SYSIPT
ASSGN SYSIPT,DISK,VOL=volid,SHR
// lIBDEF SL,TO=user-slb-filename
// EXEC MAINT
CLOSE SYSIPT,SYSRDR
// EXEC SSERV
DSPlY sublib.bookname
(see note 2)
(see note 1)
Figure 54. Assembling and Link-Editing a Symbolic Description Map
Set
If halfword-aligned length fields are required, the option
SYSPARM='ADSECT' should be specified instead of SYSPARM='DSECT'.
Notes:
1.
The 'sublib' specified in the CATALS and DSPLY statements
must correspond to the programming language specified in the
symbolic description map d~finition:
A.
C.
P.
R.
2.
for
for
for
for
assembler language
COBOL
PL/I
RPG II
The SSERV library service program lists the cataloged
symbolic description map set.
INSTALLING PHYSICAL AND SYMBOLIC DESCRIPTION MAP SETS TOGETHER
The physical map set and the symbolic description map set can be
assembled and cataloged in the same job using SYSPARM in the //
OPTION job control statements for the assembler execution steps.
If unaligned length fields are required, SYSPARM='MAP' must be
used to produce the physical map set, and SYSPARM='DSECT' to
produce the symbolic description map set.
If halfword-aligned length fields are required, SYSPARM='AMAP'
should be used to produce the physical map set, and
SYSPARM='ADSECT' to produce the symbolic description map set.
The following job stream is an example of the assembly of
unaligned BMS physical and symbolic description map sets in one
job. Tape is used as intermediate storage for the symbolic
description map set.
152
CICS/DOS/VS Installation and Operations Guide
//
*
*
//
//
JOB CICSBMS
CICS/DOS/VS ASSEMBLE AND CATALOG BMS PHYSICAL AND
SYMBOLIC DESCRIPTION MAP SET
lIBDEF Sl,TO=user-slb-filename
EXEC
MAINT
STEP 1
(see note 1)
CATALS A.DUMMYMAP
BKEND
A.DUMMYMAP
source statements defining physical map set
BKEND
/*
// OPTION CATAL,NODECK,SYSPARM='MAP',ALIGN
mapname,*
PHASE
// LIBDEF Sl,SEARCH=(user-slb-filename,cics-slb-filename)
// lIBDEF Cl,TO=user-cil-filename
// EXEC
ASSEMBlY,SIZE=nnK STEP 2
(see notes 2 and 3)
COpy
DUMMYMAP
END
/*
//
//
//
//
//
//
EXEC
LNKEDT
STEP 3
(see note 4)
SYSPCH,cuu
(assign SYSPCH to tape)
ASSGN
OPTION DECK,SYSPARM='DSECT'
LIBDEF Sl,SEARCH=(user-slb-filename,cics-slb-filename)
LIBDEF CL,TO=user-cil-filename
EXEC
ASSEMBLY,SIZE=nnK STEP 4
(see note 5)
, CATALS sublib.bookname'
PUNCH
COpy
DUMMYMAP
END
/*
//
//
//
//
//
MTC
WTM,SYSPCH,2
MTC
REW,SYSPCH
RESET
SYSPCH
LIBDEF SL,TO=user-slb-filename
EXEC
MAINT
STEP 5
DElETS A.DUMMYMAP
/*
// ASSGN
// EXEC
/&
SYSIPT,cuu
MAINT
(see note 6)
(cuu from SYSPCH above)
STEP 6
(see note 7)
Figure 55. Assembling and Link-Editing a Physical and a Symbolic
Description Map Set
Notes:
1.
Step 1 places the BMS source statements on the source
statement library using a specific bookname.
2.
A SIZE parameter value of up to 400K bytes wi 11 be requi red
for the assembler under VSE.
3.
Step 2 assembles the BMS source statements to create the
physical map set by specifying the system global
SYSPARM='MAP' in the // OPTION job control statement.
4.
Step 3 link-edits and catalogs the physical map set in the
core image library.
5.
Step 4 assembles the BMS source statements to create a
symbolic description map set by specifying the system global
SYSPARM='DSECT' in the // OPTION job control statement.
6.
Step 5 deletes the BMS source statements from the source
statement library.
Chapter 3.3.
Installing Map Sets and Partition Sets
153
7.
Step 6 catalogs the symbolic description map set in the target
source statement library.
INSTALLING PARTITION SETS
Partition sets are handled in the same way as physical map sets.
There is no concept of a symbolic description partition set.
The procedure for installing partition sets is illustrated in
Figure 56.
/' Macro statements
defining the
partition set
~
Assembly
listing
Linkage Editor
Input (object)
Linkage
Editor
Listing
Figure 56. Installing Partition Sets
The following job stream is an example of the assembly and
link-edit of partition sets:
//
*
//
//
//
//
JOB BMSMAP
CICS/DOS/VS ASSEMBLE AND LINK-EDIT BMS PARTITION SET
OPTION CATAL,NODECK,ALIGN
(see note 1)
ACTION SMAP
(see note 2)
PHASE
name,*
lIBDEF SL,SEARCH=cics-slb-filename
LIBDEF CL,TO=user-cil-filename
(see note 3)
EXEC
ASSEMBLY,SIZE=nnK
source statements defining the partition set
END
/*
// EXEC
/&
LNKEDT
Figure 57. Assembling and Link-Editing a Partition Set
154
CICS/DOS/VS Installati on and Operati ons Gui de
Notes:
1.
ACTION SMAP may be used with VSE/Advanced Functions Version 1
Release 3 to produce a linkage editor map, sorted into
alphameric order of CSECTs.
2.
The PHASE statement must be used to specify the name of the
partition set which BMS will load into storage. If the
partition set is device-dependent, the PHASE name should be
derived by appending the device suffix to the original 1- to
7-character partition set name used in the application
program. The suffixes to be appended for the various
terminals by CICS BMS depend on the parameter specified in the
SUFFIX operand of the DFHPSD macro instruction that defined
the partition set. See the CICS/VS Application Programmer's
Reference Manual (Command level) for a complete list of
partition set suffixes.
3.
A SIZE parameter value of up to 400K bytes wi 11 be requi red
for the assembler under VSE.
Note that an entry in the processing program table is required for
each partition set. This is defined using the DFHPPT macro
instruction or the CEDA DEFINE PARTITIONSET command, as described
in the CICS/VS Resource Definition Guide.
''---
Chapter 3.3.
Installing Map Sets and Partition Sets
155
Chapter 3.4.
In~talling
Application Programs
CICS application programs can be written in assembler language,
ANS COBOL, Pl/I, or RPG II, and can request CICS services in two
ways:
1.
Using the command-level interface:
Assembler, COBOL, PL/I, and RPG II programs can request CICS
services in the form of EXEC CICS commands. COBOL and Pl/I
programs can interface with DL/I with EXEC DLI commands. Each
request is in the form of a single command; the application
programmer need not be concerned with CICS control blocks or
acquiring data areas and establishing addressability.
For information about coding CICS application programs using
EXEC CICS and EXEC DLI commands, see the CICS/VS Application
Programmer's Reference Manual (Command level) and the Dl/I
DOS/VS Appl i cati on Programrni ng: Hi gh level Progt'al"lfT!i.!:Lg
Interface or (for CICS and RQDLI commands) the CICS/VS
Aj?p1TCat""i on P rogrammpr' s Reference Manua 1 (RPG -Y-j-)-.-For information on the translator options that are available
with CICS, see the CICS/VS Application Programmer's Reference
Manual (Command Level).
2.
Using the macro-level interface:
Assembler, COBOL, and Pl/I programs can include requests for
CICS services in the form of CICS macro instructions. When
using these macro instructions, the application programmer
must be aware of certain control blocks used by the CICS
management programs. Instructions to acquire data areas and
establish addressability between these data areas and the
CICS control blocks, must be included.
For information about coding application programs using CICS
macro instructions, see the CICS/VS Application Programmer's
Reference Manual (Macro Level).
This chapter tells you how to prepare application programs
written at each level, for execution under CICS.
Chapter 3.4.
Installing Application Programs
157
COMMAND-LEVEL APPLICATION PROGRAMS
There are three steps in the preparation of application programs
containing EXEC CICS commands:
1.
Translation of the commands. Application programs written to
use the command-level interface to CICS must be translated by
the appropriate CICS command-level language translator before
being assembled or compiled. The names of the translators
supplied in the CICS core image library are:
Assembler
COBOL
PL/I
RPG II
DFHEAPl$
DFHECPl$
DFHEPPl$
DFHERPl$
The command-level translators run in a VSE batch virtual
partition size of 128K to 256K bytes, depending upon the size
of the program to be translated.
Intermediate storage for the translator output may be either
tape or disk. 8I-byte records are written out, but only 80
bytes are input to the following compiler or assembler.
The options available for each of the translators are
described in the CICS/VS Application Programmer's Reference
Manual (Command level).
The DEBUG translator option is now assumed by default. This
enables EDF to display the line number of each command. The
line number requires 8 bytes of storage, so you might wish to
suppress its production by specifying NODEBUG when your
application has been fully tested.
2.
Assembly or compilation.
3.
link-editing.
Figure 58 shows the steps required to install a command-level
application program.
158
CICS/DOS/VS Installation and Operations Guide
/
Assemblerlanguage
or high-level
language
source
r-
-
,7
Command-level
lang. translator
f10di fi ed
compiler
input
HLL
Source
Assembly
listing
VSE
Assembler
or
or
High-level
language compiler
Compiler
listing
Li nkage Edi tor
Input (object)
Figure 58. Installing a Command-Level Application Program
USING THE IBM-SUPPLIED SAMPLE PROCEDURES
To make it easier for the system programmer to install
command-level application programs, the source code of sample
procedures is supplied in the following books in the eIeS source
statement library:
Z.DFHEITAL
Z.DFHEITCL
Z.DFHEITPL
Z.DFHEITRL
for
for
for
for
assembler language
COBOL
PL/I
RPG II
These procedures are listed in Appendix F, and all use d;sk as
i ntermed; ate storage for the translator output. If tape is to be
used, you will need to either generate your own job stream, as
described later under "Using Your Own Job Stream" on page 161, or
modify the sample procedure itself.
Chapter 3.4.
Installing Application Programs
159
Before putting the sample procedures into the procedure library,
you must modify:
1.
2.
The extent information
The volume identifications.
Figure 59 through
procedures.
Figure 62 illustrate the use of the sample
Ignore weak external references unresolved by the linkage editor
and thei r associated messages about unresolved address constants.
The following job stream can be used to invoke the DFHEITAl sample
procedure for assembler-language application programs:
// JOB
// OPTION
PHASE
// lIBDEF
// LIBDEF
// LIBDEF
// EXEC
.
jobname
NODECK,CATAl
phase-name,*
SL,SEARCH=cics-slb-filename
RL,SEARCH=cics-rlb-filename
CL,TO=user-cil-filename
PROC=DFHEITAL
assembler-language source statements
Figure 59. Invoking DFHEITAL Sample Procedure
The following job stream can be used to invoke the DFHEITCl sample
procedure for COBOL application programs:
// JOB
// OPTION
PHASE
// LIBDEF
// LIBDEF
// LIBDEF
// EXEC
CBL LIB
jobname
NODECK,CATAL
phase-name,*
SL,SEARCH=cics-slb-filename
RL,SEARCH=cics-rlb-filename
CL,TO=user-cil-filename
PROC=DFHEITCL
COBOL source statements
Figure 60. Invoking DFHEITCL Sample Procedure
160
CICS/DOS/VS Installation and Operations Guide
The following job stream can be used to invoke the DFHEITPL sample
procedure for PL/I application programs:
II JOB
II OPTION
PHASE
II LIBDEF
/1
lIBDEF
II LIBDEF
EXEC
*PROCESS
/1
.
jobname
CATAL
phase-name,*
SL,SEARCH=cics-slb-filename
Rl,SEARCH=cics-rlb-filename
CL,TO=user-cil-filename
PROC=DFHEITPL
INCLUDE;
PL/I source statements
/*
1&
Figure 61. Invoking DFHEITPl Sample Procedure
The following job stream can be used to invoke the DFHEITRL sample
procedure for RPG II application programs:
JOB
// UPSI
II OPTION
PHASE
1/ lIBDEF
II lIBDEF
1/ lIBDEF
II EXEC
1/
jobname
00
CATAl
phase-name,*
Sl,SEARCH=cics-slb-filename
RL,SEARCH=cics-rlb-filename
CL,TO=user-cil-filename
PROC=DFHEITRl
RPG II source statements
Figure 62. Invoking DFHEITRL Sample Procedure
USING YOUR OWN JOB STREAM
You may decide not to use the IBM-supplied sample procedures and
produce your own job stream to install your command-level
application programs.
Chapter 3.4.
Installing Application Programs
161
Assembler-Language Appl;cation Programs
The following sample job stream can be used to install an
assembler-language program, where disk is used as intermediate
storage for translator output:
// JOB
jobname
// DlBl
IJSYSPH,'ASM.TRANSlATION',yy/ddd
// EXTENT SYSPCH, balance of extent information
ASSGN SYSPCH,DISK,VOL=volid,SHR
// lIBDEF SL,SEARCH=cics-slb-filename
// LIBDEF RL,SEARCH=cics-rlb-filename
// LIBDEF Cl,TO=user-cil-filename
// EXEC
DFHEAPl$
.
assembler-language source statements
/*
CLOSE
SYSPCH,PUNCH
// DLBL
IJSYSIN,'ASM.TRANSLATION',yy/ddd
// EXTENT SYSIPT
ASSGN SYSIPT,DISK,VOL=volid,SHR
// OPTION SYM,ERRS,NODECK,CATAl
PHASE
phase-name,*
INCLUDE DFHEAI
(see notes 1 and 2)
// EXEC
ASSEMBLY
// EXEC
LNKEDT
/&
// JOB
CLOSE
/&
RESET
SYSIPT,READER
Figure 63. Preparing an Assembler-Language Application Program
(Using Disk)
162
CICS/DOS/VS Installation and Operations Guide
The following sample job stream can be used to install an
assembler-language program, where tape is used as intermediate
storage for translator output:
//
//
//
//
//
//
//
JOB
ASSGN
MTC
lIBDEF
lIBDEF
lIBDEF
EXEC
jobname
SYSPCH,cuu
REW,SYSPCH
Sl,SEARCH=cics-slb-filename
Rl,SEARCH=cics-rlb-filename
Cl,TO=user-cil-filename
DFHEAPl$
assembler-language source statements
/'*.
//
//
//
//
//
MTC
MTC
RESET
ASSGN
OPTION
PHASE
INCLUDE
// EXEC
// EXEC
/&
WTM,SYSPCH,2
REW,SYSPCH
SYSPCH
SYSIPT,cuu
SYM,ERRS,NODECK,CATAl
phase-name,'*.
DFHEAI
(see notes 1 and 2)
ASSEMBLY
lNKEDT
Figure 64. Preparing an Assembler-language Application Program
(Using Tape)
Notes:
1.
An INCLUDE statement for DFHEAI must follow immediately after
the PHASE statement and before the EXEC ASSEMBLY statement.
2.
DFHEAI and DFHEAIO must be in the relocatable library (they
are supplied in the relocatable library on the CICS
distribution tape).
Chapter 3.4.
Installing Application Programs
163
COBOL APplication Pro9rams
The following sample job stream can be used to install a COBOL
program, where disk is used as intermediate storage for
translator output:
// JOB
jobname
// DLBL
IJSYSPH,'COBOl.TRANSlATION',yy/ddd
// EXTENT SYSPCH,balance of extent information
ASSGN SYSPCH,DISK,VOL=volid,SHR
// LIBDEF SL,SEARCH=cics-slb-filename
// LIBDEF RL,SEARCH=cics-rlb-filename
// lIBDEF Cl,TO=user-cil-filename
// EXEC
DFHECPl$
CBl lIB
(see note 1)
COBOL source statements
/*
CLOSE
SYSPCH,PUNCH
// DlBl
IJSYSIN,'COBOl.TRANSlATION',yy/ddd
// EXTENT SYSIPT
ASSGN SYSIPT,DISK,VOl=volid,SHR
// OPTION SYM,ERRS,NODECK,CATAl
PHASE
phase-name,*
INCLUDE DFHECI
(see notes 2 and 3)
// EXEC
FCOBOl
// EXEC
lNKEDT
/&
// JOB
CLOSE
/&
RESET
SYSIPT,SYSRDR
Figure 65. Preparing a COBOL Application Program (Using Disk)
164
CICS/DOS/VS Installation and Operations Guide
The following sample job stream can be used to install a COBOL
program, where tape is used as intermediate storage for
translator output:
// JOB
// ASSGN
// MTC
// LIBDEF
// LIBDEF
// LIBDEF
// EXEC
CBL LIB
jobname
SYSPCH,cuu
REW,SYSPCH
SL,SEARCH=cics-slb-filename
RL,SEARCH=cics-rlb-filename
CL,TO=user-cil-filename
DFHECPl$
(see note 1)
COBOL source statements
I*.
//
//
//
//
//
MTC
MTC
RESET
ASSGN
OPTION
PHASE
INCLUDE
// EXEC
// EXEC
/&
WTM,SYSPCH,2
REW,SYSPCH
SYSPCH
SYSIPT,cuu
SYM,ERRS,NODECK,CATAL
phase-name,*.
DFHECI
(see notes 2 and 3)
FCOBOL
LNKEDT
Figure 66. Preparing a COBOL Application Program (Using Tape)
Notes:
1.
The LIB option must be specified for the compilation step so
that any COPY statements in the source (for example, symbolic
description maps) can be processed correctly. The COBOL
translator in CICS/DOS/VS 1.6 does not generate COpy
statements, but source generated by earlier versions of the
translator may do so.
2.
An INCLUDE statement for DFHECI must follow immediately after
the PHASE statement and before the EXEC FCOBOL statement.
3.
DFHECI must be in the relocatable library (this module is
supplied in the relocatable library on the CICS distribution
tape) .
Chapter 3.4.
Installing Application Programs
165
PL/I APplication programs
The following sample job stream can be used to install a Pl/I
program, where disk is used as intermediate storage for
translator output:
// JOB
jobname
// DlBl
IJSYSPH,'Pl/I.TRANSlATION',yy/ddd
// EXTENT SYSPCH,balance of extent information
ASSGN SYSPCH,DISK,VOl=volid,SHR
// lIBDEF Sl,SEARCH=cics-slb-filename
// lIBDEF Rl,SEARCH=cics-rlb-filename
// lIBDEF Cl,SEARCH=cics-cil-filename
// lIBDEF Cl,TO=user-cil-filename
// EXEC
DFHEPPl$
*PROCESS
INCLUDE;
(see note 1)
.
Pl/I source statements
/*
CLOSE
SYSPCH,PUNCH
// DLBl
IJSYSIH,'Pl/I.TRANSlATION',yy/ddd
// EXTENT SYSIPT
ASSGN SYSIPT,DISK,VOL=volid,SHR
// OPTION CATAl
PHASE
phase-name,*
INCLUDE DFHPlII
(see notes 2 and 3)
// EXEC
PlIOPT
// EXEC
lNKEDT
/&
// JOB
CLOSE
/&
RESET
SYSIPT,SYSRDR
Figure 67. Preparing a Pl/I Application Program (Using Disk)
166
CICS/DOS/VS Installation and Operations Guide
The following sample job stream can be used to install a PL/I
program, where tape is used as intermediate storage for
translator output:
// JOB
// ASSGN
// MTC
// LIBDEF
// LIBDEF
// LIBDEF
// LIBDEF
// EXEC
*PROCESS
.
jobname
SYSPCH,cuu
REW,SYSPCH
SL,SEARCH=cics-slb-filename
RL,SEARCH=cics-rlb-filename
CL,SEARCH=cics-cil-filename
CL,TO=user-cil-filename
DFHEPP1$
INCLUDEi
(see note 1)
PL/I source statements
/*
//
//
//
//
//
MTC
MTC
RESET
ASSGN
OPTION
PHASE
INCLUDE
// EXEC
// EXEC
/&
WTM,SYSPCH,2
REW,SYSPCH
SYSPCH
SYSIPT,cuu
CATAL
phase-name,*
DFHPLII
PLIOPT
LNKEDT
(see notes 2 and 3)
Figure 68. Preparing a PL/I Application Program (Using Tape)
Notes:
1.
The INCLUDE or MACRO option must be specified for the
compilation step so that any Y.INCLUDE statements in the
source (for example, symbolic description maps) can be
processed correctly. The PL/I translator in CICS/DOS/VS 1.6
does not generate Y.INCLUDE statements, but source generated
by earlier versions of the translator may do so.
2.
An INCLUDE statement for DFHPLII must follow immediatelY
after the PHASE statement and before the EXEC PLIOPT
statement.
3.
Both DFHPL1I and DFHEPI must be in the relocatable library.
DFHPLII is supplied by PL/I. DFHEPI is supplied in the
relocatable library on the CICS distribution tape.
4.
The CICS translator no longer generates PL/I CALLs that
prompt messages from the PL/I compiler warning of too short
argument lists ..
5.
Weak external references unresolved by the linkage editor and
their associated messages about unresolved address constants
should be ignored.
The 19 declarations of the CICS entry point names are no longer
required or generated by the translator. This change affects
existing application programs only if they consist of included
segments that do not start with valid PROCEDURE statements. If
such a program is retranslated using the CICS/DOS/VS 1.6
translator, each included segment must also be retranslated. This
is because previously-translated included segments will refer to
the 19 entry point names that were previously declared in the
outer-level procedure.
You do not have to take any action unless you retranslate the
outer-level procedure.
Chapter 3.4.
Installing Application Programs
167
RPG II APplication Programs
The output from the RPG II translator may be directed to SYSPCH,
SYS002, or SYS003, using the // UPSI job control statement. The
advantage of directing the translator output to SYS002 or SYS003
is that it can be used directly as input to the following compiler
(RPGII or RPGAUTO); there is no need to code job control
statements to assign SYSIPT.
An INCLUDE statement for DFHERI must follow immediately after the
PHASE statement and before the EXEC RPGII statement. DFHERI must
be in the relocatable library (this module is supplied in the
relocatable library on the CICS distribution tape).
RPG II translator work files are supported in VSAM data space
managed by the VSE/VSAM space management for SAM feature.
output on SYS002
If the leftmost two bits of the UPSI byte are set to 01,
translator output is directed to SYS002. This method should be
used if a translator run is to be followed immediately by an RPGII
compilation. The compiler will then read its input from SYS002.
The following sample job stream can be used to install an RPG II
program, where SYS002 is used as intermediate disk storage for
translator output:
//
//
//
//
//
//
//
JOB
UPSI
LIBDEF
LIBDEF
LIBDEF
LIBDEF
EXEC
jobname
01
SL,SEARCH=cics-slb-filename
RL,SEARCH=cics-rlb-filename
CL,SEARCH=cics-cil-filename
CL,TO=user-cil-filename
DFHERPl$
.
RPG II source statements
/*
// OPTION
PHASE
INCLUDE
// EXEC
// EXEC
/&
CATAL
phase-name,*
DFHERI
RPGII
LNKEDT
Figure 69. Preparing an RPGII Application Program (Using SYS002)
output on SYS003
If the leftmost two bits of the UPSI byte are set to 10,
translator output is directed to SYS003. This method should be
used if a translator run is to be followed immediately by an Auto
Report compilation. The compiler will then read its input
directly from SYS003.
168
CICS/DOS/VS Installation and Operations Guide
The following sample job stream can be used to install an RPG II
program, where SYS003 is used as intermediate disk storage for
translator output:
II
II
II
II
II
II
II
JOB
UPSI
lIBDEF
lIBDEF
lIBDEF
lIBDEF
EXEC
jobname
10
Sl,SEARCH=cics-slb-filename
Rl,SEARCH=cics-rlb-filename
Cl,SEARCH=cics-cil-filename
Cl,TO=user-cil-filename
DFHERPl$
.
RPG II source statements
1*
II OPTION
PHASE
INCLUDE
II EXEC
II EXEC
1&
CATAl
phase-name,*
DFHERI
RPGIAUTO
lNKEDT
Figure 70. Preparing an RPG II Application Program (Using SYS003)
Chapter 3.4.
Installing Application Programs
169
output on SYSPCH
If the leftmost two bits of the UPSI byte are set to 00, or no UPS I
statement is coded, translator output will be directed to SYSPCH.
SYSPCH can be directed to disk or tape. The following sample job
stream can be used to install an RPG II program, where SYSPCH is
used as intermediate disk storage for translator output:
// JOB
jobname
// UPSI
00
// DLBL
IJSYSPH,'RPG.II.TRANSLATION',yy/ddd
// EXTENT SYSPCH,balance of extent information
ASSGN SYSPCH,DISK,VOL=volid,SHR
// LIBDEF SL,SEARCH=cics-slb-filename
// lIBDEF RL,SEARCH=cics-rlb-filename
// lIBDEF CL,SEARCH=cics-cil-filename
// lIBDEF CL,TO=user-cil-filename
// EXEC
DFHERPl$
.
RPG II source statements
/*
CLOSE
SYSPCH,PUNCH
// DLBL
IJSYSIN,'RPG.II.TRANSlATION',yy/ddd
// EXTENT SYSIPT
ASSGN SYSIPT,DISK,VOL=volid,SHR
// OPTION CATAL
PHASE
phase-name,*
INCLUDE DFHERI
// EXEC
RPGII
// EXEC
LNKEDT
/&
// JOB
CLOSE
/&
RESET
SYSIPT,SYSRDR
Figure 71. Preparing an RPG II Application Program (Using SYSPCH
on Disk)
170
CICS/DOS/VS Installation and Operations Guide
The following sample job stream can be used to install an RPG II
program, where SYSPCH is used as intermediate tape storage for
translator output:
//
//
//
//
//
//
//
//
//
JOB
UPSI
ASSGN
MTC
LIBDEF
LIBDEF
LIBDEF
LIBDEF
EXEC
jobname
00
SYSPCH,cuu
REW,SYSPCH
SL,SEARCH=cics-slb-filename
Rl,SEARCH=cics-rlb-filename
CL,SEARCH=cics-cil-filename
CL,TO=user-cil-filename
DFHERPl$
.
RPG II source statements
/*.
//
//
//
//
//
MTC
MTC
RESET
ASSGN
OPTION
PHASE
INCLUDE
// EXEC
// EXEC
/&
WTM,SYSPCH,2
REW,SYSPCH
SYSPCH
SYSIPT,cuu
CATAL
phase-name,*.
DFHERI
RPGII
LNKEDT
Figure 72. Preparing an RPG II Application Program (Using SYSPCH
on Tape)
Chapter 3.4.
Installing Application Programs
171
MACRO-LEVEL APPLICATION PROGRAMS
After macro-level application programs have been coded, they must
be cataloged in the core image library. The procedures for
preparing and cataloging programs differ according to the
programming language.
ASSEMBLER LANGUAGE
Assembler-language programs must be assembled, link-edited and
cataloged in the core image library. The procedure is very
similar to that used for CICS control tables, illustrated in
Figure 49. The use of the relocatable library depends on whether
other modules are to be link-edited with the program.
The job control statements for assembling, link-editing, and
cataloging assembler-language application programs are as
follows:
// JOB CICSASMC
* CICS/DOS/VS ASSEMBLE AND CATALOG
// OPTION CATAl,NODECK,AlIGN
PHASE
name,*
// LIBDEF Sl,SEARCH=cics-slb-filename
// LIBDEF RL,SEARCH=cics-rlb-filename
// LIBDEF CL,SEARCH=cics-cil-filename
// LIBDEF CL,TO=user-cil-filename
// EXEC
ASSEMBLY
source statements
/*
// EXEC
/&
lNKEDT
If any application program contains BMS input map definitions
(that is, it issues the DFHMSD and/or the DFHMDI macro with
MODE=IN or MODE=OUT) and halfword-aligned length fields are
required, it is necessary to specify SYSPARM='A' in the // OPTION
job control statement, as follows:
// OPTION CATAL,NODECK,ALIGN,SYSPARM='A'
HIGH-LEVEL LANGUAGES
Application programs written in COBOL or PL/I that include CICS
macro instructions are prepared for assembly by the CICS/DOS/VS
macro-level language preprocessor (DFHPRPR). They are then
assembled to convert the CICS macro instructions into COBOL or
PL/I CALL statements.
The input to the preprocessor should be in aO-byte card-image
format. If a stacker select character precedes each input line,
it should be stripped off using the "copy and strip" function of
the preprocessor, as shown in STEP 3 of Figure 74.
The standard procedure for COBOL or PL/I compilation,
link-editing, and cataloging into the core image library can then
be used. Figure 73 shows the complete process of installing a
macro-level application program written in COBOL or Pl/I:
172
CICS/DOS/VS Installation and Operations Guide
High-level
language
source
preprocessor
Modified
high-level
language source
VSE
Assembler
HLL
Source
Modified
compiler
input
~RICESL016~~------t>~
__L_i_n_'<_~_~~;~E_d__i_t_o_r___~I~~------~,--_L_i_n_k_a__
__e_d_i_t_o_r__-,
~
~~
~ input g_e(object)
Figure 73. Installing a Macro-Level Application Program Written in COBOL
or PL/I
Notes:
1.
Any errors found during COBOL or PL/I macro expansions will cause a
statement to be generated that will result in an 'invalid syntax'
message at compilation time.
2.
When COBOL application programs are link-edited, an unresolved
external reference (DFHCBlI) is listed. Because the address constant
associated with this symbol is resolved by the CICS program control
program during execution of CICS, this linkage editor diagnostic
message may be ignored.
3.
When Pl/I application programs are link-edited, several unresolved
external references may appear. Among these are PLITABS, IBMBSXCA,
IBMBSXCB, IBMBSIST, and SYSPRINT.
4.
An INCLUDE card for DFHPL1I must exist for PL/I programs immediately
after the phase name and before the EXEC LNKEDT. The link-edited
output should be checked to make sure that DFHPL1N is the entry point
before execution. DFHPL1N must be the first entry point and DFHIBM
must be the first CSECT name.
Chapter 3.4.
Installing Application Programs
173
use of the VSE UPSI Byte
The CICS/DOS/VS macro-level language preprocessor uses the VSE
UPSI byte to determine:
1.
The requested funct;on (bit 0)
Oxxxxxxx
lxxxxxxx
Preprocessor
COpy and strip first byte of assembler output
Note: Bit 1 is not used
2.
3.
The language be;ng processed (bits 2 and 3)
xxOOxxxx
ANS COBOL Compiler (not Subset) and DOS/VS COBOL
Compiler
xx1xxxxx
ANS COBOL Subset Compiler
xxx1xxxx
PL/I Optimizing Compiler
The ;ntermed;ate storage used (bits 4, 5, 6, and 7)
xxxxOOOO
xxxx0001
xxxx0010
xxxx0011
xxxx0100
xxxxlOOO
Output on SYSPCH (not valid for copy function)
2314 DASD
3340 DASD
3350 DASD
Tape (no label)
3330 DASD
The fi Ie names or devi ce addresses associ ated wi th bi ts 4 through
7 are:
Input (copy functions only)
I/O Dev;ce
Output
2314 file names:
3330 file names:
3340 file names:
3350 file names:
Tape device
addresses:
DFHPR14
DFHPR1I
DFHPR30
DFHPR3I
DFHPR4I
DFHPR40
DFHPR50
DFHPR5I
SYSOO4
SYS012
SYSOO5 (for copy function only)
For the copy and strip first byte function, both input and output
must be on the same type of device.
Intermediate storage may reside on an FBA disk device. Any UPSI
bit setting for a disk can be used, but the EXTENT statement
"balance of extent information" must be appropriate to FBA
devices (that is, in physical blocks). For intermediate storage
on other DASD devices, specify 3330.
174
CICS/DOS/VS Installat i on and Operat ions Gu ide
//
//
//
//
//
//
//
//
JOB CONVERT
UPSI
00000100
USE TAPE OUTPUT
ASSGN
SYS012,cuu
(tape 1)
PREPROCESSOR TAPE OUTPUT
LIBDEF SL,SEARCH=cics-slb-filename
LIBDEF RL,SEARCH=cics-rlb-filename
LIBDEF CL,SEARCH=cics-cil-filename
LIBDEF CL,TO=user-cil-filename
EXEC
DFHPRPR
STEP 1
COBOL source
/'~.
//
//
//
//
/*
//
//
//
//
//
//
//
//
//
/*
//
//
//
//
//
//
/&
RESET
ASSGN
ASSGN
EXEC
SYS012
SYSIPT,cuu
SYSPCH,cuu
ASSEMBLY
MTC
MTC
MTC
RESET
RESET
ASSGN
ASSGN
UPS I
EXEC
WTM,SYSPCH,2
REW,SYSPCH
REW,SYSIPT
SYSPCH
SYSIPT
(tape 2)
SYS004,cuu
(tape 1)
SYS005,cuu
10000100
DFHPRPR
STEP 3
RESET
RESET
ASSGN
OPTION
PHASE
EXEC
EXEC
SYS005
SYS004
(tape 1)
SYSIPT,cuu
LISTX,SYM,ERRS,CATAL
COBSA~lP,
FCOBOL
LNKEDT
*
(tape 1)
(tape 2)
STEP 2
ASSEMBLER INPUT
ASSEMBLER OUTPUT
(output from step 2)
(output from step 3)
STEP 4
STEP 5
Figure 74. Example in which Tape is Used as the Output from the
Preprocessor and Input to the Assembler
To apply the example of Figure 74 to PL/I, a // UPS I 000101
statement must precede the first // EXEC DFHPRPR STEP 1 statement.
It is also necessary to change the last four statements to the
following:
// OPTION
PHASE
INCLUDE
// EXEC
// EXEC
/&
CATAL
PL1SAMP1,*
DFHPLII
PLIOPT
LNKEDT
Note: The DFHPLII module is now supplied only by PL/I.
The following example ;s applicable only if VSE has been generated
to allow system data sets to be on disk. The preprocessor writes
its output on disk and this data set is used as input to the
assembler.
Chapter 3.4.
Installing Application Programs
175
//
//
//
//
//
//
//
//
//
JOB CONVERT
UPSI
00000011
USE 3350 OUTPUT
ASSGN
SYSOI0,cuu
3350 ASSIGNMENT
DlBl
DFHPRI4,'PREPROCESSOR.OUTPUT',yy/ddd
EXTENT SYSOI0,balance of extent information
LIBDEF SL,SEARCH=cics-slb-filename
LIBDEF Cl,SEARCH=cics-cil-filename
LIBDEF CL,TO=user-cil-filename
EXEC
DFHPRPR
DFHPRPR OUTPUT
COBOL source
/*
//
//
//
//
/*
/&
RESET
DLBL
EXTENT
ASSGN
EXEC
SYSOI0
IJSYSIN,'PREPROCESSOR.OUTPUT'
SYSIPT LABEL INFO
SYSIPT
SYSIPT,cuu
ASSIGN SYSIPT TO DISK
ASSEMBLY
CLOSE
SYSIPT,cuu
CLOSE SYSIPT AND RESET ASSIGNMENT
Figure 75. Preparation of a Macro-Level COBOL or PL/I Program
176
CICS/DOS/VS Installation and Operations Guide
Part 4. Setting Up CICS Data Sets
•
Part 4.
Setting Up CICS Data Sets
177
Chapter 4.1. Preparing to Set Up CICS Data Sets
For execution, eIeS requires certain data sets to have been
defi ned. Some of these data sets are mandatory, others are
required only if a corresponding facility is being used. In
addition, data set definitions must be provided for all user
files, DL/I data bases, and terminals other than VTAM terminals.
The following list gives the data sets required for each eIeS
facility:
Fac;l;ty
Automatic
statistics
Auxiliary trace
DL/I access
Dump
Journaling
Recovery/restart
Resource
definition
online CRDO)
Temporary storage
Terminals
CTeT entries)
Transient data
User files
(FCT entries)
DCltCl set Name
Chapter
Automatic statistics data set(s)
Auxiliary trace data setCs)
DL/I definition statements
Dump data setCs)
Journal data setCs) Cthese can
be either the system log or
user journals)
Restart data set
4.7
4.8
4.13
4.9
4.5
4.6
CICS system definition (eSD) file
Temporary storage data set
4.10
Terminal definition statements
Intrapartition data set and
Extrapartition data setCs)
4.12
User file definition statements
4.11
4.2
4.3
4.4
The rest of this part consists of a set of chapters, one for each
of the facilities listed above. Each chapter describes the
facility, its function and usage, and the data setCs) required to
implement it on a running eICS system. If the data setCs) need to
be preformatted, jobs that might be used for this purpose are
shown.
Space calculations to enable you to determine the amount of space
to be allocated to the data setCs) are provided, as are the data
definition statements for defining them to the running eICS
system.
Finally, if CICS utility programs are provided for postprocessing
of the data setCs), they are described together with the syntax of
any parameters that may be required.
Before you start setting up your CIeS data sets, you should review
the eIeS programs you need, and their data set requirements.
You then have to:
o
Set up the data sets and libraries that will be used by the
eICS programs during execution.
•
If necessary, initialize or preformat the data sets for use
during eIeS execution.
o
Include the job control statements for the data sets in the
job stream that starts eICS (see "A Typical Startup Job
Stream" on page 253).
Chapter 4.1.
Preparing to Set Up eIeS Data Sets
179
This part contains information about the file labels, space
allocations, and assignments required by the data sets used by
CICS. It describes the DLBL, EXTENT, and ASSGN statements
required for each of these data sets.
The following must always be specified:
•
CICS private core image library
•
User files (see Chapter 4.11>
•
BTAM, SAM, and sequential terminal devices listed in the
terminal control table (see Chapter 4.12).
The following data set label information is optional.
specified if the related CICS facility is used:
•
•
•
•
•
•
•
•
•
It must be
Transient data intrapartition and extrapartition data sets
Temporary storage data set
Dump data sets
Journal data sets
System log data sets
Restart data set
Automatic statistics data sets
Auxiliary trace data sets
CICS system definition file.
VSE/VSAM SPACE MANAGEMENT FOR SAM FEATURE
The following data sets are supported in VSAM data space managed
by the VSE/VSAM Space Management for SAM feature of VSE:
•
•
•
Automatic statistics data sets
Transient data extrapartition data sets
RPG II translator work files.
The following data sets are not supported in VSAM data space
managed by the VSE/VSAM Space Management for SAM feature of VSE:
•
•
•
180
Dump data sets
Journal data sets
Auxiliary trace data sets.
CICS/DOS/VS Installation and Operations Guide
Chapter 4.2. Temporary Storage Data Set
The CICS temporary storage facility provides the application
programmer with a means for the convenient saving of data for
subsequent retrieval. The saving and retrieval may be performed
by the same transaction or different transactions, the data being
identified by ~ name, up to eight characters in length, assigned
at the time it is first created. The data may be composed of a
single record, or of a queue of records. At command-level, the
records can be retrieved sequentially, or randomly by number.
These single records or queues remain in existence until
explicitly deleted. (Individual records in a temporary storage
queue cannot be deleted.)
Data in temporary storage tends to be short-lived, emphasis being
placed on ease of use of stori ng and retri eval. The data may be
stored either in main storage or in VSAM-managed auxiliary
storage. The type of storage used is determined by means of an
option on the temporary storage write request at the time the
temporary storage queue (or single record) is first created.
Subsequent references to the queue or single record do not require
the type of storage in which it resides to be specified.
Use of auxiliary storage requires the temporary storage program
(DFHTSP) to have been generated to support auxiliary storage (the
DFHTSP2$ management module in the pregenerated system supplies
this function). Auxiliary storage should be used if it is
required to preserve temporary storage records from one CICS r u n .
to another or if the temporary storage data are to be def; ned as
• A· ~
recoverable. (The DFHTSP3$ management module in the pregenerated ' .. '.'
system supports recoverable auxiliary temporary storage.) No
attempt is made to recover data in main storage.
If DFHTSP has been generated wi thout auxi 1 i ary storage support,
auxiliary temporary storage requests do not fail but are
automatically changed to use main storage.
Temporary storage requests are made by CICS application programs
.using the command- or macro-level interface. In addition,
temporary storage is used internally by CICS for the following
purposes:
•
•
•
•
•
•
BMS paging requests
BMS ROUTE requests
Interval control START commands with the FROM option or with
the PROTECT option
Execution diagnostic facility (EDF) displays and control
areas
3600 message caches following emergency restart
Dynamic log overflow.
The first five of these functions make temporary storage requests
to auxiliary storage. In the case of dynamic log overflow, you
can choose explicitly whether to use main or auxiliary storage.
The DFHJCPl$ management module in the pregenerated system
provides main storage support; DFHJCP2$ provides auxiliary
storage support.
For information about the use of temporary storage by Time
Management and by Basic Mapping Support, see either the CICS/VS
Application Programmer's Reference Manual (Macro Level) or the
CICS/VS Application Programmer's Reference Manual (Command
Level).
Data on a temporary storage queue whose name is known can be
viewed at a 3270 screen by means of the CEBR transaction. For
further details of the CEBR transaction, see the CICS/VS
Operator's Guide.
Chapter 4.2.
Temporary Storage Data Set
181
Temporary storage queues or temporary storage logical records can
be defined as recoverable by including their names (DATAIDs) in
the temporary storage table (TST). The TST also allows a set of
temporary storage DATAIDs whose names begin with a particular set
of characters to be defined as recoverable. See the CICS/VS
Resource Definition Guide for a description of how to code the
TST.
Auxiliary temporary storage is defined as a VSAM data set within
VSAM space. CICS uses control interval processing when storing or
retrieving temporary storage records in this data set. A control
interval will, in general, contain a number of temporary storage
records, the space occupied by each record being rounded up to a
multiple of 64 or of 128, depending on whether the control
interval size has been defined as less than or greater than 16384
bytes.
Temporary storage space within a control interval is reusable. If
a transaction requests temporary storage and there is not
sufficient space to satisfy the request, the transaction is
suspended until the space becomes available. Clf, however, an
EXEC CICS HANDLE CONDITION NOSPACE statement was coded, control
is returned to the transaction.)
JOB CONTROL STATEMENTS TO DEFINE THE TEMPORARY STORAGE DATA SET
After VSAM data space has been defined, you must define the
temporary storage data set within that data space. This is an
example of the coding required to define a temporary storage data
set within an existing VSAM data space:
// JOB CRATS CREATE AUXILIARY TEMPORARY STORAGE DATA SET
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
(NAMECcics160.temp.storage)
RECORDSIZEC4089,4089)
RECORDS(144)
NONINDEXED
CONTROLINTERVALSIZE(4096)
SHAREOPTIONS(2)
VOLUMES(volume»
DATA
(NAME(cics160.temp.storage.data»
CATALOGCuser.catalog)
CThis job is included in Z.DFHSPJCl)
You specify RECSZ and number of RECORDS required when defining the
temporary storage data set. VSAM uses this information and
allocates sufficient disk space to accommodate at least this
number of RECORDS. The secondary allocation subparameter of the
RECORDS parameter should not be specified. This is because CICS
initialization will always attempt to acquire a secondary
allocation, if it has been defined, thus increasing the size of
the temporary storage data set on each run.
182
CICS/DOS/VS Installation and Operations Guide
SPACE CONSIDERATIONS
The amount of space allocated to temporary storage is expressed in
terms of two values that you must specify:
o
•
The control interval size
The number of control intervals in the data set.
THE CONTROL INTERVAL SIZE
The control interval size is specified by means of the
CONTROLINTERVALSIZE parameter in the VSAM CLUSTER definition.
The control interval size should be chosen so that any normally
occurring temporary storage record can be fitted within a control
interval. If, infrequently, larger records are written, they will
be accommodated by being split across control intervals, but the
performance of the operation will be degraded. The following
factors should be considered when making this choice:
•
Each temporary storage record requires:
Data length plus
20 bytes (for the temporary storage header) plus
32 bytes if the storage is defined as recoverable and is
requested by a EXEC CICS START TRANSID ( .•. ) FROM C••• )
request.
If Basic Mapping Support is installed with 3270 support, the
data length of the record is at least as large as the 3270
buffer size (for 3270 terminals with the alternate screen
size facilitYr the data length is the larger of the two
sizes).
The total number of bytes allocated for a temporary storage
record is rounded up to a multiple of 64 (for control interval
sizes ~16384), or a multiple of 128 (for control interval
sizes >i6384).
•
The control interval size should be such that, in addition to
holding at least one (rounded up) temporary storage record,
it allows for 64 bytes of VSAM control information for control
interval sizes ~16384, or 128 bytes of control information
for control interval sizes >16384.
You should choose the control interval size to be such that
all normally occurring temporary storage records, together
with the VSAM control information, can be fitted into a
control interval. In particular, remember to accommodate the
largest dynamic log record that might be written to temporary
storage. (Note that this record can also be bigger than the
dynamic buffer size.)
The control interval size should be a multiple of 512 bytes
for control interval sizes ~8192, or a multiple of 2048 bytes
for control interval sizes> 8192.
For example, if BMS is used to write a 24 x 80 character screen to
temporary storage, the data length written occupies up to
approximately 1920 bytes. If the temporary storage queue is
defined to be recoverable, a further 32 bytes are required, and a
further 20 bytes are required for the CICS temporary storage
header, giving a total of 1972 bytes. This must be rounded up to
a multiple of 64, resulting in 1984 bytes. Finally, a further 64
bytes of VSAM control information must be added, giving a control
interval size of 2048 bytes. Typically, the control interval size
will be larger than this, to accommodate several records possibly
differing in size.
Chapter 4.2.
Temporary Storage Data Set
183
NUMBER OF CONTROL INTERVALS
The number of control intervals in the temporary storage data set
is specified indirectly by means of the RECORDS parameter in the
VSAM CLUSTER definition. (Note that the RECORDS and RECSZ
parameters do not correspond to the temporary storage records as
seen at the CICS temporary storage interface.> The two values of
the RECSZ parameter must be coded to be the same, and must be
seven bytes less than the CONTROLINTERVALSIZE. A consequence of
this is that the specified number of VSAM RECORDS is the same as
the number of control intervals available to temporary storage
management.
The number of control intervals to be allocated depends on user
and system requirements for temporary storage. Remember to
consider space for dynamic transaction backout, especially the
dynamic logging of DL/I data base changes, if this facility has
been generated.
VSAM will allocate sufficient tracks to accommodate the required
control intervals. Because a 3330 track holds three 4096-byte
blocks, in the example above, 48 tracks will be allocated to
satisfy the request for 144 control intervals.
JOB CONTROL STATEMENTS FOR CICS EXECUTION
The filename applicable to the temporary storage data set is
DFHTEMP. A job control statement is required, of the form:
// DLBL DFHTEMP,'cics160.temp.storage'"VSAM,CAT=user-catalog-filename
184
CICS/DOS/VS Installation and Operations Guide
Chapter 4.3. Transient Data Intrapartition Data Set
The transient data intrapartition data set may be either a VSAM
entry-sequenced data set (ESDS) or a DAM data set, and is used for
queuing messages and data within the system. VSAM must be used if
the intrapartition data set is to reside on a fixed-block
architecture (FBA) disk device.
The data set control block for the intrapartition data set is
automatically generated in the destination control table, and is
opened by system initialization if intrapartition queues are
bei ng used.
The following suffixed pregenerated modules of the transient data
program are supplied:
Suffix
Function
1$
Extrapartition only
Extrapartition + DAM intrapartition with automatic
transaction initiation (ATI), but without recovery
Extrapartition + DAM intrapartition with ATI
and recovery
Extrapartition + VSAM intrapartition with ATI,
but without recovery
Extrapartition + VSAM intrapartition with ATI,
and recovery.
2$
4$
6$
7$
Only one of the supported access methods can be used for
intrapartition transient data during a particular execution of
CICS, because the choice between the two is made by selecting a
particular transient data program when CICS is initialized.
System messages produced by CICS are commonly sent to the
following transient data destinations:
DESTID
Use
Data
CSCS
CSML
CSMT
CSTL
CSDL
Message log
Message log
Master terminal
Terminal log
Audit trail
Sign-on, sign-off messages
Operator statistics
Master terminal messages
Terminal error messages
Resource definition online
See the description of the DFHDCT macro in the CICS/VS Resource
Definition Guide for more details.
These destinations can be defined as extrapartition output,
indirect, or intrapartition output processed by a user program.
Transient data can be written directly to a local 3270 printer
using the transient data write to terminal aid (DFHTDWT$). See
"Appendix E. Aids and Sample Application Programs" for details.
JOB CONTROL STATEMENTS TO DEFINE A VSAH INTRAPARTITION DATA SET
An example of the code that could be used to define a VSAM
transient data intrapartition data set is given below. If space
is allocated in records, rather than tracks or cyl i nders,
RECORDSIZE is required, and should be seven bytes less than the
COHTROLIHTERVALSIZE. For full details, see the appropriate VSAM
manuals.
Chapter 4.3.
Transient Data Intrapartition Data Set
185
// JOB CRITD CREATE INTRAPARTITION TRANSIENT DATA SET
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
(NAME(cics160.intra.transd)
RECORDSIZE(1529,1529)
RECORDS(100)
NONINDEXED
CONTROlINTERVALSIZE(1536)
VOlUMES(volume»
DATA
(NAME(cics160.intra.transd.data»
CATAlOG(user.catalog)
/*
/&
(This job is included in Z.DFHSPJCL)
SPACE CONSIDERATIONS
Space is allocated to queues in units of a control interval at a
time. The first control interval is reserved for CICS use, the
remaining control intervals being available to hold data. Data
records are stored in control intervals according to VSAM
standards.
The first record in each control interval is a 12-byte control
record, created by CICS. At the end of each control interval is
the VSAM control information, which is 4 bytes long, plus 3 bytes
for each record in the control interval. The length field at the
start of the CICS transient data output area is removed when the
record is stored, the length being held in the VSAM control
information. The largest data portion that can be stored is,
therefore, (C!S!ZE m~nU5 22) byta~.
A data record must be contained within a single control interval,
and the CISIZE should be chosen so that the longest record will
fit.
JOB CONTROL STATEMENTS TO DEFINE A DAM INTRAPARTITION DATA SET
The job control statements to define a DAM intrapartition data set
might be:
// DlBl DFHNTRA,'cics160.intra.transd'"DA
// EXTENT SYSnnn,CICSDA,1,Q,relative-track-address,number-of-tracks
// ASSGN SYSnnn,cuu
SPACE CONSIDERATIONS
Space is allocated to intrapartition queues in units of a t~a:6'k at
a time. The first track is reserved for CICS use, the remaining
tracks being available to store data. Data records are written as
separate physical blocks.
The first record on each track is a control record, created by
CICS. This, together with the block overhead, uses approximately
275 bytes of each track, leaving (BlKSIZE minus 275) bytes in
which to store data.
A data record must be contained within a single track, and the
block size should be chosen so that the longest record will fit.
186
CICS/DOS/VS Installati on and Operati ons Gui de
BlKSIZE would normally be set equal to the track capacity of the
device.
CONSIDERATIONS INDEPENDENT OF ACCESS METHOD
In this section, "unit" means track or control interval,
according to the access method being used.
•
Make the data set sufficiently large to avoid a NOSPACE
condition. If a queue has the reusable queue space option
(REUSE=YES in the destination control table entry), a unit
allocated to the queue is released for reuse when all records
stored in that unit have been read by EXEC CICS REAOQ TO
requests or OFHTO TYPE=GET macro instructions. If all
available units are currently allocated to queues, further
EXEC CICS WRITEQ TO requests or OFHTO TYPE=PUT macro
instructions will receive a NOSPACE response until units are
released by GET request~. Whether or not the queue is
reusable, space is also released by a EXEC CICS OElETEQ TO
request or OFHTO TYPE=PURGE macro instruction.
•
The intrapartition data set should contain not less than two
units.
•
If the asynchronous transaction processing (ATP) facility is
to be used, intrapartition transient data is required.
JOB CONTROL STATEMENTS FOR CICS EXECUTION
The filename for the intrapartition data set is OFHNTRA.
VSAM INTRAPARTITION DATA SET
For a CICS execution using VSAM for intrapartition transient
data, a job control statement is required, of the form:
// OlBl DFHNTRA,'cics160.intra.transd'"VSAM,CAT=user-catalog-filename
DAM INTRAPARTITION DATA SET
For a CICS execution using OAM for intrapartition transient data,
a job control statement is required, of the form:
// DlBl OFHNTRA,'cics160.intra.transd'"DA
// EXTENT SYSnnn,CICSOA,l,O,relative-track-address,number-of-tracks
// ASSGN SYSnnn,cuu
Chapter 4.3.
Transient Oata Intrapartition Data Set
187
Chapter 4.4. Transient Data Extrapartition Data Sets
Transient data extrapartition data sets are sequential files,
normally on disk or tape. Each data set may be defined for input
only or for output only, but not for both. Output files can be
assigned to SYSlST.
You must include job control statements for each entry
representing an extrapartition data set in the destination
control table. The data set may be on disk or tape. The filename
must be the same as that specified in the DSCNAME operand of the
DFHDCT TYPE=SDSCI macro instruction.
For an extrapartition data set on disk, if DFHDCT TYPE=SDSCI
specifies DSCNAME=DFHXTI and DEVICE=DISK, the appropriate job
control statements are:
// DlBl
DFHXTI,'cics160.extra.a',O,SD
// EXTENT SYSnnn"l,O,relative-track-address,number-of-tracks
// ASSGN SYSnnn,cuu
For an extrapartition data set on t~pe, if DFHDCT TYPE=SDSCI
specifies DEVICE=TAPE and DEVADDR=SYS009, the appropriate job
control statement is:
// ASSGN
SYS009,cuu
Chapter 4.4.
Transient Data Extrapartition Data Sets
189
Chapter 4.5. Journal Data Sets
If journaling activity is to take place while CICS is running,
each journal must be defined by means of operating system job
control statements. The data sets referred to in these statements
correspond to the journal definitions as provided by the entries
in the journal control table (JCT).
A particular instance of a journal is the CICS system log, used by
CICS modules to perform automatic logging of changes to
recoverable resources. During emergency restart after an
uncontrolled or immediate CICS termination, the system log is
then used as the source of information that enables the resources
to be restored to a self-consistent state.
In addition, user journals can be defined to record file control
or message activity during CICS execution for subsequent
processing and analysis by user-written programs (for example,
for forward recovery). This recording is performed either by
automatic journaling as specified in entries in the file control
table or program control table, or by explicit user journaling.
Automatic journaling and user journaling can also be directed to
the system log.
Each journal is given a journal file identification by means of
the JFILEID parameter in an entry in the journal control table
(JCT) (see "Journal Control Table" in the CICS/VS Resource
Definition Guide). This can be specified as SYSTEM to denote the
system log, or a value between 02 and 99 to identify a user
journal.
Each journal can be defined as residing on disk or on tape. Disk
journals can consist of a single data set or a pair of data sets
that are used alternately. Tape journals may be defined to reside
on a single tape drive or a pair of tape drives. Tape journals
must be defined on unlabeled tapes.
The above journal characteristics are specified by means of the
JTYPE parameter in the JCT entry. Corresponding job control
statements must be included in the CICS job stream.
The filenames of the statements defining the journal data sets in
the CICS run must be of the form DFHJnnx where 'nn' is the journal
file identification and 'x' is A or B corresponding to which of
the pair of data sets is being defined. If the journal consists
of a single data set, 'x' has the value 'A'. If the journal is the
system log, the value of Inn' is '01'.
DISK JOURNALS
Disk journals are defined as sequential data sets that are reused
for output when full. This is true whether a disk journal is
defined as one or two data sets. In the latter case, however,
reuse will not be immediate; there will be a data-set switch
first. All disk journal volumes must remain mounted at all times.
Whenever a data set of a disk journal is opened and begins to be
reused for output, message DFH4508 is issued. This message is
also issued when a disk journal is returned to output status after
being read as input by a CICS transaction.
"---
The system console operator can control the reuse of disk data
sets if the journal was specified with the PAUSE option (see
"Journal Control Table" in the CICS/VS Resource Def1 ni ti on
Guide). If PAUSE was specified, message DFH4507 is issued,
requiring a reply from the operator, before the data set is
reused. This gives the operator an opportunity to copy the data
set before allowing it to be overwritten. Note, however, that any
Chapter 4.5.
Journal Data Sets
191
transactions that cause output to the journal to occur will be
held up until the copy operation is complete and the operator has
replied to the message. For this reason, you should define single
data set journals so that they are large enough to hold all the
journal output for a given CICS run.
Journal data sets are defined to VSE as having an undefined (U)
record format. CICS constructs the records in the data sets into
variable blocked (VB) format.
PREPARING DISK DATA SETS FOR SYSTEM LOGS AND JOURNALS (DFHJCJFP)
Disk data sets intended to receive journal data set output must be
allocated and formatted prior to use in a CICS execution. After
they are formatted, data sets are reused for successive CICS
executions even across cold starts.
When opening all journals for output, CICS system initialization
positions disk journals so that output resumes immediately after
the last record previously written to the journal. Journals
created by the CICS monitoring facility are not repositioned.
Disk space of at least three tracks (four control intervals in the
case of FBA devices) must be preallocated for use of a journal as
either a single contiguous data set or a pair of data sets,
depending on the type of disk journal (see "Journal Control Table"
in the CICS/VS Resource Definition Guide).
Each data set must be preformatted by running the DFHJCJFP utility
program the first time the data set is used. Failure to do so
will usually adversely affect the journal, causing message
DFH4501 to be issued to the system console during system
initialization, indicating that the journal failed to open.
However, if an unfor~atted disk journal does open, the
positioning and the continuity of the data will be unpredictable.
After the data set has been formatted, it should never be
reformatted unless it is to be used for another purpose.
Reformatting would destroy the contents of the log or journal on
which the emergency restart procedures depend. If you reformat
the system log, CICS can only perform either a warm start if a
warm keypoint has been taken, or a cold start.
The job stream for the DFHJCJFP journal format program is included
in "Job Stream for Defining and Formatting Journals on Disk"
below.
After successfully formatting an extent, a message is issued to
the system console indicating the number of tracks formatted:
DFH4599 - JOURNAL EXTENT INITIALIZED - nnnn TRACKS AVAILABLE
For an explanation of the messages referred to in this chapter,
see the CICS/VS Messages and Codes manual.
Job Stream for Def;n;ng and Formatt;ng Journals on D;sk
As an example, if the system log is defined as two journal data
sets on disk, the job control statements to format the first
journal data set might be:
192
CICS/DOS/VS Installation and Operations Guide
//
//
//
//
//
JOB CICSFDSK FORMAT JOURNAL DISK EXTENT
DLBL JOURNAL,'cicsI60.system.log.a',0,SD
(see notes 1 & 2)
EXTENT SYSnnn"I,O,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
EXEC DFHJCJFP,SIZE=AUTO
/*
/&
(This job is included in Z.DFHSPJCL)
You may need to add:
// LIBDEF CL,SEARCH=cics-cil-filename
before the EXEC statement.
The job control statements to format the second journal data set
on disk might be:
//
//
//
//
//
JOB CICSFDSK FORMAT SECOND JOURNAL DISK EXTENT
DLBL JOURNAL,'cics160.system.log.b',Q,SD
(see notes 1 & 2)
EXTENT SYSnnn"l,O,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
EXEC DFHJCJFP,SIZE=AUTO
/*
/&
(This job is included in Z.DFHSPJCL)
Notes:
1.
You may need to add:
// LIBDEF CL,SEARCH=cics-cil-filename
before the EXEC statement in each of the above jobs.
2.
For FBA devices, CISIZE can be specified on the DLBL
statement. The CISIZE specified for the journal must be at
least 7 bytes greater than the value in the BUFSIZE operand in
DFHJCT TYPE=ENTRY. The CISIZE value must be either a multiple
of 512 bytes ~8192 bytes or a multiple of 2048 bytes >8192
bytes, and be equal to the CISIZE value specified for CICS
execution.
3.
The filename for the journal DLBL statement must be JOURNAL.
SPACE CONSIDERATIONS
If disk is chosen for the system log, sufficient space must be
allocated. This means that, in order to provide the minimum
information needed to restart the system, the system log must be
large enough to hold, at anyone time, at least one complete
keypoint and, for each task that performs logging, ali data logged
from start of task (or logical unit of work) to the moment of
failure. This is an extreme case. Practically, you should
allocate enough space to hold at least two to three times the
amount of data logged during the processing of the longest task.
You should also specify the activity keypoint frequency so that at
least two or three keypoints are taken while writing each system
log data set.
Ideally, you should allocate sufficient space on the combined log
data sets to avoid the necessity of switching more than once
during a CICS run.
Chapter 4.5.
Journal Data Sets
193
Variables that affect the space requirements for the system log
include:
.
•
Duration of the longest running task; that is, how many
keypoints it spans
.
•
The frequency at which keypoints are written
•
Block size of the system log
•
Number of blocks actuully written; that is, those written by
the DFHJC TYPE=PUT macro instruction
•
Track capacity of the device on which the system log resides
•
The "load" on the system log. This, in turn, depends on
parameters chosen during CICS table preparation, such as
recoverable Destination Control Table destinations and user
journaling.
You will need to monitor the CICS statistics to get an optimum
value for the space required. You should start with a large
value, at least for the first disk extent.
JOB CONTROL STATEMENTS FOR CICS EXECUTION
If journaling is activated for a CICS execution, you have to
assign I/O devices and supply label information for each entry of
the journal control table (JCT) selected. The filename in the
DlBl statement must be of the form DFHJnnx, where nn is the
journal data set identification for a particular JCT entry and x
is A or B. For the CICS system log, the journal data set
identification is 01.
Depending on the type of disk journal data set, there must be
either one DlBl statement with filename DFHJnnA, or two DlBl
statements with filenames DFHJnnA and DFHJnnB, for each JCT
entry. The symbolic unit (SYSnnn) specified in the DEVADDR
operand of the JCT must be the same as that for the ASSGN job
control statement.
It is essential that any disk logs that you may want to use for
forward recovery are on a different disk device from your
recoverable data sets.
If the journal data sets on disk are formatted as above, the job
control statements for the CICS execution would be:
//
//
//
//
//
//
DlBL DFHJ01A,'cics160.system.log.a',O,SD
EXTENT SYSnnn"l,O,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
DLBl DFHJ01B,'cics160.system.log.b',O,SD
EXTENT SYSnnn"l,O,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
For FBA devices, the CISIZE parameter can be coded on the DLBl
statements defining the journals. The CISIZE value specified must
be at least 7 bytes greater than the corresponding BUFSIZE value
in DFHJCT TYPE=ENTRY. The CISIZE value must be either a multiple
of 512 bytes ~8192 bytes or a multiple of 2048 bytes >8192 bytes),
and be equal to the CISIZE value specified when running the
journal format program (DFHJCJFP).
194
CICS/DOS/VS Installation and Operations Guide
TAPE JOURNALS
If a journal is defined as residing on tape, it will in general
consist of a series of physical reels or tape volumes that are
used in sequence. The volumes are mounted on either one or two
tape drives in accordance with the JTYPE parameter in the JeT.
Because unlabeled tapes are used, it is necessary to label each
tape used with an external (paper) label and to record separately
the identity and sequence of tape volumes constituting the
journal.
PREPARING TAPES FOR SYSTEM LOGS AND JOURNALS (DFHFTAP)
During emergency restart, the CICS recovery utility program
(DFHRUP) must find the last record written in order to process the
system log from the point at which it was positioned when the
system abnormally terminated. If new tapes are used in system
logs and an abnormal termination causes no end-of-file mark to be
written, difficulties will occur in locating the last record
written, such as the tape running off the end of the reel. To
avoid this, tapes used in system logs or journals must be
preformatted before being used. This is accomplished by using the
CICS-provided DFHFTAP utility program.
Standard Procedure for Formatting Tapes for system Log or Journal Use
The job control statements to format a system log or journal data
set on unlabeled tape might. be:
// JOB CICSFTAP FORMAT JOURNAL TAPE
// ASSGN SYSOIO,cuu
// EXEC DFHFTAP
/*
/&
(This job is included in Z.DFHSPJCl)
You may need to add:
// lIBDEF Cl,SEARCH=cics-cil-filename
before the EXEC statement in the above job.
JOB CONTROL STATEMENTS FOR CICS EXECUTION
If journaling is activated for a CICS execution, you have to
assign I/O devices for each entry of the journal control table
(JCT) selected.
For example, if the system log has been specified as:
JTYPE=TAPE2,DEVADDR=(SYS004,SYS005)
the job control statements would be:
// ASSGN
// ASSGN
SYS004,cuu
SYS005,cuu
WRITING AN EOF MARK ON A JOURNAL OR SYSTEM LOG (DFHTEOF)
The CICS-provided tape end-of-file utility program (DFHTEOF) can
be used offline to reposition and close correctly a user-journal
tape after an uncontrolled shutdown. For the tape system log,
this function is performed by CICS during an emergency restart.
Chapter 4.5.
Journal Data Sets
195
The purpose of the DFHTEOF procedure is to write an end-of-file
(EOF) mark following the last valid record written prior to the
failure. It does this by reading the tape forward from load point
and comparing the time stamps in each record.
If the system log or any other CICS-created journal residing on
tape is to be used by Dl/I or by a user-written program that does
not include such comparison logic, an EOF mark must be written
after the last valid record. This can be done by running DFHTEOF
stand-alone. This step should be taken even when- a partition
ABEND caused the abnormal termination, in case the ABEND routine
itself failed to close the tapes.
A sample job stream that might be used to run DFHTEOF stand-alone
is:
//
//
//
//
JOB CICSTEOF WRITE EOF ON JOURNAL TAPE
ASSGN SYSOIO,cuu
lIBDEF Cl,SEARCH=cics-cil-filename
EXEC DFHTEOF
/*
/&
Ensure that the correct volume (that is, the last volume that was
mounted for system log output during the previous execution) is
mounted and positioned at its load point.
The restart-time execution of DFHTEOF uses the DFHJ01A job
control statement (that is, the statement that exists for the
system log).
JOURNALS FOR CICS MONITORING FACILITY OUTPUT
Journals used for CICS monitoring facility output must be defined
as user journals in the JCT (that is, with IDs from 02 to 99), and
they must have FORMAT=SMF defined.
A sample journal control table is included in the CICS source
statement library as DFHJCT1$ (with copy book DFHXJCTS).
196
CICS/DOS/VS Installation and Operations Guide
Chapter 4.6. Restart Data Set
This data set is required for automatic or emergency restart. If
you need this data set, you must also code KPP=D$ in the SIT or
system initialization override parameters.
The restart data set is a VSAM key-sequenced data set (KSDS) used:
•
At controlled shutdown, to hold warm keypoint information for
a subsequent warm start.
•
During system initialization, to hold temporarily the backout
information generated in the course of emergency restart.
The use of the restart data set is closely associated with the
start options that are selected during eleS initialization. If
the START parameter, as defined in the system initialization
table (SIT) or as an override during eleS startup, has the value
AUTO, eles inspects the contents of the restart data set to
determine the type of startup to perform.
Three possibilities arise:
1.
The restart data set has been newly defined and initialized
(as described below) before the start of the eleS run. The
control record in the restart data set is thereby set to
indicate that this is the first use of the data set and that a
cold start is required.
2.
The previous eleS run was terminated normally by means of a
eEMT PERFORM SHUTDOWN or eSMT SHUT,NO command. In this case,
a warm keypoint is written to the restart data set during
shutdown processing, and the control record in the restart
data set is marked to indicate that the following auto startup
of eleS should be a warm start, restoring eleS to the same
state that it had at shutdown.
No warm keypoint is written if the shutdown is immediate.
3.'
The previous eleS run terminated abnormally or after an
operator request to perform immediate shutdown (eEMT PERFORM
SHUTDOWN IM~lEDI AT E 0 r eSMT SHUT, YES). In th i s ca se, no warm
keypoint is taken during shutdown, and the restart data set
contains a control record indicating that an emergency
restart is required during the next automatic start.
The emergency restart procedure uses the system log at the
time of the failure to recover the eleS system to a
self-consistent state. During this process, it uses the
restart data set temporarily to store transaction backout
data for tasks that were in progress at the time of failure.
This data is written by the recovery utility program, and is
read by the transaction backout program and, optionally, by a
user-written program executed during the program list table
(PlT) processing phase of system initialization.
As an alternative to allowing eleS to determine the start option
automatically from the contents of the restart data set, it is
possible to force cold start or emergency restart during
initialization by explicitly coding these values on the START
parameter in the SIT or system initialization override
parameters.
If START=eOlD is coded, eIeS is initialized without any use being
made of the restart data set, nor is reference made to any
previous eIeS execution.
If START=EMER is coded, emergency restart is carried out as
described above, without reference to the control record in the
Chapter 4.6.
Restart Data Set
197
restart data set, but using the restart data set temporarily to
store transaction backout data.
If START=AUTO is coded as a startup parameter together with
KPP=NO, CICS detects this condition, displays a message to the
system operator, and forces a cold start.
At the end of initialization, the control record is written to the
restart data set.
INFORMATION WRITTEN TO THE RESTART DATA SET
WARM RESTART
The restart information consists of the following tables and
areas:
•
•
•
•
•
•
•
o
•
•
•
Program control table (PCT)
Processing program table (PPT)
Terminal entries (nonswitched)
File control table (FCl)
Selected fields from the common system area (CSA)
Destination control table (intrapartition entries)
Transient data intrapartition space allocation bit map
IDs and relative byte addresses for temporary storage
auxiliary destinations/queues
Temporary storage space allocation bit map
Interval control elements (ICEs) and automatic initiate
descriptors (AIDs) at system termination time
Batch control areas (BCAs) and their write request elements
(WREs) for ATP.
EMERGENCY RESTART
The information written to the restart data set in this case
includes:
•
•
•
•
•
•
•
•
198
The transaction backout table, which contains details of
inflight transactions and completed tasks that contain
user-written log records
The file backout table, identifying files that need to be
backed out
The message backout table, identifying terminals that require
resynchronizing
The DL/I backout table, which contains details of DL/I PSBs
that need to be backed out
Individual file records to be used for backout
Individual DL/I records to be used for backout
Individual temporary storage replacement records to be used
for backout
Any user-written log records that are flagged to be collected
by DFHRUP.
CICS/DOS/VS Installation and Operations Guide
JOB CONTROL STATEMENTS TO DEFINE AND INITIALIZE THE RESTART DATA SET
Before the restart data set can be used for the first time. it
must be defined and initialized as a VSAM key sequenced data set
(KSDS). The following jobs are samples that achieve this. The
values of the RECORDS and CATALOG parameters may vary according to
the installation's requirements. The value of the NAME parameter
in the CLUSTER definition is the data set name. which must agree
with the file-id in the DLBL statement for the CICS execution.
The data set is initialized with one record containing a 10-byte
key:
'ACTL 0001'. followed by a blank.
// JOB DEFRSD CREATE RESTART DATA SET
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
(NAME(cics160.rsd)
INDEXED
RECORDSIZEC2000 2000)
RECORDS(250 100)
KEYSC10 0)
FREESPACE(20 20)
SHAREOPTIONS(2)
VOLUMES(volume»
DATA
CNAMECcicsI60.rsd.data»
INDEX
(NAME(cicsI60.rsd.index»
CATALOGCuser.catalog)
/*
/&
// JOB INITRSD INITIALIZE RESTART DATASET
// DLBL user-catalog-filename,'user.catalog'"VSAM
// DLBL DFHRSD.'c)csI60.rsd'"VSAM,CAT=user-catalog-filename
// EXEC IDCAMS,SIZE=AUTO
REPRO INFIlE
(SYSIPT
ENVIRONMENT
(RECORDFORMAT(FIXUNB)
BLOCKSIZE(80)
RECORDSIZE(80»)
OUTFIlECDFHRSD)
ACTl 0001
/*
/&
(These jobs are included in Z.DFHSPJCl)
SPACE CALCULATIONS
1.
The records are UP to 2000 bytes each, with a 10-byte key and
10 bytes of flags and identifiers.
2.
The maximum number of bytes available in each record is 1980.
The number of records required to keypoint tables and control
blocks can be determined by referring to the following list:
•
•
•
•
•
•
•
•
Each PPT entry requires 62 bytes.
Each PCT entry requires 42 bytes.
Each FCT entry requires 58 bytes for other than VSAM, 90
bytes for VSAM.
Each TCT entry requires from 126 to 206 bytes, depending
upon terminal type.
Each DCT entry requires 90 bytes.
Each ICE requires 34 bytes.
Each AID requires 50 bytes.
Each BCA requires 362 bytes.
Chapter 4.6.
Restart Data Set
199
•
•
Each WRE requires 18 bytes.
Each temporary storage destination requires 18 bytes plus
6 bytes for each auxiliary record.
Entries for different tables are written with different keys.
For each table, the amount of space required to keypoint
information should be calculated in 2000-byte records.
JOB CONTROL STATEMENTS FOR CICS EXECUTION
If the restart data set has been defined using the sample job in
the previous section, the job control statement for the CICS
execution is:
// DLBL DFHRSD,'cicsI60.rsd'"VSAM,CAT=user-catalog-filename
200
CICS/DOS/VS Installation and Operations Guide
Chapter 4.7. Automatic Statistics Data Sets
SYSTEM STATISTICS
System statistics are accumulated continuallY by CICS management
programs in CICS system tables during the execution of CICS.
System statistics can be captured and recorded, on request, or
autom~tically at intervals, by any operator whose security code
allows access to such information. In addition, system
statistics are recorded on normal termination of the system.
The operator initiates the recording of requested statistics or
of automatic statistics by means of the CSTT transaction with
appropriate arguments. (See the CICS/VS Operator's Guide for
detailed information.) The statistics are written to transient
data destinations defined in the destination control table.
These destinations must, in turn, correspond to data sets that
receive the physical output.
REQUESTED STATISTICS
Requested system statistics are recorded in full, or in part, as
variable-length, unblocked records with a minimum block size of
132 (decimal) bytes.
The operator may specify the destination for requested
statistics; if the destination is omitted, the default
destination CSSL is used (see "termination statistics" below).
The operator can optionally request that all selected statistics
(except total number of tasks) be reset to zero after each output.
Requested system statistics cannot be recorded while the
recording of automatic system statistics is in effect.
AUTOMATIC STATISTICS
Automatic system statistics are recorded in full and written to
destinations with system-defined names CSSM and CSSN, as
variable-length blocked records with minimum block size of 304
(decimal) bytes.
The operator initiates the periodic recording of the statistics
on the current transient data destination by means of the CSTT
transaction, specifying the interval of time between successive
recordings and the number of recordings to be placed on the
primary and secondary data sets. After the specified number of
intervals has been completed on the current data set, the data set
is closed and a switch occurs automatically to the other data set.
The first data set may be used to prepare a printnd report offline
by means of the DFHSTUP automatic statistics utility program (see
"Processing the Automatic Statistics Data Sets (DFHSTUP)" on page
204).
The operator can switch the automatic statistics data sets
explicitly by invoking the CSTT transaction. The destination
currently in use is closed after the current recording, if any, is
completed, and the other destination is opened and put into use
for the next recording. The CSTT transaction can also be used to
terminate the periodic recording of statistics.
Automatic statistics are cumulative only for the interval
specified, that is, the statistics are reset to zero at the end of
each interval.
Chapter 4.7.
Automatic Statistics Data Sets
201
TERMINATION STATISTICS
Term;nat;on statistics are recorded on normal CICS termination as
if an explicit request for all requested statistics had been made
at that time. They are sent to the CSSL destination and include
all statistics accumulated since the counts were last set to zero.
They do not include statistics that have already been recorded
during automat;c statistics recording.
DESTINATIONS FOR STATISTICS
The statistics destinations CSSL, CSSM, and CSSN must be defined
as extrapartition transient data destinations. CSSL may refer to
an output printer defined by the user.
Because system statistics are always recorded on CICS
termination, the CSSL destination is a required entry in the DCT.
The CSSM and CSSN destinations are required only if automatic
statistics are used.
The data sets used by the CSSM and CSSN destinations are
sequential data sets located on tape or direct-access storage.
The filenames for these data sets are required to be DFHSTM and
DFHSTN respectively. See "Chapter 4.4. Transient Data
Extrapartition Data Sets" for information on defining these data
sets.
The destination control table (DC!) entries required to define
the CSSM and CSSN destinations a~e described in the CICS/VS
Resource Definition Guide. You should code the DFHDCT TYPE=EXTRA
macro instruction for these destinations with RESIDNT=NO. In
this way, the DTF for an automatic statistics data set is reloaded
each time the data set is opened. An automatic statistics data
set is opened when the operator initiates automatic recording of
statistics, and when a switch is made from one data set to the
other.
You do not have to define both data sets to activate automatic
statistics. If, however, you use only one data set, and a request
is made to switch data sets, automatic statistics will be
terminated. If only one data set is used, the filename must be
DFHSTM.
Automatic statistics data sets are not required to be
preformatted. If disk space is available, it is probably most
convenient to allocate them before the very first time CICS is
run.
JOB CONTROL STATEMENTS FOR CICS EXECUTION
The following job control statements might be used in the CICS
execution for the automatic statistics data sets if they are to be
held on d;sk:
//
//
//
//
//
DLBL DFHSTM,'cics160.auto.stat.a',O,SD
EXTENT SYSnnn"l,O,relative-track-number,number-of-tracks
DLBL DFHSTN,'cics160.auto.stat.b',0,SD
EXTENT SYSnnn"l,O,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
The following job control statements for the data sets on tape
might be used:
// ASSGN
// ASSGN
202
SYSmmm,cuu
SYSnnn,cuu
CICS/DOS/VS Installation and Operations Guide
where SYSmmm and SYSnnn match those specified in the DCT.
Note: The data set, DFHSTM or DFHSTN, is opened as an output work
data set. Therefore, if the statistics summary data set is not
expired, the VSE message:
4n44A OVERLAP ON UNEXPRD FILE
is written to the console. This is not an error. After ensuring
that the overlap data set is the statistics summary data set, the
operator should respond:
DELETE
The unexpired file message can be prevented by coding a date of 0
in the DLBL statement, as shown above.
SPACE CALCULATIONS
The following information will help you estimate the amount of
direct-access storage needed to collect automatic statistics for
your system. The space requirements for the statistics output
data set are affected by:
4
o
Duration of the automatic process of recording system
statistics.
o
Frequency of the interval; that is, the time specified as the
interval to record system statistics.
o
Block size (maximum 4100 bytes) of the statistics
summarization output data set.
o
Track capacity of the device (if a count-key data set) on
which the data set resides.
You should allow:
o
o
o
o
o
o
o
o
•
•
•
16 bytes for the header record
497 bytes for both summary records
34 bytes x number of transactions used
18 bytes x number of programs used
40 bytes x number of terminals in system
12 bytes x number of transient data destinations used
56 bytes x number of non-DL/I files in system + 16 bytes for
each file segment used
20 bytes for each file that uses VSAM shared resources
20 bytes for each journal data set in system (including the
system log data set)
.
80 bytes for each system entry for a remote system
4 bytes of length field (LLbb) for every 300 bytes written.
Example:
You have specified an interval of two minutes to record
statistics, and cancel the automatic process after two hours. The
system configuration is as follows:
200 terminals in system
6 files in system - no segments used
2 journal data sets including the system log
Every two minutes, there are approximately:
10 different transactions used
10 different programs used
3 different transient data destinations used
The output data set is allocated on a 3330 disk storage device.
For this example, 60 intervals of data are recorded. Based upon
the configuration and the size~ of records, approximately 9600
Chapter 4.7.
Automatic Statistics Data Sets
203
bytes of data would be written every interval. Assuming a block
size of 4000 bytes (VB) and a 3330 disk storage device,
approximately 51 tracks of disk space would be needed.
PROCESSING THE AUTOMATIC STATISTICS DATA SETS (DFHSTUP)
The automatic statistics utility program (DFHSTUP) is used to
prepare and print reports offline from the data recorded by the
automatic statistics program.
For autom~tic statistics data sets on disk, the job control
statements to execute the automatic statistics utility program
might be:
// JOB PRTSTATS PRINT AUTO STATS
// DLBL DTFDISK,'cics160.auto.stats.b',0,SD
// EXTENT SYSnnn"l,O,relative-track-number,number-of-tracks
// UPSI yxxxxxxx
(see note)
// ASSGN SYSnnn,cuu
// LIBDEF CL,SEARCH=cics-cil-filename
// EXEC
DFHSTUP,SIZE=80K
DEVICE=DISK
/*
/&
Note: The file ID in the DLBL statement must be the same as that
used for the CICS execution.
For automatic statistics data sets on unlabeled tape, the job
control statements to execute the automatic statistics utility
program might be:
// JOB CICSSTUP STATISTICS SUMMARIZATION UTILITY PROGRAM
// UPSI yxxxxxxx
(see note)
// ASSGN
SYSOl1,cuu
// LIBDEF CL,SEARCH=cics-cil-filename
// EXEC
DFHSTUP,SIZE=80K
DEVICE=TAPE
/*
/&
Note: The ASSGN statement must specify SYS011. If the ASSGN
statement is omitted, a tape unit will be dynamically acquired.
In the above sample jobs, the // UPSI control statement is used to
indicate the following:
Bit 0
o - Only the summary output report is to be printed
1 - Only the interval output report is to be printed
°-
Bits 1 through 7
60 lines to be printed on each page of the reports
(default value). Otherwise, the binary value
represented by these seven bits is the number of
lines to be printed on each p~ge of the reports.
Minimum page size is 30 lines.
204
CICS/DOS/VS Installation and Operations Guide
In addition, the DEVICE= control command is used to indicate
whether the automatic statistics are recorded on disk or tape.
Alternatively, all the control information may be included by
means of control commands .. The commands are:
DEVICE={d;skltapeJ
specifies whether the automatic statistics file to be
processed is on disk or on tape.
STATS={;ntlsumJ
specifies whether an interval output report or a summary
output report is to be printed.
LINES=nn
specifies the number of lines (30-999) to be printed on each
page of the report.
The commands may be coded in either of the following ways:
1.
In the PARM operand in trhe // EXEC DFHSTUP statement:
// EXEC DFHSTUP,SIZE=80K,PARM='command,command, .... '
If the PARM operand is used, the keywords and entries must be
enclosed in quotes and separated by commas. No embedded
blanks are allowed.
2.
As a series of statements in the input stream following
the // EXEC DFHSTUP statement:
// EXEC DFHSTUP,SIZE=80K
command, command,
command
In this case, the keywords and entries in a list must be
separated by commas. Continuation to another record is
allowed after any comma, provided the comma is in column 71 or
is followed by a blank. Continuation records can begin in any
column.
For example, either of the following sets of statements:
// EXEC DFHSTUP,SIZE=80K,PARM='DEVICE=DISK,STATS=INT,LINES=060'
or
// EXEC DFHSTUP,SIZE=80K
DEVICE=DISK,
STATS=INT,LINES=060
would cause the printing of an interval output report at 60
lines per page.
The automatic statistics utility program is always generated with
support for all valid input devices. The device to be used is
normally specified in the job stream that executes the utility, as
shown. If the device has not been specified in SYSIPT, the
following messages will appear on the operator console:
DFH16501
DFH1651A
NO VALID PARAMETER CARD ON SYSIPT
ENTER 'STOP' OR INPUT DEVICE TYPE
(TAPE, 2314, 3330, 3340, 3350, FBA, DISK):
Chapter 4.7.
Automatic Statistics Data Sets
205
The operator should reply STOP to terminate the run, or enter the
device type on which the output from the CICS automatic statistics
program was placed during the execution of CICS. There is no
default value. If an invalid parameter was read from SYSIPT, this
is displayed on the console before message DFH1650I.
For details of the statistics produced, see the CICS/VS
Pp.rformance Guide.
206
CICS/DOS/VS Installation and Operations Guide
Chapter 4.8. Auxiliary Trace Data Sets
The trace management component of CICS enables you to initiate and
control the recording of trace entries representing the execution
of all, or selected, CICS macro- or command-level requests during
execution.
Trace entries are of fixed length and defined format (see the
CICS/VS Problem Determinotion Guide for details), recorded
sequentially in an area of main storage referred to as the trace
table. The size of the trace table is determined at system
initialization by means of the TRT parameter in the SIT or as a
system initialization override; if the size is specified as zero,
no tracing will be performed. Entries in the trace table are
written in a wraparound manner: when the end is reached,
subsequent entries overwrite the entries at the beginning of the
table.
In most cases, the main storage trace table will be relatively
small, and entries will be overwritten. To obtain a trace of CICS
activity in which trace entries are not overwritten, a further
method of recording known as aux;!;ary trace can be used. The
trace entries are then, in addition, recorded in a sequential data
set on disk or tape. The format of trace entries in the auxiliary
trace data set is identical to that in main storage.
On tape, only one auxiliary trace data set can be defined. On
disk, either a single auxiliary trace data set or two data sets
can be defined. Defining two data sets allows the auxiliary trace
to be switched from one to the other.
When the current auxiliary trace data set is filled, CICS informs
the operator by means of message DFH1401, closes the data set, and
suspends auxiliary tracing.
If only one auxiliary trace data set is defined, when it is
filled, CICS will turn off auxiliary tracing. Turning auxiliary
tracing on with the CEMT SET AUXTRACE ON master terminal command
will then reuse the data set.
If two auxiliary trace data sets are defined, you can switch to
the other auxiliary trace data set with the CEMT SET AUXTRACE
SWITCH command. If you switched data sets because the previous
one was full, then you must turn auxiliary tracing on again with
the CEMT SET AUXTRACE ON command. This is because CICS turned
auxiliary tracing off when it closed the full data set.
You can switch data sets at any time with the CEMT SET AUXTRACE
SWITCH command. If you switch before the data set is filled and
auxiliary tracing is already turned on, then you do not need to
turn auxiliary tracing on again after the switch.
The contents of the auxiliary trace data set can be printed using
the DFHTUP trace utility program (see below). The program formats
each trace entry to show the CICS component that made the entry
and the function being performed. The entries to be printed may
be selected by task or transaction identifier, by time, or by
trace identifier.
The contents of the main storage trace table can be printed with
the dump utility program (DFHDUP).
Main storage trace and auxiliary trace may be activated
independently and in either order. Auxiliary trace entries are
not recorded, however, unless main storage tracing is active at
the same time. This means that auxiliary trace may be active for
an extended period, but actual tracing will be controlled by
activating and deactivating main storage trace.
Chapter 4.8.
Auxiliary Trace Data Sets
207
Main storage trace is controlled by anyone of three methods:
•
By means of the TRP=(,ON) SIT parameter or startup override.
This activates tracing of all CICS requests at CICS
initialization time. The TRT parameter must have a nonzero
value to allow trace entries to be recorded. Tracing
continues until the end of the CICS run or until it is turned
off as described below.
•
By means of the CEMT master terminal transaction (see the
CICS/VS Operator's Guide). This initiates the recording of
all CICS requests in the trace table (and in the auxiliary
trace data set if auxiliary trace is already active). The
transaction can also be used to turn trace off. The CSFE
transaction can also be used to control the trace facilities.
o
By means of an EXEC CICS command or DFHTR macro instruction in
an application program (see either the CICS/VS Application
ProQrammer's Reference M~nual (Macro level) or the CICS/VS
Application Programm~r's R~ference Manual (Command level».
This method of activation allows selective recording of trace
entries according to the CICS component that made the entry
(for example, storage control, terminal control, or EXEC
interface) as well as the recording of all entries.
Auxiliary trace is controlled by:
•
The TRP=(,AUX) SIT parameter or start-up override. This
activates both auxiliary trace and main storage trace.
•
The CEMT master terminal transaction. If this command is used
to activate auxiliary trace and the auxiliary trace data set
is not open, the command causes the primary data set to be
opened as well as activating auxiliary trace. Trace entries
are recorded only when main storage trace is also active.
For auxiliary trace data sets on d;sk, the filenames of the
auxiliary trace data sets are defined by CICS as DFHAUXT and
DFHBUXT. If a single data set is to be used, its filename must be
DFHAUXT.
For an auxiliary trace data set on tape, device SYS009 must be
specified in the ASSGN job con~rol statement.
JOB CONTROL STATEMENTS FOR CICS EXECUTION
The following job control statements might be used in the CICS
execution for the auxiliary trace data sets, if these are to be
held on d;sk:
//
//
//
//
//
//
DLBL DFHAUXT,'cics160.aux.trace.a'~O,SD
EXTENT SYSnnn"l,O,relative-track-number,number-of-tracks
DLBL DFHBUXT,'cics160.aux.trace.b',O,SD
EXTENT SYSmmm"l,O,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
ASSGN SYSmmm,cuu
Note: In the DlBL statement, the date value of 0 prevents the
unexpired file message being generated during execution of the
trace program.
If the auxiliary trace data set is to be held on tape, the
following job control statement might be used:
// ASSGN SYS009,cuu
208
CICS/DOS/VS Installation and Operations Guide
Note: The ASSGN statement must specify SYS009.
If the ASSGN
statement is omitted, a tape unit will be dynamically acquired.
A tape unit should be assigned and a tape reel mounted before the
master terminal operator enters the command to turn on the
auxiliary trace. Only unlabeled tapes should be used for this
data set; standard labeled tapes are not supported.
SPACE CALCULATIONS
Trace entries are 32 (decimal) bytes in length. The physical
record length (blocksize) cannot be modified, but is defined as
4096.
PROCESSING THE AUXILIARY TRACE DATA SET (DFHTUP)
A CICS utillty program, DFHTUP, is provided to format and print
trace records stored on the auxiliary trace data set. This
utility program is run as a separate VSE job and extracts all or
selected trace entries from the data set. The type of entries to
be processed by this program are specified on parameter cards
supplied as part of the input to the program. Entries that can be
selected for processing include:
All entries
Entries written to the auxiliary trace data set within a
specified period of time
Entries written for a specified terminal
Entries with a specified trace identifier
Entries associated with a specified transaction
identification
Entries associated with a specific instance of a transaction
identification (task).
o
•
o
o
o
o
If the auxiliary trace data sets are held on d;sk, the job control
statements might be:
// JOB PRTAUX PRINT AUXILIARY TRACE DATASET
// DLBL DFHAUXT,'cics160.aux.trace.a'"SD
// EXTENT SYSnnn"l,O,relative-track-number,number-of-tracks
// ASSGN SYSnnn,cuu
// EXEC DFHTUP,SIZE=80K
DEVICE=DISK
.
parameter statements
(This job is included in Z.DFHSPJCL)
You may also need to add:
// LIBDEF CL,SEARCH=cics-cil-filename
before the EXEC statement in the above job.
If the auxiliary trace data set is held on tape, the job control
statements might be:
Chapter 4.8.
Auxiliary Trace Data Sets
209
JOB PRTAUX PRINT AUXILIARY TRACE DATASET
ASSGN SYS009,cuu
LIBDEF CL,SEARCH=cics-cil-filename
EXEC DFHTUP,SIZE=80K
DEVICE=TAPE
II
II
II
II
parameter statements
Note: The ASSGN statement must specify SYS009.
If the ASSGN
statement is omitted, a tape unit will be dynamically acquired.
In the sample jobs above, all the control information may be
included by means of control commands. The commands are:
DEVICE={d;skltapeJ
specifies whether the auxiliary trace data set to be
processed is on disk or on tape.
ALL
specifies that all trace entries in the auxiliary trace data
set are to be printed. This command is the default.
TASKID={;dl;d-;dJ or TASKID=({;dl;d-;dJ,{;dl;d-;dJ, ••• )
specifies the task identifications of one or more tasks for
which trace entries are to be printed. An id value can be
any number up to five decimal digits in length, or any of the
character strings ATP, JJJ, KCP, or TCP. A range of task
identifications can be specified by use of a hyphen.
TERHID=tttt or TERMID=(tttt,tttt, ••• )
specifies the terminal identifications of one or more
terminals for which trace entries are to be printed.
TRANID=tttt or TRANID=(tttt,tttt, ••• J
specifies the transaction identifiers of one or more
transactions for which trace entries are to be printed.
TIMERG=hhmmss-hhmmss or TIMERG=(hhmmss-hhmmss,hhmmss-hhmmss, ••• )
specifies the time period or periods for which trace entries
are to be printed. Time periods are indicated by pairs of
values represented as hours (hh), minutes (mm), and seconds
(ss) separated by a hyphen. The ending value of each pair
must be later than the starting value.
TYPETR={;;I;;-;;J or TYPETR=({;;I;;-;;J,{;;I;;-;;J, ••• )
specifies the trace entry identifications for which trace
entries are to be printed. An 'ii' value can be either a
3-character decimal value (000-255) or a 2-character
hexadecimal value (OO-FF). Decimal values are converted to
hexadecimal values by the utility program. A range of trace
entry identifications can be specified by use of a hyphen.
210
CICS/DOS/VS Installation and Operations Guide
The commands may be coded in either of the following ways:
1.
In the PARM operand in the // EXEC DFHTUP statement:
// EXEC DFHTUP,SIZE=80K,PARM='command,command, .... '
If the PARM operand is used, the keywords and entries must be
enclosed in quotes and separated by commas. No embedded
blanks are allowed. If you need to continue the statement to
another record, you must code the statement up to column 71,
include a continuation character in column 72, and continue
from column 16 in the next record.
2.
As a series of statements in the input stream following
the // EXEC DFHTUP statement:
// EXEC DFHTUP,SIZE=80K
command, command,
command
In this case, the keywords and entries in a list must be
separated by commas. No embedded blanks are allowed.
Continuation to another r~cord is allowed after any comma,
provided the comma is in column 71 or is followed by a blank.
Continuation records can begin in any column.
For example, either of the following sets of statements:
// EXEC DFHTUP,SIZE=80K,PARM='DEVICE=DISK,TERMID=L77A,TRANID=(ABRW,.AORD*
),TIMERG=(123000-150000)'
or
// EXEC DFHTUP,SIZE=80K
DEVICE=DISK,
TERMID=L77A,
TRANID=(ABRW,AORD),TIMERG=(123000-150000)
would cause the printing of auxiliary trace entries referring to
transactions ABRW or AORD, run at terminal L77A between 12.30 hrs.
and 15.00 hrs.
Chapter 4.8.
Auxiliary Trace Data Sets
211
Chapter 4.9. Dump Data Sets
Dumps may be recorded by eIes either as a consequence of a failure
detected during eIeS execution, or upon explicit request. eIeS
allows you some flexibility in specifying the content and type of
dump to be produced. The choice is made by options coded in the
system initialization table (SIT) or system initialization
overrides, and may be affected by options specified when making an
explicit request.
The occa s ion s when dumps may be produced are:
•
•
•
•
•
•
An explicit request issued by an application program
A transaction abend
Inclusion of dump option in a eIeS shutdown request made by
the operator
An explicit dump request by the operator
A storage violation detected by eIeS storage control
Abnormal termination of eIeS.
When any of the above conditions occurs, the type of dump produced
depends on the condi ti on as well as the SIT opti ons. The types of
dumps that can be produced are:
•
Transact;on dump.
•
Formatted dump. Thi sis a dump of most of the control blocks
and storage areas in the eIes partition. The dump is followed
by an index of the control blocks and a list of the modules
with their load and entry point addresses. The formatted dump
may include or invoke a dump of the eIeS partition" (or of the
dynamic storage area, in the case of storage violation), as
described below:
This is recorded by eIeS following any
transaction abend or application program request. It contains
the storage areas and eIes control blocks associated with the
transaction. The application program may also request a dump
of specified areas of storage.
eIes partition dump. {his is an unformatted dump of the
entire eIeS partition. It is produced by eIeS from within
the partition without operating system assistance.
Partition dump recorded by VSE. This is a dump taken as a
result of a VSE PDUMP macro request issued by eIeS. It
includes all the eIeS partition storage together with the
PSW and registers.
The VSE partition dump is written by VSE either to a data set that
can be on di sk or on tape, or to the output printer. If the data
set is on disk or tape, the filename must be DOSDMPF. If a second
data set is required on disk, the filename of the second data set
must be DOSDMPG. If the dump is directed to the output printer,
you must assign the dump file to SYSlST. For further information
on defining and processing these data sets, see the VSE/Advanced
Functions Serviceability Aids and Debugging Procedures manual.
The remaining types of dump are recorded by eIes on a single
sequential data set on tape or disk, or, on disk only, on a pair
of sequential data sets. The data sets must be defined in the
eIeS run with filenames DFHDMPA and DFHDMPB. If a single data set
is defined, its filename must be DFHDMPA. Each data set can hold
a number of separate dumps.
If two data sets are being used on disk, it is possible to print
down a completed set of dumps while eIeS is running. In order to
do this, the data sets should first be switched by means of the
eEMT SET DUMP SWITCH master terminal command. eIeS closes the
current data set after any dump being recorded has been completed,
and opens the other data set. The completed data set can be
Chapter 4.9.
Dump Data Sets
213
printed using the DFHDUP dump utility program (see "Processing
the Dump Data Sets (DFHDUP)" on page 216).
As well as switching dump data sets explicitly, the operator can
cause automatic switching to occur when the current data set
becomes full, by issuing the CEMT SET DUMP AUTOSWITCH master
terminal command. When the dump data set is full, the following
two messages will then be displayed at the console:
DFH0701
DFH0702
THE DUMP DATASET IS FUll
DUMP DATASET SWITCHING TO DFHDMPx
where 'x' has the value A or B.
CICS then closes the current data set, opens the other one, and
restarts from the beginning the dump that caused the end-of-data
set condition. The operator can print the completed data set with
the DFHDUP utility program and then reissue the CEMT SET DUMP
AUTOSWITCH master terminal command. This will again cause the
switch to be performed automatically when the current data set is
full.
The dump data sets DFHDMPA and DFHDMPB can be defined as temporary
data sets for each CICS run. More commonly, they will be
allocated in advance, reused repeatedly, and not deleted when the
CICS job has completed. The DFHDUP utility program can then be
used to print the dump output at any time during or after the CICS
run.
Except for the case of a transaction dump, the type of dump
produced depends on the options specified in the SIT or the system
initialization override parameters. The options, which may be
coded in any order after the suffix on the FDP parameter, have the
following meanings:
NO
In the case of a CICS abnormal termination only, take an
operating system abend dump.
PAR TN
PDUMP
Record a partition dump either to DFHDMPA or DFHDMPB, or to
SYSlST or SYSDMP if PDUMP is also coded.
If this is coded in conjunction with PARTN, record a VSE
PDUMP to SYSlST or SYSDMP.
FORMAT
Record a formatted dump to DFHDMPA or DFHDMPB.
The FULL option can be used to denote both PARTN and FORMAT.
The various conditions listed at the start of this section will
then result in the following actions:
•
Abnormal termination of CICS. A dump is taken in accordance
with the SIT options or override parameters.
•
Dump option on CICS shutdown request. A dump is taken in
accordance with the SIT options or override parameters,
except that, if NO is coded, no dump is taken.
•
An explicit dump request by means of the CEMT PERFORM SNAP
master terminal command. If neither FORMAT or PARTN is
specified, the dump is taken in accordance with the SIT
options or override parameters except that, if NO is coded, no
dump is taken.
If PARTN is specified, the SIT options are used to determine
whether a dump is written to DFHDMPx or a PDUMP macro is
issued. If FORMAT is specified, a formatted dump is produced.
214
CICS/DOS/VS Installation and Operations Guide
•
storage vi olati on. If SVD=YES is coded in the SIT, or if
SVD=nn is coded and fewer than nn storage violation dumps have
been taken so far, the dump is taken in accordance with the
options specified on the FDP parameter in the SIT or system
initiali.zation overrides. If no partition dump is specified,
however, a dump of the dynamic storage area (DSA) only, will
also be produced. The partition or DSA dump will be written
to the CICS dump data set 0 r produced by i ssu i ng a PDUMP
macro, depending on whether or not the PDUMP option was coded
in the FDP parameter.
•
Transaction abend. Unless the program control table entry
for the transaction is defined with the DUMP=NO parameter, a
transaction dump is recorded. In addition, if the FDUMP
parameter is coded in the PCT and the transaction abend was
caused by a program check (ASRA) or an operating system abend
(ASRB), a dump in accordance with the SIT options or override
parameters is recorded~before the transaction dump.
•
Explicit application program request. The type of dump taken
depends on the request, and is not dependent on the options in
the SIT or override parameters.
JOB CONTROL STATEMENTS FOR CIes EXECUTION
To define two dump data sets on disk, the following job control
statements might be used:
//
//
//
//
//
DlBl DFHDMPA,'cics160.dump.dataset.a',Q,SD
(see notes)
EXTENT SYSnnn,,1,0,relative-track-number,number-of-tracks
DlBl DFHDMPB,'cicsI60.dump.dataset.b',Q,SD
(see notes)
EXTENT SYSnnn,,1,0,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
Notes:
1.
In the DlBl statement, the date should be 0, to prevent the
unexpired file message during execution of the dump utility
program (DFHDUP).
2.
The filenames must be different, otherwise CEMT SET DUMP
SWITCH will abend due to label information being deleted.
3.
CISIZE can be specified in the DlBl statement if the dump data
set is to reside on an FBA device. The CISIZE value must be a
multiple of 512 bytes (for CI sizes ~ 8192 bytes) or a
multiple of 2048 bytes (for CI sizes> 8192 bytes).
If the single dump data set is held on an unlabeled tape, the job
control statement might be:
// ASSGN SYS010,cuu
Note: The ASSGN statement must specify SYS010. If the ASSGN
statement is omitted, a tape unit will be dynamically acquired.
SPACE CALCULATIONS
When eICS is first installed, the dump data set will probably need
between five and ten cylinders of disk space. Once the CICS
system has settled to normal operation, two or three cylinders may
be sufficient.
When the dump
and 2 million
CICS is first
600,000 bytes
data set resides on an FBA device, between 1 million
bytes of disk storage are likely to be needed when
installed. Once installed, between 400,000 and
should be sufficient.
Chapter 4.9.
Dump Data Sets
215
PROCESSING THE DUMP DATA SETS (DFHDUP)
The dump utility program (DFHDUP) is used to prepare the dump
output for printing and to print the formatted information.
For dump data sets on disk, the job control statements to execute
the dump utility program might be:
//
//
//
//
//
/&
JOB PRTDUMP PRINT DUMP DATASET
DlBl DTFDISK,'cics160.dump.dataset.a'"SD
(see note)
EXTENT SYSnnn,,1,O,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
EXEC DFHDUP,SIZE=80K,PARM='DEVICE=DISK,TRANSLATE=FOLD'
(This job is included in Z.DFHSPJCL)
Notes:
1.
The file ID in the DLBL statement must be the same as that
used for the CICS execution.
2.
You may also need to add:
// LIBDEF CL,SEARCH=cics-cil-filename
before the EXEC statement.
For a dump data set on tape, the job control statements to execute
the dump utility might be:
//
//
//
//
JOB PRTDUMP PRINT DUMP DATA SET
ASSGN
SYS011,cuu
LIBDEF CL,SEARCH=cics-cil-filename
EXEC
DFHDUP,SIZE=80K,PARM='DEVICE=TAPE,TRANSLATE=FOLD'
/*
/&
Note: The ASSGN statement must specify SYSOll.
If the ASSGN
statement is omitted, a tape unit will be dynamically acquired.
In the sample jobs above, all the control information may be
included by means of control commands. The commands are:
DEVICE={diskltape)
specifies whether the dump data set to be processed is on
disk or on tape.
(DOUBLEISINGLEJ
where the opt ions mean:
DOUBLE
For a transaction dump only, the output is printed with
a blank line between each printed line. This is the
default.
SINGLE
The dump output is printed single spaced.
TRANSLATE={LClucIFOLD)
where the opt ion s mean:
LC
216
Both uppercase and lowercase characters are to be
translated and printed. This is the default.
CICS/DOS/VS Installati on and Operati ons Gui de
uc
FOLD
Uppercase characters only are to be printed. The
lowercase characters are to appear as periods (full
stops).
Both uppercase and lowercase characters are to printed
in upper case.
The commands may be coded in either of the following ways:
1.
In the PARM operand in the // EXEC DFHDUP statement:
// EXEC DFHDUP,SIZE=80K,PARM='command,command, .... '
If the PARM operand is used, the keywords and entries must be
enclosed in quotes and separated by commas. No embedded
blanks are allowed.
2.
As a series of statements in the input stream following
the // EXEC DFHDUP statement:
// EXEC DFHDUP,SIZE=80K command, command, command
In this case, the keywords and entries in a list must be
separated by commas. Continuation to another record is
allowed after any comma, provided the comma is in column 71 or
is followed by a blank. Continuation records can begin in any
column.
For example, either of the following sets of statements:
// EXEC DFHDUP,SIZE=80K,PARM='DEVICE=DISK,TRANSLATE=FOLD,SINGLE'
or
// EXEC DFHDUP,SIZE=80K
DEVICE=DISK,
TRANSLATE=FOLD,
SINGLE
would cause the printing of a dump single-spaced with both
uppercase and lowercase characters printed in uppercase.
The dump utility program is always generated with support for all
valid input devices. The device to be used is normally specified
in the job stream that invokes the utility, as shown. If the
device has not been specified in SYSIPT, the following messages
will appear on the operator console:
DFH1560I
DFH1561A
NO VALID PARAMETER CARD ON SYSIPT
ENTER 'STOP' OR INPUT DEVICE TYPE
(TAPE, 2314, 3330, 3340, 3350, FBA, DISK):
The operator should reply STOP to terminate the run, or enter the
device type on which the output from the CICS dump control program
was placed during execution of CICS. There is no default' value.
If an invalid parameter was read from SYSIPT, this is displayed on
the console before message DFHI560I.
Chapter 4.9.
Dump Data Sets
217
If the dump utility program is used to print a dump data set that
is still in use by CICS, any dumps written during the current run
will be printed. These may be followed by an unidentified partial
dump from a previous run, whose header has been overwritten during
the current run. Finally, there may be further dumps from the
previous run.
218
CICS/DOS/VS Installation and Operations Guide
Chapter 4.10. CICS System Definition File
You can define some CICS resources and add them to a running CICS
system by means of resource definition online (RDO). This can be
done without performing a restart, by using the CICS CEDA
transaction running on a display screen. The CICS resources you
can define in this way are those that are defined by the program
control table (PCT) and the processing program table (PPT),
namely, transactions, programs, map sets, partition sets, and
profiles. The CEDA transaction and its display format are similar
to the master terminal transaction (CEMT). Resources defined by
the CEDA transaction are held on the CICS system definition (CSD)
file (a VSAM file). After they have been defined on the CSD file,
the resources can be installed from it onto the running CICS
system.
The CSD file is a VSAM file that you define to the system. A file
control table (FCT) definition of the CSD file, together with job
control statements and VSAM Access Method Services control
statements (IDCAMS control statements), are supplied as part of
the pregenerated CICS system. If you want to create your own FCT
definition of the CSD file, see "File Control Table Definition of
the CSD File" on page 220.
.
After it is created, the CSD file must be initialized using the
DFHCSDUP offline utility program. This step is described in
"Processing the CICS System Definition File (DFHCSDUP)" on page
223.
When the CSD file is initialized, a basic CSD file containing the
standard group entries for the program control table (PCT) and
processing program table (PPT) is created. Any PCT and PPT tables
that already exist can be migrated from the core image library to
the CSD fi Ie before or after the CEDA transacti on is used to
define new entries interactively. This migration is performed
using the DFHCSDUP utility program. For further information on
this utility program, see below.
The commands that you can use during the CEDA transaction are
described in the CICS/VS Resource Definition Guide.
Chapter 4.10.
CICS System Definition File
219
FILE CONTROL TABLE DEFINITION OF THE CSD FILE
The following FCT entry (provided as copy book DFHXFCT in the
source statement library) is a sample of that required to define
the CSD file to your CICS system:
TITLE 'DFHXFCT - COPYBOOK FOR DFHCSD'
DFHFCT TYPE=DATASET,DATASET=DFHCSD,ACCMETH=(VSAM,KSDS,KEY),
SERVREQ=(GET,PUT,UPDATE,NEWREC,BROWSE,DELETE),
RECFORM=(VARIABLE,BLOCKED),BUFND=5,BUFNI=4,STRNO=4,
OPEN=DEFERRED
*
*
*
You can vary the above FCT specification in several ways.
FCT Parameter
Must be as in the sample.
Must be as in the sample.
Used when SHAREOPTIONS(2) is used.
ACCMETH=(VSAM,KSDS,KEY) is used
when the CSD file is defined to
VSAM as using SHAREOPTIONS(4).
Can be varied to limit access to the
SERVREQ=
CSD file.
For instance,
SERVREQ=(GET,BROWSE) would result in
a read-only CSD file definition.
RECFORM=(VARIABLE,BLOCKED) Must be as in the sample.
BUFND= }
{can be varied in accordance with
BUFNI=
explanations in the CICS/VS
Resource Definition Guide
and in conjunction with STRNO.
Must not be less than 2 for the CSD
STRNO=
file. You can increase STRNO to
allow more than one concurrent CEDA
user. Insufficient STRNO value will
be diagnosed by CEDA.
DEFERRED is recommended, in which case
OPEN=DEFERRED
the CSD file is opened for read-only
access at CICS cold and emergency
start, and as specified by the FCT
entry at all other times. If
DEFERRED is not specified, the CSD
file is opened with access as
specified by your FCT entry even
though this may not be required by a
CICS cold or emergency start.
Should be specified for the CSD
OPEN=INITIAL
file if GRPLIST is not specified
in the SIT.
Is the default. The CSD file
LOG=NO
is not a CICS-recoverable
file, and LOG=YES should not
be specified.
TYPE=DATASET
DATASET=DFHCSD
ACCMETH=(VSAM,KSDS)
JOB CONTROL STATEMENTS TO DEFINE AND INITIALIZE THE CICS SYSTEM DEFINITION FILE
Before the CICS system definition file can be used for the first
time, it must be defined and initialized as a VSAM KSDS data set.
The sample job streams given below can be used to achieve this.
The value of the NAME parameter in the CLUSTER definition is the
data set name, which must agree with the data set name in the DLBL
statement for DFHCSD at CICS startup and when using DFHCSDUP, the
offline CSD utility program. For considerations on the
SHAREOPTIONS parameter, see "Multiple Users of the CSD File
Across CICS or Batch Regions" on page 222.
220
CICS/DOS/VS Installation and Operations Guide
The INITIALIZE command of DFHCSDUP initializes your CSD file with
definitions of the IBM-supplied resources. These are contained
in two supplied load modules whose names are DFHPPI and DFHPCI.
After the CSD file has been initialized, you can start defining
your resources interactivelY with the CEDA transaction. The
INITIALIZE command will probably be used only once in the lifetime
of the CSD file.
// JOB DEFCSD CREATE CICS SYSTEM DEFINITION FILE
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
(NAMECcics160.csd)
INDEXED
RECORDSIZECI00 200)
RECORDS(4000 1000)
KEYSC22 0)
FREESPACECO 0)
SHAREOPTIONS(2)
VOLUMESCvolume»
DATA
(NAMECcicsI60.csd.data»
INDEX
(NAMECcics160.csd.index»
CATALOGCuser.catalog)
/*
/&
// JOB INITCSD INITIALIZE THE CSD
// DLBL user-catalog-filename,'user.catalog'"VSAM
// DLBl DFHCSD,'cics160.csd'"VSAM,CAT=user-catalog-filename
// EXEC DFHCSDUP,SIZE=AUTO
Csee note)
INITIALIZE
LIST All
/*
/&
CThese jobs are included in Z.DFHSPJCL)
Notes:
1.
You may need to add the following statement:
// LIBDEF CL,SEARCH=cics-cil-filename
before the // EXEC statement.
2.
You must use SIZE=AUTO on the EXEC statement for DFHCSDUP. The
difference between the size of DFHCSDUP and the partition
size as allocated is available as GETVIS storage, which is
used by DFHCSDUP to load tables being migrated. GETVIS
storage of 120K bytes should be adequate to migrate an 80K
byte table.
SPACE CALCULATIONS
The CSD file defined by the IDCAMS statements above should be
large enough to hold about 2,000 definitions. As with any VSAM
file, it may be necessary to reorganize the CSD file occasionally
to improve both space utilization and access performance: this
can be achieved by using the EXPORT and IMPORT facilities of
IDCAMS.
Each resource definition is held as a separate record on the CSD
file. The size of the record depends on the type of the resource:
Chapter 4.10.
eICS System Definition File
221
Type of Resource
Approx;mate S;ze
Transaction definition
Program definition
Profile definition
Partition set definition
Map set definition
100 bytes
80 bytes
90 bytes
80 bytes
80 bytes
For each group, there are control records totaling approximately
250 bytes.
The CICS-supplied definitions occupy data records totaling
approximately 25K bytes (approximately 250 records averaging 100
bytes per record).
BACKUP AND RECOVERY PROCEDURES
You should maintain a backup version of your CSD file by using the
IDCAMS EXPORT function. If the CSD file is destroyed for any
reason, it can then be restored to its state at the last backup
date by using the IDCAMS IMPORT function.
If your CSD file fills up while the CEDA transaction or an offline
utility function is being processed, you should define a larger
data set and use the IDCAMS EXPORT and IMPORT functions to recover
the contents of the CSD file. It will usually be possible to
EXPORT from the CSD file that has become full. Otherwise, a backup
copy should be used.
JOB CONTROL STATEMENTS FOR CICS EXECUTION
If the CSD file has been defined using the sample job stream in
the previous section, the job control statement for CICS
execution is:
// DLBL DFHCSD,'cics160.csd'"VSAM,CAT=user-catalog-filename
CSD FILE AVAILABILITY
In order to conserve buffer space and to mlnlmlze conflicts of
availability, you should specify OPEN=DEFERRED in the FCT entry
for the CSD file (DFHCSD). If this is done, CICS initialization
will cause the CSD file to be open for input only when
GRPLIST=list is specified. The CSD file is left closed after the
list specified by means of GRPLIST is installed. Subsequent use
of the CEDA transaction will cause the CSD file to be opened in
accordance with the way the FCT entry was coded.
MULTIPLE USERS OF THE CSD FILE WITHIN A CICS REGION
Several different CEDA transactions may access the CSD file
concurrently. The last CEDA transaction to terminate normally
causes the CSD file to be closed. See "Disposition of the CSD
File After Abnormal Termination" on page 223 for the warning
issued for an abnormal termination.
MULTIPLE USERS OF THE CSD FILE ACROSS CICS OR BATCH REGIONS
A SHAREOPTIONS value of 2 should be. specified in the IDCAMS DEFINE
CLUSTER command for the CSD file. Assuming that OPEN=DEFERRED is
specified in the FCT for the CSD file, and that SHAREOPTIONS(2) is
in the VSAM catalog, no availability conflict will occur when more
than one CICS region is being concurrently initialized and the CSD
222
CICS/DOS/VS Installation and Operations Guide
file is being shared. Concurrent execution of CEDA in multiple
CICS regions sharing the same CSD file will be prevented and
diagnosed if their FCT entries have caused them to be opened for
write access.
A read-only CSD file (as specified by means of the FCT or modified
by CEMT) can be used. Only those commands requiring WRITE access
to the CSD file will be diagnosed at the time of execution as
unusable (message DFH4824).
DISPOSITION OF THE eSD FILE AFTER ABNORMAL TERMINATION
If a CEDA transaction terminates abnormallyp the CSD file may
remain open and, if it is accessed for output, will therefore
prevent other regions (batch or CICS) from having WRITE access to
the CSD file. In this case, CEMT should be used to close the CSD
file. Ensure that no CEDA transaction is active at the time you
close the CSD file.
If an abnormal termination of CICS occurs while the CEDA
transaction or the DFHCSDUP offline utility is runningp it will be
necessary to execute the VERIFY command of the IDCAMS utilities to
ensure that the CSD file is closed properly. If the abnormal
termination occurs while any command other than LIST or EXPAND is
being executed p it may be necessary to execute the VERIFY command
of the DFHCSDUP offline utility to remove the internal locks
established whenever the CSD file is updated.
PROCESSING THE CICS SYSTEM DEFINITION FILE (DFHCSDUP)
The DFHCSDUP offline utility program can be run to modify the CSD
file when CICS is not running.
With the DFHCSDUP offline utility programp you can:
•
INITIALIZE a CSD file ready for use by CEDA and create the
standard IBM-supplied resource definitions.
•
MIGRATE the contents of the PPT and PCT from a CICS load
library to the CSD file.
•
ERASE all the group names from a list or all of the resource
definitions from a group.
•
COPY all of the resource definitions in a group to another
group from the same or another CSD file.
•
APPEND all of the groups in a list to another list from the
same or another CSD file.
•
LIST to produce a hardcopy listing of selected resource
definitions, groups, and lists on the CSD file.
•
VERIFY to remove any internal locks left after abnormal
termination.
•
SERVICE to carry out maintenance on your CSD file between CICS
releases, should it be required.
The inputs and outputs for the offline utility are shown in
Figure 76.
Chapter 4.10.
CICS System Definition File
223
....
Utility
Commands
CICS
Core Image
Library
~
......
CSO
Utility
(OFHCSDUP)
..
..
I--
Secondary
(Input) CSD
File
Primary
CSO
Fi Ie
1,
~t;on
Llstlngs
Figure 76. The DFHCSDUP Offline Uti!ity Program
Note: The primary CSD file is always identified in the job contro!
statements by a unique filename (DFHCSD). For this reason, its
name is not specified in the utility commands. When the primary
CSD file is initialized, this filename is assumed. In operations
involving two CSD files, the primary file is the only one that can
be updated. (For SERVICE, the new CSD file is the primary one.)
You specify the filename for a secondary CSD file in those uti!ity
commands that require one.
The COpy, APPEND, and SERVICE commands refer to this secondary CSD
by means of the FROMCSD or OlDCSO parameter. The value of this
parameter must be the user-chosen filename defining the data set
(for example, CSDFI in the example below).
JOB CONTROL STATEMENTS TO INVOKE DFHCSDUP
The following job control statements are required to invoke the
utility program:
// JOB CSDUP UTILITY DFHCSDUP
* Primary CSD file
// DLBl DFHCSD,'CICS.CSD.ClUSTER'"VSAM,CAT=user-catalog-filenarne
*
* Secondary CSD file examples
// DLBL CSDFl,'OTHERl.CSD.ClUSTER'"VSAM,CAT=user-catalog-fi!ename
// DlBl FROM2,'OTHER2.CSD.ClUSTER'"VSAM,CAT=user-catalog-filename
** Utility Execution
// LIBDEF CL,SEARCH=(cics-cil-filename,user-ci!-filename)
// EXEC DFHCSDUP,SIZE=AUTO
.
DFHCSDUP commands
224
CICS/DOS/VS Installation and Operations Guide
DFHCSDUP COMMANDS
The commands are:
INITIALIZE
This command prepares a newly-defined data set for use as a
CSD file. The standard entries for the IBM-supplied
programs, transactions, and profiles are created on the CSD
file. These definitions are arranged into groups, most of
which correspond to the 'function groups' used by the DFHPPT
and DFHPCT macros (see the CICS/VS Resource Definition
Guide). The names of the IBM-supplied groups all begin with
'DFH'; for example, the resource definition online (RDO)
definitions created in the RDO group DFHBMS correspond to
the PCT and PPT entries in the function group identified by
the macro parameter FN=BMS.
The INITIALIZE command creates the CSD file definitions for
the standard resources by migrating the contents of the two
load modules DFHPPI and DFHPCI. These load modules must
exist in your library in assembled form (they are supplied as
part of the CICS pregenerated system).
As well as setting up these definitions, a group list called
DFHLIST is created. All the IBM-supplied groups are. members
of this list. It can be used in the same way as any group
list you define yourself, as the GRPLIST parameter in the
DFHSIT macro, for starting up a CICS system for use with RDO
(see the CICS/VS Resource Definition Guide for information
on this parameter).
The groups containing IBM-supplied resource definitions and
the list (DFHLIST) cannot be modified.
Also created is a control record at the start of the CSD
file. This record contains fields to identify the CICS
release and the current level of service applied to the CSD
file (see SERVICE command). In addition, this record has
fields containing the date and time of creation of the CSD
file, and the date and time the CSD was last updated. Both
these fields appear on the hardcopy listing of the CSD file
produced by the LIST command.
The INITIALIZE command must be executed before you can run
any of the other utility commands, or the CEDA transaction.
After you have initialized a CSD file, you will not need to
execute this function again except, possibly, as part of the
process of upgrading your CSD file for a future release of
CICS.
See "Appendix D. Sample Tables and Table Entries" for a list
of resource definitions in the IBM-supplied groups.
MIGRATE TABLE(tablenamel {TOGROUP(groupnamel}
This command is used to transfer the contents of PPT and PCT
tables from a CICS core image library to the CSD file. One
group is created on the CSD file for each table migrated. If
the migrated table is a PPT, the group will contain program,
map set, and partition set definitions. If it is a PCT, the
group will contain definitions of transactions and profiles.
The user core image library should be in the search chain for
MIGRATE.
TABLE(tablenamel
identifies the name of the table in the core image
library (DFHPPTxx or DFHPCTxx).
TOGROUP(groupnamel
specifies the name of the group created. No group of
this name should exist on the CSD file already. If this
parameter is not specified, the group created will have
a name derived from the table name. For example, if the
Chapter 4.10.
CICS System Definition File
225
migrated table name is DFHPPT24, the name of the group
created will be PPT24.
Note: When migrating large tables, remember to ensure that a
sufficiently large partition has been allocated to allow the
largest table to be loaded (see "Space Calculations" on page
221).
COPY GROUP(groupnamell TO(groupname21 {REPLACEIMERGEJ
{FROMCSD(f;len~me)J
This command copies all the resource definitioris in a group
to another group. The group copied can be on the primary
CSD, or it can be on another CSD file. If you are copying
from another file, the.secondary CSD file is identified by
the value in the FROMCSD parameter.
The group named in the TO parameter (groupname2) may already
exist, in which case the definitions from both groups will be
included. However, the whole copy operation will fail if
duplicate definitions exist in the two groups, unless the
REPLACE or MERGE option is specified. REPLACE or MERGE
indicates how duplicates will be handled, if they happen to
occur.
GROUP(groupnamell
specifies the name of the group that is copied.
not allowed to use a generic group name.
You are
TO(groupname21
specifies the name of the group to which the
definitions are copied. If you are copying from
another CSD file, you can give this group the same name
as the one you are copying from.
REPLACE
If groupname2 already exists and duplicate definitions
occur, the definitions in groupnamel replace those in
groupname2.
MERGE
If groupname2 already exists and duplicate definitions
occur, the original definitions in groupname2 are
preserved.
FROMCSD(f;lenamel
identifies the filename of the secondary CSD file.
Messages in the utility command listing tell you which
definitions were copied, and what has happened if duplicates
were found.
APPEND LISTCl;stnamel) TOCl;stname21 {FROMCSD(f;lenamelJ
This command applies to group lists, and is the counterpart
of COPY for groups. The names of groups that exist as
elements of a list are added to another list. The list
copied can be on the primary CSD file, or it can be on
another CSD file. If you are appending from another file,
the secondary CSD file is identified by the FROMCSD
parameter.
If the list specified as the TO parameter (listname2) does
not already exist, a new list of that name is created. If a
list of this name already exists, the contents of listnamel
are appended at the end of listname2. The ordering of the
group names in both the original and appended portions of the
resulting list is preserved.
No duplicate group names are allowed in a list. If any
duplicate names are encountered in the APPEND operation,
they are ignored. A warning message a~pears in the utility
command listing if this happens.
226
CICS/DOS/VS Installation and Operations Guide
LIST(listnCJmell
specifies the name of the list that is appended.
are not allowed to use a generic list name.
You
TO(listnCJme2)
specifies the name of the list to which the group names
are appended. If you are appending from another CSD
file, you can give this list the same name as the one
you are appending from.
FROMCSD(filenume.)
identifies the filename of the secondary CSD file.
ERASE GROUP(9roupnCJme)ILIST(!istnCJme)
This command erases all the resource definitions in a group,
or all the group names in a list.
If you erase a LIST, the definitions of the resources within
the groups contained in the list are not erased. To do this,
you must also erase each GROUP individually.
You are not allowed to erase the definitions of the
IBM-supplied groups and lists whose names begin with 'DFH'.
GROUP(9roupnCJm2)
specifies the name of the group to be erased.
not allowed to use a generic group name.
You are
LIST(!istnCJme)
specifies the name of the list to be erased.
not allowed to use a generic list name.
LIST
{ALLIGROUP(9roupn~me)rLIST(listnCJme)}
You are
{OBJECTS}
This command produces various reports tabulating the current
status of the CSD file for hardcopy printing. The listings
generated are included on the output listing, along with the
messages produced by the utility command processing.
Tabulations of the contents of groups can be produced at two
levels of detail. Without the OBJECTS option, just the names
and types of the resources in each group are tabulated. With
the OBJECTS option, a listing of all the properties of each
resource (or "object") is produced as well.
Generic specifications for the group name and list name are
permitted for some of the lIST commands. If this is done,
the contents of all the qualifying groups or lists are
printed.
The listings produced by the various commands are:
•
LIST ALL
Hames of defined lists and groups
Summary of lists
Summary of groups
This prints summaries of all the definitions of lists
and groups that ex i st on the CSD fi Ie.
•
LIST ALL OBJECTS
Hames of defi ned 1 i sts and groups
Summary of lists
Summary of groups
Objects in groups
Chapter 4.10.
CICS System Def,nition File
227
This prints summaries of all the definitions of lists
and groups that exist on the CSD file, together with a
listing of the properties of the resources in all the
groups.
•
LIST GROUP(groupname) (group name may be generic)
Summary of groups.
This summarizes the names of all
the resources in one or more groups. They are
organized within each group into resource type
categories (for example, map sets, programs, and so
on).
•
LIST GROUP(groupname) OBJECTS (group name may be
generic)
Summary of groups (see above).
Objects in groups. This enables you to tabulate the
properties of the resources, again organized
according to resource type. The creation time for
each resource is given, together with all its
attributes, as originally set up by using DEFINE and
ALTER commands in the CEDA transaction, or by
migrating it from a CICS table. In the case of
TRANSACTIONs and PROFILEs, their properties are
arranged in the same subcategories as appear on the
CEDA DEFINE screen.
•
LIST LIST(listname) (list name may be generic)
Summary of lists. The contents of one or more group
lists are tabulated. The groups appear in the same
sequence as their position in the list. This order
will have been determined by the commands ADD and/or
APPEND, which were used in the CEDA transaction to
build the list.
•
LIST LIST(listname) OBJECTS (generic list name not
allowed)
Summary of lists (see above).
Objects of groups in list. This enables you to
tabulate the properties of all the resources that
will be defined in a CICS system at startup time.
These are identified by a single LIST name in the
GRPLIST=listname parameter in the system
initialization table. "The names of each group in
the list appear in the "Summary of Lists". Then, for
each group contained in the list, the properties of
the individual resources in the group are tabulated.
The "Objects in Groups in Lists" tabulation has the
groups arranged in the same order as they were added
to the group list. This order is important in the
event of duplication, when definitions of the same
resource may exist in more than one group. If a list
of this type is used at CICS startup time, the
resource definitions used when there is duplication
will be those belonging to the group occurring
latest in the list.
VERIFY
This command is used to remove internal locks on groups and
lists. It should be executed only when the CSD file is not
in use, preferably when no CICS systems that may use it are
running. The VERIFY command acts upon the whole CSD file, and
is for use in the extreme condition where internal lock
records ha~e been left behind. These records are normally
removed when a function that changes the CSD file has been
completed. However, this may not have happened if there was
a sys~em failure when the CEDA transaction was executing, or
228
CICS/DOS/VS Installation and Operations Guide
if the execution of an off-line utility failed to complete.
As a result, these locks may prevent CEOA users from
accessing certuin groups and lists on the CSO file~ The
VERIFY command should remedy the situation if the CEOA
UNLOCK command cannot be used successfully.
Hote that the VERIFY command removes only the internal
locks. The normal user locks applied by the LOCK command in
the CEOA transaction are unaffected.
SERVICE OLDCSD(f;lename) LEVEL(nnn)
It might occasionally be necessary between CICS releases to
apply a SERVICE routine, to carry out preventive or
corrective maintenance to your CSO file. This is done by
loading and running a special SERVICE program (OFHCUSIB).
This program is supplied by IBM as a separately-Ioudable
module.
The function of the SERVICE command is to create a new copy
of the CSO file, from the existing CSO file. All the
definitions will be preserved, with the corrections (if any)
applied.
Associated with your CSO file is a current service level,
initially set to 000 when the file was initialized. Applying
the SERVICE routine causes the service level to be
incremented in steps of 1, from a "current level" to a
"target level."
OLDCSD(f;lename)
specifies the filename of the current CSO file, which
is treated as the secondary CSD file.
LEVEL(nnn)
specifies the target service level to which the CSD
file is to be upgraded. This value must be 1 higher
than the current level of the OLOCSO file. It is
specified as a 3-character integer, for example,
LEVEL(001).
RULES FOR THE SYNTAX AND PREPARATION OF UTILITY COMMANDS
The commands are entered in columns 1-71 of 80-character input
records. Leading blanks are ignored, and blanks between keywords
and operands are permitted.
Comment records are permitted, and these must have an asterisk in
column 1. Comment material is not permitted on a record that
contains a command. Blank records are ignored.
A utility command must be confined to a single record, as there is
no facility for continuation of a command over more than one
record.
The conventions for the names of groups and lists must be followed
in the coding of the GROUP, LIST, TO and TOGROUP parameters. (See
the CICS/VS Resource Definition Guide for a description of valid
group names and list names.) If you use a generic specification
for the GROUP or LIST parameter in the LIST command, the symbols
and + can be used in the same way as for CEOA.
*
The FROMCSO and OLOCSO parameters must contain a valid filename.
Here is an example of a valid sequence of utility commands, as an
illustration of these rules:
Chapter 4.10.
CICS System Definition File
229
SET UP INITIAL CSD FILE
*INITIALIZE
*LIST
LISTCDFHLIST) OBJECTS
*
MIGRATE MAIN TABLES
*
MIGRATE
TABLECDFHPCTMl)
*
MIGRATE TABLECDFHPPTMl)
*
MIGRATE
TABLE
CDFHPCTM2)
*
*
MIGRATE
TABLECDFHPCTM3) TOGROUPCSETMC3)
MIGRATE TABLECDFHPPTM3) TOGROUPCSETMP3)
*LIST
GROUPCPPTMl)
LIST GROUPCSETM*)
**
CREATE GROUP PCTZ4
COpy GROUP(PCTMl) TO(PCTZ4)
COpy GROUPCSETMP3) TOCPCTZ4) REPLACE
LIST GROUPCP++M+)
*
CREATE lIST MODlIST
*
APPEND
lISTCTESTlIST) TO(MODlIST) FROMCSD(CSDFl)
APPEND lISTCSEClIST) TOCMODlIST) FROMCSDCCSDFl)
APPEND lISTCDFHLIST) TOCMODLIST)
*lIST
*
230
All OBJECTS
CICS/DOS/VS Installation and Operations Guide
Chapter 4.11. User File Definitions
For each entry in the file control table, label information and
assignment information must be included in the CICS startup job
stream. (An exception is files for which OPEN=DEFERRED is
specified, and which you do not intend to use during the current
execut i on of CI CS. )
The f i I e name mu st be the same a s that
specified in the DATASET operand of the DFHFCT TYPE=DATASET macro
instruction. For example:
Virtual Storage Access Method - VSAM
// DlBl
// DlBL
// DlBL
CVSSPAC,'cics.space',exp-date,VSAM,CAT=user-catalog-filename
TCTVSl,'vsam.file.l'"VSAM,CAT=user-catalog-filename
TCTVS2,'vsam.file.2'"VSAM,CAT=user-catalog-filename
Indexed Sequential Access Method - ISAM
//
//
//
//
//
//
//
DLBL
EXTENT
EXTENT
EXTENT
ASSGH
ASSGN
ASSGN
ISAMFIL,'ISAM.FIlE',exp-date,ISE
SYS015,CICSIS,4,1,1280,01
SYS016,CICSIS,1,2,1300,60
SYS017,CICSIS,2,3,1360,20
SYS015,cuu
SYS016,cuu
SYS017,cuu
Direct Access Method - DAN
// DLBL
// EXTENT
// ASSGN
DAMFILE,'DAM.FIlE',exp-date,DA
SYS013,CICSDA,1,O,2500,50
SYS013,cuu
Chapter 4.11.
User File Definitions
231
Chapter 4.12. Terminal Definitions
Terminals are defined to CICS in macro instructions in a terminal
control table (TCT). Only those terminals defined in the
particular TCT selected during CICS initialization are made known
to CICS and thereby become CICS resources.
These terminals must also be defined to VSE and to the access
method as follows:
•
VTAM terminals are defined to VTAM identified by node names.
No job control statements are needed.
o
BTAM terminals must be defined to VSE in job control
statements. You may also need to code BTAM DFTRMLST macro
instructions to provide polling or addressing information.
o
Sequential devices also require job control statements.
o
The VSE console is identified to CICS by a terminal identifier
(CNSL) . No addi tiona 1 job contro 1 statements are needed.
Chapter 4.12.
Terminal Definitions
233
VTAM TERMINALS
When running CICS with VTAM, you must ensure that the application
identifier (APPLID) of the CICS system is defined to VTAM in an
APPl statement. The APPlID in CICS may have been specified on the
DFHTCT TYPE=INITIAL macro instruction, or in the system
initialization table or as a system initialization override. The
APPLID supplied in the sample system initialization tables is
DBDCCICS.
A VTAM terminal is defined to CICS by a DFHTCT TYPE=TERMINAL macro
instruction. It specifies a TRMIDNT that is the identification
used by a CICS application program, and a NETNAME that is the VTAM
node name defined in the VTAM tables. VTAM terminals are
controlled by the VTAM partition.
Consider the sample VTAM terminal control table DFHXTCVS copy
book:
TITLE
'DFHXTCVS - COPYBOOK ENTRIES FOR VTAM SAMPLE TCT'
***********************************************************************
* L77A - VTAM SNA LUTYPE2.
NETNAME - D72l301.
*
*
*
*
*
***********************************************************************
VTRM1
DFHTCT TYPE=TERMINAL,TRMIDNT=L77A,TRMTYPE=LUTYPE2,TRMMODL=2, *
TIOAl=(1500,1920),RELREQ=(NO,YES),
*
BUFFER=1536,
*
FEATURE=(SElCTPEN,AUDALARM,UCTRAN,DCKYBD),
*
CHNASSY=YES,
*
L77D - VTAM NON-SNA 3270.
L860 - VTAM NON-SNA 3270 PRINTER.
VTRM2
VTRM3
NETNAME - D72L304.
NETNAME - P42L308.
NETNAME=D72L301,
PRINTTO=(VTRM3),
GMMSG=NO,
ACCMETH=VTAM,TCTUAL=32,
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAL,TRMIDNT=L77D,TRMTYPE=3270,TRMMODl=2,
ClASS=(CONV,VIDEO),TIOAl=1500,RELREQ=(NO,YES),
FEATURE=(SElCTPEN,AUDAlARM,UCTRAN,DCKYBD),
NETNAME=D72l304,
PRINTTO=(VTRM3),
GMMSG=YES,
ACCMETH=VTAM,TCTUAL=32,
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAl,TRMIDNT=L860,TRMTYPE=3270P,TRMMODl=2,
NETNAME=P42L308,
RElREQ=(YES,YES),
ClASS=(CONV,VIDEO),TIOAL=1500,TCTUAL=32,
ACCMETH=VTAM,CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
This example defines three VTAM terminals:
234
1.
The macro labeled VTRMI defines an SNA lU type 2 terminal.
This terminal is known to a CICS application program by the
identification L77A. It is defined to VTAM in a VTAM lU macro
with the node name D72l301.
2.
The macro labeled VTRM2 defines a non-SNA 3270 display
terminal. This terminal is known to a CICS application
program by the identification l77D. It is defined to VTAM
with the node name D72l304.
3.
The macro labeled VTRM3 defines a non-SNA 3270 printer. This
terminal is known to a CICS application program by the
identification L860. It is defined to VTAM with the node name
P42L308.
CICS/DOS/VS Installation and Operations Guide
BTAM TERMINALS
LOCAL AND REMOTE BTAH TERMINALS
There are two ways you can define local and remote BTAM terminals
to CICS:
1.
You can code three macro instructions:
DFHTCT TYPE=SDSCI
to define the transmission control unit
DFHTCT TYPE=LINE
to define the line
DFHTCT TYPE=TERMINAL to define the terminals on that line
2.
You can code a single DFHTCT TYPE=GPENTRY macro instruction.
Consider the sample BTAM terminal control table DFHXTCBI copy
book:
TITLE 'DFHXTCBI-BTAM TCT-COPYBOOK FOR LOCAL TERMINALS'
DFHTCT TYPE=GPEHTRY,
1 LINE FOR:
GPTYPE=3270L,
1 LOCAL 3270 DEVICE
LININL=160,
TIOA LENGTH
LINELST=(020),
ADDRESS
TR~' FEAT = ( DSA) ,
FEATURE
TR~1STAT=(A) ,
TERMINAL STATUS
TRM~lODL=(2A) ,
TERMINAL ~10DEL
TRMUAL=(32),
USER AREA LENGTH
TRMIDNT=(L77A)
TERMINAL NAME
DFHTCT TYPE=GPENTRY,
1 LINE FOR:
GPTYPE=3270L,
3 LOCAL 3270 DEVICES
LININL=160,
TIOA LENGTH
LINELST=(021,022,027),
ADDRESSES
TRMFEAT=(DSA,DSA,P),
FEATURES
TRMSTAT=(A,A,A),
TERMINAL STATUS
TRMMODL=(2A,2A,2C),
TERMINAL MODELS
TRMUAL=(32,32,32),
USER AREA LENGTH
TRMIDNT=(L77B,L77C,L86P)
TERMINAL NAMES
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
A BTAM terminal is known to a CICS application program with
the identification given by the TRMIDNT operand in the DFHTCT
TYPE=TERMINAL macro, or its corresponding entry in the
TRMIDNT list in the DFHTCT TYPE=GPENTRY macro.
The BTAM terminal is mapped to a physical address by means of
the LINELST operand in the DFHTCT TYPE=SDSCI or TYPE=GPENTRY
macros. The LINELST operand has the format (nnn[, •.. J, ... )
where SYSnnn is the symbolic unit address of the
corresponding terminal.
You must code ASSGN job control statements to assign BTAM
terminals. In the above example, four BTAM local terminals are
known to CICS application programs as L77A, L77B, L77C, and L86P,
with symbolic unit addresses SYS020, SYS021, SYS022, and SYS027
respectively.
You might code the following job control statements for this
example:
II
II
II
II
ASSGH
ASSGN
ASSGN
ASSGN
SYS020,OAl
SYS021,OA2
SYS022,OA3
SYS027,OA4
Chapter 4.12.
Terminal Definitions
235
where OA1, OA2, OA3, and OA4 are the physical addresses oT the
terminals.
To allow for future expansion, you may choose to define terminal
entries in the TCT for terminals that are not yet physically
installed. For each of these "dummy" terminals, you would code:
// ASSGN SYSnnn,IGN
where SYSnnn is the value specified in the matching lINElST
parameter of the DFHTCT TYPE=SDSCI or TYPE=GPENTRY macro
instruction.
The TRMSTAT operand in the DFHTCT TYPE=TERMINAl macro for the
"dummy" terminal should be 'OUT OF SERVICE' (for TYPE=GPENTRY,
the corresponding TRMSTAT operand should be X).
Note: The maximum number of such "dummy" terminals that may be
assigned per line is eight. If nine or more terminals are
assigned IGN in the job stream for the same line, the line will be
placed irretrievably "out of service" at system startup.
Here is another example of the job control statements that might
be required:
//
//
//
//
//
//
//
ASSGN
ASSGN
ASSGN
ASSGN
ASSGN
ASSGN
ASSGN
SYS020,OA1
SYS022,021
SYS023,022
SYS025,025
SYS027,047
SYS028,029
SYS029,060
local 3270
remote 3270
remote 3270
TWX switched 2703/2
2740 2703/2
1050 2703/1
1050 2703/2
where SYSnnn is the value specified in the matching lINElST
parameter of a DFHTCT macro.
REMOTE BTAM TERMINALS ONLY
For remote BTAM terminals, you may need to include BTAM DFTRMlST
macro instructions in the terminal control table to define the
polling and addressing characters to CICS. The CICS/VS Resource
Definition Guide shows TCT examples containing these macros.
236
CICS/DOS/VS Installat i on and Operat ions Gu ide
SEQUENTIAL DEVICES
A pair of input and output sequential data sets can be used to
simulate a terminal to CICS. This can be to test an application
program before the intended terminal becomes available. Again,
there are two ways you can define these sequential devices:
1.
You can code four macro instructions:
DFHTCT TYPE=SDSCI
DFHTCT TYPE=SDSCI
DFHTCT TYPE=LINE
DFHTCT TYPE=TERMINAL
2.
to describe
data set
to describe
data set
to describe
to describe
the input sequential
the output sequential
the I/O combination
the I/O combination
You can code a single DFHTCT TYPE=GPENTRY macro instruction.
If you are using the first method, consider the sample terminal
control table DFHXTCTS copy book:
TITLE
'DFHXTCTS - COPYBOOK TCT ENTRIES FOR SEQUENTIAL (CRLP) TX
ERMINAL ENTRIES'
***********************************************************************
D T F S
***
***********************************************************************
DS
OD
***
DC
CL32'INPUT AND OUTPUT DTFS'
DFHTCT TYPE=SDSCI,
DEVADDR=SYSRDR,
DEVICE=2540,
DSCNAME=READER
DFHEJECT
DFHTCT TYPE=SDSCI,
DEVADDR=SYSLST,
DEVICE=1403,
DSCNAME=PRINTER
DFHEJECT
*
*
*
*
*
*
***********************************************************************
***
LIN E
AND
T E R MIN A L
***
D E FIN I T ION
***
***
***********************************************************************
DS
OD
DC
CL64'T E R MIN A LAN D
LIN E
E N T R I E S'
***********************************************************************
DS
OD
DC
CL32'S A M A LINE AND TERMINAL ENTRY'
DFHTCT TYPE=LINE,
ACCMETH=SEQUENTIAL,
TRMTYPE=CRLP,
ISADSCN=READER,
OSADSCN=PRINTER,
INAREAL=88,
DUr1~1Y=DUMMY
DFHTCT
*
*
*
*
*
*
*
TYPE=TERMINAL,
TRMIDNT=SAMA,
TRMPRTY=32,
TRMSTAT=(TRANSCEIVE),
DUr-1NY=DUMMY
*
*
*
***********************************************************************
***
FIN A LIZ E
***
***********************************************************************
DS
OD
DC
CL32'T C T
WAIT LIST'
'--
Chapter 4.12.
Terminal Definitions
237
A card reader and a line printer are defined to simulate a
terminal. The DEVADDR operands in the DFHTCT TYPE=SDSCI macros
(or the GPSEQLU list in the TYPE=GPENTRY macro) specify the
symbolic unit addresses of the devices. In this example, they are
SYSRDR and SYSlST respectively.
This I/O combination simulates a "terminal" known to a CICS
application program by the name SAMA. Input to the application
program is submitted through the card reader (SYSRDR), and output
to the "terminal" is sent to the line printer (SYSlST).
Two DASD data sets can also be used to simulate a terminal.
You must code DLBL, EXTENT, and ASSGN job control statements for
these files. The file names in the DlBL statements are specified
in the DSCNAME operands in the DFHTCT TYPE=SDSCI macro (or the
GPNAME list in the TYPE=GPENTRY macro). Consider the following
example:
.
DFHTCT TYPE=SDSCI,
DEVADDR=SYS001,
DEVICE=2314,
DSCNAME=DISKIN1
DFHTCT TYPE=SDSCI,
DEVADDR=SYS006,
DEVICE=2314,
DSCNA~'E=DI SKOT 1
DFHTCT TYPE=lINE,
ACCMETH=SEQUENTIAl,
TRMTYPE=DASD,
ISADSCN=DISKINl,
OSADSCN=DISKOT1,
INAREAL=80
DFHTCT TYPE=TERMINAl,
TRMIDNT=SAMB,
TRMPRTY=11,
TRMSTAT=(TRANSCEIVE,'OUT OF SERVICE')
**
*
**
*
*
**
*
*
*
*
*
For this example, you might code the following job control
statements:
// DlBL
// EXTENT
// ASSGN
DISKINl,'SIMULATED.TERMINAl.IN',O,SD
SYSOOl,CICSWK",38S0,lO
SYSOOl,201
// DlBl
// EXTENT
// ASSGN
DISKOTl,'SIMULATED.TERMINAl.OUT',O,SD
SYS006,CICSWK",3860,lO
SYS006,201
where 201 is the physical address of the IBM 2314 Direct Access
Storage Device.
This I/O combination simulates a "terminal" known as SAMB to a
CICS application program. Input from this "terminal" is
submitted in the DISKINI data set. Output to the "terminal" is
written on the DISKOTI data set.
Note: End-of-file does not terminate sequential input. Therefore,
the last transaction should be one that quiesces the terminal,
such as CSSF GOODNIGHT.
238
CICS/DOS/VS Installation and Operations Guide
VSE CONSOLE
The VSE console can be defined to CICS in one of two ways:
1.
By coding DFHTCT TYPE=SDSCI, DFHTCT TYPE=LINE, and DFHTCT
TYPE=TERMINAL macro instructions.
2.
By coding a single DFHTCT TYPE=GPEHTRY macro instruction. An
example of this is provided in the sample terminal control
table DFHXTCTC copy book:
TITLE 'DFHXTCTC-SAMPLE TCT-COPYBOOK FOR CONSOLE'
DFHTCT TYPE=GPEHTRY,
GPTYPE=CONSOLE,
CONSOLE SUPPORT
TRMIDNT=CNSL,
TERMINAL NAME
TRMUAL=32,
USER AREA LENGTH
LIHINL=aO
TIOA LENGTH
The TRMIDNT must be CNSL for VSE console support.
ah..rays forced as the symbol i c un it address.
x
X
X
X
SYSLOG is
This second method is the one used with the sample startup job
stream supplied in the CICS source statement library.
Chapter 4.12.
Terminal Definitions
239
Chapter 4.13. DLjl Definitions
In the CICS startup job stream, you must define all Dl/I data
bases that are to be referenced during CICS execution. The job
control statement to define one such data base might be:
// DLBL dli-filename,'database-file-id'"VSAM,CAT=user-catalog-filename
APPLICATION CONTROL TABLE (ACT)
The logical connection between CICS application programs and the
Dl/I data bases they reference is provided by the Dl/I application
control table (ACT). The ACT is generated by DL/I DOS/VS into the
core image library as module DLZHUC. You can specify a
2-character suffix for the ACT in the DLZACT TYPE=IHITIAL macro,
in which case the generated module is DLZHUCxx (xx being the
suffix).
To initialize CICS with DL/I, you must specify DlI=YES or DlI=xx
in the DFHSIT macro, or as an initialization override. DlI=YES
will cause eICS to load module DLZHUC, the unsuffixed version of
the ACT. DLI=xx will cause CICS to load module DlZHUCxx, a
suffixed version of the ACT (where xx is the suffix).
STORAGE LAYOUT CONTROL (SLC) TABLE
The sequence in which Dl/I modules are to be loaded during
initialization can be specified using the optional Dl/I storage
layout control (SlC) table.
If you generate an SLC table for use during CICS initialization,
you must specify its phase name in the SLC operand of the DLZACT
TYPE=COHFIG macro when you generate the DL/I application control
table.
Further information on DL/I is given in Chapter 2.6 of this book,
and in the DL/I DOS/VS Resource Definition and utilities book.
Chapter 4.13.
Dl/I Definitions
241
Part 5. Running the CICS System
This part describes how to create a startup job stream to start up
and run CICS. The following chapters describe specific aspects of
running CICS:
•
•
•
•
•
Overview of CICS operations (Chapter 5.1)
The CICS startup job stream (Chapter 5.2)
System initialization parameters (Chapter 5.3)
Operating procedures (Chapter 5.4)
Actions to be taken after an emergency restart (Chapter 5.5).
The CICS/VS Recovery and Restart Guide gives general background
information on the choices available for recovery and restart,
and the CICS/VS Operator's Guide gives information on the
terminal transactions provided by CICS for running the system.
Part 5.
Running the CICS System
243
Chapter 5.1. Overview of CICS Operations
The steps involved in running a CICS system include:
•
•
•
•
•
•
•
•
Planning your system (that is, preparing CICS data sets,
tables, and management modules)
Ensuring the previous execution is complete
Preparing the startup job stream
Check i ng your VSE system
Running the startup job stream
Operating the CICS system
Shutting the system down
Completing the run by carrying out postprocessing operations.
PLANNING YOUR eIeS SYSTEM
SELECTING THE FUNCTION YOU NEED
Before running a CICS system, you must decide on the function that
you requi re to be avai lable for your users.
After the function has been determined, there are several other
preparation steps that may need to be performed. These include:
PREPARING eIeS DATA SETS
Data sets are discussed in Part 4 of this book. Depending on the
function that you require in your system, you may need some or all
of these data sets.
Some data sets (for example, journals and the restart data set)
require preparation before being used in a CICS startup. If you
•
are usi ng journals ei ther on di sk or on tape, you must preformat
,. , .
the journals once before they are used in a CICS startup. The job
needed for preformatting journals is described in Chapter 4.5.
PREPARING RESOURCE DEFINITION TABLES
For most resources, the tables are created by separate
assemblies, and are stored in the core image library under the
name DFHFCTxx, DFHDCTxx, and so on. For programs and
transactions, you may wish to use resource definition online
(ROO), in which case the definitions will be in the CSD file.
Chapter 2.3 and 3.2 tell you how to assemble control tables. See
the CICS/VS Resource Definition Guide for additional information.
PREPARING MANAGEMENT MODULES
In most cases, you will be selecting from the pregenerated modules
to create a CICS system that supports the function that you need.
These modules are listed in Appendix C.
In some unusual cases, you may need to generate your own version
of a management module that is customized to your requirement (see
Chapter 2.5 and the CICS/VS Customization Guide).
The module suffixes are then coded in your SIT or as system
initialization overrides. Where the modules are read-only, you
should consider placing them in the SVA.
Chapter 5.1.
Overview of CICS Operations
245
..
ENSURING PREVIOUS EXECUTION IS COMPLETE
After the CICS system has been run, you may have several data sets
to process. In normal circumstances, these will be processed
either in parallel with the CICS execution or after CICS has been
shut down.
In general, these should be separate jobs, rather than new job
steps in the CICS job. This means that they can be run even if the
CICS job step fails.
The printing of dumps, statistics, and trace will normally be
performed when the CICS system is shut down. In creating your own
job stream, you have to decide what procedure you are going to
follow if you have a system failure, for example.
You may have separate jobs that the operator is told to run prior
to starting up a production system. A sample job for printing
dumps is given in Chapter 4.9, and for printing automatic
statistics in Chapter 4.7.
The areas that you will want to consider include:
•
Printing or saving any dumps (see Chapter 4.9).
•
Printing or saving auxiliary trace (see Chapter 4.8).
•
Printing or saving statistics (see Chapter 4.7).
•
Verifying the user and system VSAM files (see Chapter 2.4).
•
Running DFHTEOF. If you have had a system failure on a user
journal on tape, you will need to "repair" the tape by running
the tape end-of-file (DFHTEOF) utility program.
•
Saving disk journals. You may have your own procedure for
copying disk journals to an archive tape.
PREPARING THE STARTUP JOB STREAM
This is discussed in Chapter 5.2. CICS is started up in a VSE
partition like any other operating system job. The execution of
the startup job stream initiates a process, referred to as CICS
system initializ~tion, which must be completed before any
transactions can be run. The completion of CICS initialization is
indicated by a message at the system console:
DFH1500
CONTROL IS BEING GIVEN TO CICS
SYSTEM INITIALIZATION PARAMETERS
To start or restart a CICS system, a startup job stream is
submitted to the VSE system as a normal batch job. Flexibility is
provided at start up time or system initialization time by the
facility of overriding the parameters in the system
initialization table (SIT). The SIT supplies the system
initialization program with the information necessary to
initialize CICS to suit your environment. During initialization,
you can override some parameters on the operating system console.
See "System Initialization Override Parameters" on page 270 for
further information.
The function available in the system is based on the SIT that you
provide, together with any changes that you make to the system
initialization process by using system initialization overrides.
There are several ways of entering system initialization
overrides, and these are all described in Chapter 5.3.
In general, after a particular CICS system has become the
"production system", you should perform the startup with as
little operator intervention as possible.
246
CICS/DOS/VS Installation and Operations Guide
SELECTING TYPES OF STARTUP
If CICS is being run with CICS-provided keypointing and recovery
capabilities, the system initialization process can be used to
ensure that the CICS environment is restored to the state it w~s
in after a previous run, and that recoverable entities such as
files and data bases are restored to a logically consistent state.
Types of startup are discussed in more detail in Chapter 2.4 and
in the discussions on the restart data set and system journal in
Part 4. If you are running with these functions, your normal
START option will be START=AUTO.
CHECKING YOUR VSE SYSTEM
Before you run the CICS startup job stream, you will need to check
that your VSE system is prepared for CICS execution.
SELECTING MODULES FOR THE SVA
You should select the modules to be included in the SVA (see
Chapter 2.6 and Appendix B). If you are running a production CICS
system, you are recommended to put the management modules that you
need in the SVA. This gives additional protection. For a more
detailed discussion of the procedure needed to load the SVA, see
Chapter 2.6.
ENSURING THAT THE VTAM PARTITION IS ACTIVE
If you are running with VTAM-supported terminals, you will
normally want the VTAM partition to be up before the CICS job
stream is run.
RUNNING THE STARTUP JOB STREAM
~,A"~··,,:P.'~,,
As part of the preparation of your job stream, you will need to
decide which partition you are going to use, and calculate its
size.
II~
I,.,'
SELECTING THE PARTITION
The CICS partition must have a high priority if it is to execute
efficiently. The priority should be greater than any batch
partitions but must be lower than VTAM.
A VSE partition is allocated for the execution of eICS.
partition is logically divided into three main storage
allocations as follows:
•
•
•
The
Nucleus
Dynamic storage area
GETVIS space.
A pictorial representation of the way the partition is divided
might be as follows:
N
U
C
D S A
Chapter 5.1.
N
U
C
GETVIS
Overview of CICS Operations
247
',:
'.\\'
NUCLEUS AND DYNAMIC STORAGE AREA
The nucleus consists of the eleS modules specified in the eleS
startup job stream (thus TDP=5$ specified as a SIT override will
cause DFHTDP5$ to be loaded as part of the nucleus). In addition
to these modules, the tables you specify (and any programs
specified in the program control table as resident) are loaded,
and the required control blocks are created. For the purposes of
this discussion, the nucleus also holds non-VSAM buffers, access
method modules, Dl/I modules, and certain other items.
After the nucleus has been loaded, any storage left within the
partition becomes the dynamic storage area. This storage is
available for running transactions that are entered from user
terminals, for holding nonresident applications when they are
needed, and for terminal input/output buffers.
GETVIS
GETVIS space must be available for use by other VSE components
that are used by CICS. In particular, GETVIS space is used by
VSAM to hold control blocks for any OPEN VSAM files and also to
contain VSAM buffers. In some cases, other access methods also
use GETVIS space.
CALCULATING THE STORAGE FOR YOUR SYSTEM
You have to calculate the VSE AllOC value for the CICS partition.
In addition, you have to calculate a value for the EXEC DFHSIP
SIZE parameter. The relationship between these two parameters
can be represented as follows:
~------------
VSE AllOC value -----------------~
N
U
C
~--------
D S A
DFHSIP SIZE value
g
I
GETVrS
--------~
The CICS/VS Performance Guide gives detailed information on how
to determine CICS storage requirements. However, when bringing up
your system for the first time, you probably do not want to
calculate the numbers exactly. You should start with some rough
estimates and then refine them if necessary.
Size of the Nucleus
As noted earlier in this book, the nucleus of a full-function
CICS/DOS/VS system requires approximately 450-500K bytes. This
size will be reduced by the sizes of the modules that you wish to
place in the SVA. If you plan to replace any major CICS function
modules by dummy modules, the size of the nucleus will again be
correspondingly smaller. The nucleus will, however, be increased
by the lengths of your tables and resident application programs.
For any given combination of tablps and options, you can determine
the nucleus size by starting up CICS. The nucleus size is the
difference between the value given for the SIZE parameter of the
EXEC DFHSIP statement in the startup job stream, and the value
stated in the system console message "SUBPOOl SIZE FOR THIS
START-UP IS ... " after the job stream has been run. (If, for
example, a SIZE=1200K is specified in the job stream, and the
message "SUBPOOl SIZE FOR THIS START-UP IS 636K" is sent to the
console as part of the startup messages, the nucleus size will be
564K.)
248
CICS/DOS/VS Installation and Operations Guide
s;ze of the DSA
Estimating the DSA requirement is more complex. A small CICS
system may need as little as lOOK. Systems with high message
rates or applications that make heavy use of dynamic storage will
require much more.
To obtain a very rough idea of the DSA size, add together the
following items, which account for the largest demands on this
area:
•
Task storage for all tasks running at a given time. Task
storage includes control blocks like the task control area
and any user GETMAINs that may be issued. (A command-level
transaction using BMS requires about 8.5K bytes for control
blocks alone.) Allow space for the average number of
concurrent tasks running, multiplied by their average storage
requirements.
•
Space for nonresident application programs. Estimate the sum
of the sizes of all such programs that might be in use at any
one time. Remember that, when one program links to another,
both are active.
•
Temporary storage items kept in main storage.. Estimate the
average number of these items in existence at any given time,
and multiply by their average size.
•
BTAM telecommunication buffers. Allow one buffer of INAREAL
size for each remote line being polled.
•
Storage cushion size (SCS) specified in the SIT.
For example, suppose that your CICS system allo1>lS as many as
ten tasks to be active at the same time (AMXT=10 in the SIT).
Thi s means that a peak of ten tasks may be act i ve at one
time, plus some suspended tasks (as many as the difference
between the MXT value and the AMXT value in the SIT). For
this example, allow for five suspended tasks, making a total
of 15 tasks.
•
•
Most of the applications in your hypothetical system are
written at command level and use BMS - allow 8.5K in control
blocks for each application. User GETMAINs average l.SK for
each task, bringing the total requirement for each task to
10K, or 150K for all tasks.
Of these tasks, you estimate that at least two thirds will
use resident programs and maps. For the remaining five,
however, you need to assume the worst possible combination
of transacti ons, in terms of programs and maps. Suppose that
you estimate that, together, they may invoke ten programs
and maps with an aggregate requirement of lS0K.
There are ten BTAM lines in your hypothetical system, with
INAREAL=2000 specified - this requires a further 20K.
Temporary storage (main) is not used, but the storage
cushion is specified as 20K. The overall total estimate for
the si ze of the DSA for your hypotheti cal system is,
therefore, 340K.
One recommended procedure for determining the dynamic storage
requirement is to estimate it as described above, and then to
double or treble this value when calculating the value for the
EXEC DFHSIP SIZE parameter. This will allow for the many other
uses of the DSA, peak load effect, and storage fragmentation. In
addition, specify an over-large SCS value in the SIT (lOO-200K),
and start up the CICS system.
The size of the DSA is given in the DFH1500 message "SUBPOOL SIZE
FOR THIS START-UP IS ---K" in the system console messages after
the startup job stream has been run.
Chapter 5.1.
Overview-of CICS Operations
249
"
....
....
I,:'
"'.
L III
\.
Now reduce the SIZE value until a short-on-storage condition is
reached (see the CICS/VS Performance Guide for information on how
to recognize this condition). Respecify the SCS value in the SIT
to a IOloJer value. Then reduce the SIZE value again by a simi lar
but smaller amount (to reduce the DSA allowance). Some
contingency factor must be applied: the size of this contingency
factor depends on the individual installation.
Size of the GETVIS Area
The size of the GETVIS area is the difference between your actual
partition size specified in the VSE ALLOC statement and your SIZE
value specified in the EXEC DFHSIP statement.
The GETVIS allocation must meet all demands made both during and
after CICS/DOS/VS initialization. A rough estimate can be
obtained by totaling the VSAM buffer requirements for your
installation.
Except where shared resources are specified, for every
key-sequenced VSAM file specified in the file control table
(FCT), CICS will allocate the largest of:
•
The size you specify in the FCT BUFSP operand, or
•
One data buffer and one index buffer per string, plus one
additional data buffer, or
•
The number of buffers specified in the FCT BUFND and BUFNI
operands.
The minimum allocation is one index and two data buffers.
For entry-sequenced data sets, the rule is the same, except that
there are no index buffers and there is just one data buffer per
string.
Remember to include two buffers for temporary storage (three if
you are using CICS recovery facilities) and one for transient data
if these facilities are to be used.
Buffer size is equal to the control interval size. After the
buffer requirements have been ~alculated, a contingency factor
should be applied to allow for VSAM control blocks and non-VSAM
demands on GETVIS.
For VTAM users with large,networks, this estimate should also be
adjusted to allow O.35K for each terminal that might be in session
at a given time.
OPERATING THE eIeS SYSTEM
DFH1500 CONTROL IS BEING GIVEN TO eIeS
After the startup process has been completed, end users will be
able to enter transactions from any terminals that are connected
to CICS. Typically, the first transaction to be entered will be
the sign-on transaction CSSN. This is described in the CICS/VS
Operator's Guide.
MASTER TERMINAL
The terminals connected to CICS will normally include the VSE
system console, which you may choose to make into a "master
terminal", although in many installations, the person who is
responsible for controlling the CICS system will use a 3270-type
display. Normally, the master terminal operator will be an
250
CICS/DOS/VS Installation and Operations Guide
individual responsible for the system. You may, if you wish,
authorize more than one operator to run the CEMT transaction.
Details of the CEMT transaction and other CICS-provided
transactions are given in the CICS/VS Operator's Guide.
SHUTTING DOWN THE CICS SYSTEM
CICS may be terminated from the master terminal by using the CEMT
(or the CSMT) master terminal transactions.
The master terminal operator can initiate either a normal or
immediate shutdown.
NORttAL
This shutdown is requested by the master terminal operator
by entering:
CEMT PERFORM SHUTDOWN
It allows all transactions to complete normally, and the
system is terminated in an orderly manner. System status is
recorded by CICS on the restart data set in a "warm keypoint"
for possible later use in a warm start. A subsequent AUTO
start of CICS will result in warm start procedures being
invoked automatically.
IMMEDIATE
If there is a real need to shut down the CICS system
immediately, the master terminal operator can enter:
CEMT PERFORM SHUTDOWN IMMEDIATE
This command should be entered only in an unusually serious
situation, because any transactions that are being run will
be abnormally terminated, and no attempt will be made to
quiesce the system before shutdown begins. When an
immediate shutdown is forced, no "warm keypoint" is
recorded. The next START=AUTO will result in an emergency
restart.
After the master terminal operator has initiated a normal or
immediate shutdown, the following message is displayed on
the system console and on the master terminal:
DFH1701 - C.I.C.S. IS BEING TERMINATED
UNCONTROLLED SHUTDOWN
In addition to a shutdown initiated by the master terminal
operator, an UNCONTROLLED or abnormal system shutdown can occur.
An abnormal system termination is caused by operating system or
hardware failure. Transactions are stopped abruptly when this
occurs. Care should be taken before the system restart can take
place (see "Chapter 5.5. Actions to be Taken After an Emergency
Restart" for further information).
As far as CICS is concerned, immediate and uncontrolled
termination are both treated as abnormal termination. A
subsequent AUTO start of CICS will result in emergency restart
procedures being invoked automatically during CICS initialization
to back out changes to recoverable resources made by tasks that
were interrupted.
Chapter 5.1.
Overview of CICS Operations
251
•
POSTPROCESSING
After the CICS system has been shut down, several operational
procedures may be needed before a restart is performed. These
could include:
•
•
•
•
Checking the statistics
Reevaluating the partition size
Updating a resource definition table
Printing and reviewing transaction dumps.
In addition, if your shutdown was as a result of an uncontrolled
termination, you will need to prepare for the emergency restart
that will occur when CICS is started again. This may involve
running DFHTEOF if you have any user journals on tape, and
verifying VSAM files.
252
CICS/DOS/VS Installation and Operations Guide
Chapter 5.2. The CICS Startup Job Stream
A TYPICAL STARTUP JOB STREAM
The job control statements on the next page are an example of a
job stream that might be used to initialize CICS. Following the
typical job stream, there are notes that wi 11 enable you to create
a suitable job stream for your own installation.
Chapter 5.2.
The CICS Startup Job Stream
253
// JOB VERIFY
//*
//*
//*
//*
//
//
//
//
//
//
//
Verify temporary storage, transient data, restart data set,
CSD, and user files ****
DlBL
DLBL
DlBL
DlBL
DlBL
DlBL
EXEC
CICSUCT,'CICS160.UCAT'"VSAM
DFHTEMP,'CICS160.TEMP.STORAGE'"VSAM,CAT=CICSUCT
DFHNTRA,'CICS160.INTRA.TRANSD'"VSAM,CAT=CICSUCT
DFHRSD,'CICS160.RSD'"VSAM,CAT=CICSUCT
DFHCSD,'CICS160.CSD'"VSAM,CAT=CICSUCT
FILEA,'SAMPLE.TEST.FIlEA'"VSAM,CAT=CICSUCT
IDCAMS,SIZE=AUTO
VERIFY FILE(DFHTEMP)
VERIFY FIlECDFHNTRA)
VERIFY FIlECDFHRSD)
VERIFY FIlECDFHCSD)
VERIFY FIlECFILEA)
/*
//*
//*********************************************************************
//******************* START-UP CICS **************************~******
//*********************************************************************
//*
// JOB CICS
* User private core image library
// DlBL U160PCl,'USER.PRIVATE.CIL'
// EXTENT ,TEST02
// DlBl C160PCl,'CICS160.CIl'
// EXTENT ,TEST02
* Search order for core image libraries
// lIBDEF CL,SEARCH=CU160PCl,C160PCL,PlIClB)
* User VSAM catalog
// DlBl CICSUCT,'CICS160.UCAT'"VSAM
* Auxiliary temporary storage
// DlBl DFHTEMP,'CICS160.TEMP.STORAGE'"VSAM,CAT=CICSUCT
* Intrapartition transient data
// DlBl DFHNTRA,'CICS160.INTRA.TRANSD'"VSAM,CAT=CICSUCT
* Restart data set
// DlBl DFHRSD,'CICS160.RSD'"VSAM,CAT=CICSUCT
* CICS system definition file
// DlBl DFHCSD,'CICS160.CSD'"VSAM,CAT=CICSUCT
* FIlEA sample data set
// DLBL FIlEA,'SAMPlE.TEST.FIlEA'"VSAM,CAT=CICSUCT
* Dump data sets
// DlBl DFHDMPA,'CICS160.DUMP.DATASET.A',O,SD
// EXTENT SYSOOl,,1,O,70000,lOOO
// DlBL DFHDMPB,'CICS160.DUMP.DATASET.B',O,SD
// EXTENT SYSOOl,,1,O,71000,500
* Auxiliary trace
// DLBL DFHAUXT,'CICS160.AUX.TRACE.A',O,SD
// EXTENT SYSOOl,,1,O,71500,1500
// DlBl DFHBUXT,'CICS160.AUX.TRACE.B',O,SD
// EXTENT SYSOOl,,1,O,73000,lOOO
* System log
// DlBl DFHJOIA,'CICS160.SYSTEM.lOG.A',O,SD
// EXTENT SYSOOl,,1,O,96000,lOOO
// DlBl DFHJOIB,'CICS160.SYSTEM.lOG.B',O,SD
// EXTENT SYSOOl,,1,O,97000,lOOO
* ASSGN of DASD containing CICS and user files
// ASSGN SYSOOl,DISK,TEMP,VOl=TEST02,SHR
* local terminals defined in BTAM TCT
// ASSGN SYS020,OlA
// ASSGN SYS021,IGN
// ASSGN SYS027,OlE
// EXEC DFHSIP,SIZE=1200K,PARM='SIT=1$,SI',SIT=1$,TSP=2$,TDP=6$
DCP=D$,TRP=D$,BMS=S$,PPT=Sl,PCT=Sl,DCT=Sl,FCT=S3,FCP=3$,TCT=Sl
JCT=1$,JCP=1$,TBP=1$,KPP=D$,AKPFREQ=250,PGRET=P/,PGPURGE=T/
PGCOPY=C/,PGCHAIN=X/,SCS=1000,AMXT=15,MXT=25
START=AUTO
254
CICS/DOS/VS Installation and Operations Guide
CREATING AND RUNNING YOUR OWN STARTUP JOB STREAM
When creating and running your own job stream, you will need to
consider your requirement for job control statements for any of
the following functions and data sets. Chapter 5.1 gives advice
on data set preparation, SVA considerations, partition selection,
and partition size calculation.
Verify VSAM Files
This step is required only if the previous CICS run
terminated abnormally. It is not required if you have
VSE/VSAM Version 1 Release 3 installed.
Private Core Image Libraries
Any private libraries that are needed for your own programs
or for program products and other packages, must be in the
library concatenation chain. These include PL/I and DL/I.
You should keep your installation's applications in a
separate core image library from the CICS system. In
addition, you may want to keep the resource definition
tables in the same private core image library. If you are
running multiple CICS partitions, you may prefer to have a
resource definition core image library for each partition.
If you have different sign-on tables, program error
programs, terminal error programs for different partitions,
these must be in a different core image library for each
partition.
VSAM catalog
You may decide to have one VSAM catalog per disk pack.
AUxiliary Temporary storage
See Chapter 4.2 for a description of the temporary storage
data set and details of the AMS control statements and space
calculations.
Intrapartition Transient Data
See Chapter 4.3 for a description of the transient data
intrapartition data set and details of the AMS control
statements and space calculations. This data set can also be
a DAM file on count-key-data (CKD) disks. This is also
discussed in Chapter 4.3.
Restart Data set
See Chapter 4.6 for a description of the restart data set and
details of the AMS control statements and space
calculations.
CICS System Definition File
See Chapter 4.10 for relevant information.
User Data sets
You will need to provide job control statements for files
defined in the file control table that is being used for this
startup. For some examples of the statements required, see
Chapter 4.11.
DUmp Data Sets
See Chapter 4.9 for relevant information. If you want your
PDUMP dumps to go to the system dump data set, you will need
to define and assign DOSDMPF and DOSDMPG on the volume
assigned to SYSDMP.
AUxiliary Trace
See Chapter 4.8 for relevant information.
system Log
See Chapter 4.5 for relevant information. Note that the
system loges) on disk must have been preformatted using
Chapter 5.2.
The CICS Startup Job Stream
255
DFHJCJFP before being used in a CICS startup. Similarly, if
the system log is on tape, the tapes must have been
preformatted using DFHFTAP.
User Journals and Monitoring Journals
These must also be preformatted before being used in a CICS
startup.
statistics Data sets
See Chapter 4.7 for a description of the statistics data
sets.
SYSLST
You will need to have SYSlST assigned if:
•
Your system has any extrapartition transient data
destinations defined to SYSlST
•
You are using the MSGLVL=2 parameter in your SIT, or
•
You have selected the PDUMP option for the formatted
dump program in your SIT.
You may have SYSLST assigned to a POWER-owned printer; in
this case, the CICS partition priority must be lower than the
POWER partition priority.
If you do not wish to use either the POWER printer or a
physical system printer, you may choose to assign SYSLST to
disk.
Transient Data Extrapartition Data sets
You must insert the required job control statements in the
startup job stream for any transient data extrapartition
data sets defined in the destination control table that you
are using.
DL/I Data Bases
If you are using DL/I, you will need to have job control
statements for your Dl/I data bases. Depending on your Dl/I
journaling option, you may also need to specify a suitable
UPSI setting.
Terminals
All BTAM terminals require assignment statements. For any
card reader/line printer (CRLP) terminals, you will also
require DlBl and EXTENT statements if they are defined on
disk.
UPSI settings
See Chapter 5.3 for information on using the VSE UPSI
settings.
EXEC DFHSIP statement
DFHSIP is the first program that makes up CICS.
SIZE=value
When creating your CICS system, you will need to calculate
suitable values for AlLOC, AllOCR, and the SIZE parameter.
See the information given in Chapter 5.1.
PARM=value
See Chapter 5.3.
system Initialization parameters
The characteristics and environment of the running ercs
system are determined by various parameters established
during startup. Flexibility is provided by allowing these
parameters to be specified in a system initialization table
(SIT). Several SITs can be prepared, with different
suffixes. The system operator can choose the one with the
parameters required for the run at startup time. Default
256
CICS/DOS/VS Installation and Operations Guide
values will be used for any parameters not specified
explicitly.
Also at startup timet the system operator can override or add
to the parameters in the SIT by providing system
initialization override parameters. The suffix of the SIT
to be used, and the override parameters, can be specified in
any of three ways:
•
•
•
By use of the PARM field in the EXEC DFHSIP statement
By including them in the SYSIPT data stream, with the
startup job stream
By entering them at the system operator's console during
the early stages of initialization.
The syntax of the override parameters is described in
"Chapter 5.3. System Initialization Parameters." Further
details are given in the CICS/V5 Resource Definition Guide.
START:
Types of startup are discussed in more detail in Chapter 2.4
and in the discussions on the restart data set and system
journal in Part 4. If you are running with these functions,
your normal START option will be START=AUTO.
Chapter 5.2.
The CICS Startup Job Stream
257
SYSTEM CONSOLE MESSAGES
During the initialization and running of CICS, various messages
appear on the system console. These are mainly informatory, but
may require a reply or action on the part of the operator. On the
following pages are reproduced typical message streams that may
be displayed:
1.
2.
When running with disk journals
When running with tape journals.
In each case, the messages are those displayed after a START=AUTO
start resulting, in turn, in a cold start, a warm start, and an
emergency restart.
If you are running without keypointing or recovery, the system
initialization output will be a subset of that produced for a cold
start.
258
CICS/DOS/VS Installation and Operations Guide
DISK JOURNALS
If journaling is to disk, the following messages can appear:
Cold Start (D;sk Journals)
F4 004 // JOB CICS
DATE 0!/24/83,CLOCK 11/19/30
F4 004 * DEFINING CORE-IMAGE LIBRARIES
F4 004 * DEFINING VSAM FILES
F4 004 * DEFINING SAM FILES
F4 004 * ASSIGNING DEVICES
F4 004 IT201 SYS001 HAS BEEN ASSIGNED TO X'241'
F4 004 * STARTING CICS, ACCEPTING OVERRIDES FROM SYSIPT AND CONSOLE
F4 004 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS
F4 004 DFH1500 - READING OVERRIDE PARAMETERS FROM SYSIPT
F4 004 SIT=1$,SCS=1000,AMXT=15,MXT=25
F4 004 TSP=2$,TDP=6$,DCP=D$,TRP=D$
F4 004 TCT=S1,PCT=S1,PPT=S1,DCT=S1,FCP=3$,BMS=S$
F4 004 PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
F4 004 FCT=S2,JCT=S2,JCP=1$,START=AUTO,TBP=1$,KPP=D$,AKPFREQ=250
F4 004 DFH1500 - END-OF-FILE ON SYSIPT
F4 004 DFH1500 - SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
F4 004
AND ENTER $END WHEN COMPLETED
*F4 004
4 Send
F4 004 DFH1501 - DFHSITl$ IS BEING LOADED
F4 004 DFH1500 - LOADING CICS NUCLEUS
F4 004 DFH1500 - CICS START-UP IS COLD
F4 004 DFH1500 - OPENING INTRAPARTITION ACB
F4 004 DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
F4 004 DFH1500 - DATA BASE DATASETS ARE BEING OPENED
F4 004 DFH1500 - TERMINAL DATA SETS ARE BEING OPENED
F4 004 DFH1500 - DUMP DATA SET IS BEING OPENED
F4 004 DFH1500 - INITIALIZING TEMPORARY STORAGE
F4 004 DFH1500 - JOURNAL CONTROL SUB TASK IS BEING ATTACHED/ENTERED
F4 004 DFH1500 - SUBPOOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS 702K
F4 004 DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
F4 004 DFH1500 - STXIT MACROS ARE BEING ISSUED
F4 004 DFH1500 - PROCESSING RESIDENT PROGRAMS
F4 004 DFH1500 - SUBPOOL SIZE FOR THIS START-UP IS 636K
F4 004 DFH1500 - OPENING JOURNAL FILES
EXTENT NOW RECEIVING~""
F4 004 DFH4508 - CICS SYSTEM LOG. PRIMARY
OUTPUT ON 241
~
F4 004 DFH1500 - 01 OF 01 JOURNALS SUCCESSFULLY OPENED
~
F4 004 DFH1500 - CONTROL IS BEING GIVEN TO CICS
MSG F4
*F4 004
4 cemt
F4 004
F4 004
F4 004
F4 004
F4 004
F4 004
perform shutdown
DFH1701 - C.I.C.S. IS BEING TERMINATED
DFH4510 - ALL OPEN JOURNALS NOW CLOSED
DFH1796 - KEYPOINT SUCCESSFUL
DFH1799 - TERMINATION OF CICS/VS IS COMPLETE
EOJ CICS
DATE 01/24/83,CLOCK 11/21/52,DURATION 00/02/22
Chapter 5.2.
The CICS Startup Job Stream
259
Warm Restart (Disk)
F4 004 // JOB CICS
DATE 01/24/83,CLOCK 11/27/15
F4 004 * DEFINING CORE-IMAGE LIBRARIES
F4 004 * DEFINING VSAM FILES
F4 004 * DEFINING SAM FILES
F4 004 * ASSIGNING DEVICES
F4 004 IT20I SYS001 HAS BEEN ASSIGNED TO X'241'
F4 004 * STARTING CICS, ACCEPTING OVERRIDES FkoM SYSIPT AND CONSOLE
F4 004 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS
F4 004 DFH1500 - READING OVERRIDE PARAMETERS FROM SYSIPT
F4 004 SIT=1$,SCS=1000,AMXT=15,MXT=25
F4 004 TSP=2$,TDP=6$,DCP=D$,TRP=D$
F4 004 TCT=Sl,PCT=Sl,PPT=Sl,DCT=S1,FCP=3$,BMS=S$
F4 004 PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
F4 004 FCT=S2,JCT=S2,JCP=1$,START=AUTO,TBP=1$,KPP=D$,AKPFREQ=250
F4 004 DFH1500 - END-OF-FILE ON SYSIPT
F4 004 DFH1500 - SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
F4 004
AND ENTER $END WHEN COMPLETED
*F4 OO(t
4 Send
F4 004 DFH1501 - DFHSITl$ IS BEING LOADED
F4 004 DFH1500 - LOADING CICS NUCLEUS
F4 004 DFH1500 - CICS· START-UP IS WARM
II
F4 004 DFH1500 - OPENING INTRAPARTITION ACB
F4 004 DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
F4 004 DFH1500 - DATA BASE DATASETS ARE BEING OPENED
F4 004 DFH1500 - TERMINAL DATA SETS ARE BEING OPENED
F4 004 DFH1500 - DUMP DATA SET IS BEING OPENED
F4 004 DFH1500 -NO WARM START INFORMATION FOR TSP, TSP COLD STARTED
F4 004 DFH1500 - INITIALIZING TEMPORARY STORAGE
F4 004 DFH1500 - JOURNAL CONTROL SUB TASK IS BEING ATTACHED/ENTERED
F4 004 DFH1500 - SUBPOOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS 702K
F4 004 DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
F4 004 DFH1500 - STXIT MACROS ARE BEING ISSUED
F4 004 DFH1500 - PROCESSING RESIDENT PROGRAMS
F4 004 DFH1500 - SUBPOOL SIZE FOR THIS START-UP IS 636K
F4 004 DFH1500 - OPENING JOURNAL FILES
F4 004 DFH4508 - CICS SYSTEM LOG. PRIMARY
EXTENT NOW RECEIVING
OUTPUT ON 241
F4 004 DFH1500 - 01 OF 01 JOURNALS SUCCESSFULLY OPENED
F4 004 DFH1500 - CONTROL IS BEING GIVEN TO CICS
*F4-004
4 cemt
F4 004
F4 004
F4 004
F4 004
F4 004
260
perform shutdown i rnmedi ate
DFH1701 - C.I.C.S. IS BEING TERMINATED
DFH4510 - ALL OPEN JOURNALS NOW CLOSED
DFH1799 - TERMINATION OF CICS/VS IS COMPLETE
EOJ CICS
DATE 01/24/83,CLOCK 11/28/54,DURATION 00/01/38
CICS/DOS/VS Installation and Operations Guide
II
Emergency Restart (Disk)
F4 004 // JOB CICS
DATE 01/24/83 pCLOCK 11/29/25
F4 004 * DEFINING CORE-IMAGE LIBRARIES
F4 004 * DEFINING VSAM FILES
F4 004 * DEFINING SAM FILES
F4 004 * ASSIGNING DEVICES
F4 004 IT20I SYSOOI HAS BEEN ASSIGNED TO X'241'
F4 004 * STARTING CICSp ACCEPTING OVERRIDES FROM SYSIPT AND CONSOLE
F4 004 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS
F4 004 DFH1500 - READING OVERRIDE PARAMETERS FROM SYSIPT
F4 004 SIT=1$,SCS=1000,AMXT=15pMXT=25
F4 004 TSP=2$,TDP=6$,DCP=D$,TRP=D4
F4 004 TCT=Sl,PCT=Sl,PPT=Sl,DCT=Sl,FCP=3$,BMS=S$
F4 004 PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
F4 004 FCT=S2,JCT=S2,JCP=1$,START=AUTO,TBP=1$,KPP=D$,AKPFREQ=250
F4 004 DFH1500 - END-OF-FILE ON SYSIPT
F4 004 DFH1500 - SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
F4 004
AND ENTER $END WHEN COMPLETED
*F4 004
4 Send
F4 004 DFH1501 - DFHSIT1$ IS BEING LOADED
F4 004 DFH1500 - LOADING CICS NUCLEUS
F4 004 DFH1500 - CICS START-UP IS EMERGENCY
F4 004 DFH1500 - OPENING INTRAPARTITION ACB
F4 004 DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
F4 004 DFH1500 - DATA BASE DATASETS ARE BEING OPENED
F4 004 DFH1500 - TERMINAL DATA SETS ARE BEING OPENED
F4 004 DFH1500 - DUNP DATA SET IS BEING OPENED
F4 004 DFH1500 - JOURNAL CONTROL SUBTASK IS BEING ATTACHED/ENTERED
F4 004 DFH1500 - SUBPOOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS 702K
F4 004 DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
F4 004 DFH1500 - STXIT MACROS ARE BEING ISSUED
F4 004 DFH1500 - PROCESSING RESIDENT PROGRAMS
F4 004 DFH1500 - SUBPOOL SIZE FOR THIS START-UP IS 636K
F4 004 DFH2800I - DFHRUP IN PROGRESS
F4 004 DFH2800I - DFHRUP COMPLETED
F4 004 DFHlSOO - OPENING JOURNAL FILES
EXTENT NOW RECEIVING
F4 004 DFH4508 - CICS SYSTEM LOG. PRIMARY
OUTPUT ON 241
F4 004
~~A~~Ag}I~~U~~~~6uiU~~5~~~~L~~ g~~~~gL
F4 004 g~~§~~~
F4 004 DFH5703 - NO FBO-TABLE DATA PRESENT. NO FILE BACKOUl PERFORMED
F4 004 DFH5703 - NO MBO-TABLE DATA PRESENT. NO MSG. BACKOUT PERFORMED
F4 004 DFH5790 - DFHTBP PROCESSING COMPLETE, RETURNING CONTROL
TO DFHSIP.
F4 004 DFH1588 - IS START-UP TO BE CONTINUED?
F4 004 DFH1501 - REPLY GO OR CANCEL
*F4 004
:
III
4 go
F4 004 DFH1S00 - CONTROL IS BEING GIVEN TO CICS
MSG F4
*F4 004
4 cemt
F4 004
F4 004
F4 004
F4 004
F4 004
F4 004
perform shutdown
DFH1701 - C.I.C.S. IS BEING TERMINATED
DFH4510 - ALL OPEN JOURNALS NOW CLOSED
DFH1796 - KEYPOINT SUCCESSFUL
DFH1799 - TERMINATION OF CICS/VS IS COMPLETE
EOJ CICS
DATE Ol/24/83,CLOCK 11/31/39,DURATION 00/02/14
Chapter 5.2.
The CICS Startup Job Stream
261
In addition to the above messages, several "critical" and/or
warning error messages may appear if the system initialization
program detects errors that either prevent it from continuing the
initialization process or cause initialization that differs from
that specified by yourself. Some of these messages are
self-explanatory, but a more complete explanation of the messages
is given in the CICS/VS Messages and Codes manual.
Notes:
D
B
a
CICS startup is cold because the restart data set has been
newly defined and initialized.
This message indicates the size of the dynamic storage area
(DSA) remaining in the CICS partition after the resident user
application programs have been loaded. See the description
of the DSA in "Selecting the Partition" on page 247.
The DFHJOIA system log has been opened. It has become the
current system log, and is being overwritten with logging
information.
After this message, user transactions may be run.
D
D
A warm keypoint is taken after normal shutdown.
B
CICS startup is warm because a warm keypoint exists on the
restart data set.
Normal shutdown has been initiated by the system operator
from the VSE console.
An immediate shutdown has been initiated by the system
operator from the VSE console. No warm keypoint is taken.
Because of the previous immediate shutdown, START=AUTO has
caused an emergency restart to take place.
m
The recovery utility program reads the system log backward,
identifying inflight tasks and copying the information to the
restart data set.
The transaction backout program backs out any transactions
that were in flight at the previous immediate shutdown, using
the information on the restart data set. Messages DFH5703 are
not errors. There will be no table data if no recoverable
files and messages were being processed at the time of
failure, or if recovery has not been requested, or if the SIr
options for these resources request them to be cold started.
Similar messages may occur for transaction and DL/I table
data.
If the operator replies CANCEL to this message, CICS will be
terminated with a warm keypoint.
262
CICS/DOS/VS Installation and Operations Guide
TAPE JOURNALS
If the system log is on tape, the following are typical messages
that can appear:
cold Start (Tape)
F4 004 // JOB CICS
DATE 01/24/83,CLOCK 09/47/46
F4 004 * DEFINING CORE-IMAGE LIBRARIES
F4 004 * DEFINING VSAM FILES
F4 004 * DEFINING SAM FILES
F4 004 * ASSIGNING DEVICES
F4 004 IT20I SYS001 HAS BEEN ASSIGNED TO X'241'
F4 004 * STARTING CICS, ACCEPTING OVERRIDES FROM SYSIPT AND CONSOLE
F4 004 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS
F4 004 DFH1500 - READING OVERRIDE PARAMETERS FROM SYSIPT
F4 004 SIT=I$,SCS=1000,AMXT=15,MXT=25
F4 004 TSP=2$,TDP=6$,DCP=D$,TRP=D$
F4 004 TCT=Sl,PCT=Sl,PPT=Sl,DCT=Sl,FCP=3$,BMS=S$
F4 004 PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
F4 004 FCT=S2,JCT=Sl,JCP=I$,START=AUTO,TBP=1$,KPP=D$,AKPFREQ=250
F4 004 DFH1500 - END-OF-FILE ON SYSIPT
F4 004 DFH1500 - SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
F4 004
AND ENTER $END WHEN COMPLETED
*F4 004
4 Send
F4 004 DFH1501 - DFHSIT1$ IS BEING LOADED
F4 004 DFH1500 - LOADING CICS NUCLEUS
F4 004 DFH1500 - CICS START-UP IS COLD
F4 004 DFH1500 - OPENING INTRAPARTITION ACB
F4 004 DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
F4 004 DFH1500 - DATA BASE DATASETS ARE BEING OPEHED
F4 004 DFH1500 - TERMINAL DATA SETS ARE BEING OPEHED
F4 004 DFH1500 - DUMP DATA SET IS BEING OPENED
F4 004 DFH1500 - INITIALIZING TEMPORARY STORAGE
F4 004 DFH1500 - JOURNAL CONTROL SUBTASK IS BEING ATTACHED/ENTERED
F4 004 DFH1500 - SUBPOOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS 700K
F4 004 DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
F4 004 DFH1500 - STXIT MACROS ARE BEING ISSUED
F4 004 DFH1500 - PROCESSING RESIDENT PROGRAMS
F4 004 DFH1500 - SUBPOOL SIZE FOR THIS START-UP IS 634K
F4 004 DFH1500 - OPENING JOURNAL FILES
F4 004 DFH4502 - CICS SYSTEM LOG. MOUNT ON 180 FOR OUTPUT: SCRATCH
VOLUME
lUI
F4 004 DFH4503 - CICS SYSTEM LOG. VOLUME NUMBER 83024/001 RUN 09.49.20
HOW RECEIVING OUTPUT ON 180
F4 004 DFH1500 - 01 OF 01 JOURNALS SUCCESSFULLY OPENED
F4 004 DFH1500 - CONTROL IS BEING GIVEN TO CICS
*F4 004
4 cemt perform shutdown
F4 004
F4 004 DFH1701 - C.I.C.S. IS BEING TERMINATED
F4 004 DFH4506 - CICS SYSTEM LOG. VOLUME NUMBER 83024/001 RUN
UNLOADING FROM 180
F4 004 DFH4510 - ALL OPEN JOURNALS NOW CLOSED
F4 004 DFH1796 - KEYPOINT SUCCESSFUL
F4 004 DFH1799 - TERMINATION OF CICS/VS IS COMPLETE
F4 004 EOJ CICS
DATE 01/24/83,CLOCK 09/51/45, DURATION 00/03/59
II
Chapter 5.2.
09~49.20
The CICS startup Job stream
263
Warm Restart (Tapel
F4 004 // JOB CICS
DATE 01/24/83,CLOCK 09/56/32
F4 004 * DEFINING CORE-IMAGE LIBRARIES
F4 004 * DEFINING VSAM FILES
F4 004 * DEFINING SAM FILES
F4 004 * ASSIGNING DEVICES
F4 004 IT20I SYS001 HAS BEEN ASSIGNED TO X'241'
F4 004 * STARTING CICS t ACCEPTING OVERRIDES FROM SYSIPT AND CONSOLE
F4 004 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS
F4 004 DFH1500 - READING OVERRIDE PARAMETERS FROM SYSIPT
F4 004 SIT=1$,SCS=1000tAMXT=15,MXT=25
F4 004 TSP=2$,TDP=6$tDCP=D$,TRP=D$
F4 004 TCT=Sl,PCT=S1,PPT=Sl,DCT=Sl,FCP=3$,BMS=S$
F4 004 PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
F4 004 FCT=S2,JCT=S1,JCP=1$,START=AUTO,TBP=1$,KPP=D$,AKPFREQ=250
F4 004 DFH1500 - END-Of-FILE ON SYSIPT
F4 004 DFH1500 - SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
F4 004
AND ENTER $END WHEN COMPLETED
*F4 004
4 $end
F4 004 DFH1501 - DFHSIT1$ IS BEING LOADED
F4 004 DFH1500 - LOADING CICS NUCLEUS
F4 004 DfH1500 - CICS START-UP IS WARM
F4 004 DFH1500 - OPENING INTRAPARTITION ACB
F4 004 DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
F4 004 DFH1500 - DATA BASE DATASETS ARE BEING OPENED
F4 004 DFH1500 - TERMINAL DATA SETS ARE BEING OPENED
F4 004 DFH1500 - DUMP DATA SET IS BEING OPENED
F4 004 DFH1500 - NO WARM START INFORMAfION FOR TSP, TSP COLD STARTED
F4 004 DFH1500 - INITIALIZING TEMPORARY STORAGE
F4 004 DFH1500 - JOURNAL CONTROL SUBTASK IS BEING ATTACHED/ENTERED
F4 004 DFH1500 - SUBPOOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS 700K
F4 004 DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
F4 004 DFH1500 - STXIT MACROS ARE BEING ISSUED
F4 004 DFH1500 - PROCESSING RESIDENT PROGRAMS
F4 004 DFH1500 - SUBPOOL SIZE FOR THIS START-UP IS 634K
F4 004 DFH1500 - OPENING JOURNAL FILES
F4 004 DFH4502 - CICS SYSTEM LOG. MOUNT ON 180 FOR OUTPUT: SCRATCH
VOLUME
F4 004 DFH4503 - CICS SYSTEM LOG. VOLUME NUMBER 83024/001 RUN 09.57.42
NOW RECEIVING OUTPUT ON 180
F4 004 DFH1500 - 01 OF 01 JOURNALS SUCCESSFULLY OPENED
F4 004 DFH1500 - CONTROL IS BEING GIVEN TO CICS
*F4-004
4 cemt perform shutdown immediate
F4 004
F4 004 DFH170l - C.I.C.S. IS BEING TERMINATED
F4 025 DFH4506 - CICS SYSTEM LOG. VOLUME NUMBER 83024/001 RUN 09.57.42
UNLOADING FROM 180
F4 004 DFH4510 - ALL OPEN JOURNALS NOW CLOSED
F4 004 DFH1799 - TERMINATION OF CICS/VS IS COMPLETE
F4 004 EOJ CICS
DATE' 01/24/83,CLOCK 10/01/36,DURATION 00/05/03
264
CICS/DOS/VS Installation and Operations Guide
Emergency Restart (Tape)
F4 004 // JOB CICS
DATE Ol/24/83,CLOCK 10/10/26
F4 004 * DEFINING CORE-IMAGE LIBRARIES
F4 004 * DEFINING VSAM FILES
F4 004 * DEFINING SAM FILES
F4 004 * ASSIGNING DEVICES
F4 004 IT20I SYS001 HAS BEEN ASSIGNED TO X'241'
F4 004 * STARTING CICS, ACCEPTING OVERRIDES FROM SYSIPT AND CONSOLE
F4 004 DFH1500 - CICS/DOS/VS VERSION 1.6, START-UP IS IN PROGRESS
F4 004 DFH1500 - READING OVERRIDE PARAMETERS FROM SYSIPT
F4 004 SIT=1$,SCS=1000,AMXT=15,~1XT=25
F4 004 TSP=2$,TDP=6$,DCP=D$,TRP=D$
F4 004 TCT=Sl,PCT=Sl,PPT=Sl,DCT=Sl,FCP=3$,BMS=S$
F4 004 PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
F4 004 FCT=S2,JCT=S1,JCP=1$,START=AUTO,TBP=1$,KPP=D$,AKPFREQ=250
F4 004 DFH1500 - END-OF-FILE ON SYSIPT
F4 004 DFH1500 - SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
F4 004
AND ENTER $END WHEN COMPLETED
*F4 004
4 Send
F4 004 DFH1501 - DFHSITl$ IS BEING LOADED
F4 004 DFH1500 - LOADING CICS NUCLEUS
F4 004 DFH1500 - CICS START-UP IS EMERGENCY
~
F4 025 DFH2900I D F H TEO F UTI LIT Y
~
F4 025 DFH2906I VOLUME LABEL VERIFICATION
F4 025 DFH2907I LABEL INFORMATION-VOLUME NUMBER 83024/001 RUN 09.57.42
BLOCK 09.57.4
F4 025 DFH2908A IS MOUNTED VOLUME VALID - Y OR N
*F4 025
25 y
F4 025 DFH2914I EOD OCCURRED- LAST RECORD LABEL VERIFICATION
F4 025 DFH2907I LABEL INFORMATION-VOLUME NUMBER 83024/001 RUN 09.57.42
BLOCK 09.57.4
F4 025 DFH2915A IS PROPER VOLUME MOUNTED - Y OR N
*F4 025
25 y
F4 025 DFH2901I SUCCESSFUL COMPLETION - DFHTEOF
DFH1500 - OPENING INTRAPARTITION ACB
DFH1500 - TRANSIENT DATA SETS ARE BEING OPENED
DFH1500 - DATA BASE DATASETS ARE BEING OPENED
DFH1500 - TERMINAL DATA SETS ARE BEING OPENED
DFH1500 - DUMP DATA SET IS BEING OPENED
DFH1500 - JOURNAL CONTROL SUB TASK IS BEING ATTACHED/ENTERED
DFH1500 - SUBPOOL SIZE BEFORE LOADING RESIDENT PROGRAMS IS 700K
DFH1500 - CPU-TERMINAL SUPPORT AVAILABLE
DFH1500 - STXIT MACROS ARE BEING ISSUED
DFH1500 - PROCESSING RESIDENT PROGRAMS
DFH1500 - SUBPOOL SIZE FOR THIS START-UP IS 634K~
....•.
DFH2800I - DFHRUP IN PROGRESS
~
DFH4504 - CICS SYSTEM LOG. MOUNT ON 180 FOR INPUT: LATEST
OUTPUT VOLUME
F4 025 DFH4505 - CICS SYSTEM LOG. REPLY 'YES' IF VOLUME AVAILABLE,
OR 'NO' IF NOT
*F4-025
25 yes
F4 025 DFH4506 - CICS SYSTEM lOG. VOLUME NUMBER 83024/001 RUN 09.57.42
UNLOADING FRO~1 180
[iiJ
F4 004 DFH2800I - DFHRUP COMPLETED
· '
F4 004 DFH1500 - OPENING JOURNAL FILES
F4 025 DFH4502 - CICS SYSTEM LOG. MOUNT ON 180 FOR OUTPUT: SCRATCH
VOLUME
*F4 025 4886A TAPE UNIT NOT READY SYS004=180
~
*F4 025
25 ignore
F4
F4
F4
F4
F4
F4
F4
F4
F4
F4
F4
F4
F4
004
004
004
004
004
004
004
004
004
004
004
004
025
Chapter 5.2.
The CICS Startup Job Stream
265
F4 025 DFH4503 - CICS SYSTEM LOG. VOLUME NUMBER 83024/001 RUN 10.13.02
NOW RECEIVING OUTPUT ON 180
F4 004 DFH1500 - 01 OF 01 JOURNALS SUCCESSFULLY OPENED
F4 004 DFH5701 - TRANSACTION BACKOUT PROGRAM IN CONTROL
F4 004 DFH5703 - NO FBD-TABLE DATA PRESENT. NO FILE BACKOUT PERFORMED
F4 004 DFH5703 - NO MBD-TABLE DATA PRESENT. NO MSG. BACKOUT PERFORMED
F4 004 DFH5790 - DFHTBP PROCESSING COMPLETE, RETURNING CONTROL
TO DFHSIP.
F4 004 DFH1588 - IS START-UP TO BE CONTINUED?
F4 004 DFH1501 - REPLY GO OR CANCEL
*F4 004
4 go
F4 004 DFH1500 - CONTROL IS BEING GIVEN TO CICS
MSG F4
*F4 004
4 cemt perform shutdown
F4 004
F4 004 DFH1701 - C.I.C.S. IS BEING TERMINATED
F4 004 DFH4506 - CICS SYSTEM LOG. VOLUME NUMBER 83024/001 RUN 10.13.02
UNLOADING FROM 180
F4 004 DFH4510 - ALL OPEN JOURNALS NOW CLOSED
F4 004 DFH1796 - KEYPOINT SUCCESSFUL
F4 004 DFH1799 - TERMINATION OF CICS/VS IS COMPLETE
F4 004 EOJ CICS
DATE 01/24/83,CLOCK 10/14/49, DURATION 00/04/22
Notes:
The messages for a startup using a system log on tape are very
similar to those when using a disk device (see earlier). The
following differences can be noted.
The operator is prompted to mount the tape volume. CICS
assigns a volume number yyddd/mmm RUN hhmmss, where yyddd is
the date, mmm is a sequence number, and hhmmss is the time.
The tape volume is unloaded at the end of the job.
During an emergency restart, the tape end-of-file program
(DFHTEOF) ensures that the system log has an end-of-file mark
following the last valid block written prior to failure.
Messages DFH2906, DFH2907, and DFH2908 ask the operator to
confirm that the correct volume is mounted. Messages
DFH2914, DFH2907, and DFH2915 are produced if a normal
end-of-data is found; the operator is given another chance to
check that the volume is correct.
The restart utility program (DFHRUP) prompts the operator to
mount the latest output volume that was used for the system
log.
The restart utility program (DFHRUP) unloads the tape when it
has finished processing it.
This VSE message is produced because the tape on device 180
was unloaded by DFHRUP. The operator must reload the correct
volume and reply IGNORE.
266
CICS/DOS/VS Installation and Operations Guide
Chapter 5.3. System Initialization Parameters
The system initialization table (SIT) and the system
initialization override parameters are used to determine the
function of the CICS system that is to be run.
As part of the resource definition process, you will normally
create one or more SITs that are suitable for your installation,
and catalog these in your core image library. When you start up
CICS, you can then specify the suffix of the SIT that is to be
used.
You may, however, want to override the values specified in your
prepared SIT. The system in;tialization overrides can be
provided by means of:
•
•
•
PARM options in the EXEC DFHSIP statement
SYSIPT
The operator console.
The choice of the method to be used is determined either by the
PARM field in the EXEC DFHSIP statement or by an // UPSI job
control statement. The CN (or CONSOLE) and 51 (or SYSIN)
parameters in the override data stream enable further parameters
to be entered from the console (CN) or from SYSIPT (SI). The
override process is completed by means of a $END parameter.
In general, after a particular CICS system has become the
"production system", you should perform the startup with as
little operator intervention as possible (that is, use PARM, SIT,
or SYSIPT, and not the console).
PARM OPTIONS
These can consist of the system initialization override
parameters listed at the end of this chapter, in addition to CN
(or CONSOLE), SI (or SYSIN), and $END.
Chapter 5.3.
System Initialization Parameters
267
UPSI JOB CONTROL STATEMENT
As an alternative to the PARM statement, the UPSI job control
statement can be used to indicate that system initialization
override parameters are to included, and also that DL/I logging is
to be performed.
The possible settings of the UPSI bits at system startup are:
Bit 0
o - No parameter overrides from SYSIPT initially
1 - Read parameter overrides from SYSIPT
Bit 1
No longer allocated. The function of asynchronous loader
subtask formerly determined by this bit is now standard.
Bit 2
o-
Operator will not be prompted for parameter overrides
(unless UPSI bit 0 is on and the SYSIPT stream does
not end with $END)
1 - Operator will be prompted for parameter overrides
(after reading from SYSIPT if UPSI bit 0 is on)
Bits 3 - 5
Not currently allocated
Bit 6
0 - Dl/I online log function active
1 - DL/I online log function inactive
Bit 7
0 - DL/I online log on CICS system log
DL/I online log on DL/I system log device
1
Examples:
// UPSI
// UPSI
// UPSI
1
o
001
Parameter overrides (SYSIPT)
No overrides
Parameter overrides (operator console)
OPERATOR COMMUNICATION
In operator communication mode, you can override specific
parameters in the selected system initialization table and the
SYSIPT job stream when CICS displays the message:
DFH1500 - SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
AND ENTER $END WHEN COMPLETED
If no changes are required, the operator must reply Send or simply
press the end-of-block (or ENTER) key to proceed with system
initialization.
When changes are submitted from the system console, up to 80
characters can be keyed on one line. The operator should not key
Send until all changes have been submitted. The following
illustrates a parameter change sequence, as entered from the
system console.
DFH1500 - SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
AND ENTER $END WHEN COMPLETED
tct=a,fct=no,mxt=100
(EOB or ENTER)
DFH1500 - CONTINUE - ENTER $END WHEN COMPLETED
tsp=2$,$end
268
CICS/DOS/VS Installation and Operations Guide
(EOB or ENTER)
If the operator makes a keystroke error when specifying a keyword,
and the error string does not represent any other valid keyword,
the operator can recover by typing a comma, then continuing
normally. For example:
tct=a,fcu,fct=no,tcq,tcp=2$
(EOB or ENTER)
DFH1500 - CONTINUE - ENTER $END WHEN COMPLETED
tspl,tsp=2$,end
(EOB or ENTER)
DFH1500 - CONTINUE - EHTER $END WHEN COMPLETED
(EOB or ENTER)
Send
If the operator accidentallY types the wrong value for a keyword,
the operator can recover by submitting the string in error,. and
then keying another value for the same keyword on the same or
later line of input. For example:
tct=1,tcp=2$
(EOB or ENTER)
DFH1500 - CONTINUE - ENTER $END WHEN COMPLETED
tcp=l$
(EOB or ENTER)
DFH1500 - CONTINUE - ENTER $END WHEN COMPLETED
(EOB or ENTER)
Send
The last value keyed is always the value that is used to
initialize the system.
OPERATOR AND SVSIPT OVERRIDES
The following is an example of the above interaction, with
parameter changes entered from the system console.
The input stream from SYSIPT specifies an alternative temporary
storage program (DFHTSP2$), and also specifies that BMS is not
required. However, when the operator is prompted, the operator
overrides the SYSIPT input by specifying bms=s$. In the example,
lines entered by the operator are highlighted.
DFH1500
DFH1500
BMS=HO
TSP=2$
DFH1500
DFH1500
- CICS START-UP IS IN PROGRESS
- READING OVERRIDE PARAMETERS FROM SYSIPT
(BMS is not required)
(to include auxiliary temporary storage)
- END-OF-FIlE ON SYSIN
- SPECIFY ALTERNATIVE PARAMETERS, IF ANY,
AND ENTER $END WHEN COMPLETED
bms=s$,$end
Chapter 5.3.
(EOB or EHTER)
System Initialization Parameters
269
SYSTEM INITIALIZATION OVERRIDE PARAMETERS
The table at the end of this chapter lists all override parameters
that can be entered either by means of the PARM options, or on
SYSIPT, or at the console. If more that one value is specified
for a parameter, they must be separated by commas and enclosed in
parentheses.
Further details of these parameters are given in the CICS/VS
Resource Definition Guide. The CICS/VS Performance Guide
describes several of the parameters such as MXT and AMXT that can
be used for adjusting the performance of CICS.
DEFAULTS
If you do not specify a parameter as a system initialization
override, the system will use the value given in the SIT that you
specify.
SELECTION OF MODULES AND TABLES
For many of the CICS programs and tables, you can control which
version is loaded during initialization by specifying:
•
A 1- or 2-character suffix that will be added to the standard
name to provide a unique identification.
o
YES or null, meaning that an unsuffixed version will be
loaded.
•
NO, meaning, for programs, that no version or a CICS-provided
dummy version (suffix=DY) will be loaded or, for tables, that
no version of the table will be loaded, and no version or the
dummy version of the corresponding program will be loaded.
In the case of PPT and PCT, NO means that no table will be loaded,
the resource definitions will be derived from the GRPLIST
parameter, and versions of PCP or KCP will be loaded according to
the options specified for the PCP and KCP parameters.
For example:
ALT=A1
CMP=NO
DCT=NO
PPT=NO
to
to
to
to
specify
specify
specify
specify
DFHALTA1
DFHCMPDY
no DCT and thus DFHTDPDY
PPT will be derived from CSD file
Appendix C lists the various suffixed versions of each management
module provided in the pregenerated system.
The list at the end of this chapter also shows the pregenerated
suffixes that can be used. If you have generated your own version
of a module, you can specify the suffix of that version instead.
START OPTIONS
For keywords that control resources, you may be able to specify
whether a WARM or COLD start is to be performed for the
corresponding resources irrespective of the option specified in
the START parameter.
If START=(option,ALL) has been specified, all resources will be
initialized according to the specified START option. You cannot
override this for individual types of resource.
If START=option has been specified, then keyword=(suffix,COLD) or
keyword=(suffix,WARM) can be used to override the START
parameter.
In the case of DL/I, keyword=(suffix,WARM) may not be specified.
270
CICS/DOS/VS Installation and Operations Guide
The START options (with ,ALL not specified) and their results are
summarized in the following table:
START
Option
opt;on on
Individual Resource
Resulting
start value
AUTO
not specified
COLD
WARM
AUTO
COLD
AUTO
COLD
not specified
COLD
WARM
COLD
COLD
WARM
EMER
not specified
COLD
WARM
EMER
COLD
EMER
Chapter 5.3.
System Initialization Parameters
271
CICS SYSTEM OVERRIDE PARAMETERS
Keyword
272
Mean;ng
Value
AKPFREQ
Activity-Keypoint trigger
o or 200 to 65535
ALT
Application Load Table
Suffix or YES or NO
AMXT
Maximum active tasks
1 to MXT value
APPLID
Identification for VTAM
connection
The name by which this CICS
system is known to VTAM.
It is also the name used for
the system when connecting
multiple CICS systems using
MRO.
ATP
Asynchronous Transaction
Processing support
YES or NO
and WARM or COLD
ATPINS
ATP input buffer size
(in bytes)
16 to 32767.
ATPOUTS
ATP output buffer size
(in bytes)
16 to 32767.
ATPMB
ATP task initiation
inhibitor value
1 to MXT-1.
ATPMT
Maximum number of active
batched tasks
1 to ATPMB value.
BFP
Built-in Functions Program
1$, 2$, 3$, or NO
BMS
Basic Mapping Support
programs
E$, A$, S$, or NO
and WARM or COLD
and UNALIGN or ALIGN
and DDS or NODDS
CMP
CICS monitoring program
YES or NO
CMXT
Maximum number of active
Up to ten numbers (one for each
tasks for each transaction class) from 1 to MXT value.
class used in the PCT
CSA
Common System Area
YES and WARM or COLD
DATFORM
Date format
MMDDYY or DDMMYY or YYMMDD
DBP
Dynamic Backout Program
1$, 2$, or NO
DBUFSZ
Dynamic-log buffer size
for dynamic backout
(in bytes)
6 to 32000.
DCP
Dump Control Program
4$, D$, or NO
DCT
Destination Control Table
(DCT=NO will suppress
all transient data
functions)
Suffix or YES or NO
and WARM or COLD
DIP
Data Interchange Program
1$ or NO
DL11DLI
DL/I data base support
YES or NO
and COLD
DUMPDS
Dump data set suffix
DUMPDS=AIB specifies the
suffix of the first data
set to be used, DFHDMPA
or DFHDMPB.
CICS/DOS/VS Installation and Operations Guide
Keyword
Value
EXEC
Command-level application
programming interface
YES or NO.
EXITS
User exit interface
YES or NO.
EXTSEC
External security manager
support
YES or NO.
FCP
File Control Program
1$, 2$, 3$, 4$, 5$, 6$, 7$,
8$, 9$, A$, B$, C$, or S$
FCT
File Control Table
(FCT=NO will suppress all
file control functions)
Suffix or YES or NO
and WARM or COLD
FDP
Formatted Dump Program
YES followed by one or more of:
FORMAT, PARTN, FULL, NO,
and SNAP, in any order.
FLDSEP
Field separator characters
1 to 4 characters in quotation
marks.
FLDSTRT
Field-name start character
1 character in quotation
marks.
GRPLIST
Name of the LIST defining
the resource groups to be
installed during CICS
initialization
The name of a LIST in
the CSD file
ICP
Interval Control program
YES and WARM or COLD
ICV
Maximum system exit time
(in milliseconds)
100 to 327670.
ICVR
Runaway task time interval
(in milliseconds)
ICV value to 2700000.
ICVS
System stall time interval
(in milliseconds)
ICV value to 327670.
ICVSWT
VSE short wait interval
(in milliseconds)
0 to 1000.
ICVTSD
Terminal scan delay
(in milliseconds)
a
IRCSTRT
Interregion environment
for MRO sessions is to be
set up at CICS startup
YES or NO.
ISC
Intersystem Communication
programs.
YES or NO
JCP
Journal Control Program
1$ or 2$
JCT
Journal Control Table
(JCT=NO will suppress all
journaling functions)
Suffix or YES or NO
KCP
Task Control Program
YES
KPP
Keypoint Program
D$ or NO
MCT
Monitoring Control Table
(MCT=NO will force
CMP=NO)
Suffix or YES or NO
MONITOR
Monitoring classes to be
activated at CICS startup
NO or one or more of: ACC,
PER, and EXC in any order.
Chapter 5.3.
to 100000.
System Initialization Parameters
273
Keyword
274
Meaning
Value
MSGLVL
Type of messages issued
during CICS startup
o or 1 or 2, where:
o = critical I/O errors
MXT
Maximum number of tasks
2 to 999.
NLT
Nucleus Load Table
Suffix or YES or NO
PCP
Program Control Program
1$ or 2$ or 3$
PCT
Program Control Table
Suffix or YES or NO
PGCHAIN
BMS Page-Chaining code
I to 7 characters
PGCOPY
BMS Page-Copying code
I to 7 characters
PGPURGE
BMS Page-Purging code
I to 7 characters
PGRET
BMS Page-Retrieving code
I to 7 characters
(see also SKRxxxx)
PLTPI
Program List Table for
postinitialization
Suffix or YES or NO
PLTSD
Program List Table for
preshutdown
Suffix or YES or NO
PLllpLI
PL/I application programs
will be used
YES or NO
PPT
Processing Program Table
Suffix or YES or NO
PRGDLAY
BMS purge delay time
interval
hhmm, where:
hh is hours from 00 to 99
mm is minutes from 00 to 59
PRINT
Method for printing the
contents of a 3270 screen
PAl, PA2, PA3, YES, or NO
SCP
Storage Control Program
YES
SCS
Storage cushion size
(in bytes)
20 to 524288 (the value
specified is rounded up to
the next higher multiple
of 2048).
SIMODS
System Initialization
Modules suffixes
list of suffixes.
SIT
System Initialization
Table
Identifies the SIT to be used
for the startup. The lor 2-character suffix is used
exactly as you specify it;
there is no special meaning
for NO or YES. If you do not
specify the SIT parameter, an
unsuffixed name, DFHSIT, is
used.
SKRxxxx
Single keystroke retrieval. One or more characters in
xxxx specifies a key on
quotation marks. These will
the 3270 keyboard, and can be added to the PGRET value
be PAl - PA3 or PFI - PF36 to form a complete page
retrieval command
and
prompting messages only
I = all messages, at console
(SYSLOG)
2 = all messages, on SYSLST
as well as SYSLOG
CICS/DOS/VS Installat i on and Operati ons Gu ide
Keyword
Meaning
Value
SRP
System Recovery Program
1$
SRT
System Recovery Table
(SRT=NO will force
SRP=NO)
Suffix or YES or NO
START
Type of startup
AUTO or COLD or EMER
and ALL
SVD
Storage-Violation rec?very
to be attempted; maXlmum
number of formatted dumps
for storage violations
YES or NO or 0 to 99
TBP
Transaction Backout
Program
1$, 2$, or NO
TCP
Terminal Control Program
for BTAM functions
1$, 2$, 3$, 4$, 5$, E$, S$,
or NO
TCT
Terminal Control Table
Suffix or YES
and WARM or COLD
TDP
Transient Data Program
1$, 2$, 4$, 6$, or 7$
TRP
Trace Control Program and
trace startup options
4$, 5$, or D$
and ON or OFF or AUX
TRT
Trace Table size
(in bytes)
(TRT=O suppresses all
trace functions)
0 to 10000.
TSMGSET
Controls allocation of
4 to 100.
storage for each temporary
storage queue. Specifies
(in number of items) how
much storage CICS is to
obtain in each increment
TSP
Temporary Storage Program
1$, 2$, 3$, or NO
and WARM or COLD
TST
Temporary Storage Table
Suffix or YES or NO
WRKAREA
Common Work Area size
(in bytes)
0 to 3584.
XLT
Transaction List Table
Suffix or YES or NO
XSP
Security Management
Program
YES or NO
XTP
ISC Transaction-Routing
Transformer Program
YES or NO
ZCP
Terminal Control Programs
for common BTAM/VTAM and
VTAM-only functions
1$, 2$, 3$, 4$, 5$, E$, or
S$
Chapter 5.3.
System Initialization Parameters
275
Chapter 5.4. Operating Procedures
This chapter describes the procedures you should follow to start
and run the online CICS system. To help you operate the system,
the procedures are described on flowcharts, and additional
documentation is provided on various forms and tables.
FORMS AND TABLES
Various forms and tables are illustrated to help you operate the
CICS system. These are provided for your guidance; you may wish
to modify them for your organization. Some of the forms are
intended for your DB/DC Administration. Others are to be
completed by you to document the online session.
The forms illustrated in this chapter are:
•
•
•
•
CICS online log sheet
CICS incident report
Data set/data base and transaction table
Transaction and program table.
Chapter 5.4.
Operating Procedures
277
eICS ONLINE LOG SHEET
Job name
Date
Time
System
operator
MTO
name
Start
Stop
Spec. instrns.
Other special instructions
SIT
PCT
PPT
FCT
log tape
DCT
Physical
label
TCT
CICS allocated label
yyddd/mmm RUN hhmmss
GRPlST
Status/note
RUN
RUN
RUN
RUN
Start type
auto
cold
log tape(s) from previous CICS run in case of
emergency restart as displayed on console
I emer
I
Program not found
Transaction disabled
Terminal unavailable
File unab}e to open
Data base stopped
Subpool size
Time
Comments/incidents
At startup
At shutdown
Figure 77. CICS Online log Sheet
278
CICS/DOS/VS Installat i on and Operati ons Gui de
I
Run
no.
CICS ONLINE LOG SHEET
This form is used to document each online session. You must
complete the form every time you start up CICS, because the
information is vital for restarting the system.
This CICS online log sheet will be submitted to operations by DC
Administration or the job scheduler with some information already
filled in. This would include the job name, date, run number,
external labels of available log tapes, and special instructions
for the startup.
DC Administration will indicate what start type is required
(usually START=AUTO). If START=AUTO will result in an emergency
restart or if emergency restart has been explicitly requested, DC
Administration will write in the label(s) of the log tape{s) from
the previous run. This information can be obtained from the log
sheet of the previous run.
When starting up the system, you should do the following:
1.
Record the start time and your name.
2.
When using tape journals and the journal file is being opened
for output, a scratch tape volume is requested. Mount the
first tape from the available log tape list and CICS will
allocate a label for it. (For details of the label
information see the notes for Chart A-I.) Record the
allocated label on the log sheet. Do not forget to prepare a
sticker with this label for use when the tape is unloaded
during or at the end of the session. You may use more than
one log tape.
3.
If you will be performing an emergency restart, the system log
tapes from the previous session will be required. You should
begin by mounting the last log tape from the previous CICS
run.
The label of the tape journal, taken from the previous log
sheet, should already have been entered for you by DC
Administration in the current sheet. When you mount the tape,
CICS will display the first record label on the console for
you to verify. See Chart F-l for more details.
other information you should document includes, for example, the
programs not found in the library, disabled transactions, files
that could not be opened, or network problems.
The bottom portion of the form, "Comments/incidents", is used to
record any unusual incidents that occur at the startup, at the
shutdown, or during the session. Incidents such as hardware
errors on lines or terminals, or abending transactions should be
noted here, and a cross-reference made to the CICS incident report
where necessary. Some of these incidents will appear on the
system console and others will be reported as CICS messages to a
destination determined by the installation. This may be the
console, another terminal, or a hard-copy printer.
Chapter 5.4.
Operating Procedures
279
CICS INCIDENT REPORT
Incident
reported to
System
operator
Hardware
Software
MTO
name
Date
Sequence
number
Time
Type of dump available
Time dump was
(x)
printed
CICS transaction dump
Component
in
error
CICS abend dump
CICS formatted dump
&
symptom
VSE dump
Stand-alone dump
Full description of problem
Figure 78. CICS Incident Report
280
CICS/DOS/VS Installation and Operations Guide
Action taken
saved
CICS INCIDENT REPORT
You should complete this form in duplicate to record any of the
following error conditions:
VSE abend
CICS abend
Application abend
Linelterminal hardware problem
110 errors on data bases
110 errors on journal files
Response time problems reported by users.
Note the sequence number of the CICS incident report on the CICS
online log sheet for that session.
In the middle block under the headings "Hardware and Software",
describe the symptoms of the problem briefly. If a dump is
available, indicate the type of dump and the time it was taken,
and, once it has been listed, the time of printing. In the bottom
part of the form, describe the problem more fully if possible and
any action you have taken. This "Action" column is also used by
the recipient.
You should keep one copy of the form for follow-up purposes. The
other is given to the Network Control Function for line or
terminal errors, to the appropriate Application Supervisor for an
application problem, and to DC Administration in all other cases.
Chapter 5.4.
Operating Procedures
281
DATA SET/DATA BASE AND TRANSACTION TABLE
Data set or
data base
Filename
Date:
· ...........
Time:
· ...........
· ...........
Name:
Volume
serial
Type *
Applications
*
Type
= VSAM,SAM,DAM,ISAM
Figure 79. Data Set/Data Base and Transaction Table
282
Related
trx id
CICS/DOS/VS Installation and Operations Guide
Request
DATA SET/DATA BASE AND TRANSACTION TABLE
This table is prepared initially by DC Administration. It may
also be used by User liaison, for example, to ask you to disable
all transactions that use a particular data set or data base.
The table shows you the relationship between the Dl/I DOS/VS data
base names, CICS file names, the VSE file names, the volume serial
numbers of the packs containing those data sets, the access method
type, and the applications that use them. The relationship of all
transactions to each data set or data base is also shown here.
From this table, you can tell which transactions to disable before
closing a data set or data base. The date, time, and name at the
lower left-hand corner are used when you disable a related
transaction if a request is made by User liaison.
Chapter 5.4.
Operating Procedures
283
TRANSACTION AND PROGRAH TABLE
Transaction
code
Tclass Program(s)
Date:
Time:
Name:
Data
Invoked set(s) or
program
data
base(s)
· ...........
· ...........
· ...........
Status
Access*
intent Application / req.
* Access = INQ,UPD,ADD,DEl,
All
Figure 80. Transaction and Program Table
284
CI CS/DOS/VS In sta llat i on and Operat ion 5 Gu ide
TRANSACTION AND PROGRAM TABLE
This table is prepared by DC Administration.
It shows you the relationship between transaction codes and
programs, the data sets or data bases used, and whether the access
type of that transaction to the data sets or data bases is
inquiry, update, add, or delete. It also indicates the task
class, the programs invoked by a transaction, the application,
and the status of the program, for example, "Enabled" or
"Disabled."
The date, time, and name at the lower left hand corner is used
when you disable a transaction according to the request from the
User Liaison.
Chapter 5.4.
Operating Procedures
285
FLOWCHARTS
The next section of this chapter contains flowcharts of the
operating procedures required to run a CICS system.
These flowcharts are not complete. They provide a basis for
indicating the operating considerations when using CICS with tape
journaling.
HOW TO USE THE FLOWCHARTS
The flowcharts all have the same format:
•
A block diagram shows the actions and decisions to be made. If
a block refers to another chart~ you should turn to that chart
for more details.
•
Where appropriate, the actual commands entered and the
responses received, appear next to the block diagram. The
notation used for these commands and responses is as follows:
sc-e
sc-r
mt-e
mt-r
•
286
Command entered at VSE console
Response received at VSE console
Command entered at master terminal
Response received at master terminal
Sometimes, additional notes about the action or decision
blocks are provided on the page facing the flowchart
(indicated by a number on the block diagram). You will
probably only need to refer to these notes when you are
unfamiliar with the procedure.
CICS/DOS/VS Installation and
Ope~ations
Guide
LIST OF FLOWCHARTS
A
OVERVIEW OF ONLINE PROCEDURES
A-1
B
Initializing the Network
Start Up CICS System
. . . .
Selection of CICS Start-Up Options
Perform Warm (or Cold) Start
. . . . . • • . . . . . . 298
Shut Down CICS
. . . . . . . . . . • . . . . . . 300
Action on User Problem
Machine Check, Power Failure,
VSE Loop, or Abend . . . . .
· . 302
304
EMERGENCY RESTART
F-1
F-2
F-3
F-4
F-5
G
• 296
ERROR PROCEDURES
E-1
E-2
F
· • 294
SHUTDOWN PROCEDURES
0-1
E
· . 290
• • 292
SYSTEM MONITORING PROCEDURES
C-1
o
. . . . . . . . . . 288
NORMAL AND COLD START-UP PROCEDURES
B-1
B-2
B-3
B-4
C
Sequence of Operations
Perform
Perform
Perform
Perform
Perform
Emergency
Emergency
Emergency
Emergency
Emergency
Restart
Restart
Restart
Restart
Restart
•....
(continued)
(continued)
(continued)
(continued)
.
..
..
.
306
308
310
· . 312
. . . 314
LOG TAPE ERRORS
G-1
Log Tape Error
. . . . .
Chapter 5.4.
~
. . . . • . . . . • . 316
Operating Procedures
287
Chart A-I:
SEQUENCE OF OPERATIONS
1
Prepare log sheet
and log tape(s)
Chart B-1
Initialize network
Chart B-2
Start up CICS
2
Chart B-3
Select and enter
start-up options
3
4
Follow special
instructions i f any
Complete log sheet
for startup
From time to time
Chart C-l
Monitor system
t
When scheduled
Chart D-l
Shut dOl.Jn CICS
t
(
288
End
)
CICS/DOS/VS Installat i on and Operat ions Gu ide
Notes for Chart A-1
1.
You will need a CICS online log sheet for each startup
operation. You will need to prepare paper labels for the
journal tapes indicating the operation date, volume sequence
number for that startup date, and start time in the following
format:
yyddd/nnn RUN hhmmss
where:
yyddd
nnn
hhmmss
= Today's date
= Volume sequence number
= Start time of eICS execution.
The above information will be supplied by CICS during each
startup.
A procedure should be set up at your installation to control
and maintain these log tapes.
2.
The appropriate startup will be done by the CICS system if you
have chosen the START=AUTO option.
3.
For any session, you may have to follow special procedures
when the system is initialized. For example, you may wish to
alter the initialization parameters or there may be a
transaction that is to be stopped because it is giving
trouble, or a special message may need to be broadcast to all
users.
4.
You should fill in the following information on the CICS
online log sheet at startup time:
•
•
•
•
•
Start time
Your name
Start type
The label allocated by CICS to the log tape(s) used for
output in this run.
Comments and incidents (if any).
Chapter 5.4.
Operating Procedures
289
Chart B-1:
INITIALIZING THE NETWORK
Put your own procedures here
290
CICS/DOS/VS Installation and Operations Guide
Hot~s
1.
for Chart B-1
This chart should contain d~tails of your installation
procedur~s for initializing the data communication network.
This could includ~ such things as pow~ring up data sets or
modems, loading the 3704 or 3705 control program, and
performing VTAM initialization if applicabl~.
Chapter 5.4.
Operating Procedures
291
Chart B-2:
START UP CICS
(Begin B-2)
1
t
Start
CICS as VSE
,
job
I
(
292
End)
CICS/DOS/VS Installation and Operations Guide
Notes for Chart B-2
1.
There are several ways to start up CICS depending upon the
system environment. You can start the CICS job from a
procedure by using the START command, or you can submit the
CICS job stream through the reader. This chart should be
replaced by your existing normal start-up procedure.
Chapter 5.4.
Operating Procedures
293
Chart B-3:
SELECTION OF CICS STARTUP OPTIONS
sc-r DFH1500
Messages at
system console
sc-r DFH1500
CICS/DOS/VS VERSION 1.6, START-UP IS
IN PROGRESS
SPECIFY ALTERNATIVE PARAMETERS,
IF ANY, AND ENTER $END WHEN COMPLETED
N
1
Enter override
parameters
2
Y
Chart B-4
"">-----..... I---------+---.....j~~ C
Cold start
3
Y
End)
--
Chart B-4
~--------~~~--------------~--~C
Warm restart
Emergency Restart
Chart F-1
Emergency Restart
C_E_nd___)
294
CICS/DOS/VS Installation and Operations Guide
End)
-
Notes for Chart B-3
1.
There may be some override instructions for startup from the
DC Administrator that you are required to perform during
system initialization.
2.
A cold start results if START=COLD, or if START=AUTOand the
restart data set is newly initialized, or if the CICS system
is generated without the keypoint program.
3.
A warm start results if START=AUTO and the CICS system has
previously been shut down successfully.
4.
An emergency start results if START=EMER, or if START=AUTO
and problems were experienced during a normal shutdown, that
is, if CICS went into a loop or if the CEMT PEFORM SHUTDOWN
IMMEDIATE command was specified, or after power or machine
failures have occurred.
There are some exceptions to these rules, for example, if
START=AUTO should have resulted in an emergency start but JCT=NO
was specified. In this case, a cold start will be performed.
Chapter 5.4.
Operating Procedures
295
Chart 8-4:
PERFORM WARM (or COLD) START
Messages at
system console
sc-r DFH1501 - DFHSITSIIS BEING LOADED
DFH1500 - LOADING NUCLEUS
DFH1S00 - CICS START-UP IS WARM
or
DFH1S00 - CICS START-UP IS COLD
1
2
Attach journal
control subtask
sc-r DFH1S00 - JOURNAL CONTROL SUB TASK IS BEING ATTACHED
Journal control
data sets
sc-r DFH1S00 - OPENING JOURNAL FILES
sc-r DFH4S02 - CICS SYSTEM LOG. MOUNT ON 660 FOR OUTPUT:
SCRATCH VOLUME
sc-r DFH4503 - CICS SYSTEM LOG. VOLUME NUMBER 80289/001
RUN OS.01.51 NOW RECEIVING OUTPUT ON 660
sc-r DFH4S08 - CICS JOURNAL 02. PRIMARY EXTENT
NOW RECEIVING OUTPUT ON 171
sc-r DFH4S00 - 02 OF 02 JOURNALS SUCCESSFULLY OPENED
CICS ready to
process task
sc-r DFH1500 - CONTROL IS BEING GIVEN TO CICS
(
296
End)
CICS/DOS/VS Installati on and Operati ons Gui de
Notes for Chart B-4
1.
Other CICS messages will be issued during startup. You should
replace this section with your existing operating procedures.
2.
Message DFH4502 requests that a scratch volume be mounted.
The CICS-allocated label (date and time) is included as part
of the message.
After a successful open, message DFH4503 follows to indicate
the label CICS has allocated to the tape volume. The label is
in the form:
yyddd/nnn RUN hhmmss
where:
yyddd
nnn
hhmmss
= Today's operation date
= Volume sequence number
= Start time of CICS execution.
You should prepare a physical label in this form for use later
when the tape is unloaded.
Note: In the present example, we assume that CICS monitoring
data is written to "user journal" 02. If CICSPARS storage
analysis support is also included, another user journal may
be opened at this time.
If the master terminal operator opens the VTAM ACB for the first
time, using the command CEMT SET VTAM OPEN, but CICS is not using
all available VTAM function, message DFH3473 will be sent to the
transient data destination called CSMT. The same message will be
sent to the CSMT destination if the ACB is opened automatically
during initiali~ation, rather than by CEMT.
Chapter 5.4,
Operating Procedures
297
Chart C-l:
NORMAL CICS SYSTEM MONITORING
1
Task
,
2
Transaction
1,
3
Program
Data base
(
298
"
End
)
CICS/DOS/VS Installati on and Operati ons Gui de
Notes for Chart C-l
1.
The monitoring of the CICS system may be made the
responsibility of the VSE console operator, or, more usually,
a CICS master terminal operator.
2.
From time to time, you may use the CEMT transaction to query
the status of tasks in the CICS system. If you notice that a
user task with the same task number is suspended every time
you display the task status, you may suspect that the task is
in a "hard wait" condition and you should refer the problem to
DC Administration.
3.
CEMT INQUIRE TRANSACTION will display the status of all
transacti ons. If any transacti on has a status of "Di s"
(disabled) that is different from normal as reported by DC
Administration on the transaction and program table, you may
have to consult DC Administration.
4.
CEMT INQUIRE PROGRAM displays the number of times the program
is currently being used, and the number of times the program
has been used. This enables you to see the load on each
transaction. You may wish to increase the priority of a
heavily used transaction, or adjust the maximum number of
tasks by class (CEMT INQUIRE TCLASS).
Also notice the "Ena" or "Dis" status of each program, and
report to DC Administration if it is different from the
transaction and program table.
5.
CEMT INQUIRE DATASET displays the status of the data bases.
Make sure that the data bases in the system are all opened and
enabled, and report to DC Administration if you find out that
a data base has been closed or disabled by the system.
Chapter 5.4.
Operating Procedures
299
Chart D-1:
SHUT DOWN CICS
(Begin 0-1)
1
2
3
t
Notify users of
impending shutdown
mt-e CMSG 'SYSTEM SHUTOOWN IN 20 MINUTES',R=ALL,S
Wait twenty
minutes
mt-e CEMT PERFORM SHUTDOWN
mt-r C.I.C.S. IS BEING TERMINATED
sc-r DFH1701 - C.I.C.S. IS BEING TERMINATED
BY OPERATOR AT TERMINAL TOOO
Perform
normal shutdown
4
Y
9
7
8
Cancel CICS
~
Put physical label
on log tape( sHE
Complete log sheet
5
6
7
Log tape(s) closed
Termination message
Put physical label
on log tape(s)
10
Complete
Incident
Report
8
Complete log sheet
(
End)
Refer to
DC administrator
(
300
End)
CICS/DOS/VS Installation and Operations Guide
For Tape Journals & Log
sc-r DFH4506 CICS SYSTEM LOG.
VOLUME NUMBER 80289/001
RUN 05.01.51 UNLOADING
FROM 660
sc-r DFH4510 ALL OPEN JOURNALS
NOW CLOSED
sc-r DFH1796 KEYPOINT SUCCESSFUL
sc-r DFH1799 TERMINATION OF
CICS/VS IS COMPLETE
Notes for Chart D-l
1.
Bro~dcast a shutdown message to users approximately 20
minutes before planned shutdown to enable users to complete
their work in an orderly fashion.
2.
Remember that a user who is busy with a conversational
transaction will not receive this message until the
conversation has been terminated.
3.
When the CICS Master Terminal shutdown transaction is
entered, message DFH1701 is displayed at the console to
inform the system operator. This normal shutdown will
prevent the users from starting any more transoctions. If
they attempt to do so, CICS will ignore the terminal input.
During the early part of the shutdown process, the CICS master
terminal operator can still enter CEMT transactions, for
example, to display system status. But when shutdown
processing reaches a certain point, CICS stops all terminal
activity (including CEMT) and waits for existing transactions
to halt.
4.
Normal shutdown should result in message DFH4506 appearing on
the system console within about 10 minutes of message
DFH1701. If this message does not appeor, the system operator
should notify the CICS moster terminal operator, because
there may be a problem with shutdown.
In rare cases, the CICS system may still be in the first part
of shutdown, during which the master terminal operator can
enter CEMT transactions. If so, the stotU5 of any CICS tasks
that are still running can be shown and, if necessory, they
con be purged. This moy permit normal shutdown to proceed.
Generally, if shutdown holts, it will be too advanced for the
master terminal operator to enter CEMT. In this case the CICS
system must be terminated by the system operator.
5.
The message DFH4506 indicates that the specified system log
tape has been closed and unloaded. The volume sequence number
displayed here (see Note 1 for Chart A-I) should be that for
the last log tape mounted, and should match the lobel
displayed in the most recent console message DFH4503.
In this example, the originally mounted tape (number 001) was
sufficient for the entire run ond so remoined mounted
throughout.
6.
After message DFH1799 is displayed the CICS job step ends.
7.
When the log tapes are unloaded, stick the physical labels,
prepared with the volume sequence numbers allocated by CICS,
on to those tapes.
8.
Complete the CICS online log sheet with stop date, time, and
your name. Make sure that the allocated label column is
correctly and completely filled in. If the shutdown is not
normal, note thi sin the "Comments/ i nci dents" areo. The
information on this CICS online log sheet will be used in the
following CICS startup.
9.
The VSE CANCEL command must be used. When thi 5 obnormal
shutdown happens and if you are using nonlabeled topes, make
sure the log tape numbers are correctly recorded on your
sheet, because an emergency restart will be required to start
up again.
10. The CICS incident report is used here for DC Administrator
fo IIOL.J-uP.
After an immediate or uncontrolled shutdown, do not reorganize
VSAM ESDS files because this will reset the delete flags.
Chapter 5.4.
Operating Procedures
301
Chart E-l:
ACTION ON USER PROBLEM
1
2
3
Disable
that
transaction
saction
Data
set or
data
base
Make note on
the Transaction
and Program Table
(
302
Tran-
Problem report
from user liaison
End)
CICS/DOS/VS Installati on and Operati ons Gui de
Disable all transactions related to
to that data set
or data base
"
Make note on the
Data Set/Data Base
Transaction Table
(
"
End
)
2
3
Notes for Chart E-l
1.
When a remote terminal operator or end user is having
problems, that person will contact user liaison. User liaison
will determine the causes of the problems and decide on the
action to be taken. If the problems are related to the
transactions. or to the data sets or data bases, user liaison
may ask you to disable some transactions by submitting a
formal request. This request could be on the Transaction and
Program table in the case of a transaction error, or on the
Data Set/Data Base and Transaction table in the case of a data
set or data base error.
2.
Disable the transactionCs) according to the request
instruction by entering CEMT INQUIRE TRANSACTION transaction.
3.
After you have disabled the transactionCs), do not forget to
complete the request by filling in the date, time, and your
name on the form submitted to you.
Chapter 5.4.
Operating Procedures
303
Chart E-2:
MACHINE CHECK, POWER FAILURE, VSE LOOP, OR ABEND
( Beg1 n E-2)
+
y
N
1
Take stand-alone
dump
y
•
y
N
y
Enter dump command
sc-e DUMP Fn,cuu
Take stand-alone
dump
Put physical label
on log tape(sH~
3
Complete log sheet
6
Chart A-I
Auto restart
(
304
Complete
incident report
End)
CICS/DOS/VS Installation and Operations Guide
s
Notes for Chart E-2
1.
In the case of a machine check, a dump will be useful to
customer engineers and program service representatives to
determine the cause of the problem.
2.
With the message DFH06xx on the operating system console, you
can check in CICS/VS Messages and Codes to see whether the
dump is provided on the CICS dump data set when CICS is
abnormally terminated. You should print the dump data set
before starting the next CICS session.
3.
stick the physical labels prepared with the volume sequence
numbers allocated by CICS onto the log tapes used during this
session.
4.
Complete the CICS online log sheet with stop date, time, and
your name. Make sure that the "allocated label" column is
correctly and completely filled in. State in the
"Comments/ i nci dents" area that the next startup must be an
emergency restart. The information on this CICS online log
sheet will be used in the following CICS start up.
5.
The CICS incident report is used here for follow-up by DC
Administration.
6.
If a machine check or power failure occurs, you can perform an
emergency restart (START=AUTO resulting in an emergency
start) as soon as the machine is up again, unless a disk
failure is suspected.
Chapter 5.4.
Operating Procedures
305
Chart F-1:
1
PERFORM EMERGENCY RESTART
System log tape(s)
of previous
operation required
Messages at
system console
2
sc-r DFH1501 - DFHSITP3 IS BEING LOADED
sc-r DFH29001 D F H TEO F UTI LIT Y
sc-r DFH29061 VOLUME LABEL VERIFICATION
sc-r DFH29071 LABEL INFORMATION-VOLUME NUMBER 80290/001
RUN 07.51.15 BLOCK 07.52.22
sc-r DFH2908A IS MOUNTED VOLUME VALID - Y OR N
Volume verification
for DFHTEOF
N
3
Scan tape
Record label
mismatch
5
sc-r DFH29111 RECORD
LABEL VERIFICATION
sc-r DFH2907I LABEL INFORMATIONVOLUME NUMBER 80290/001
RUN 07.51.15 BLOCK
08.22.08
sc-r IS RECORD LABEL VALID Y OR N
sc-r DFH29141 EOD OCCURRED - LAST RECORD LABEL
VERIFICATION
sc-r DFH29071 LABEL INFORMATION - VOLUME NUMBER 80290/001
RUN 07.51.15 BLOCK 08.23.27
sc-r DFH2915A IS PROPER VOLUME MOUNTED - Y OR N
Volume label
verification
N
sc-r DFH29011
306
SUCCESSFUL COMPLETION - DFHTEOF
CICS/DOS/VS Installati on and Operati ons Gui de
Notes for Chart F-l
1.
For emergency restart, you need the system log tape(s) from
the previous CICS run. The keypoint records from the tape(s)
are needed to restart the system.
2.
CICS emergency restart invokes DFHTEOF to ensure that the
last tape volume of the system log has an end-of-file mark
following the last valid block prior to the failure. DFHTEOF
will OPEN the log. This may cause an VSE tape mount message
(not shown), unless the tape is already mounted. You must
mount the last system log tape used for output in the previous
run (check the CICS online log sheet for that run).
The system will prompt for the last volume. VSE cannot check
the tape, because it is unlabeled, but DFHTEOF will display
the messages shown. DFH2907I lists the CICS volume sequence
number, which is obtained from the first block of the mounted
tape; this includes the date of the creating run. DFH2907I
also shows the run start time and the time when first block
was written (shown as "BLOCK ... ").
You must check the sequence number against the CICS online log
sheet and reply Y or N to DFH2908A. If the reply is Y,
processing continues looking for the end of valid log
records. If the reply is N, volume swapping will take place.
3.
DFHTEOF reads the tape forward from the load point and
compares the time stamps in each block until it reaches a tape
mark or a mismatch between log record labels.
4.
A mismatch has been found between the volume sequence numbers
in successive log record labels. DFHTEOF issues messages
DFHS2911, DFH2907, and DFH2912.
Chart F-5 shows the action to be taken if this occurs.
5.
If normal end-of-data is detected and there are no tape
errors, this may mean that (a) the last CICS run closed the
log successfully, (b) VSE close routines managed to write EOO
even though CICS failed, or (c) the tape you loaded and
confirmed for DFHTEOF scanning was possibly not the last log
volume of the previous run. Therefore, DFHTEOF asks you once
more to verify that the mounted volume is correct, and
displays messages DFH2914, DFH2907, and DFH2915.
Check the time stamp of the last block written ("BLOCK ..• " in
DFH2907I). This should match the time the previous run
ended/failed, as noted on your online log sheet.
The message DFH2915A will wait for your verification. Reply Y
to terminate the DFHTEOF program normally and proceed to the
next step. Otherwise reply N for an option to swap volumes.
Chapter 5.4.
Operating Procedures
307
Chart F-2:
PERFORM EMERGENCY RESTART (CONTINUED)
(Be g 1 n F-2)
+
1
Attach journal
control subtask
sc-r DFH1500 - JOURNAL CONTROL SUBTASK IS BEING ATTACHED
Recovery utility
sc-r DFH2800I - DFHRUP IN PROGRESS
sc-r DFH4504
- CICS SYSTEM LOG.MOUNT ON 660 FOR INPUT:
LATEST OUTPUT VOLUME
sc-r DFH4505A - eICS SYSTEM LOG REPLY 'YES' IF VOLUME
AVAILABLE OR 'NO' IF NOT
Mount input tape(s)
2
Read tape backward
3
y
Recovery utility
308
Mount previous
log tape
sc-r DFH4504 - SYSTEM LOG,MOUNT
ON 660 FOR INPUT,
PREVIOUS VOLUME IF ANY
sc-r DFH4505A - CICS SYSTEM LOG
REPLY
'YES' IF VOLUME AVAILABLE
'NO' I F NOT
sc-r DFH2800I - DFHRUP COMPLETED
CICS/DOS/VS Installat i on and Operat ions Gu ide
Notes for Chart F-2
1.
CICS starts the recovery process by displaying message
DFH4504 to mount the specified system log tape as input on the
specified drive. Refer to the sequence implied by the label
allocated by CICS (see Note 1 for Chart A-I). Labels are
sequential by date and volume sequence number for a
particular CICS execution.
Message DFH4504 is always followed by message DFH4505A, which
requires a reply of YES or NO. If the reply is YES, CICS
continues by positioning the tape to the end-of-file mark and
reads backward.
2.
The recovery utility reads the tape(s) backward until it has
collected all log information for inflight transactions. As
a minimum, it reads backward to the last activity keypoint but
may sometimes have to read further backward than this. If it
gets as far as the start of data on the current tape, it will
switch to the previous volume to continue.
This read-back process should always stop before running out
of log volumes. This is because, immediately following each
successful (re)start, CICS writes an activity keypoint on the
log indicating that there are no inflight transactions at
that point.
3.
When the recovery utility reaches the start of the current
tape, it issues messages:
DFH4504
- CICS SYSTEM LOG. MOUNT ON 660 FOR INPUT:
PREVIOUS VOLUME (IF ANY)
DFH4505A - CICS SYSTEM LOG REPLY 'YES' IF VOLUME
AVAILABLE, OR 'NO' IF HOT
You must then mount the immediately-p~eceding log volume from
the previous session, as indicated on the online log sheet for
that session.
Chapter 5.4.
Operating Procedures
309
Chart F-3:
1
2
PERFORM EMERGENCY RESTART (CONTINUED)
Journal control
data sets
Transaction backout
program
sc-r DFH1500 - OPENING JOURNAL FILES
sc-r DFH4502 - CICS SYSTEM LOG. MOUNT ON 660 FOR OUTPUT:
SCRATCH VOLUME
sc-r DFH4503 - CICS SYSTEM LOG. VOLUME NUMBER 80290/001
RUN 08.10.19 NOW RECEIVING OUTPUT ON 660
sc-r DFH4508 - CICS JOURNAL 02. PRIMARY
EXTENT
NOW RECEIVING OUTPUT ON 171
sc-r DFH4500 - 02 OF 02 JOURNALS SUCCESSFULLY OPENED
sc-r DFH5701 - TRANSACTION BACKOUT PROGRAM IN CONTROL
sc-r DFH5703 - NO FBO-TABLE FOUND, NO FILE BACKOUT PERFORMED
sc-r DFH5790 - DFHTBP PROCESSING COMPLETE,
RETURNING CONTROL TO DFHSIP.
3
CICS ready to
process task
(
sc-r DFH1500 - CONTROL IS
BEING GIVEN TO CICS
End)
CICS performs
normal shutdown
Close log tape(s)
5
6
7
Termination message
sc-r DFH4506 - CICS SYSTEM LOG. VOLUME NUMBER 80290/001
RUN 08.10.19 UNLOADING FROM 660
sc-r DFH1566 - TERMINATION OF CICS/VS IS COMPLETE
Put physical label
on log tape(s)
Complete log sheet
Chart A-1
Auto restart
(
310
End)
CICS/DOS/VS Installation and Operations Guide
Not~s
1.
for Chart F-3
When th~ journal fil~ is op~n~d, a scratch tape volume is to
be mounted on the indicated address and open~d to receive the
output of the CICS system log.
When the open succeeds, message DFH4503 follows to indicate
the lab~l CICS has allocated to the tape volume (see Note 1
for Chart A-I).
You should prepare a physical label in this form for use when
the tape is unloaded later in the CICS execution.
2.
During th~ transaction backout process, message DFH5703
informs you if a certain backout cannot be performed because
that table is not present. This indicates that there were no
resources of this type to back out. Finally, message DFH5790
is displayed when the ~xecution of the transaction backout
program is completed.
.
3.
After completion of the transaction backout program, the
message DFH1588 will ask whether you want the startup to be
continued, and will wait for your reply on message DFH1505.
If the reply is GO, the system initialization program
continues startup. If the reply is CANCEL, CICS is terminated
by performing a warm keypoint.
You may wish to perform a normal shutdown at this stage, and
start the CICS session again with the warm start option.
4.
The message DFH4506 indicates that the specified system log
tape has been closed and unloaded. A volume sequence number
is provided here to check against message DFH4503 given
during the opening of the journal files.
5.
DFH1566 - TERMINATION OF CICS/VS IS COMPLETE is displayed and
control is given back to the operating system.
6.
When the log tapes are unloaded, stick the physical labels
prepared with the volum~ sequence numbers allocated by CICS
on to those tapes.
7.
Complete the CICS online log sheet with stop date, time, and
your name. Make sure that the allocated label column is
correctly and completely filled in. The information on this
CICS online log sheet will be used in the following CICS
startup.
Chapter 5.4.
Operating Procedures
311
Chart F-4:
1
PERFORM EMERGENCY RESTART (CONTINUED)
Check volume
sequence number
of syst~m log
sc-r DFH2904A - SWAP VOLUME - Y OR N
2
Mount the
correct tape
3
N
Program DFHTEOF
aborted
5
6
sc-r DFH2918I NEG RSP TO VOL VERIFICATION,
PROGRAM ABORTED
Complete log sheet
Complete
incident report
Refer to
DC Administration
C End)
31~
CICS/DOS/VS Installat i on and Operat ions Gu ide
Notes for Chart F-4
1.
Message DFH2904A is displayed by program DFHTEOF if, during
emergency restart, you have entered N to messages DFH2908A or
DFSH2915A, indicating that the wrong volume was mounted.
CICS now gives you the option to change the volume or abort
the restart.
Check again the volume sequence number of the system log tape
on the previous CICS online log sheet, the message display on
the console, and the physical label of the mounted tape to
find out what is wrong.
2.
Reply Y if you find a correct tape and want to swap tapes, and
N if not.
3.
The program DFHTEOF will close and reopen the tape file. When
you get the VSE mount message, you should demount the present
tape and mount the one you require.
4.
The execution of the program DFHTEOF will abnormally
terminate with message DFH2918I.
5.
Complete the CICS online log sheet with stop date, time, and
your name. Make sure that the allocated label column is
correctly and completely filled in. state in the
"Comments/incidents" area why the emergency restart cannot be
performed. The information on this CICS online log sheet will
be used in the following CICS startup.
6.
The CICS incident report is used by DC Administration to take
action.
Chapter 5.4.
Operating Procedures
313
Chart F-5:
1
PERFORM EMERGENCY RESTART (CONTINUED)
sc-r DFH29111 RECORD LABEL VERIFICATION
sc-r DFH29071 LABEL INFORMATION - VOLUME NUMBER 80290/001
RUN 05.28.19 BLOCK 05.47.36
sc-r IS RECORD LABEL VALID - Y OR N
Record label
mis-match
2
y
Program DFHTEOF
abended
3
Complete log sheet
Complete
incident report
Refer to
DC Administration
(
314
End)
CICS/DOS/VS Installat i on and Operat ions Gu ide
Notp-s for Chart F-5
1.
This procedure is entered when a mismatch has been found
between the volume sequence numbers in successive log
records. DFHTEOF iSSUQS messages DFH2911, DFH2907, and
DFH2912. The label displayed by DFH2907 is that of the last
record preceding the mismatch. This is presumed to be the
last valid record on the log. Check the time stamp for this
record ("BLOCK ... " in DFH2907). This should match the time
stamp when the previous CICS run failed, as noted on the
online log sheet for that run.
2.
Message DFH2912A waits for a reply. If you reply Y, an end-of
data mark is written on the tape after the last valid log
record, and the program DFHTEOF terminates normally.
Emergency restart continues.
You should reply N only if Ca) the time stamp of the last
valid record does not match the log sheet, or (b) the log
sheet indicates the run ended normally (in which case EOD
should have been found). In either case, the problem must be
referred to the DC Administrator for resolution. When you
reply N, CICS will issue message 'DFH2913I NEG RSP TO RECORD
LABEL VERIFICATION, PROGRAM ABORTED', and emergency restart
halts at once.
3.
Complete the CICS online log sheet with stop date, time, and
your name. Make sure that the allocated label column is
correctly and complp-tely filled in. state in the
'Comments/incidents' area why the emergency restart cannot be
performed. The information on this online log sheet will be
used in the following CICS startup.
4.
The CICS incident report is used for DC Administration to take
action. The log tapes remain as they were before the restart
was attempted, and can be used for another emergency restart
if DC Administration so decides.
Chapter 5.4.
Operating Procedures
315
Chart G-l:
1
LOG TAPE ERRORS
sc-r DFH4513 - CICS SYSTEM LOG NO LONGER AVAILABLE
- OUTPUT I/O ERROR
or
sc-r DFH4512 - CICS SYSTEM LOG NO LONGER AVAILABLE
OUTPUT VOLUME-SWITCH FAILURE
DFH4513
or
DFH4512
1,
2
3
System dump
and
CICS terminated
,
Put physical label
on log tape(s)
"
Complete log sheet
1J
5
Complete
incident report
17
6
Chart A-l
Auto restart
C
316
End
)
CICS/DOS/VS Installation and Operations Guide
Notes for Chart G-l
1.
The message DFH4513 indicates that an unrecoverable output
I/O error has occurred for the specified journal data set.
For message DFH4512, a bad response code was obtained by a
CICS journal task while trying to perform the close/open
sequence to switch automatically to a new journal output
volume.
2.
CICS execution is abnormally terminated with a dump.
3.
Stick the physical labels prepared with the volume sequence
numbers allocated by CICS on to those tapes.
4.
Complete the CICS online log sheet with stop date, time, and
your name. Make sure that the allocated label column is
correctly and completely filled in. State in the
"Comments/i nci dents" area the reason for thi s CICS abend, and
that the next startup must be emergency restart. The
information on this CICS online log sheet will be used in the
following CICS startup.
S.
The CICS incident report is used here for DC Administration
follow-up.
6.
If, on the emergency restart, I/O errors occur when trying to
read the log tape(s), emergency restart will fail. If this
happens, complete another incident report, for the restart,
and refer to DC Administration.
Chapter S.4.
Operating Procedures
317
Chapter 5.5. Actions to be Taken After an Emergency Restart
CONTROLLED SHUTDOWN FOLLOWING AN EMERGENCY RESTART
If a controlled shutdown is requested by the master terminal
operator immediately following emergency restart (by replying
CANCEL to message DFH1S0S), the warm keypoint necessary for a
controlled shutdown is taken, and CICS terminates operation. The
system may then be initialized at a later time by a normal warm
start. You may prefer, however, to reply GO to this message,
complete system startup, and perform a warm shutdown by means of
the cemt perform shutdown command.
SYSTEM FAILURE DURING EMERGENCY RESTART
System failure during emergency restart represents one of the
most difficult types of failures to diagnose and correct. The
user must be fully aware of the functions performed during
emergency restart, the sequence in which these functions are
performed, and the effect that abnormal termination during this
operation has on data sets and tables.
Prior to initiating emergency restart, an analysis of the failure
that caused the system to terminate abnormally should be
performed. It is possible that the condition that caused the
system to abend will also cause emergency restart to fail. One
example of this could be a physically damaged data set that caused
an uncontrolled shutdown, causing the identical failure during
emergency restart if the CICS transaction backout program
attempts to back out modifications made to that data set.
If a data set has become physically damaged, user-provided data
set recovery program(s) must recover the data set prior to the
running of the CICS emergency restart transaction backout program
to back out modifications to this data set. Data set recovery
involves restoring the contents of that data set from some
previous copy, and then applying all modifications made to it
since the copy was taken. CICS automatic journaling can be used
to keep track of data set modifications performed during online
execution.
If the transient data intrapartition data set or temporary
storage data set is physically damaged, it will not be possible
for CICS to emergency restart these facilities. CICS recovery of
these facilities is dependent upon the physical contents of the
relevant data set as it existed prior to system failure.
Therefore, if the data content of the data set has to be restored
because of physical damage, CICS may not be able to reconstruct
successfully the OCT or TSUT to reflect the status of the restored
data set.
User journaling may be utilized, if required, to produce an audit
log of all system data set activity. This audit log can be
created on a user journal data set, and utilized by user programs
for subsequent reconstruction of all system data sets (such as
intrapartition or temporary storage) that may have been
physically damaged.
''-- -
Chapter 5.5.
Actions to be Taken After an Emergency Restart
319
CICS emergency restart is not complete until the CICS transaction
backout program has successfully completed, and an activity
keypoint has been taken. (Optionally, a controlled shutdown
could be taken at the completion of user back out, if system
execution is to be terminated.) If any failure is encountered
prior to this time during emergency restart, this procedure must
be followed:
1.
Determine the cause of the failure. The cause of the failure
of emergency restart must be determined and corrected. If the
transient data intrapartition data set is damaged, that data
set and the OCT must be cold started by CICS. Its contents
may subsequently be restored by the user, if required, by
post-initialization (PlT) program processing. (This is also
true for the temporary storage data set.) If a data set is
damaged it must be physically recovered by user data set
recovery programs.
2.
Perform an emergency restart. The emergency restart
procedure is executed again using the original system log as
input. The original system log is the tape or disk volume
that was being used for output when the original system
failure occurred.
If tape logging is performed, the log is not written on during
emergency restart. This leaves the original contents
available for further attempts at restart. For disk logs,
emergency restart adds records to the end of the current log.
These records are ignored during a subsequent attempt at
restart.
At the completion of emergency restart, the recovered status of
CICS has been recorded on the new system log if system execution
is to proceed, or on the system restart data set as a warm
keypoint if the system is to be terminated. This status
represents the predefined point to which the system is recovered;
system table, system data set, and user data set status are all
logically synchronized. If restart becomes necessary from this
point on, the new system log must be used for restart.
If the system was terminated upon completion of emergency
restart, without an intervening system failure, the system
restart data set contains the fully recovered CICS status in the
form of a warm keypoint. A CItS warm start may be performed using
this data to initiate CICS execution with the recovered system
status.
320
CICS/DOS/VS Installation and Operations Guide
Part 6. Migrating and Applying Service to the CICS System
Part 6.
Migrating and Applying Service to the CICS System
321
Chapter 6.1. Migrating to CICS 1.6
If you are an existing eICS 1.5 user, you will have your own
versions of CICS control tables and startup job streams. You may
also have generated your own versions of CICS management modules.
This chapter describes changes that you must be aware of before
you run your own CICS 1.6 system.
Your system must now include the Virtual Storage Access Method
(VSAM) program product.
When installing a new release you should remember to perform the
following checks.
1.
Check your existing system initialization table (SIT) entries
and overrides. They will need to be modified to reflect the
CICS 1.6 options.
You should adopt START=AUTO.
2.
Check the pregenerated modules and ensure that you have
specified the appropriate suffixes in the SIT, as detailed in
Appendix D.
3.
Check the resource definition tables for new keywords and
group entries. Reassemble all your tables.
4.
Check the CICS data sets. In particular, note that the
restart data set ;s a VSAM data set. Hote also that the trace
entries are now longer; you may need to increase AUXTRACE disk
space.
5.
Check your job streams. They will need to be modified to
reflect different data set characteristics and COBOL and Pl/I
changes.
6.
Reassemble the user-modified CICS programs, for example, the
PEP, HEP, and TEP.
7.
Check your user exits and system initialization overlays.
8.
Check the exceptions and restrictions mentioned later in this
chapter, to ensure that your application programs are
8
compatible with the new release.
111111
CHANGES TO SYSTEM GENERATION
Under this release of CICS, system generation has been almost
eliminated, with most modules being supplied ready-generated.
"Chapter 2.5. CICS System Generation" lists the CICS modules that
can still be generated.
The CICS pregenerated system provides at least one version of
every CICS module. Check the list of pregenerated versions given
in Appendix C to see if you can select one of those rather than
generate your own version.
•
System generation stage 2 jobs run under the Maintain System
History Program of VSE/Advanced Functions.
•
Now only three options can be coded on the PROGRAM=FCP operand
of the DFHSG macro instruction. The new options are DAM,
ISAM, and VSAM.
o
BMS system generation has been eliminated for CICS 1.6. You
can not-J select one of three versi ons of the BMS programs
during system initialization. The versions are known as the
Chapter 6.1.
Migrating to eICS 1.6
323
mlnlmum, standard, and full versions, identified to DFHSIT by
the suffixes E$, A$, and S$ respectively.
•
You can no longer code the RECOVER operand on the DFHSG
PROGRAM=SCP macro instruction. Instead, you must code the
SVD operand of the DFHSIT macro instruction.
CHANGES TO CICS TABLES
These are changes that might affect your existing CICS tables. See
the CICS/VS Resource Definition Guide for more information.
Note, in particular, that the formats of fields within the
processing program table and program control table have changed.
•
Resource Definition Online
"Chapter 2.9. Migrating Resource Definitions" describes
how to install and initialize the resource definition
online transaction (CEDA) and the CICS system definition
(CSD) fi Ie.
•
Program Control Table
The default for the DTB operand of the DFHPCT
TYPE=INITIAL macro is changed from DTB=NO to DTB=YES.
The space required for the TCA has changed.
The INDEX operand is ignored for this release. A result
of the new search mechanism is that you no longer improve
performance by placing entries for the most frequently
used programs first in the table.
DFHPCT TYPE=GROUP,FN=ISC now generates the transaction
identifiers CSM1, CSM2, CSM3, and CSMS, as well as the
existing CSMI~ for function request shipping.
o
Processing Program Table
The INDEX operand is ignored for this release. A result
of the new search mechanism is that you no longer improve
performance by placing entries for the most frequently
used programs first in the table.
•
Destination Control Table
The INDEX operand is ignored for this release.
•
Terminal Control Table
CICS 1.6 does not support ISC links to CICS systems
earlier than 1.5. Consequently, it no longer supports
the TRMIDNT and SESTYPE operands of DFHTCT TYPE=SYSTEM.
The default value of the TRMSTAT operand of DFHTCT
TYPE=SYSTEM is TRANSCEIVE, instead of TRANSACTION, for
existing LU6 sessions.
•
File Control Table
If your fi Ie control table names a fi Ie to be opened
during CICS initialization, but VSAM indicates that the
file was "not properly closed by last user", CICS
di sables the fi Ie. It also sends a message to the
console, recommendi ng a "VERIFY". Previ ous releases of
CICS left such a file enabled.
324
CICS/DOS/VS Installation and Operations Guide
RUNNING eICS 1.S AND CICS 1.6 TOGETHER
If you wish to run CICS 1.6 and CICS 1.5 together, you should
remember the following:
•
An application program link-edited to run under CICS 1.6 will
not necessarily run under CICS 1.5. However, an application
program link-edited under CICS 1.5 will run under CICS 1.6.
•
If you need to run CICS 1.5 and CICS 1.6 systems concurrently,
only one release can use CICS modules from the SVA.
Note: For multi region operation (MRO), modules DFHIRP and
DFHSCTE must be placed in the SVA. For an MRO session between
different releases of CICS, the modules in the SVA must be
those supplied with the later release.
CHANGES TO SYSTEM INITIALIZATION
•
Under CICS 1.6, you can specify a suffix for SCP in either
DFHSIT, or a system initialization override. The suffix will
not apply to DFHSCR, which is now unsuffixable. DFHSCP is
suffixable in case you require a static user exit.
•
The meaning and use of the SVD operand on the system
initialization table (SIT) has changed slightly to
incorporate storage recovery.
•
You can no longer code the BUFPl operand of the DFHSIT macro
instruction.
o
You can no longer code the ABKPOPT operand on the DFHSIT macro
instruction.
•
You now code the BMS option of MAPAlGH on DFHSIT instead of on
DFHSG.
•
The WARM option on both the PPT operand and the PCT oper~nd of
the DFHSIT macro is ignored for this release of CICS.
o
The HOT option of the PPT operand of the DFHSIT macro is no
longer supported.
•
The BMS option now has a different meaning. Specifying
BMS=xx, will select BMS modules with the suffix xx.
•
The options TAPE and DISK are no longer required on the JCT
operand of DFHSIT.
•
The transaction backout program is now suffixable. You
specify the version of the program to be included during
initialization by coding either the TBP option of DFHSIT or
the TBP initialization override.
•
The function group DFHRCVRY in the supplied CICS system
definition file contains entries for programs DFHTBP1$ and
DFHTBP2$. DFHTBPl$ is the version that does not support Dl/I.
DFHTBP2$ supports Dl/I. Pregenerated versions are supplied.
If you have not converted to using CEDA, you should code
FH=RECOVERY on the DFHPPT macro to use the programs.
You no longer need to rename the version of the program that
you want. Under earlier releases of CICS, you had to create a
version with the unsuffixed name.
•
In releases prior to CICS 1.6, CICS had different rules for
searching program libraries during the initialization and
execution phases. During execution, the system core image
library was always searched before the concatenated
libraries. In CICS 1.6, CICS always searches the library in
this concatenated order.
Chapter 6.1.
Migrating to CICS 1.6
325
CHANGES TO THE CICS TRANSLATORS
•
The PL/I command language translator has been improved for
this release of CICS~ Where generated arguments are dummies,
the CICS translator generates STATIC dummy arguments instead
of literals. Programs translated by the new translator will
be more efficient than before.
REMOVAL OF THE ENTRY LEVEL SYSTEM
The reduction in the need for system generation has led to the
withdrawal of· the Entry Level System.
REMOVAL OF OBSOLETE FUNCTION
The following compatibility support has been removed from this
release of CICS/DOS/VS:
•
Compatibility support for maps assembled under pre-VS
versions of CICS.
•
The 2260 compatibility mode of operation of 3270 devices, and
support for the FASTER language facility.
PRE-VS BMS MAPS
If you are using BMS maps that were assembled under a pre-VS
version of CICS, it will be necessary, because of changes in the
map definition macro instructions (CICS/DOS did not use map
sets), to modify or rewrite the map definitions and to reassemble
them.
Alternatively, you can redefine the maps with the licensed
program product Screen Definition Facility/CICS (SDF/CICS).
more information, see the Screen Definition Facility/CICS
(SDF/CICS) Program Reference Manual, SH19-6077.
For
Because of changes in the map field naming conventions, it will
also be necessary to modify transactions that refer to the
converted maps.
326
CICS/DOS/VS Installation and Operations Guide
Chapter 6.2. Applying Service to CICS
Read this chapter if you want to apply service to CICS.
This chapter describes what is meant by "service" and the job
streams required to apply its different forms. It also explains
what actions have to be taken before and after service is applied.
This chapter does not address determining the cause of a problem.
This is dealt with in CICS/VS Problem Determination Guide. It is
intended that this chapter should be read-after problem
determination ls complete and the symptoms of the problem have
been reported to the IBM Support Center as appropriate. You may
or may not be asked to subrni t an Authori zed Program Analysi s
Report (APAR). For details of documentation required when
submitting an APAR, see the CICS/VS Problem Determination Guide.
When a problem with CICS is experienced and the cause is found to
be an error in CICS, an APAR describing the problem in detail is
submitted to IBM by the customer via the IBM Support Center. IBM
analyzes the problem and, if it is valid, provides a solution that
is tested by the customer who first reported the problem. A
record of a problem and its solution is kept by the IBM Support
Center in case the same problem occurs at other customers'
installations. Periodically, CICS is upgraded with batches of
tested solutions before the product is supplied to the customer,
in order to minimize the need for preventive service (see later).
Job streams supplied by IBM for service utilize the VSE MSHP
service program. This service program enables a record of service
to CICS using PTFs and APAR solutions (see later) to be kept in a
history file. For introductory information on MSHP, read the
VSE/Advanced Functions System Management Guide, and for details
of how to use it, read the VSE/Advanced Functions Installation
manual, and VSE/Advanced Functions Maintain System History
Program Reference.
SIPO/E users should read the VSE System IPQ/Extended: Planning
Guide, GC20-1875, and the Interactive Productivity Facility VSE
Feature: User's Guide, SH20-5526, for details of additional
procedures to apply service.
TYPES OF SERVICE
Service referred to in this chapter can be corrective or
preventive. The term "corrective service" is used to mean
applying a solution to a problem you have experienced at your
installation. "Preventive service" is used to mean applying a
solution to a problem that is known to exist, the intention being
to prevent you from experiencing the same problem.
When you experience a problem and corrective service has to be
applied, the job stream supplied by IBM to provide a solution can
be one of the followi ng.
The first possibility is a job stream that, when executed,
replaces the library members affected by the problem. This kind
of job stream is a Program Temporary Fix (PTF). It should be
noted that library members supplied in a PTF will only be
replacements for those supplied on the distribution tape.
Additional CICS library members that have been generated at your
own installation and that are affected by the problem have to be
regenerated. See later for an example PTF.
The other possibility is a job stream that, when executed,
performs source modifications (also supplied by IBM within the
job). This kind of job stream to apply a fix is an APAR solution
or an APAR fix. CICS library members affected by the problem have
Chapter 6.2.
Applying Service to CICS
327
to be regenerated. APAR fixes should only be applied to a
particular system if the problem exists, or if it reasonably
certain that the problem will occur.
Preventive service can be performed using PTFs. IBM can also
supply Program Update Tapes (PUT) for preventive service.
PROGRAM UPDATE TAPE (PUT)
The Program Update Tape (PUT) di stri buted to customers on a
regular basis, contains maintenance fixes for all programs for
which the customer holds a license, and will include CICS service.
These fixes are tested and should be installed as soon as
possible. The contents of the PUT should be examined to ensure
that all APAR fixes that were previously applied are included.
Any APAR fixes not included should be reapplied after the PUT has
been installed. If changes to data base structure are
anticipated, new applications are to be coded, or new functions
are likely to be incorporated in the system, it is advisable to
apply the current PUT.
PUTs are installed using VSE MSHP. For information on using MSHP,
read the VSE/Advanced Function Maintain System History Program
User's Guide.
A record of APAR fixes and PTFs contained in PUTs will be
automatically generated in the MSHP history file. Users of the
System IPO/E should use the Service Dialogs to apply APAR fixes
and PUTs to thei r system.
USE OF MSHP
PTF job streams use the MSHP statement APPLY PTF which, when
executed, can replace source books, relocatable modules, and
phases. Phases can be replaced using the linkbook facility of
MSHP. The use of link books enables phases whose names are
specified in the PTF to be re-link-edited according to linkage
editor control statements in specified source books. The
specified source books are CICS library members. Several
link-edits can be performed in a PTF according to the number of
phases affected by a problem.
APAR solution job streams are supplied to provide solutions by way
of a source modification to CICS for corrective service. These job
streams use the MSHP statement CORRECT.
MSHP is not only used for member replacement and source
modification, but also records the serial numbers of PTFs and APAR
fixes in a history file. The history file contains a record of
all service applied to the release of CICS at your installation,
including service that is preapplied by IBM.
MSHP is also used to record the names of CICS library members
generated at your installation. The job stream produced by the
CICS system generat i on macro DFHSG uses the MSHP statements
TAl LOR and EXECUTE wi th the operand XREF.
The result of this job stream is that the appropriate phases are
generated and the names of library members included in the phases
are recorded in the history file. Included library member names
are recorded because some future service may affect the included
members and this allows a method of cross-checking.
Service job streams may be supplied which contain the MSHP
statement INFLUENCES. This statement (primarily for IBM internal
use) provides an additional means of indicating CICS library
members that have to be regenerated because they are affected by
the original problem.
328
CICS/DOS/VS Installati on and Operati ons Gui de
SERVICE MATERIALS SUPPLIED
PTFs and APAR solutions are generally supplied in the form of a
document together with one or more job streams. The job streams
are generally on machine-readable media that will normally be
magnet i c tape.
PTFs are supplied with a cover letter document that gives details
of the number of files on the tape and the contents of each file.
The cover letter itself can also be on the tape in
machine-readable form.
APAR solutions are supplied with brief instructions for running a
job stream and any other required actions. The job stream itself,
if not on magnetic tape, may be on punched cards or in the form of
a document giving typing instructions.
SERVICE APPLICATION CHECKLIST
The preparation and checking needed to apply service successfully
to CICS can vary according to the complexity of the modifications
involved. For example, the application of a PTF can, in some
cases, require little effort. However, the mass application of
service such as using a PUT, can require more preparation and
checking to ensure it is correctly applied.
Use the following checklist for any kind of service you apply to
CIeS, but evaluate each step to determine its relevance to your
servicing task.
In the case of PUT tapes, use this checklist to be sure you have
followed the installation instructions in the PUT documentation.
SIPO/E users need to take account of the additional SIPO/E service
procedures when using this checklist.
1.
As far as is reasonably possible, check that the service
materials are correct and complete.
2.
Read and be sure to understand the instructions supplied in
the service material.
3.
Consider making a plan of the steps in your own servicing task
according to how your installation is organized.
4.
Consider obtaining backup copies of the history file and
libraries to be modified. If the application of service were ~
to be unsuccessful, these backups would ensure that there
~@
would be no inadvertent 1055 of program code. To perform such .. :".',.,;,·
backups, SIPO/E users should read the Interactive
Productivity Facili~SE Feature: User's Guide, and
non-SIPO/E users should read the VSE/Advanced Functions
System Utilities manual.
5.
Ensure that any prerequisites are satisfied and any actions
required before service is applied, are carried out according
to instructions supplied in the service materials. Note that
MSHP can perform some prerequisite checking. MSHP helps by
checking for prerequisite PTFs, for example. If necessary,
read the VSE/Advanced Functions Maintain System History File
User's Guide for more details.
6.
Ensure that all of the CICS product necessary to apply the
service exists in libraries that can be accessed by the
service job stream.
7.
Prepare the job stream to apply service according to how your
installation is organized.
8.
Execute the job stream.
Chapter 6.2.
Applying Service to CICS
329
9.
Examine the console log (SYSLOG) and the job listing (SYSLST)
for messages from the job stream, and ensure all jobs in the
job streams have not ended abnormally. Be sure to understand
messages written by MSHP. See VSE/Advanced Functions
Messages if necessary.
10. Determine from the MSHP messages whether any further actions
are necessary to complete the application of service
successfully.
11. Check the listings for any link-edits with unresolved
external references and satisfy yourself that there are no
errors. The documentation with the service materials may
indicate unresolved external references that are, in fact,
acceptable and not an error.
12. If an APAR solution affects a macro, determine whether you
need to edit the macro after execution of the APAR job stream,
or whether it is performed for you by the APAR itself. If
necessary, read the VSE/Advanced Functions Maintain System
History File User's Guide for details of the MSHP statement
TAILOR. For an explanation of edited macros, read the
VSE/Advanced Functions System Management Guide.
13. Determine whether the application of service affects a CICS
management module other than those pregenerated and supplied
with the CICS product (those you have generated yourself).
When the service job is executed, MSHP can write a message to
inform you of phases affected other than those pregenerated.
In the case of an APAR fix, it may be necessary to regenerate
a CICS-provided version of a module. To regenerate a CICS
management module, see "Chapter 2.5. CICS System Generation"
for details of PROGRAM=PREGEH and of the MOD operand of DFHSG
TYPE=IHITIAL.
14. If instructed by the documentation supplied with the service
material, prepare the necessary job stream and execute the
CSD file utility DFHCSDUP using the SERVICE operand. See
"Chapter 4.10. CICS System Definition File" See the
instructions in the service material and perform any actions
required after job stream execution.
15. In the case of corrective service, after service has been
correctly applied, consider reproducing the original problem
to satisfy yourself that it is solved.
16. After you have completed the application of service, consider
whether you should obtain backup copies of the newly-modified
history file and libraries.
17. For future reference, consider keeping a record of the
actions you took to apply the service.
330
CICS/DOS/VS Installation and Operations Guide
SAMPLE PTF
//
JOB UP25999
COPYRIGHT: 5746-XX3 COPYRIGHT IBM CORPORATION 1974, 1983
*
LICENSED MATERIAL - PROGRAM PROPERTY OF IBM
*
REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
*
ACTION; AFTER APPLYING THIS PTF, YOU SHOULD RE-ASSEMBLE YOUR
*
OWN VERSIONS OF THE FOLLOWING:
*// PAUSE DFHDBP.
CANCEL IF NOT APPLICABLE.
// EXEC MSHP
APPLY 5746-XX-300(N36):UP25999 RELEASE=01.55.00i
RESOLVES APARS=(PP00637,
PP95530,
PP00996);
AFFECTS MACROS=(DFHDBP) SUBLIB=A;
OCCUPIES SLIB=361;
DATAi
CATALS A.DFHDBP,15.0
BKEND A.DFHDBP
DBP
TITLE 'CICS/VS DYNAMIC TRANSACTION BACKOUT PROGRAM'
*
*************************************************************************
*
**
MODULE NAME = DFHDBP
DESCRIPTIVE NAME = DYNAMIC TRANSACTION BACKOUT PROGRAM
*
*
*
*
. ETC
/$
DFHEND DFHDBPNA
BKEND
/*
/&
Chapter 6.2.
Applying Service to CICS
331
Appendixes
•.
'
,
Appendixes
333
...... .
Appendix A. Contents of the Distribution Libraries
The CICS/DOS/VS system, provided as machine-readable material on
the (basic) distribution tape, is contained in the following
Ii brari es:
•
•
•
A core image library
A relocatable library
A source statement library.
Note: Further source statement libraries are available on a
separate (optional) tape. This appendix does not describe the
contents of these optional libraries.
The contents of the CICS/DOS/VS libraries for Version 1 Release 6
correspond to VSE/Advanced Functions Version 1 Release 3.
CORE IMAGE LIBRARY
The core image library provided on the distribution tape contains
the following:
•
CICS programs (see Appendix C)
•
Sample tables (see Appendix D)
•
CICS aids (see Appendix E)
•
FllEA sample application programs and their BMS map sets (see
Appendix E).
RELOCATABLE LIBRARY
The relocatable library provided on the distribution tape
contains the following:
o
Items required to generate the contents of the core image
library (see earlier).
•
Modules required for link-editing with user-written programs,
in particular the command-level application link-edit stubs,
for example DFHECI.
•
VSE logic modules, the source code for which can be found in
A.DFHSTlM in the source statement library on the distribution
tape.
DFHKCQ and DFHPCQ
Object modules required to generate all versions of DFHKCP
and DFHPCP respectively in the core image library .
Link books and included object modules for eICS pro9rams
link books for all object-maintained core image library
phases composed of more than one module. A link book has the
same name as the generated phase, except in the few cases
where one of the included object modules has the same name as
the generated phase.
,---
Link book
Phase name
DFHAMPOO
DFHCSDUP
DFHDr1P
DFHEAPl$
DFHECID
DFHECIP
DFHAMP
DFHCSDUP
DFHDMP
DFHEAPl$
DFHECID
DFHECIP
Appendix A.
Contents of the Distribution libraries
335
•
Link book
Phase name
DFHECPl$
DFHECSP
DFHEDAD
DFHEDAP
DFHEDF
DFHEDFBl
DFHEIDlI
DFHEIGDX
DFHENTA
DFHEMTD
DFHEMTP
DFHEOTP
DFHEPPl$
DFHERPl$
DFHESTP
DFHECPl$
DFHECSP
DFHEDAD
DFHEDAP
DFHEDFD
DFHEDFBR
DFHEIDlI
DFHEIGDX
DFHEMTA
DFHEMTD
DFHEMTP
DFHEOTP
DFHEPP1$
DFHERP1$
DFHESTP
DFHEAI and DFHEAIO
link-edit stubs for command-level assembler-language
applications.
DFHECI
link-edit stub for command-level COBOL applications.
DFHEPI
link-edit stub for command-level Pl/I applications.
DFHERI
link-edit stub for command-level RPG II applications.
DFHPHN
Phonetic encoding module (for use by offline programs). If
phonetic encoding (CALL DFHPHN) is used in offline programs
to construct the data base, the phonetic encoding module
must be assembled and cataloged in the relocatable library.
The source statements for assembly only are:
// JOB PHONCODE
// LIBDEF Sl,SEARCH=cics-slb-filename
// EXEC ASSEMBLY
COpy DFHPHN
END
/*
/&
IJDVZZIW and IJDVZZZW
Printer VSE logic modules.
IJHZLGZZ
Indexed sequential logic module.
BTMODH$
BTAM logic module for 2740/41.
BTML32T and BTMODLI
BTAM logic modules for local 3270.
BTMR32T and BTMODRI
BTAM logic modules for remote 3270.
BTMLR32T and BTMODM3
BTAM logic modules for local and remote 3270.
Note: BTMl32T, BTMR32T, and BTMlR32T were generated with RMSR=YES
and ERLOGIC=E. See A.DFHSTlM for full details. Switched line
support is not present in BTMR32T or BTMlR32T.
336
CICS/DOS/VS Installat i on and Operat ions Gu ide
DFHISMNC
ISAM logic module, no RPS, "prime data in main storage"
option.
DFHISMNN
ISAM logic module, no RPS, no "prime data in main storage"
option.
DFHISMRC
ISAM logic module, with RPS and "prime data in main storage"
option.
DFHISMRN
ISAM logic module, with RPS, no "prime data in main storage"
option.
Note:
To use RPS, the VSE supervisor must be generated to support
RPS, and RPS must be in the VSE shared virtual area (SVA).
SOURCE STATEHENT LIBRARY
The source statement library provided on the basic distribution
tape contains the following:
•
Macros and copy code used by the CICS system generation
process.
•
Source code, macros, and copy code required to generate all
user-customizable CICS modules in the core image library.
These modules are identified in the CICS/VS Customization
Guide.
o
Macros and copy code required by the system programmer for
CICS table generation.
•
Macros and copy code required for application programming.
•
Source code used to generate the VSE logi c modules
(A.DFHSTLM).
•
Source code for the sample tables - as A. books (see Appendi x
DL
•
Source code for the CICS aids - as A. books (see Appendix E).
•
Source code for
code for record
their language,
COBOL, P. books
Appendix E).
•
Copy code, where provided, for the BMS symbolic description
maps used by the CICS aids and sample application programs
(FILEA only) - as books appropriate to their language (see
Appendi x E).
•
Source code for all BMS map sets and partition sets used by
the CICS aids and sample application programs - as A. books
(see Appendix E).
•
Sample job streams - as Z. books (see Appendix F).
Appendix A.
the sample application programs, and copy
descriptions used - as books appropriate to
namely A. books for assembler, C. books for
for PL/I, and R. books for RPG II (see
Contents of the Distribution Libraries
337
•
Appendix B. CICS Modules Eligible for the SVA
The CICS modules listed below are eligible for residence in the
VSE shared virtual area (SVA).
Note: If multi region operation (MRO) is being used, modules
DFHIRP and DFHSCTE must be placed in the SVA.
Command-level interface modules are listed with the abbreviated
name of their associated management module, if any, in
parentheses after the module name. Not all of the latter are
SVA-eligible.
A module type of 'N' indicates a read-only nucleus module; a
module type of 'P' indicates a read-only PPT module.
Si zes are gi ven for the SVA-el i gi ble CICS modules as suppl i ed
pregenerated in the distribution core image library; a suffix,
where given, identifies the particular version of a module. (For
details of the suffixed pregenerated modules, see Appendix C).
All sizes shown are rounded up to the nearest 1K byte boundary,
and should be treated as approximate only. For more accurate space
estimates, you are advised to consult the library listings at the
time of installation, and to allow for the way in which VSE loads
the SVA.
See Chapter 2.6 for information on installing and using CICS
modules in the SVA.
Type
Module
DFHAlP
DFHAMP
DFHCCMF
DFHCMOH
DFHCMP
N
P
P
P
H
DFHCRNP
DFHCRP
DFHCRQ
DFHCRR
DFHCRS
DFHCRSP
DFHDCP
P
P
P
P
P
P
N
DFHDIP
N
DFHDMP
DFHDSB
N
P
DFHEBF (BFP)
DFHEBU
DFHECID
DFHECIP
DFHECSP
DFHEDAD
DFHEDAP
DFHEDC (DCP)
DFHEDFBR
DFHEDFD
DFHEDFP
DFHEDFR
DFHEDFX
DFHEDI (DIP)
DFHEEI (EIP)
DFHEEX
N
N
P
P
P
P
P
H
P
P
P
P
P
N
N
N
S;ze
6K
SOK
3K
6K
8K
1K
3K
1K
1K
1K
2K
1K
SK
1K
6K
1K
4K
37K
2K
2K
lK
lK
64K
3K
3K
S7K
3K
lK
10K
49K
4K
1K
2K
lK
3K
lK
Suffix
DY
D$
DY
4$
DY
1$
A$
•
5$
"--.
Appendix B.
CICS Modules Eligible for the SVA
339
Module
DFHEFC (FCP)
DFHEGl (ZCC)
DFHEIC (ICP)
DFHEIP
DFHEITSP
DFHEJC (JCP)
DFHEKC (KCP)
DFHElR
DFHEMA
DFHEMB
DFHEMC
DFHEMD
DFHEME
DFHEMF
DFHEMG
DFHE~lH
DFHHlI
DFH EMS (MCP)
DFHEMTA
DFHEMTD
DFHEMTP
DFHEOTP
DFHEPC (PCP)
DFHERM
DFHESC (SCP)
DFHESP (SPP)
DFHESTP
DFHETC (ZCP)
DFHETD (TDP)
DFHETl
DFHETR (TRP)
DFHETS (TSP)
DFHFCP
340
Type
N
N
N
N
P
N
N
N
P
P
P
P
P
P
P
P
P
N
P
P
P
P
N
N
N
N
P
N
N
N
N
N
N
DFHFDP
DFHGMM
DFHICP
DFHIIP
N
DFHIRP
DFHISP
DFHJCBSP
DFHJCC
DFHJCEOV
DFHJCSDJ
DFHKCP
DFHKPP
N
N
DFHlFO
DFHt'1CP
N
N
DFHMCX
DFHMGP
DFHMGT
DFHMIR
DFHMll
N
N
P
N
N
P
P
P
P
N
N
N
P
N
S;ze
3K
2K
1K
7K
4K
1K
1K
2K
3K
3K
4K
4K
3K
4K
3K
1K
2K
3K
4K
53K
4K
4K
2K
2K
1K
lK
4K
5K
lK
5K
lK
lK
10K
9K
12K
13K
1K
14K
6K
7K
8K
8K
11K
11K
12K
7K
8K
17K
2K
4K
2K
2K
8K
2K
1K
1K
1K
1K
13K
9K
1K
2K
6K
1K
5K
10K
5K
8K
31K
lK
4K
Suff;x
A$
B$
C$
D$
DY
S$
1$
2$
3$
4~
5$
6$
7$
8$
9$
A$
S$
D$
DY
A$
DY
E$
S$
CICS/DOS/VS Installation and Operations Guide
Module
Type
Size
DFHMSP
DFH~'XP
DFHM32
P
P
N
DFHPBP
N
DFHPCP
N
DFHPHP
DFHPUP
DFHRLR
N
P
N
DFHRTE
DFHSCP
DFHSCR
DFHSCTE
DFHSFP
DFHSNP
DFHSPP
DFHSRP
P
N
N
DFHTDP
N
DFHTMP
DFHTPP
N
N
DFHTPQ
DFHTPR
DFHTPS
DFHTSP
P
P
P
N
DFHUEH
DFHUEM
DFHVCP
N
N
N
DFHXFP
DFHXSP
N
N
DFHXTP
DFHZCA
DFHZCB
N
N
DFBZCC
DFHZCP
N
N
DFHZCW
DFHZCX
N
N
DFHZCY
DFHZCZ
N
N
DFHZNAC
DFHZRLG
DFHZRSP
P
P
P
11K
lK
5K
5K
7K
8K
8K
9K
10K
2K
9K
2K
{tK
2K
7K
4K
lK
lK
5K
11K
3K
4K
1K
lK
4K
6K
4K
7K
9K
2K
3K
3K
15K
4K
lK
4K
8K
10K
lK
3K
9K
1K
17K
1K
1K
4K
4K
20K
22K
22K
14K
17K
9K
9K
9K
9K
9K
8K
15K
15K
15K
15K
15K
15K
15K
19K
9K
9K
15K
lK
1K
P
P
N
N
tl
Appendix B.
suffix
A$
S$
A$
S$
1$
2$
3$
A$
S$
DY
1$
DY
1$
2$
4$
6$
7$
A$
S$
DY
1$
2$
3$
DY
DY
E$
S$
E$
S$
1$
2$
3$
4$
5$
E$
S$
1$
2$
3$
4$
5$
E$
S$
CICS Modules Eligible for the SVA
341
Appendix C. Pregenerated Modules
The suffixed pregenerated modules provided in the core image
library are summarized below under the following two headings:
•
•
Modules with a dummy pregenerated version
Modules with one or more nondummy suffixed pregenerated
versions.
These summaries are followed by a listing of the DFHSG macro
instructions used to generate the CICS/DOS/VS system supplied on
the distribution tape.
MODULES WITH A DUMMY PREGENERATED VERSION
The following modules have a dummy pregenerated version, with
suffix DY, provided in the distribution core image library:
DFHBFP
DFHCMP
DFHDCP
DFHDIP
DFHFCP
DFHJCP
DFHKPP
DFHMCP
DFHSRP
DFHTDP
DFHTRP
DFHTSP
DFHVCP
DFHXSP
Built-in functions program
CICS monitoring program
Dump control program
Batch data interchange program
File control program
Journal control program
Keypoint program
Mapping control program
System recovery program
Transient data control program
Trace control program
Temporary storage control program
Volume control manager program
External security interface program
MODULES WITH NONDUMMY SUFFIXED pnEGENERATED VERSIONS
The modules listed below have nondummy suffixed pregenerated
versions, with suffixes and functions as indicated, provided in
the distribution core image library. All other modules are
provided unsuffixed even though some of these modules are also
suffixable.
You should find sufficient information here to allow you to select
the appropriate suffixed version of a particular CICS module, or
group of modules, in order to satisfy the requirements of your
installation. (For further information on the parameters that
have been selected for the pregenerated CICS system, see the
system generation job stream listed at the end of this appendix.)
The suffixed modules are listed under the names of their
respective CICS system generation program groups, which are
described in the CICS/VS Customization Guide.
Built-in Functions Program (BFP)
DFHBFP
Suffix 1$
2$
3$
All built-in functions
Basic functions only
Weighted retrieval function only
Appendix C.
Pregenerated Modules
343
Basic Mapping support Program (BMS)
DFHDSB
DFHIIP
DFHMCP
DFHM32
DFHPBP
DFHRLR
DFHTPP
Suffix E$
A$
S$
Data stream builder
Non-3270 input mapping
Mapping control program
3270 mapping
Page build program
Route list resolution
Terminal page program
Minimum function
Standard function
Full function
(DFHMCP only)
(All modules listed above)
(All modules listed above)
Note: Details of the devices supported and the function provided
by each version of BMS (minimum, standard, and full) are given
in the CICS/VS Customization Guide.
Dynamic Transaction Backout Program (DBP)
DFHDBP
Suffix 1$
2$
Without Dl/I support
With Dl/I support
Dump Control Program (DCP)
DFHDCP
Suffix 4$
D$
For tape output device
For disk output device
Batch Data Interchange Program (DIP)
DFHDIP
Suffix 1$
Command (EXEC) Language Translator Program (EXP)
DFHEAP
DFHECP
DFHEPP'
DFHERP
Suffix 1$
Assembler command-level translator
COBOL command-level translator
Pl/I command-level translator
RPG II command-level translator
(All modules listed above)
File Control program (FCP)
DFHFCP
Suffix 1$
2$
3$
4$
5$
6$
7$
8$
9$
A$
B$
C$
D$
S$
344
ISAM
DAM
VSAM
ISAM + DAM
ISAM + VSAM
DAM + VSAM
ISAM + DAM + VSAM
ISAM
DAM
VSAM
ISAM + DAM
ISAM + VSAM
DAM + VSAM
ISAM + DAM + VSAM
(full function)
CICS/DOS/VS Installation and Operations Guide
with automatic journaling
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
Journal Control Program (JCP)
DFHJCP
Suffix 1$
2$
With automatic journaling, dynamic logging using main
temporary storage, and support for "Hote" requests
With automatic journaling, dynamic logging using
auxiliary temporary storage, and support for "Note"
requests
Kevpoint Program (KPP)
DFHKPP
Suffix D$
With activity keypointing
program Control Program (PCP)
DFHPCP
Suffix 1$
2$
3$
Pl/I + Assembler + RPG II
with HlL trace
COBOL + Assembler + RPG II
" "
"
COBOL + Pl/I + Assembler + RPG II
"
"
"
System Recovery Program (SRP)
DFHSRP
Suffix 1$
The sample system recovery table (SRT) with a suffix of 1$ can be
used on your production system together with the pregenerated
version of DFHSRP.
Transaction Backout Program (TBP)
DFHTBP
Suffix 1$
2$
Without Dl/I support
With Dl/I support
Terminal Control Program (TCP)
DFHTCP
DFHZCB
DFHZCP
DFHZCX
DFHZCZ
Hon-VTAM terminals only
VTAM terminals only
VTAM and non-VTAM terminals
VTAM and non-VTAM terminals
VTAM terminals only
The following suffixed pregenerated versions of DFHTCP, DFHZCP,
and DFHZCX provide support for the devices shown, using SAM or
BTAM as applicable:
Suffix 1$
2$
3$
4$
5$
Console
Console
Console
Console
Console
+ local 3270 (displays and printers)
+ remote 3270 + 3275 dial-up
+ local 3270 + remote 3270 + 3275 dial-up
+ CRlP (card reader, line printer) + DASD
+ 2740
The following suffixed pregenerated versions of DFHTCP, DFHZCB,
DFHZCP, DFHZCX, and DFHZCZ provide support for the devices
shown, using SAM, BTAM, or VTAM as applicable:
Suffix E$
S$
Console + VTAM 3270, 3600, and 3790
Console + all SAM devices + all BTAM devices
+ all VTAM devices (full function)
Appendix C.
Pregenerated Modules
345
Transient Data Control program (TDP)
DFHTDP
Suffix 1$
2$
4$
6$
7$
Extrapartition only
Extrapartition + DAM intrapartition with ATI,
but LoJi thout recovery
Extrapartition + DAM intrapartition with ATI
and recovery
Extrapartition + VSAM intrapartition with ATI,
but without recovery
Extrapartition + VSAM intrapartition wi th ATI
and recovery
Trace Control Program (TRP)
DFHTRP
Suffix 4$
5$
D$
Main storage + auxiliary on tape device
Main storage only
Main storage + auxiliary on disk device
Temporary storage Control program (TSP)
DFHTSP
Suffix 1$
2$
3$
Main storage
Main storage
Main storage
(requires a
only
+ auxiliary (VSAM) without recovery
+ auxiliary (VSAM) with recovery
temporary storage table)
DFHSG MACRO INSTRUCTIONS FOR THE PREGENERATED SYSTEM
The DFHSG TYPE=INITIAl macro instruction used to provide the
pregenerated CICS system had the following options specified or
defaulted:
DlI=YES
VTAM=YES
Dl/I support
VTAM support
(specified)
(defaulted)
These specifications ensure that the CICS system supports the
associated functions, and that no regeneration should be
necessary if, for instance, VTAM is subsequently added to the
system. Note that the specification of these options adds a very
small amount of code to a few high-use CICS programs. The effect
on total CICS nucleus size and performance is negligible. The
CICS programs affected by the specification of these operands
will work whether or not the installation uses the associated
functions.
The following listing shows the DFHSG macro instructions used to
generate the pregenerated system. You should check the listing to
ensure that the support you require is provided by the
pregenera ted programs. (For a list of the programs generated by
each of the DFHSG macros, see the CICS/VS Customization Guide).
These DFHSG macro instructions are contained in A.DFHSG04 in the
source statement library on the basic distribution tape.
346
CICS/DOS/VS Installation and Operations Guide
ATP
BFPI$
BFP2$
BFP3$
BMSE$
BMSA$
BMSS$
CSA
*CSOCSD
CSS
CSU
DBPI$
DBP2$
DCP4$
DCPD$
DIPI$
EIP
EXPI$
FCPI$
FCP2$
FCP3$
FCP4$
FCPS$
FCP6$
FCP7$
FCP8$
FCP9$
FCPA$
FCPB$
FCPC$
FCPD$
FCPS$
DFHSG PROGRAM=ATP
DFHSG PROGRAM=BFP,SUFFIX=I$,
BUILT IN FUNCTION PROGRAM
BUILTIN=(BASIC,WTRET)
-ALL FUNCTIONS
DFHSG PROGRAM=BFP,SUFFIX=2$,
BUILTIN=BASIC
-BASIC FUNCTIONS
DFHSG PROGRAM=BFP,SUFFIX=3$,
BUILTIN=WTRET
-WEIGHTED RETRIEVAL
DFHSG PROGRAM=BMS,SUFFIX=E$,
3270 MINIMUM FUNCTION
B~1S FUNC=MI NIMUM
DFHSG PROGRAM=BMS,SUFFIX=A$,
STANDARD FUNCTION BMS
BMSFUNC=STANDARD
DFHSG PROGRAM=BMS,
SUFFIX=S$,
BMSFUNC=FULL
FULL FUNCTION BMS
DFHSG PROGRAM=CSA
DFHSG PROGRAM=CSD
DUMMIES GENERATED LATER
DFHSG PROGRAM=CSO
DFHSG PROGRAM=CSS
DFHSG PROGRAM=CSU
UTILITIES DUP, TUP & STUP
DFHSG PROGRAM=DBP,SUFFIX=I$,
DYNAMIC BACKOUT PROGRAM
DLI=NO
WITHOUT DL/I SUPPORT
DFHSG PROGRAM=DBP,SUFFIX=2$,
DBP WITH DL/I SUPPORT
DLI=YES
DFHSG PROGRAM=DCP,SUFFIX=4$,
DEVICE=TAPE
DFHSG PROGRAM=DCP,SUFFIX=D$,
DISK
DEVICE=DISK
DFHSG PROGRAM=DIP,SUFFIX=I$
DFHSG PROGRAM=EIP
DFHSG PROGRAM=EXP,SUFFIX=l$,
COMMAND LEVEL TRANSLATORS
LANG=(COBOL,PL/I,ASM,RPG)
DFHSG PROGRAM=FCP,SUFFIX=l$,
ISAM
FILSERV=(ISAM),
AUTOJRN=NO
DFHSG PROGRAM=FCP,SUFFIX=2$,
DAM
FILSERV=(DAM),
AUTOJRN=NO
DFHSG PROGRAM=FCP,SUFFIX=3$,
VSAM
FILSERV=(VSAM),
AUTOJRN=NO
DFHSG PROGRAM=FCP,SUFFIX=4$,
ISAM + DAM
FIlSERV=(ISAM,DAM),
AUTOJRN=NO
DFHSG PROGRAM=FCP,SUFFIX=S$,
ISAM + VS~M
FILSERV=(ISAM,VSAM),
AUTOJRN=NO
DFHSG PROGRAM=FCP,SUFFIX=6$,
DAM + VSAM
FIlSERV=(DAM,VSAM),
AUTOJRN=NO
DFhSG PROGRAM=FCP,SUFFIX=7$,
ISAM + DAM + VSAM
FIlSERV=(ISAM,DAM,VSAM),
AUTOJRN=NO
DFHSG PROGRAM=FCP,SUFFIX=8$,
ISAM WITH AUTOJRN
FILSERV=(ISAt'D,
AUTOJRN=YES
DFHSG PROGRAM=FCP,SUFFIX=9$,
DAM WITH AUTOJRN
FILSERV=(DAM),
AUTOJRN=YES
DFHSG PROGRAM=FCP,SUFFIX=A$,
VSAM WITH AUTOJRN
FIlSERV=(VSAM),
AUTOJRN=YES
DFHSG PROGRAM=FCP,SUFFIX=B$,
ISAM + DAM WITH AUTOJRN
FILSERV=(ISAM,DAM),
AUTOJRN=YES
DFHSG PROGRAM=FCP,SUFFIX=C$,
ISAM + VSAM WITH AUTOJRN
FILSERV=(ISAM,VSAM),
AUTOJRN=YES
DFHSG PROGRAM=FCP,SUFFIX=D$,
DAM + VSAM WITH AUTOJRN
FILSERV=(DAM,VSAM),
AUTOJRN=YES
DFHSG PROGRAM=FCP,SUFFIX=S$,
SUPPORTS ALL FILE SERVICES
FILSERV=(ISAM,DAM,VSAM),
AUTOJRN=YES
Appendix C.
x
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Pregenerated Modules
347
Hll
ICP
ISC
JCPI$
JCP2$
KCP
KPPD$
MTP
OCP
PCPI$
PCP2$
PCP3$
SCP
SRPl$
TBPI$
TBP2$
TCPl$
TCP2$
TCP3$
TCP4$
TCP5$
348
HIGH LEVEL lANGUAGE SUPPORT
DFHSG PROGRAM=Hll,
lANG=(COBOL,PL/I)
FOR MACRO INTERFACE
DFHSG PROGRAM=ICP
INTER SYSTEMS COUPLING
DFHSG PROGRAt'l=ISC
JOURNAL CONTROL PROGRAMS
DFHSG PROGRAM=JCP,SUFFIX=l$,
DTB=MAIN,
WITH DTB
AUTOJRN=YES,
NOTE=YES
DFHSG PROGRAM=JCP,SUFFIX=2$,
DTB=AUX,
AUX TEMP STORAGE
AUTOJRN=YES,
NOTE=YES
NOTE SUPPORT
DFHSG PROGRAM=KCP
DFHSG PROGRAM=KPP,SUFFIX=D$,
AKP=YES
DFHSG PROGRAM=MTP
MASTER TERMINAL PROGRAMS
OPEN CLOSE PROGRAM
DFHSG PROGRAM=OCP
DFHSG PROGRAM=PCP,SUFFIX=I$,
Pl/I + ASSEMBLER + RPG
lANG=(Pl/I),
HLlTR=YES
TO WRITE IN TRT
COBOL + ASSEMBLER + RPG
DFHSG PROGRAM=PCP,SUFFIX=2$,
lANG=(COBOl),COBOl=(V2,V3,SUBSET),
INCL VS
HllTR=YES
TO WRITE IN TRT
COBOL + PL/I + ASSEMBLER + RPG
DFHSG PROGRAM=PCP,SUFFIX=3$,
LANG=(COBOl,Pl/I),
COBOL=(V2,V3,SUBSET),
INCLUDES VS
HlLTR=YES
TO WRITE IN TRT
DFHSG PROGRAM=SCP
STORAGE CONTROL PROGRAM
DFHSG PROGRAM=SRP,
SYSTEM RECOVERY PROGRAM
SUFFIX=l$
DFHSG PROGRAM=TBP,SUFFIX=l$,
TRANSACTION BACKOUT PROGRAM
DLI=NO
WITHOUT Dl/I SUPPORT
DFHSG PROGRAM=TBP,SUFFIX=2$,
TBP WITH Dl/I SUPPORT
DLI=YES
DFHSG PROGRAM=TCP,SUFFIX=l$,
CONS + l3270 W/PRTR
ACCMETH=(SAM,BTAM),
DEVICE=(CONSOlE),
BTAMDEV=(L3277,l3284,l3286),
AUTOTRN=YES,
AUTO TRANS INIT
UCTRAN=(EBCDIC),
WRAPlST=NO,
PUNSOL=NO
VTAM ONLY
DFHSG PROGRAM=TCP,SUFFIX=2$,
CONS + REMOTE 3270
ACCMETH=(SAM,BTAM),
DEVICE=(CONSOlE),
BTAMDEV=(3275D,R3270),
FEATURE=(AUTOPOll,AUTOANSW),
ANSWRBK=(EXIDVER),
FOR 3275 DIAL
WRAPlST=YES,
WRAP LIST SUPPORT
BSCODE=(EBCDIC),
AUTOTRN=YES,
AUTO TRANS INIT
UCTRAN=(EBCDIC),
PUNSOl=NO
VTAM ONLY
CONS + lOC + REM 3270
DFHSG PROGRAM=TCP,SUFFIX=3$,
ACCMETH=(SAM,BTAM),
DEVICE=(CONSOlE),
BTAMDEV=(3275D,l3270,R3270),
FEATURE=(AUTOPOll,AUTOANSW),
ANSWRBK=(EXIDVER),
FOR 3275 DIAL
WRAPlST=YES,
WRAP LIST SUPPORT
BSCODE=(EBCDIC),
AUTOTRN=YES,
AUTO TRANS INIT
UCTRAN=(EBCDIC),
PUNSOL=NO
VTAM ONLY
DFHSG PROGRAM=TCP,SUFFIX=4$,
CONS + SIM TERM
ACCMETH=(SAM),
WRAPlST=NO,
DEVICE=(CONSOlE,CRlP,DASD),
EODI=EO,
DEFAULT 0-2-8 PUNCH
AUTOTRN=YES,
PUNSOL=NO
VTAM ONLY
DFHSG PROGRAM=TCP,SUFFIX=5$,
CONS + 2740
FEATURE=(RDATT),
2740 READ ATTENTION
CICS/DOS/VS Installat i on and Operat ions Gu ide
x
x
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
TCPE$
TCPS$
,
"-
TDPl$
AUTOTRN=YES,
ACCMETH=(SAM,BTAM),
DEVICE=(CONSOLE),
BTAMDEV=(2740),
NO WRAP LIST SUPPORT
WRAPLST=NO,
VTAM ONLY
PUNSOL=NO
CNSL + VTAM 3270/3600/3790
DFHSG PROGRAM=TCP,SUFFIX=E$,
ACCMETH=(VTAM,BSAM),
CPU CONSOLE SUPPORT
DEVICE=CONSOLE,
VTAMDEV=(3270,3600,3790),
NO BTAM WRAP LIST SUPPORT
WRAPLST=NO,
AUTO TRANSACTION INITIATION
AUTOTRN=YES,
UPPER CASE TRANSLATE
UCTRAN=EBCDIC,
CHAIN ASSEMBLY
CHNASSY=YES,
LOGICAL RECORD PRESENTATION
LOGREC=YES,
IGNORE UNSOLICITED INPUT
PUNSOL=YES,
REAO AHEAD QUEUING
RAQ=YES
DFHSG PROGRAM=TCP,SUFFIX=S$, SUPPORTS EVERYTHING
ACCMETH=(BSAM,BTAM,SAM,VTAM),
DEVICE=(CRLP,OASD,TAPE,CONSOLE), ALL SEQUENTIAL DEV.
END BSAM INPUT WITH 0-2-8 PUNCH
EODI=EO,
ALL BTAM DEVICES
BTAMDEV=(1050,1050D,
1053,
WILL SUPPORT 2265
2260,L2260,
2740,27400,
2740-2,
2741C,
2741E,
2741DC,
2741DE,
2770,2770D,
2780,27800,
2980/1,2980/2,2980/4,
3275D,L3270,R3270,
3600,3660,
3735D,
3740,3740D,
3780,37800,
7770,
SYS/3,SYS/3D,
WILL SUPPORT S/370,BISYNC,
S/7BSCA,S/3700,S/7BSCAO
SYS/7,SYS/7D,
TWX,
TLX) ,
ALL VTAM DEVICES
VTAMOEV=(3600,
3614,
3650,
3790,
BCHLU,
WILL SUPPORT 3770
INTLU,
WILL SUPPORT 37671
3270,
3770B,
3767C,
WILL SUPPORT 3770C
LUTYPE2,
LUTYPE3,
LUTYPE6,
3767,
37701),
FEATURE=(AUTOANSW,AUTOPOLL,BUFFRECV,PSEUOOBIN,
'TRANSPARENCY, ROATT), ALL TERMINAL FEATURES
ANSWRBK=(EXIDVER,TERMINAL,AUTOMATIC,7770TERM,7770NULL),
WRAPLST=YES,
BSCODE=(EBCDIC,ASCII), BOTH BISYNC CODES
AUTO. TASK INITIATION VIA DCT
AUTOTRN=YES,
UCTRAN=(EBCOIC,ASCII), UPPERCASE TRANSLATION FOR 3270
2980 TRANSLATE TABLES FIXEO
TBLFIX=YES,
CONVTAB=(ABB,ABC,2741EU,2741EM,2741CU,2741CM),
2848 OPTIONAL KEYBOARD LOCK FEATURE
LOCKF=YES,
3650 PIPELINE SESSION INCLUDED
PIPELN=YES,
PUNSOL=YES,
RAQ=YES,
CHNASSY=YES,
LOGREC=YES
EXTRA ONLY
DFHSG PROGRAM=TDP,SUFFIX=I$,
Appendix C.
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Pregenerated Modules
349
TDP2$
TDP4$
TDP6$
TDP7$
TRP4$
TRP5$
TRPD$
TSPl$
TSP2$
TSP3$
350
EXTRA=(ACQUISITION,DISPOSITION)
EXTRA + DAM INTRA
DFHSG PROGRAM=TDP,SUFFIX=2$,
DESTRCV=NO,
NO RECOVERY
INTRA=(TRANSINIT,DAM),
EXTRA=(ACQUISITION,DISPOSITION)
EXTRA + DAM INTRA
DFHSG PROGRAM=TDP,SUFFIX=4$,
DESTRCV=YES,
loJITH RECOVERY
INTRA=(TRANSINIT,DAM),
EXTRA=(ACQUISITION,DISPOSITION)
EXTRA + VSAM INTRA
DFHSG PROGRAM=TDP,SUFFIX=6$,
NO RECOVERY
DESTRCV=NO,
INTRA=(TRANSINIT,VSAM),
EXTRA=(ACQUISITION,DISPOSITION)
EXTRA + VSAM INTRA
DFHSG PROGRAM=TDP,SUFFIX=7$,
DESTRCV=YES,
WITH RECOVERY
INTRA=(TRANSINIT,VSAM),
EXTRA=(ACQUISITION,DISPOSITION)
MAIN + AUX ON TAPE
DFHSG PROGRAM=TRP,SUFFIX=4$,
AUX=YES,
AUXILIARY TRACE
DEVICE=TAPE
DFHSG PROGRAM=TRP,SUFFIX=5$,
MAIN STORAGE ONLY
AUX=NO
DFHSG PROGRAM=TRP,SUFFIX=D$,
MAIN STOR + AUX ON DISK
AUX=YES,
AUXILIARY TRACE
DEVICE=DISK
DFHSG PROGRAM=TSP,SUFFIX=l$,
MAIN STORAGE ONLY
AUX=NO
DFHSG PROGRAM=TSP,SUFFIX=2$,
MAIN STOR + VSAM
AUX=YES
DFHSG PROGRAM=TSP,SUFFIX=3$,
MAIN STOR + VSAM + RECOVERY
REQUIRES TS TABLE
AUX=REC
CICS/DOS/VS Installation and Operations Guide
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Appendix D. ~ample Tables and Table Entries
The CICS sample table material, provided on the distribution
volume, is described here under the following headings:
o
Pregenerated sample tables - supporting the initial CICS
system as described in Part 1 and extended in Part 2 of this
book; tables satisfying VsE/ICCF requirements are also
provided.
o
Other sample tables - extending the initial CICS system in the
areas of file control, journal control, and monitoring.
•
Copy books for sample table entries - copy books included in
the sample tables, and copy books for the table entries needed
to run the sample application programs that operate on the
sample VSAM file FILEA.
The source code used to generate the sample tables and the copy
books containing sample table entries are shown in full later in
thi s appendi x.
In addition, this appendix contains a listing of the contents of
the CICs system definition file after initialization.
PREGENERATED SAMPLE TABLES
The sample tables listed below are supplied pregenerated, with
suffixes and functions as indicated, in the distribution core
i mage library.
With sIT=1$ specified as a system initialization parameter, these
tables support the initial CICS system as described in Part 1 of
this book; the tables with a suffix of 2$ (SIT and OCT) provide a
variant of this initial system intended primarily for use in the
VSE/ICCF environment.
The source code used to generate the tables can be found in the
source statement library as A. books with the same names as the
generated tables, except for the sample sign-on table (DFHSNT),
the source code for which is provided as A.DFHXSNT (to distinguish
it from the corresponding table generation macro).
Most of the sample tables include copy books for the table
entries, either individually or as groups. Details of these copy
books are given later.
Table
Suffix
Function
1$
Sample OCT with basic CICS facilities
(extrapartition only)
2$
1$ + ICCF intrapartition OCT entries
Program Control
Table (PCT)
1$
Sample PCT with basic CICS facilities
(includes ICCF PCT entries)
Processing
Program Table
(PPT)
1$
Sample PPT with basic CICS facilities
(includes ICCF PPT entries)
Destination
Control Table
(OCT)
Appendix D.
Sample Tables and Table Entries
351
Table
Funct;on
System
Initialization
Table (SIT)
Sample SIT to support initial system,
with TCT=l$ coded for console support.
Note: Dump control, file control,
journal control, monitoring, and
basic mapping support are not
provided by this SIT.
(For full details, see listing of
DFHSIT1$ IDter in this appendix).
2$
Sign-on Table
(SNT)
As 1$, but with following operands:
1. DCP=D$, dump to disk
2. TDP=6$, extrapartition + VSAM
intrapartition with ATI
3. DCT=2$, basic facilities + ICCF
4. PRINT=YES, TCP print requests only
5. TCT=B$, local BTAM 3270 terminals
Sample SNT
System Recovery
Table (SRT)
1$
Sample SRT with default entries
Terminal Control
Table (TCT)
1$
Sample TCT with entries for console,
and sequential (CRlP) terminal only
B$
Sample TCT with entries for console,
sequential (CRLP) terminal,
and local BTAM 3270 terminals
V$
Sample TCT with entries for console,
sequential (CRLP) terminal,
SNA and non-SNA VTAM 3270 terminals
OTHER SAMPLE TABLES
The following sample tables are provided in source form only. The
source code can be found in the source statement library as A.
books with the same names as the tables. Details of the.copy
books included in these tables are given later.
Table
352
Suffix
Function
File Control
Table (FCT)
1$
Sample FCT wi th entry for DFHCSD
Journal Control
Table (JCT)
1$
Sample JCT wi th entry for system log
Monitoring
Control Table
(MCT)
1$
Sample MCT
CICS/DOS/VS Installation and Operations Guide
COPY BOOKS FOR SAMPLE TABLE ENTRIES
Copy books are provided for many of the entries in the sample
tables. Further copy books are provided for the table entries
needed to run the sample application programs that operate on the
sample VSAM file FILEA.
The following lists summarize the functions in each of these copy
books. The source code for all the copy books can be found in the
A. books of the same name in the source statement library.
Dest;nat;on Control Table (DCT)
DFHDCTl$ includes the copy books:
DFHXDCTI - SDSCI entry for output to SYSLST
DFHXDCT - entries for basic CICS facilities
DFHDCT2$ includes the copy books:
DFHXDCTI - SDSCI entry for output to SYSlST
DFHXDCT - entries for basic CICS facilities
DFHXDCTI - ICCF DCT entries (intrapartition - L86P, etc)
The following copy book is also provided:
DFHXDCTS - entries for Assembler FIlEA samples (lOGA,l860)
Note: The TRAHSID specified for destination L860 in copy book
DFHXDCTS must be changed, as indicated in the source code, if the
COBOL, Pl/I, or RPG II versions of the order entry sample programs
are to be run.
F;le Control Table (FCT)
DFHFCTl$ includes the copy book:
DFHXFCT - entry for DFHCSD
(for Resource Definition Online support)
The following copy book is also provided:
DFHXFCTS - entry for sample VSAM file FILEA
Journal Control Table (JCTl
DFHJCTl$ includes the copy book:
DFHXJCT - entry for system log (disk, 2 extents)
The following copy book is also provided:
DFHXJCTS - entry for user journal (tape)
Mon;tor;ng Control Table (MCTl
DFHMCTl$ includes the copy book:
DFHXMCTS - sample MCT entries
Program Control Table (PCTl
DFHPCTl$ includes the copy books:
DFHXPCT - basic CICS facilities
DFHXPCTI - ICCF PCT entries
The following copy books are also provided:
DFHXPCTA - Assembler FIlEA sample transactions
DFHXPCTC - COBOL FILEA sample transactions
DFHXPCTP - PL/I FILEA sample transactions
DFHXPCTR - RPG II FIlEA sample transactions
Appendix D.
Sample Tables and Table Entries
353
Process;ng Program Table (PPT)
DFHPPTl$ includes the copy books:
DFHXPPT - basic CICS facilities
DFHXPPTI - ICCF PPT entries
The following copy books are also provided:
DFHXPPTA - Assembler FILEA sample programs and mapsets
DFHXPPTC - COBOL FILEA sample programs and mapsets
DFHXPPTP - PL/I FILEA sample programs and mapsets
DFHXPPTR - RPG II FILEA sample programs and mapsets
Terminal Control Table (TCT)
DFHTCTl$ includes the copy books:
DFHXTCTC - console definition (CNSL)
DFHXTCTS - CRLP (card reader, line printer)
DFHTCTB$ includes the copy books:
DFHXTCTC - console definition (CNSL)
DFHXTCTS - CRLP (card reader, line printer)
DFHXTCBI - 3 local BTAM 3270 displays
(L77A/B/C,SYS020/21/22)
1 local BTAM 3270 printer
(L86P,SYS027)
DFHTCTV$ includes the copy books:
DFHXTCTC - console definition (CNSL)
DFHXTCTS - CRLP (card reader, line printer)
DFHXTCVI - 3 SNA VTAM LUTYPE2 displays
(L77A/B/C, netnames D72L301/2/3)
3 non-SNA VTAM 3270 displays
(L77D/E/F, netnames D72L304/5/6)
1 non-SNA VTAM 3270 printer
(L86P, netname P42L308)
Note: L86P is the terminal identification of a printer used by ICCr
it is the name of an intrapartition destination defined in the
DCT with a suffix of 2$ (see copy book DFHXDCTI).
The following copy book is provided for use with the FIlEA sample
programs and BTAM terminals:
DFHXTCBS - 2 local BTAM 3270 displays
(L77A/B,SYS020/21)
1 local BTAM 3270 printer
(L860,SYS027)
The following copy book is provided for use with the FIlEA sample
programs and VTAM terminals:
DFHXTCVS - 1 SNA VTAM LUTYPE2 display
(L77A, netname D72L301)
1 non-SNA VTAM 3270 display
(L77D, netname D72L304)
1 non-SNA VTAM 3270 printer
(L860, netname P42L308)
Notes:
354
1.
The terminal identification of the printer used by the sample
programs must be L860 to match the intrapartition destination
defined in the DCT (see copy book DFHXDCTS).
2.
The DFHTCTB$ and DFHTCTV$ tables are intended primarily for
use in the VSE/ICCF environment, and are not designed for use
with the sample applications. If you intend to use the sample
applications, see Chapter 2.3 of this book for the necessary
table definitions.
CICS/DOS/VS Installation and Operations Guide
SOURCE CODE FOR SAMPLE TABLES
DFHDCT1$
TITLE 'DFHDCTl$ CICS SAMPLE DCT'
DFHDCT TYPE=INITIAL,
STARTER=YES,
ALLOWS $ IN SUFFIX
SUFFIX=l$
COpy DFHXDCTI
- SDSCI ENTRY
COpy DFHXDCT
- BASIC CICS/VS FACILITIES
DFHDCT TYPE=FINAL
x
X
DFHDCT2$
TITLE 'DFHDCT2$ CICS ICCF DCT'
DFHDCT TYPE=INITIAL,
STARTER=YES,
ALLOWS $ IN SUFFIX
SUFFIX=2$
COPY DFHXDCTI
- SDSCI ENTRY
COpy DFHXDCT
- BASIC CICS FACILITIES
COpy DFHXDCTI
- ICCF ENTRIES
DFHDCT TYPE=FINAL
X
X
DFHXDCTl
TITLE 'DFHXDCTI - COPYBOOK OF SDSCI ENTRIES FOR SAMPLE DCT'
***********************************************************************
* THIS 'SDSCI' COPYBOOK MUST FOLLOW THE 'INITIAL' MACRO.
*
***********************************************************************
*
DFHDCT TYPE=SDSCI,
BLKSIZE=136,
DSCNANE=MSGUSR,
RECFORM=VARUNB,
DEVADDR=SYSLST,
DEVICE=1403,
TYPEFLE=OUTPUT
OUTPUT TO SYSLST
X
X
X
X
X
X
DFHXDCT
CPLI
CSSL
CPLD
CSCS
CSDL
CSML
CSMT
CSTL
TITLE 'DFHXDCT - COPYBOOK ENTRIES FOR BASIC CICS FACILITIES'
DFHDCT TYPE=EXTRA,
PL/I SYSPRT OUTPUT
DESTID=CPLI,
DSCNAME=MSGUSR
DFHDCT TYPE=INDIRECT,
DESTID=CSSL,
USED FOR STATISTICS, ETC.
INDDEST=CPLI
PL/I DUMPS
DFHDCT TYPE=INDIRECT,
DESTID=CPLD,
INDDEST=CPLI
DFHDCT TYPE=INDIRECT,
MESSAGES FROM SIGN OFF PROGRAM
DESTID=CSCS,
INDDEST=CPLI
DFHDCT TYPE=INDIRECT,
CEDA COMMAND LOGGING TO
DESTID=CSDL,
THIS DESTINATION
INDDEST=CPLI
DFHDCT TYPE=INDIRECT,
SIGN ON/OFF MESSAGES TO
DESTID=CSML,
THIS DESTINATION
INDDEST=CPLI
DFHDCT TYPE=INDIRECT,
WRITE TERM ERRORS AND ABENDS MSGS
DESTID=CSMT,
TO THIS DESTINATION FROM DFHTACP,
INDDEST=CPLI
DFHZNAC AND DFHACP
DFHDCT TYPE=INDIRECT,
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
'-.-'
Appendix D.
Sample Tables and Table Entries
355
DESTID=CSTL,
INDDEST=CPLI
TERM I/O ERROR MSGS FROM DFHTACP
x
DFHXDCTI
***********************************************************************
* ICCF DESTINATION CONTROL TABLE (REL 3.5) PTFOOOO
*
*
*
82/11/22
***********************************************************************
L86P
DFHDCT TYPE=INTRA,
*
DESTID=L86P,
TRANSID=I$$6,
TRIGLEV=1
DFHDCT TYPE=INTRA,
DESTID=PRTA,
TRIGLEV=O
DFHDCT TYPE=INTRA,
DESTID=PRTB,
TRIGLEV=O
PRTA
PRTB
L3286 TERMINAL PRINTER
HARDCOPY QUEUE 1
HARDCOPY QUEUE 2
*
*
*
*
*
*
DFHXDCTS
LOGA
L860
356
TITLE 'DFHXDCTS - COPYBOOK OF DCT ENTRIES FOR SAMPLE PROGRAMS'
DFHDCT TYPE=INDIRECT,
DESTINATION LOGA USED
X
DESTID=LOGA,
BY CICS SAMPLE PGMS
X
INDDEST=CPLI
DFHDCT TYPE=INTRA,
DESTINATION L860 USED BY ORDER
X
DESTID=L860,
ENTRY QUEUE PRINT SAMPLE PROGRAMS
X
DESTFAC=TERMINAL,
TERMINAL
X
TRANSID=AORQ,
<CHANGE IF WANT TO RUN 'PORQ','OREQ'X
TRIGLEV=30
AORQ IS AUTO INIT'ED WHEN QUEUE=30
CICS/DOS/VS Installation and Operations Guide
DFHFCTl$
TITLE 'DFHFCTl$ SAMPLE FCT'
DFHFCT TYPE=INITIAL,
STARTER=YES,
ALLOWS $ IN SUFFIX
SUFFIX=l$
COPY DFHXFCT
- ENTRY FOR ROO CSD DATSET
DFHFCT TYPE=FINAL
X
X
DFHXFCT
TITLE 'DFHXFCT - COPYBOOK FOR DFHCSD'
DFHFCT TYPE=DATASET,DATASET=DFHCSD,ACCMETH=(VSAM,KSDS,KEY),
SERVREQ=(GET,PUT,UPDATE,NEWREC,BROWSE,DELETE),
RECFORM=(VARIABLE,BLOCKED),BUFND=5,BUFNI=4,STRNO=4,
OPEN=DEFERRED
*
*
TITLE 'DFHXFCTS - COPYBOOK FOR FILEA'
DFHFCT TYPE=DATASET,DATASET=FILEA,ACCMETH=(VSAM,KSDS),
SERVREQ=(GET,PUT,UPDATE,NEWREC,BROWSE,DELETE),
RECFORM=(FIXED,BLOCKED),BUFND=3,BUFHI=2,STRNO=2,
OPEN=INITIAL
*
*
*
DFHXFCTS
Appendix D.
*
Sample Tables and Table Entries
351
DFHJCTl$
TITLE 'DFHJCTl$ SAMPLE JCT'
DFHJCT TYPE=INITIAL,
STARTER=YES,
ALLOWS $ IN SUFFIX
SUFFIX=l$
COpy DFHXJCT
- ENTRY FOR SYSTEM LOG
DFHJCT TYPE=FINAL
X
X
DFHXJCT
TITLE 'DFHXJCT - COPYBOOK FOR SYSTEM LOG'
DFHJCT TYPE=ENTRY,JFIlEID=SYSTEM,JTYPE=DISK2,BUFSIZE=4096,
DEVADDR=(SYS019,SYS019),BUFSUV=2048,
JOUROPT=INPUT
DFHXJCTS
TITLE 'DFHXJCTS - COPYBOOK FOR USER JOURNAL'
DFHJCT TYPE=ENTRY,JFIlEID=2,BUFSIZE=4096,DEVADDR=SYS018,
JTYPE=TAPEl,FORMAT=SMF,BUFSUV=2048
358
CICS/DOS/VS Installation and Operations Guide
*
*
DFHMCTl$
TITLE 'DFHMCTl$ SAMPLE MCT'
DFHMCT TYPE=INITIAL,
STARTER=YES,
ALLOWS $ IN SUFFIX
SUFFIX=l$
COPY DFHXMCTS
- SAMPLE MCT ENTRIES
DFHMCT TYPE=FINAL
x
X
DFHXMCTS
TITLE 'DFHXMCTS - SAMPLE ENTRIES'
*********************************************************************
* MONITOR CONTROL TABLE
*
*
*
CLASSES ACCOUNT EXCEPTION & PERFORM A~E SEND
TO JOURNAL 02
.
*
*
*********************************************************************
DFHMCT TYPE=RECORD,
*
CLASS=EXCEPT,DATASET=02,FREQ=100,MAXBUF=512
DFHMCT TYPE=RECORD,
CLASS=ACCOUNT,DATASET=02,FREQ=100,MAXBUF=2000
DFHMCT TYPE=RECORD,CPU=YES,
CLASS=PERFORM,DATASET=02,FREQ=100,MAXBUF=2000
Appendix D.
*
*
Sample Tables and Table Entries
359
DFHPCTl$
TITLE 'DFHPCT1$ CICS/VS SAMPLE PROGRAM CONTROL TABLE'
DFHPCT TYPE=INITIAL,SUFFIX=l$,STARTER=YES
COpy DFliXPCT
- BASIC CICS/VS FACILITIES
COpy DFHXPCTI
- ICCF PCT ENTRIES
DFHPCT TYPE=FINAL
DFHXPCT
TITLE
'DFHXPCT
COPYBOOK ENTRIES FOR THE SAMPLE PCT'
************************************************************************
NOTE THAT THIS HAS NO SECURITY. SOME OF THE TRANSACTIONS WILL NEED *
*
*
TO BE UPDATED TO RESTRICT THEIR USE.
***********************************************************************
DFHPCT TYPE=GROUP,FN=AKP
ACTIVITY KEYPOINT PGM
DFHPCT
DFHPCT
DFHPCT
DFHPCT
TYPE=GROUP,FN=ATP
TYPE=GROUP,FN=AUTOSTAT
TYPE=GROUP,FN=BMS
TYPE=GROUP,FN=CONSOLE
ASYNCH TRANS PROC
AUTO STATS SUMMARY PGM
TERM PAGE RETRIEVAL ..
CPU CONSOLE SUPPORT
***********************************************************************
* THE NEXT TYPE=ENTRY TABLE ENTRIES TURN OFF SECURITY...
*
***********************************************************************
* I.E CECI,CECS,CEBR AND CEDF 'TYPE=ENTRY' ENTRIES SET RSLC=NO
*
* BY OVERRIDING RSLC=YES FROM 'TYPE=GROUP ENTRY.
* ... PLEASE REVIEW 'RESOURCE SECURITY' IN 'CICS/VS lOG'
* - APART FROM THESE POSSIBLE EXCEPTIONS 'TYPE=GROUP' ENTRIES SHOULD
* BE USED, INSTEAD OF 'TYPE=ENTRY' ENTRIES, SINCE THEY GENERATE
* ALL THE TRANSIDS FOR THE DEFINED FUNCTION GROUP.
*
REFER TO 'CICS/VS RESOURCE DEFINITION'
*
DFHPCT TYPE=ENTRY,
COMMAND INTERPRETER
PROGRA~1=DFHECIP
*
*
*
*
*
*
,
TRANSID=CECI,
RSLC=NO
DFHPCT TYPE=ENTRY,
PROGRAM=DFHECSP,
TRANSID=CECS,
RSLC=NO
DFHPCT TYPE=GROUP,FN=INTERPRETER
DFHPCT TYPE=ENTRY,
PROGRAM=DFHEDFBR,
TRANSID=CEBR,
RSLC=NO
DFHPCT TYPE=ENTRY,
PROGRAM=DFHEDFP,
TRANSID=CEDF,
RSLC=NO
DFHPCT TYPE=GROUP,FN=EDF
X
COMMAND INTERPRETER
360
TYPE=GROUP,FN=FE
TYPE=GROUP,FN=HARDCOPY
TYPE=GROUP,FN=ISC
TYPE=GROUP,FN=JOURNAl
TYPE=GROUP,FN=MASTTERM
TYPE=GROUP,FN=MSWITCH
TYPE=GROUP,FN=NUMERICS
TYPE=GROUP,FN=OPERATORS
TYPE=GROUP,FN=RESEND
TYPE=GROUP,FN=RESPLOG
TYPE=GROUP,FN=SPI
TYPE=GROUP,FN=SIGNON
TYPE=GROUP,FN=STANDARD
TYPE=GROUP,FN=TIME
TYPE=GROUP,FN=VTAM
TYPE=GROUP,FN=VTAMPRT
X
X
X
COMMAND INTERPRETER
TS BROWSE
X
X
X
EXECUTION DIAGNOSTIC FACIL X
X
X
EXECUTION DIAGNOSTIC FACIL
*
***********************************************************************
*
FOLLOWING ENTRIES GENERATES TRANSID'S FOR:DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
X
X
FE TERMINAL TEST PGM
3270 PRINT BTAM & VTAM
INTERSYSTEMS COMMUNICATION
JOURNAlLING
MASTER TERMINAL FUNCTION
MESSAGE SWITCHING PGM
NUMERIC SIGN ON/OFF GROUP
ENH FNS-MAST,SUPV&TERM OPS
VTAM RESEND PGM
VTAM RESPONSE LOGGING PGM
SYSTEM PROGRAMMER INTERFACE
SIGN ON & OFF PGMS & TABLES
TRANSIDS REQD IN ALL CICS
TIME ADJUSTMENT PGM
VTAM ABNORM & ERROR ... PGMS
VTAM 3270 PRINT FUNCTION
CICS/DOS/VS Installation and Operations Guide
DFHXPCTI
***********************************************************************
*
ICCF PROGRAM CONTROL TABLE (REL 3.5) PTFOOOO
*
*
*
82/11/22
***********************************************************************
DFHPCT TYPE=ENTRY,TRANSID=ICCF,PROGRAM=DTSICCF,TWASIZE=1650
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
TYPE=ENTRY,TRANSID=iccf,PROGRAM=DTSICCF,TWASIZE=1650
TYPE=ENTRY,TRANSID=I$$1,PROGRAM=DTSICCF,TWASIZE=1650
TYPE=ENTRY,TRANSID=I$$2,PROGRAM=DTSICCF,TWASIZE=1650
TYPE=ENTRy,TRANSID=I$$3,PROGRA~1=DTSICCF,TWASIZE=1650
TYPE=ENTRY,TRANSID=I$$4,PROGRAM=DTSICCF,TWASIZE=1650
TYPE=ENTRY,TRANSID=I$$5,PROGRAM=DTSICCF,TWASIZE=512
TYPE=ENTRY,TRANSID=I$$6,PROGRAM=DTSICCF,TWASIZE=512
TYPE=ENTRY,TRANSID=I$$7,PROGRAM=DTSICCF,TWASIZE=1650
DFHXPCTA
TITLE 'DFHXPCTA - COPYBOOK FOR ASSEMBLER SAMPLE PROGRAMS'
DFHPCT TYPE=ENTRY,PROGRAM=XDFHAMNU,TRANSID=AMNU
DFHPCT TYPE=ENTRY,PROGRAM=XDFHAAll,TRANSID=AINQ
DFHPCT TYPE=ENTRY,PROGRAM=XDFHAAll,TRANSID=AADD
DFHPCT TYPE=ENTRY,PROGRAM=XDFHAALl,TRANSID=AUPD
DFHPCT TYPE=ENTRY,PROGRAM=XDFHABRW,TRANSID=ABRW
DFHPCT TYPE=ENTRY,PROGRAM=XDFHAREN,TRANSID=AORD
DFHPCT TYPE=ENTRY,PROGRAM=XDFHACOM,TRANSID=AORQ
DFHPCT TYPE=ENTRY,PROGRAM=XDFHAREP,TRANSID=AREP
DFHXPCTC
TITLE 'DFHXPCTC - COPYBOOK FOR COBOL SAMPLE PROGRAMS'
DFHPCT TYPE=ENTRY,PROGRAM=XDFHINST,TRANSID=MENU
DFHPCT TYPE=ENTRY,PROGRAM=XDFHCALl,TRANSID=INQY
DFHPCT TYPE=ENTRY,PROGRAM=XDFHr.All,TRANS:D=ADDS
DFHPCT TYPE=ENTRY,PROGRAM=XDFHCAlL,TRANSID=UPDT
DFHPCT TYPE=ENTRY,PROGRAM=XDFHBRWS,TRANSID=BRWS
DFHPCT TYPE=ENTRY,PROGRAM=XDFHOREN,TRANSID=OREN
DFHPCT TYPE=ENTRY,PROGRAM=XDFHCCOM,TRANSID=OREQ
DFHPCT TYPE=ENTRY,PROGRAM=XDFHREPT,TRANSID=REPT
DFHXPCTP
TITLE 'DFHXPCTP - COPYBOOK FOR PL/I SAMPLE PROGRAMS'
DFHPCT TYPE=ENTRY,PROGRAM=XDFHPMNU,TRANSID=PMNU
DFHPCT TYPE=ENTRY,PROGRAM=XDFHPAlL,TRANSID=PINQ
DFHPCT TYPE=ENTRY,PROGRAM=XDFHPAlL,TRANSID=PADD
DFHPCT TYPE=ENTRY,PROGRAM=XDFHPAll,TRANSID=PUPD
DFHPCT TYPE=ENTRY,PROGRAM=XDFHPBRW,TRANSID=PBRW
DFHPCT TYPE=ENTRY,PROGRAM=XDFHPORD,TRANSID=PORD
DFHPCT TYPE=ENTRY,PROGRAM=XDFHPCOM,TRANSID=PORQ
DFHPCT TYPE=ENTRY,PROGRAM=XDFHPREP,TRANSID=PREP
DFHXPCTR
TITLE 'DFHXPCTR - COPYBOOK FOR RPG SAMPLE PROGRAMS'
DFHPCT TYPE=ENTRY,PROGRAM=XDFHRMNU,TRANSID=RMNU
Appendix D.
Sample Tables and Table Entries
361
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
DFHPCT
362
TYPE=ENTRY,PROGRAM=XDFHRALl,TRANSID=RINQ
TYPE=ENTRY,PROGRAM=XDFHRALL,TRANSID=RADD
TYPE=ENTRY,PROGRAM=XDFHRALl,TRANSID=RUPD
TYPE=ENTRY,PROGRAM=XDFHRBRW,TRANSID=RBRW
TYPE=ENTRY,PROGRAM=XDFHRORD,TRANSID=RORD
TYPE=ENTRY,PROGRAM=XDFHRCOM,TRANSID=RORQ
TYPE=ENTRY,PROGRAM=XDFHRREP,TRANSID=RREP
CICS/DOS/VS Installation and Operations Guide
DFHPPT1$
TITLE 'DFHPPT1$ CICS/VS SAMPLE PROCESSING PROGRAM TABLE'
DFHPPT TYPE=INITIAL,SUFFIX=1$,STARTER=YES
COpy DFHXPPT
- BASIC CICS/VS FACILITIES
COpy DFHXPPTI
- ICCF PPT ENTRIES
DFHPPT TYPE=FINAL
DFHXPPT
TITLE 'DFHXPPT - COPYBOOK ENTRIES
DFHPPT TYPE=ENTRY,PROGRAM=DFHNEP
DFHPPT TYPE=ENTRY,PROGRAM=DFHNET
DFHPPT TYPE=ENTRY,PROGRAM=DFHPEP
DFHPPT TYPE=ENTRY,PROGRAM=DFHRTY
DFHPPT TYPE=GROUP,FN=AKP
DFHPPT TYPE=GROUP,FN=ATP
DFHPPT TYPE=GROUP,FN=AUTOSTAT
DFHPPT TYPE=GROUP,FN=BACKOUT
DFHPPT TYPE=GROUP,FN=BMS
DFHPPT TYPE=GROUP,FN=CONSOLE
DFHPPT TYPE=GROUP,FN=EDF
DFHPPT TYPE=GROUP,FN=FE
DFHPPT TYPE=GROUP,FN=HARDCOPY
DFHPPT TYPE=GROUP,FN=INTERPRETER
DFHPPT TYPE=GROUP,FN=ISC
DFHPPT TYPE=GROUP,FN=JOURNAL
DFHPPT TYPE=GROUP,FN=MASTTERM
DFHPPT TYPE=GROUP,FN=MSWITCH
DFHPPT TYPE=GROUP,FN=OPENCLSE
DFHPPT TYPE=GROUP,FN=OPERATORS
DFHPPT TYPE=GROUP,FN=PL/I
DFHPPT TYPE=GROUP,FN=RECOVERY
DFHPPT TYPE=GROUP,FN=RESEND
DFHPPT TYPE=GROUP,FN=RESPLOG
DFHPPT TYPE=GROUP,FN=SIGNON
DFHPPT TYPE=GROUP,FN=SPI
DFHPPT TYPE=GROUP,FN=STANDARD
DFHPPT TYPE=GROUP,FN=TIME
DFHPPT TYPE=GROUP,FN=VTAM
DFHPPT TYPE=GROUP,FN=VTAMPRT
FOR THE SAMPLE PPT'
SAMPLE ERROR NODE PGM
SAMPLE ERROR NODE TABLE
SAMPLE PROGRAM ERROR PGM
TRANSACTION RESTART&BACKOUT
ACTIVITY KEYPOINT PROGRAM
ASYNCH TRANS PROC
AUTO STATS SUMMARY PGM
DYNAMIC BACKOUT
BASIC MAPPING SUPPORT
WRITE TO CPU CONSOLE
EXECUTION DIAGNOSTIC FACIL
FE TERMINAL TEST PGM
3270 PRINTER-BTAM & VTAM
COMMAND INTERPRETER
INTERSYSTEMS COMMUNICATION
JOURNALLING
MASTER TERMINAL FUNCTION
MESSAGE SWITCHING PGM
DYNAMIC OPEN/CLOSE PGM
ENH FNS-MAST,SUPV&TERM OPS
PL/I SUPPORT IN CICS/VS
RECOVERY/RESTART FACIL'Y
VTAM RESEND PGM
VTAM RESPONSE LOGGING PGM
SIGN ON & OFF PGMS & TABLES
SYYTEM PROGRAMMER INTERFACE
APPL PGMS REQD IN ALL CICS
TIME ADJUSTMENT PGM
VTAM ABNORM & ERROR ... PGMS
VTAM TERM CNTL PRINT KEY FN
DFHXPPTI
************************************************************************
ICCF PROCESSING PROGRAM TABLE (REL 3.5) PTFOOOO
*
*
82/11/22
*
***********************************************************************
DFHPPT TYPE=ENTRY,RES=YES,PROGRAM=DTSICCF
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
TYPE=ENTRY,RES=NO,PROGRAM=DTSTXOO
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX01
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX02
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX03
TYPE=ENTRY,RES=HO,PROGRAM=DTSTX04
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX05
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX06
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX07
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX08
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX09
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX10
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX11
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX12
TYPE=ENTRY,RES=NO,PROGRAM=DTSTX13
Appendix D.
Sample Tables and Table Entries
363
DFHXPPTA
TITLE 'DFHXPPTA - COPYBOOK FOR ASSEMBLER SAMPLE PROGRAMS'
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBLER,PROGRAM=XDFHAMNU
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBlER,PROGRAM=XDFHAALL
DFHPPT TYPE=ENTRY,PG~lLANG=ASSEMBLER,PROGRAM=XDFHABRW
DFHPPT TYPE=ENTRY,PGMlANG=ASSEMBLER,PROGRAM=XDFHAREN
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBLER,PROGRAM=XDFHACOM
DFHPPT TYPE=ENTRY,PGMLANG=ASSEMBLER,PROGRAM=XDFHAREP
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMA
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMB
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMC
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMD
DFHPPT TYPE=ENTRY,MAPSET=XDFHAMK
DFHPPT TYPE=ENTRY,MAPSET=XDFHAML
DFHXPPTC
TITLE 'DFHXPPTC - COPYBOOK FOR COBOL SAMPLE PROGRAMS'
DFHPPT TYPE=ENTRY,PGMLANG=COBOl,PROGRAM=XDFHINST
DFHPPT TYPE=ENTRY,PGMLANG=COBOl,PROGRAM=XDFHCAll
DFHPPT TYPE=ENTRY,PGMlANG=COBOL,PROGRAM=XDFHOREN
DFHPPT TYPE=ENTRY,PGMLANG=COBOL,PROGRAM=XDFHCCOM
DFHPPT TYPE=ENTRY,PGMLANG=COBOL,PROGRAM=XDFHBRWS
DFHPPT TYPE=ENTRY,PGMLANG=COBOL,PROGRAM=XDFHREPT
DFHPPT TYPE=ENTRY,MAPSET=XDFHCMA
DFHPPT TYPE=ENTRY,MAPSET=XDFHCMB
DFHPPT TYPE=ENTRY,MAPSET=XDFHCMC
DFHPPT TYPE=ENTRY,MAPSET=XDFHCMD
DFHPPT TYPE=ENTRY,MAPSET=XDFHCMK
DFHPPT TYPE=ENTRY,MAPSET=XDFHCML
DFHXPPTP
TITLE 'DFHXPPTP - COPYBOOK FOR PL/I SAMPLE PROGRAMS'
DFHPPT TYPE=ENTRY,PGMLANG=Pl/I,PROGRAM=XDFHPMNU
DFHPPT TYPE=ENTRY,PGMLANG=PL/I,PROGRAM=XDFHPALL
DFHPPT TYPE=ENTRY,PGMLANG=PL/I,PROGRAM=XDFHPORD
DFHPPT TYPE=ENIRY,PGMLANG=Pl/I,PROGRAM=XDFHPCOM
DFHPPT TYPE=ENTRY,PGMlANG=PL/I,PROGRAM=XDFHPBRW
DFHPPT TYPE=ENTRY,PGMlANG=PL/I,PROGRAM=XDFHPREP
DFHPPT TYPE=ENIRY,MAPSET=XDFHPMA
DFHPPT TYPE=ENTRY,MAPSET=XDFHPMB
DFHPPT TYPE=ENTRY,MAPSET=XDFHPMC
DFHPPT TYPE=ENTRY,MAPSET=XDFHPMD
DFHPPT TYPE=ENTRY,MAPSET=XDFHPMK
DFHPPT TYPE=ENTRY,MAPSET=XDFHPML
DFHXPPTR
TITLE 'DFHXPPTR - COPYBOOK FOR RPG SAMPLE PROGRAMS'
DFHPPT TYPE=ENTRY,RELOAD=YES,PROGRAM=XDFHRREP,PGMLANG=RPG
DFHPPT TYPE=ENTRY,RELOAD=YES,PROGRAM=XDFHRBRW,PGMLANG=RPG
DFHPPT TYPE=ENTRY,RELOAD=YES,PROGRAM=XDFHRMNU,PGMLANG=RPG
DFHPPT TYPE=ENTRY,RELOAD=YES,PROGRAM=XDFHRAll,PGMLANG=RPG
DFHPPT TYPE=ENTRY,RELOAD=YES,PROGRAM=XDFHRREN,PGMLANG=RPG
DFHPPT TYPE=ENTRY,RELOAD=YES,PROGRAM=XDFHRCOM,PGMlANG=RPG
DFHPPT TYPE=ENTRY,MAPSET=XDRMA
DFHPPT TYPE=ENTRY,MAPSET=XDRMB
DFHPPT TYPE=ENTRY,MAPSET=XDRMC
DFHPPT TYPE=ENTRY,MAPSET=XDRMD
DFHPPT TYPE=ENTRY,MAPSET=XDRMK
DFHPPT TYPE=ENTRY,MAPSET=XDRML
364
CICS/DOS/VS Installation and Operations Guide
DFHSIT1$
TITLE 'DFHSITl$ CICS SAMPLE SIT'
DFHSIT TYPE=CSECT,
X
ALT=NO,
NO APPLICATION LOAD TABLE
X
AKPFREQ=O,
NO ACTIVITY KEYPOINTING
X
AMXT=lO,
MAX ACTIVE TASKS
X
APPLID=DBDCCICS,
APPLICATION NAME OF CICS SYSTEMX
ATP=NO,
NO ASYNCH TRANS PROCESSING
X
BFP=l$,
BUILTIN FUNCTION, BASIC + WTRETX
BMS=NO,
BASIC MAPPING SUPPORT
X
CMXT=(10,10,10,10,10,10,10,10,10,10), 10 TASKS/ TRANS ClX
DATFORM=MMDDYY,
EXTERNAL DATE DISPLAY
X
DBP=NO,
DYNAMIC BACKOUT
X
DCP=NO,
DUMP
X
DCT=l$,
BASIC FACILITIES
X
DIP=NO,
NO BATCH DATA INTERCHANGE
X
DlI=NO,
NO Dl/I SUPPORT
X
EXEC=YES,
EXEC LEVEL SUPPORT
X
EXITS=NO,
NO USER EXIT INTERFACE
X
EXTSEC=NO,
NO RACF SUPPORT
X
FCT=NO,
NO FILE CONTROL TABLE
X
FDP=(,FORMAT),
FORMATTED DUMP PROGRAM
X
ICP=YES,
INTERVAL CONTROL PGM
X
ICV=SOOO,
INTERVAL CONTROL EXIT TIME-MS X
ICVR=8000,
RUNAWAY TASK TIME
X
ICVS=20000,
DELAY BEFORE STALL PURGE
X
ICVTSD=250,
TERMINAL SCAN DELAY
X
ISC=NO,
NO INTERSYSTEM COMMUNICATION
X
JCT=NO,
NO JOURNAL lING
X
KCP=YES,
TASK CTRL PGM
X
KPP=NO,
NO KEY POINT PROGRAM
X
MCT=NO,
NO MONITOR CONTROL TABLE
X
MSGlVl=l,
PRINT START-UP MSGS
X
MXT=999,
MAX NO. OF ALL CONCURRENT TASKSX
NLT=NO,
DEFAULT LOAD ORDER FOR NUCLEUS X
PCP=3$,
PL/I, ASSEMBLER AND COBOL
X
PCT=l$,
BASIC FACILITIES
X
PGSIZE=2048,
SIZE OF VIRTUAL PAGING AREA
X
PLl=YES,
PL/I SUPPORT
X
PPT=l$,
BASIC FACILITIES
X
PRINT=PAl,
REQUEST KEY FOR 3270 PRINTOUT X
PRGDlAY=O,
NO TERMINAL PAGE CLEAN UP
X
SCS=12288,
STORAGE CUSHION-MIN OF 4 PAGES X
SRP=l$,
SYSTEM RECOVERY PGM
X
SRT=l$,
DEFAULT SRT
X
START=COLD,
COLD START
X
STARTER=YES,
ALLOWS $ IN SUFFIX
X
SUFFIX=l$,
SIT SUFFIX
X
SVD=YES,
STORAGE VIOLATION DUMP&RECOVERYX
TBP=NO,
NO TRANSACTION BACKOUT
X
TCP=S$,
TERMINAL CONTROL PROGRAM
X
TCT=l$,
CONSOLE AND SEQUENTIAL TERMS
X
TDP=l$,
TRANSIENT DATA PROGRAM
X
TRP=S$,
MAIN ONLY
X
TRT=512,
TRACE TABLE
X
TST=NO,
NO TEMP STORAGE TABLE INCLUDED X
TSMGSET=4,
4 MESSAGE SET ENTRIES
X
TSP=l$,
MAIN ONLY
X
WRKAREA=512,
COMMON WORK AREA OF THE CSA
X
XLT=NO,
NO TRANS LIST TABLE
X
XSP=YES,
EXT SECURITY PGM
X
ZCP=S$,
ALL ACCESS METHODS
X
DUMMY=DUMMY
TO END MACRO
. '---
Appendix D.
Sample Tables and Table Entries
365
DFHSIT2$
TITLE 'DFHSIT2$ CICS ICCF SIT'
DFHSIT TYPE=CSECT,
X
ALT=NO,
NO APPLICATION LOAD TABLE
X
AKPFREQ=O,
NO ACTIVITY KEYPOINTING
X
AMXT=10,
MAX ACTIVE TASKS
X
APPLID=DBDCCICS,
APPLICATION NAME OF CICS SYSTEMX
ATP=NO,
NO ASYNCH TRANS PROCESSING
X
BFP=l$,
BUILTIN FUNCTION, BASIC + WTRETX
BMS=tHh s~l'
BASIC MAPPING SUPPORT
X
CMXT=(lO,lO,lO,lO,lO,lO,lO,lO,lO,lO), 10 TASKS/ TRANS CLX
DATFORM=MMDDYY,
EXTERNAL DATE DISPLAY
X
DBP=NO,
DYNAMIC BACKOUT
X
DCP=D$,
DUMP TO DISK
X
-DCT=2$,
BASIC FACILITIES + ICCF
X
DIP=NO,
NO BATCH DATA INTERCHANGE
X
DLI=NO,
NO DL/I SUPPORT
X
EXEC=YES,
EXEC LEVEL SUPPORT
X
EXITS=NO,
NO USER EXIT INTERFACE
X
EXTSEC=NO,
NO RACF SUPPORT
X
FCT=-N-e-;-- cj) 3
NO FILE CONTROL TABLE
X
FDP=(,FORMAT),
FORMATTED DUMP PROGRAM
X
ICP=YES,
INTERVAL CONTROL PGM
X
ICV=5000,
INTERVAL CONTROL EXIT TIME-MS X
ICVR=8000,
RUNAWAY TASK TIME
X
ICVS=20000,
DELAY BEFORE STALL PURGE
X
ICVTSD=250,
TERMINAL SCAN DELAY
X
ISC=NO,
NO INTERSYSTEM COMMUNICATION
X
JCT=NO,
NO JOURNALLING
X
KCP=YES,
TASK CTRL PGM
X
KPP=NO,
NO KEY POINT PROGRAM
X
MCT=NO,
NO MONITOR CONTROL TABLE
X
MSGLVL=l,
PRINT START-UP MSGS
X
MXT=999,
MAX NO. OF ALL CONCURRENT TASKSX
NLT=NO,
DEFAULT LOAD/ORDER FOR NUCLEUS X
PCP=3$,
PL/I, ASSEMBLER AND COBOL
X
PCT=I$,
BASIC FACILITIES
X
PGSIZE=2048,
SIZE OF VIRTUAL PAGING AREA
X
PLl=YES,
PL/I SUPPORT
X
PPT=l$,
BASIC FACILITIES
X
PRINT=YES,
TCP PRINT REQUESTS ONLY
X
PRGDLAY=O,
NO TERMINAL PAGE CLEAN UP
X
SCS=12288,
STORAGE CUSHION-MIN OF 4 PAGES X
SRP=l$,
SYSTEM RECOVERY PGM
X
SRT=l$,
DEFAULT SRT
X
START=COLD,
COLD START
X
STARTER=YES,
ALLOWS $ IN SUFFIX
X
SUFFIX=2$,
SIT SUFFIX
X
SVD=YES,
STORAGE VIOLATION DUMP&RECOVERYX
TBP=NO,
NO TRANSACTION BACKOUT
X
TCP=S$,
.
TERMINAL CONTROL PROGRAM
X
BTAM BAS I C FA CI LIT I ES
X
TCT=-8-$-; rj):~
TDP=6$,
VSAM INTRA + EXTRA WITH ATI
X
TRP=5$,
MAIN ONLY
X
TRT=512,
TRACE TABLE
X
TST=NO,
NO TEMP STORAGE TABLE INCLUDED X
TSMGSET=4,
4 MESSAGE SET ENTRIES
X
TSP=l$,
MAIN ONLY
X
WRKAREA=512,
COMMON WORK AREA OF THE CSA
X
XLT=NO,
NO TRANS LIST TABLE
X
XSP=YES,
EXT SECURITY PGM
X
ZCP=S$,
ALL ACCESS METHODS
X
DUMMY=DUMMY
TO END MACRO
rC
366
e :-: S'li-
CICS/DOS/VS Installation and Operations Guide
DFHSNT
TITLE 'SAMPLE SNT'
DFHSNT TYPE=INITIAL
DFHSNT TYPE=ENTRY,
OPNAME='TERMINAL',
DFHSNT - OPERATOR NAME
PASSWRD=MAST,
DFHSNT - PASSWORD = MAS T
OPIDENT=SPR,
DFHSNT - OP IDENT = SPR
SCTYKEY=(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,
19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,
37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,
55,56,57,58,59,60,61,62,63,64),
OPPRTY=255
DFHSNT - OP PRTY = 255
DFHSNT TYPE=ENTRY,
OPNAME='APPLICATION',
PAS5WRD=USER,
OPIDENT=USR,
SCTYKEY=(1,8)
DFHSNT TYPE=FINAL
*
*
*
**
*
*
*
*
*
*
*
DFHSRT1$
TITLE 'SRT TABLE CONTAINING DEFAULT ENTRIES'
DFHSRT TYPE=INITIAL,STARTER=YES,SUFFIX=l$
DFHSRT TYPE=FINAL
Appendix D.
Sample Tables and Table Entries
367
DFHTCT1$
TITLE 'DFHTCTl$ CICS SAMPLE TCT. CONSOLE ONLY'
DFHTCT TYPE=INITIAL,SUFFIX=l$,STARTER=YES,
ACCMETH=(NONVTAM)
COPY DFHXTCTC
CONSOLE DEFINITIONS
COpy DFHXTCTS
CRLP
DEFINITIONS
DFHTCT TYPE=FINAL
DFHTCTB$
TITLE 'DFHTCTB$ CICS SAMPLE TCT. CONSOLE AND BTAM TERMINALS'
DFHTCT TYPE=INITIAL,SUFFIX=B$,STARTER=YES,ACCMETH=NONVTAM
COpy DFHXTCTS
SEQUENTIAL (CRLP) DEFINITIONS
COPY DFHXTCTC
CONSOLE DEFINITIONS
COpy DFHXTCBI
BTAM DEFINITIONS
DFHTCT TYPE=FINAL
DFHTCTV$
TITLE 'DFHTCTV$ CICS SAMPLE TCT. CONSOLE AND VTAM TERMINALS'
DFHTCT TYPE=INITIAl,SUFFIX=V$,STARTER=YES,
ACCMETH=(VTAM,NONVTAM)
COPY DFHXTCTS
SEQUENTIAL (CRlP) DEFINITIONS
COPY DFHXTCTC
CONSOLE DEFINITIONS
COPY DFHXTCVI
VTAM DEFINITIONS
DFHTCT TYPE=FINAl
*
DFHXTCTC
TITLE 'DFHXTCTC-SAMPlE TCT-COPYBOOK FOR CONSOLE'
DFHTCT TYPE=GPENTRY,
GPTYPE=CONSOlE,
CONSOLE SUPPORT
TRMIDNT=CNSL,
TERMINAL NAME
TRMUAl=32,
USER AREA LENGTH
LININl=80
TIOA lENGTH
x
X
X
X
DFHXTCTS
TITLE
'DFHXTCTS - COPYBOOK TCT ENTRIES FOR SEQUENTIAL (CRlP) TX
ERMINAl ENTRIES'
***********************************************************************
***
D T F S
***
***********************************************************************
OS
00
DC
Cl32'INPUT AND OUTPUT DTFS'
DFHTCT TYPE=SDSCI,
DEVADDR=SYSRDR,
DEVICE=2540,
DSCNAME=READER
DFHEJECT
DFHTCT TYPE=SDSCI,
DEVADDR=SYSLST,
DEVICE=1403,
DSCNAME=PRINTER
DFHEJECT
*
*
*
*
*
*
************************************************************************
**
LIN E AND
T E R MIN A l
***
***
D E FIN I T ION
***
***********************************************************************
DS
OD
368
CICS/DOS/VS Installation and Operations Guide
DC
CL64'T E R MIN A LAN D
LIN E
E N T R I E S'
***********************************************************************
DS
OD
DC
Cl32'S A M A LINE AND TERMINAL ENTRY'
DFHTCT TYPE=LINE,
ACCMETH=SEQUENTIAL,
TRMTYPE=CRLP,
ISADSCN=READER,
OSADSCN=PRINTER,
INAREAL=88,
DFHTCT
DU~'MY=DU~1MY
TYPE=TERMINAL,
TRMIDNT=SAMA,
TRMPRTY=32,
TRMSTAT=(TRANSCEIVE),
DUMMY=DUMMY
*
*
*
*
*
*
*
*
*
*
***********************************************************************
***
FIN A LIZ E
***
***********************************************************************
DS
OD
DC
CL32'T C T
WAIT LIST'
DFHXTCBI
TITLE 'DFHXTCBI-BTAM TCT-COPYBOOK FOR LOCAL TERMINALS'
1 LINE FOR:
DFHTCT TYPE=GPENTRY,
GPTYPE=3270L,
1 LOCAL 3270 DEVICE
LININL=160,
TIOA LENGTH
LINELST=(020),
ADDRESS
TRMFEAT=(DSA),
FEATURE
TRMSTAT=(A),
TERMINAL STATUS
TRMMODL=(2A),
TERMINAL MODEL
TRMUAL=(32),
USER AREA LENGTH
TRMIDNT=(L77A)
TERMINAL NAME
DFHTCT TYPE=GPENTRY,
1 LINE FOR:
GPTYPE=3270L,
3 LOCAL 3270 DEVICES
LININL=160,
TIOA LENGTH
LINELST=(021,022,027),
ADDRESSES
TRMFEAT=(DSA,DSA,P),
FEATURES
TRMSTAT=(A,A,A),
TERMINAL STATUS
TRMMODL=(2A,2A,2C),
TERMINAL MODELS
TRMUAL=(32,32,32),
USER AREA LENGTH
TRMIDNT=(L77B,L77C,L86P)
TERMINAL NAMES
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
DFHXTCVI
***********************************************************************
TITLE 'DFHXTCVI - COPYBOOK ENTRIES FOR VTAM TCT'
***********************************************************************
* L77A - VTAM TRMTYPE LUTYPE2
NETNAME - D72L301.
*
*
*
*
*
*
*
L77B
L77C
L77D
L77E
L77F
L86P
-
VTAM
"
VTAM
"
VTAM TRMTYPE 3270
VTAM
"
VTAM
I'
VTAM NON-SNA 3270 PRINTER.
NETNAME
NETNAME
NETNAME
NETNAME
NETNAME
NETNAME
-
D72L302.
D72L303.
D72L304.
D72L305.
D72L306.
P42L308.
*
*
*
*
**
***********************************************************************
VTRMI
DFHTCT TYPE=TER~lINAL,TRMIDNT=L77A,TRMTYPE=LUTYPE2,TRMMODL=2, *
TIOAL=(1500,1920),
BUFFER=1536,
RELREQ=(NO,YES),
FEATURE=(SELCTPEN,AUDALARM,DCKYBD),
CHNASSY=YES,
NETNAME=D72L301,
PRINTTO=(VTRM7),
GMMSG=NO,
ACCMETH=VTAM,TCTUAL=32,
Appendix D,
*
*
*
*
*
*
*
**
Sample Tables and Table Entries
369
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAL,TRMIDNT=L77B,TRMTYPE=LUTYPE2,TRMMODL=2,
TIOAL=(1500,1920),
BUFFER=1536,
RELREQ=(NO,YES),
FEATURE=(SELCTPEN,AUDALARM,DCKYBD),
CHNASSY=YES,
NETNAME=D72L302,
PRINTTO=(VTRM7),
GN~lSG=NO ,
ACCMETH=VTAM,TCTUAL=32,
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAL,TRMIDNT=L77C,TRMTYPE=LUTYPE2,TRMMODL=2,
TIOAL=(1500,1920),
BUFFER=1536,
RELREQ=(NO,YES),
FEATURE=(SELCTPEN,AUDALARM,DCKYBD),
CHNASSY=YES,
NETNAME=D72L303,
PRINTTO=(VTRM7),
G~lMSG=NO ,
ACCMETH=VTAM,TCTUAL=32,
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAL,TRMIDNT=L77D,TRMTYPE=3270,TRMMODL=2,
CLASS=(CONV,VIDEO),TIOAl=1500,RELREQ=(NO,YES),
FEATURE=(SElCTPEN,AUDAlARM,DCKYBD),
NETNAME=D72l304,
PRINTTO=(VTRM7),
GMMSG=YES,
ACCMETH=VTAM,TCTUAL=32,
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAL,TRr1IDNT=L77E,TRMTYPE=3270,TRMMODL=2,
CLASS=(CONV,VIDEO),TIOAL=1500,RELREQ=(NO,YES),
FEATURE=(SElCTPEN,AUDALARM,DCKYBD),
NETNAME=D72l305,
PRINTTO=(VTRM7),
G~lMSG=YES ,
ACCMETH=VTAM,TCTUAL=32,
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAL,TRMIDNT=L77F,TRMTYPE=3270,TRMMODL=2,
CLASS=(CONV,VIDEO),TIOAL=1500,RELREQ=(NO,YES),
FEATURE=(SELCTPEN,AUDAlARM,DCKYBD),
NETNAME=D72L306,
PRINTTO=(VTRM7),
G~lMSG=YES ,
ACCMETH=VTAM,TCTUAL=32,
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAL,TRMIDNT=L86P,TRMTYPE=3270P,TRMMODL=2,
NETNAME=P42l308,
RELREQ=(YES,YES),
CLASS=(CONV,VIDEO),TIOAL=1500,TCTUAL=32,
ACCMETH=VTAM,CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
VTRM2
VTRM3
VTRM4
VTRM5
VTRM6
VTRM7
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
**
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
**
*
DFHXTCBS
TITLE 'DFHXTCBS-BTAM SAMPLE TCT-COPYBOOK FOR LOCAL TERMINALS'
1 LINE FOR:
DFHTCT TYPE=GPENTRY,
lOCAL 3270 DEVICE
GPTYPE=3270L,
TIOA LENGTH
LININl=160,
ADDRESS
LINELST=(020),
FEATURE
TRMFEAT=(DSUA),
TERMINAL STATUS
TRMSTAT=(A),
TR~1~1ODL=(2A) ,
TERMINAL MODEL
USER AREA LENGTH
TRMUAL=(32),
TRMIDNT=(L77A)
TERMINAL NAME
1 LINE FOR:
DFHTCT TYPE=GPENTRY,
LOCAL 3270 DEVICES
GPTYPE=3270L,
TIOA LENGTH
lININL=160,
LINELST=(021,027),
ADDRESSES
370
CICS/DOS/VS Installation and Operations Guide
x
X
X
X
X
X
X
X
X
X
X
X
TRMFEAT=(DSUA,P),
TRMSTAT=(A,A),
TRMMODL=(2A,2C),
TRMUAL=(32,32),
TRMIDNT=(L77B,L860)
FEATURES
TERMINAL STATUS
TERMINAL MODELS
USER AREA LENGTH
TERMINAL NAMES
x
X
X
X
DFHXTCVS
TITLE
'DFHXTCVS - COPYBOOK ENTRIES FOR VTAM SAMPLE TCT'
***********************************************************************
* L77A - VTAM SNA LUTYPE2.
NETNAME - D72L30l.
*
*
*
*
*
***********************************************************************
VTRMl
DFHTCT
**
TIOAL=(1500,1920),RELREQ=(NO,YES),
BUFFER=1536,
**
FEATURE=(SELCTPEN,AUDALARM,UCTRAN,DCKYBD),
L77D - VTAM NON-SNA 3270.
L860 - VTAM NON-SNA 3270 PRINTER.
NETNAME - D72L304.
NETNAME - P42L308.
TYPE=TERMINAL,TR~lIDNT=L77A,TRMTYPE=LUTYPE2,TRMMODL=2,
VTRM2
VTRM3
CHNASSY=YES,
NETNAME=D72L301,
PRINTTO=(VTRM3),
GMMSG=NO,
ACCMETH=VTAM,TCTUAL=32,
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAL,TRMIDNT=L77D,TRMTYPE=3270,TRMMODL=2,
CLASS=(CONV,VIDEO),TIOAL=1500,RELREQ=(NO,YES),
FEATURE=(SELCTPEN,AUDALARM,UCTRAN,DCKYBD),
NETNAME=D72L304,
PRINTTO=(VTRM3),
GMMSG=YES,
ACCMETH=VTAM,TCTUAL=32,
CONNECT=AUTO,TRMSTAT=(TRANSCEIVE)
DFHTCT TYPE=TERMINAL,TRMIDNT=L860,TRMTYPE=3270P,TRMMODL=2,
NETNAME=P42L308,
RELREQ=(YES,YES),
CLASS=(CONV,VIDEO),TIOAL=1500,TCTUAL=32,
ACCMETH=VTAM,CONHECT=AUTO,TRMSTAT=(TRANSCEIVE)
Appendix D.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
Sample Tables and Table Entries
371
CONTENTS OF THE CICS SYSTEM DEFINITION (eSD) FILE AFTER INITIALIZATION
All these resource definitions are "IBM-Protected" and cannot be
modified. If you want to modify any of them, you must make your
own copy of the group and list definitions, and amend your own
copy in accordance l~ith your requirements (see the CICS/VS
Resource Dp-finition Guide).
list Names:
DFHlIST
Group Names:
DFJiAKP
DFHBMS
DFHHARDC
DFHMASTT
DFHOPClS
DFHRMI
DFHSPI
DFHVTAMP
DFHATP
DFHCONS
DFHINTER
DFHMISC
DFHOPER
DFHRSEND
DFHSTAND
DFHAUTO
DFHEDF
DFHISC
DFHMSWIT
DFHPlI
DFHSPlG
DFHTIME
DFHBACK
DFHFE
DFHJRNl
DFHNUM
DFHRCVRY
DFHSIGN
DFHVTAM
Group Name: DFHAKP (Activity Keypoint Program for Recovery/Restart)
Programs:
Transactions:
DFHAKP
CSKP
Group Name: DFHATP (Asynchronous Transaction Processing)
Programs:
Transactions:
DFHAQP
DFHWTl
CAQP
DFHATP
DFHWT2
CATP
DFHRDI
DFHRD2
CRDR
CWTR
Group Name: DFHAUTO (Automatic Statistics Summary Program)
Programs:
Transactions:
DFHSTSP
CAUT
Group Name: DFHBACK (Dynamic Backout)
Programs:
DFHDBPl$
DFHDBP2$
Group Name: DFHBMS (Basic Mapping Support)
Programs:
Transactions:
DFHTPQ
CSPG
DFHTPR
CSPQ
DFHTPS
CSPS
Group Name: DFHCONS (Write to CPU Console)
Programs:
Transactions:
DFHCWTO
CWTO
Group Name: DFHEDF (Execution Diagnostic Facility)
Programs:
Transactions:
DFHDBMS
DFHEDFM
DFHEIGDS
CEBR
DFHEDFBR
DFHEDFP
DFHEITAB
CEDF
DFHEDFD
DFHEDFR
DFHEDFF
DFHEDFX
Group Name: DFHFE (FE Terminal Test Program)
Programs:
Transactions:
DFHFEDI
DFHFERR
CSFE
DFHFED2
DFHFETX
CSFR
DFHFElG
Group Hame: DFHHARDC (3270 Printer - BTAM and VTAM)
Programs:
Transactions:
DFHP3270
CSpp
Group Name: DFHINTER (Command Interpreter)
Programs:
Transactions:
372
DFHECID
CECI
CICS/DOS/VS Installation and Operations Guide
DFHECIP
CECS
DFHECSP
DFHFEP
Group Name: DFHISC (Intersystem Communication)
Profiles:
Programs:
Transactions:
DFHCICSF
DFHCRNP
DFHCRS
DFHMXP
CLSI
CRSR
CSMI
CSNC
DFHCICSR
DFHCRP
DFHCRSP
DFHRTE
CLS2
CRTE
CSM2
DFHCICSS
DFHCRQ
DFHLUP
DFHCRR
DFHMIR
CMPX
CSIR
CSM3
CRSQ
CSMI
CSM5
Group Name: DFHJRNL (Journaling)
Programs:
Transactions:
DFHJCBSP
DFHJCIOE
CSJC
DFHJCC
DFHJCEOV DFHJCI
DFHJCKOJ DFHJCO
DFHJCSDJ
;( Group Name: DFHMASTT (Master Terminal Function)
Programs:
Transactions:
DFHMTPA
DFHMTPE
CSMT
DFHMTPB
DFHMTPF
CSOT
DFHMTPC
DFHMTPG
CSST
DFHMTPD
Group Name: DFHMISC (Miscellaneous Programs)
DFHNEP
DFHUAKP
Programs:
DFHNET
DFHPEP
DFHRTY
Group Name: DFHMSWIT (Message Switching Program)
Programs:
Transactions:
DFHMSP
CMSG
Group Name: DFHNUM (Numeric Sign-On/Sign-Off Group)
Transactions:
9999
8888
Group Name: DFHOPClS (Dynamic Open/Close Program)
Programs:
~
DFHOCP
Group Name: DFHOPER (Operator Programs)
Programs:
Transactions:
DFHEITMT
DFHEMB
DFHEMF
DFHEMTA
DFHESTP
CEMT
DFHEITOT
DFHEMC
DFHEMG
DFHEMTD
DFHEITST
DFHEMD
DFHEMH
DFHEMTP
CEOT
CEST
DFHEMA
DFHEME
DFHEMI
DFHEOTP
Group Name: DFHPLI (PL/I Support in CICS)
Programs: IBMBCCLA
IBMBETBA
IBMBETPA
IBMFESMA
IBMFKPTA
IBMFPGDA
IBMBCCRA
IBMBETCA
IBMBETQA
IBMFESHA
IBMFKTBA
IB~lFPMRA
IBMBEOCA
IBMBETIA
IBMBETTA
IBMFKCSA
IBMFKTCA
IBMFSTVA
IBMBETAA
IBMBETOA
IBMFEFCA
IBMFKMRA
IBMFKTRA
Group Name: DFHRCVRY (Recovery/Restart Facility)
Programs: DFHRUP
DFHTBPl$
DFHTBP2$
DFHTDRP
DFHTSRP
Group Name: DFHRMI (Resource Manager Interface)
Programs:
Transactions:
DFHRMSY
CRSY
Group Name: DFHRSEND (VTAM Resend Program)
Programs:
Transactions:
DFHZRSP
CSRS
Appendix D.
Sample Tables and Table Entries
373
Group Name: DFHRSPlG (VTAM Response logging Program)
Programs:
Transactions:
DFHZRlG
CSlG
Group Name: DFHSIGN (Sign-On/Sign-Off Programs and Tables)
Programs:
Transactions:
DFHSNP
CSSN
DFHSFP
CSSF
DFHSNT
Group Name: DFHSPI (Resource Definition Online)
Programs:
DFHAMP
DFHEITSP
CEDA
Transactions:
DFHDMP
DFHPUP
DFHEDAD
DFHEDAP
Group Name: DFHSTAND (Standard CICS Application Programs)
Profiles:
Programs:
DFHCICSE
DFHCCMF
DFHSTP
DFHTACP
CSAC
DFHCICSA
DFHACP
DFHSTlK
DFHSTTR
CCMF
Transactions:
DFHCICST
DFHCMON
DFHSTPD
DFHTEP
CSTE
DFHCICSV
DFHSTKC
DFHSTTD
DFHTEPT
CSTT
Group Name: DFHTIME (Time Adjustment Program)
Programs:
Transactions:
DFHTAJP
CSTA
Group Name: DFHVTAM (VTAM Programs)
Programs:
Transactions:
DFHZNAC
CSNE
DFHGMM
CSGM
DFHZNEP
Group Name: DFHVTAMP (VTAM Terminal Control Print Key Function)
Programs:
Transactions:
DFHCPY
CSCY
DFHEXI
CSPK
Transact;on Names:
Transaction
CCMF
-"-·CEDA
-CEMT
CEOT
CEST
ClSl
ClS2
CMPX
CMSG
CRSQ
CRSR
CRSY
CRTE
CSAC
CSCY
CSGM
CSIR
CSJC
CSlG
CSMI
-CSMT
CSMI
CSM2
CSM3
CSMS
CSNC
CSNE
'---'CSOT
374
Group
Program
DFHSTAND
DFHSPI
DFHOPER
DFHOPER
DFHOPER
DFHISC
DFHISC
DFHISC
DFHMSWIT
DFHISC
DFHISC
DFHRMI
DFHISC
DFHSTAND
DFHVTAMP
DFHVTAM
DFHISC
DFHJRNl
DFHRSPlG
DFHISC
DFHMASTT
DFHISC
DFHISC
DFHISC
DFHISC
DFHISC
DFHVTAM
DFHMASTT
DFHCCMF
DFHEDAP
DFHEMTP
DFHEOTP
DFHESTP
DFHlUP
DFHlUP
DFHMXP
DFHMSP
DFHCRQ
DFHCRS
DFBRMSY
DFHRTE
DFHACP
DFHCPY
DFHGMM
DFHCRR
DFHJCBSP
DFHZRlG
DFBMIR
DFHMTPA
DFHMIR
DFHMIR
DFHMIR
DFHMIR
DFHCRNP
DFHZNAC
DFHMTPA
CICS/DOS/VS Installation and Operations Guide
DFHPRK
CSRK
DFHRKB
Transaction
CSPK
CSRK
CSRS
CSSF
CSSN
CSST
CSTA
CSTE
CSTT
8888
9999
Group
DFHVTAMP
DFHVTAMP
DFHRSEND
DFHSIGN
DFHSIGN
DFHMASTT
DFHTIME
DFHSTAND
DFHSTAND
DFHNUM
DFHNUM
Appendix D.
Program (Continued)
DFHPRK
DFHRKB
DFHZRSP
DFHSNP
DFHSNP
DFHr1TPA
DFHTAJP
DFHTACP
DFHSTKC
DFHSNP
DFHSNP
Sample Tables and Table Entries
375
Appendix E. Aids and Sample Application Programs
This appendix describes the CICS aids and the sample application
programs that are provided on the distribution tape.
CICS AIDS
The following aids are provided:
DFHSDR$
BTAM error statistics recorder.
DFHTDWT$
A program to write transient data direct to a terminal.
DFHTDLI
A sample application that can be used to test a CICS-DL/I
installation.
DFHXMOLS
A sample program to list the journal data set produced by the
CICS monitoring facility.
The source code for all the aids can be found in the A. books of
the same name in the source statement library. DFHSDR$, DFHTDWT$,
DFHTDLI, and DFHXMOLS are in the core image library of the
pregenerated system ready for use.
BTAM ERROR STATISTICS RECORDER (DFHSDR$l
This aid is provided for users who wish to log all errors and BTAtt
statistics to the VSE IJSYSRC file. While CICS is running,
recording is done if the BTAM logic module was generated with RMSR
support (RMSR=YES and ERLOGIC=E specified), and your TCT includes
an RMSRTAB macro and also has ERROPT=E and LERBADR='the name on
the RMSRTAB macro' specified on the DFHTCT TYPE=SDSCI macro
instruction. During system termination the residual BTAM
statistics are written by this program to the VSE IJSYSRC file,
then a successful completion message is written to the computer
operator's console. If RMSR support or the IJSYSRC file is not
included or available, a message is printed on the computer
operator's console stating that statistics were not logged.
It is invoked by specifying the name of this program in a program
list table (PLT) used for non-immediate shutdown (CEMT PERFORM
SHUTDOWN). This shutdown PLT is specified in the SIT or system
initialization override statements by PLTSD='the table suffix'.
Both this program and the shutdown PLT each require an entry in
the PPT.
An example follows of a terminal control table supporting a local
BTAM 3277 display and also exhibiting the functions needed for
DFHSDR$:
*
T IN COLUMN 70 FLAGS LINES RELATING TO RMSR SUPPORT AND BTAM TERMTST
DFHTCT TYPE=INITIAL,
X
ACCMETH=NONVTAM,
X
MODNAME=BTML32T
TERMTST RMSR ERROPT=E
T
L77S
DFHTCT TYPE=SDSCI,
LOCAL 3277-2
X
CU=3272,
X
DSCNAME=DFH002,
X
ERROPT=E,
T X
LERBADR=RMSR1,
RMSR SUPPORT
T X
LINELST=( 011),
X
SWITCH=NO,
X
TERMTST=YES,
BTAM TERM TEST
T X
DEVICE=l3277
Appendix E.
Aids and Sample Application Programs
377
DFHTCT TYPE=LINE,
ACCMETH=BTAM,
DSCNAME=DFH002,
INAREAL=120,
POOLADR=G002T002,
TRMTYPE=l3277
G002T002 DFHTCT TYPE=TERMINAL,
COMPAT=NO,
FEATURE=(DCKYBD,UCTRAN,SELCTPEN),
LASTTRM=POOL,
LVUNIT=l,
PGESIZE=C24,80),
PGESTAT=PAGE,
TCTUAL=O,
TRMIDNT=l77S,
TRMMODL=2,
TRMPRTY=O,
TRMSTAT=TRANSCEIVE,
TRMTYPE=l3277
RMSRI
RMSRTAB 1
RMSR MACRO
* THE FOLLOWING IS THE EQUIVALENT GPENTRY FOR THIS TCT
DFHTCT TYPE=GPENTRY,
LOCAL 3277
*
GPTYPE=3270L,
*
lININL=120,
*
LINELST=011,
SYSOll
TRMMODl=2A,
1920 CHAR
*
*
TRMFEAT=(~US),
DCKYBD,UCTRAN,lIGHT PEN
*
TRMIDNT=l77S,
*
lERBADR=RMSRl,
RMSR SUPPORT
*
TERMTST=YES,
BTAM TERMINAL TEST
*
TRMSTAT=A
TRANSCEIVE
DFHTCT TYPE=FINAl
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
T
*
*
*
*
*
*
*
*
*
T*
T*
*
CAUTION: large users of remote BTAM terminals may find too much
activity on the IJSYSRC file because even polling is logged when
the counter reaches a threshold value. These users should
investigate adopting a different approach.
TRANSIENT DATA WRITE TO TERMINAL (DFHTDWi$)
Thi s aid prints messages on a local 3270 printer as they occur. In
the destination control table, the user can specify that
messages, such as those from the abnormal condition program
(DFHACP) and the sign-on and sign-off messages, are to be sent to
indirect destinations. These indirect destinations are, in turn,
directed to an intrapartition destination specified as the
terminal identification in the TCT for the local 3270 printer. The
DCT entry for the intrapartition destination should specify the
transaction identifier for this aid, with a trigger level of 1 if
the messages are to be pri nted i mmedi atelY. When a message
arrives at the destination and the terminal is available, CICS
uses automatic transaction initiation to start this aid program
that sends the message to the terminal.
To use this aid, the CICS system must include automatic
transaction initiation (ATI) and the transient data
intrapartition data set.
Sample table entries for this technique are as follows:
DFHDCT TYPE=INDIRECT,DESTID=CSMl,INDDEST=lPRT
DFHDCT TYPE=INDIRECT,DESTID=CSMT,INDDEST=lPRT
DFHDCT TYPE=INDIRECT,DESTID=CSTl,INDDEST=lPRT
Note: The above are examples of some Message destinations.
DFHDCT TYPE=INTRA,
DESTFAC=TERMINAl,
DESTID=lPRT,
TRANSID=TDWT,
TRIGlEV=l
378
.• same name as TRMIDNT on TCT entry
CICS/DOS/VS Installat i on and Operat ions Gui de
*
*
*
DFHPCT TYPE=EHTRY,TRAHSID=TDWT,PROGRAM=DFHTDWT$
DFHPPT TYPE=EHTRY,PROGRAM=DFHTDWT$
DFHTCT TYPE=TERMINAL,
TRMIDHT=LPRT,
TRMTYPE=3270P,
.. a local non-SHA VTAM 3270 printer
*
*
*
CICS-DL/I INSTALLATION TESTER (DFHTDLI)
This is a macro-level assembler-language program that can be used
to test CICS-DL/I installations. Before DFHTDLI can be run,
however, a DL/I application control table (ACT) must be generated
including an entry for the test program. The program requires a
data base to work on. For information on the creation of data
bases, see the appropriate DL/I publications. Further
requirements are listed at the end of this description.
The transaction identifier is TDLI, and the core image library
phase name is DFHTDLI.
The program uses Basic Mapping Support to format a 1920-character
3270 screen, requesting the user to build a DL/I CALL on the
screen. Any of the DL/I calls may be issued, using up to five
qualified or unqualified segment search arguments. System calls
and calls that include command codes are not supported. DL/I
segments up to a length of 512 bytes only are supported by
DFHTDLI. If larger segments are accessed, unpredictable results
may occur.
To use the program, key in the transaction code and press EHTER.
The first screen returned will request the entry of a PSB name.
Any PSB name defined in the application control table specified
for use by the program may be entered. If a PSB name is not
specified (just the ENTER key pressed), the program will use the
first default PSB defined in the ACT. If the PSB named cannot be
found, an error message will be displayed. This message displays
in hexadecim~l notation the DL/I error codes ~eturned in TCAFCTR
and TCAFCTR+1. The DL/I DOS/VS Application Programming Reference
Manual should be used to determine the meaning of these codes.
ENTER Sc~een: This screen is the first screen returned. It
allows a DL/I call to be built to the user's requirements.
Calls will be executed using the DBD name of the first PCB in the
PSB unless the name of a DBD is specified on the screen. The
program will search from 1 to 8 PCBs for the DBD name entered and,
if found, will use that PCB for the call. Some syntax editing is
carried out on the input data, and any errors found are indicated
by a message displayed at the bottom of the screen asking the
operator to correct the error and press the EHTER key.
If a function code is not entered, the program assumes that a GH
call is required on the PCB last used. Pressing the CLEAR key
terminates the program at any point.
GOUT (Good output)
Sc~een:
If the call is successful, the segment
requested is returned using this screen.
This screen displays the parameters used for the call, the PCB key
feedback fully-concatenated key of the path, and the segment
requested. If another call using the same PCB is required, for
example GH or REPL, the call should be keyed into the function
code and the ENTER key pressed. The program will execute that
call. If a new call is required to be built, the ENTER screen is
obtained by simply pressing the ENTER key.
ERMP (E~~o~) Sc~een: If DL/I finds an error in the call, the
program will display the parameters that were used in the call,
the PCB information, and up to 256 bytes of the PCB key feedback
Appendix E.
Aids and Sample Application Programs
379
field. Press the ENTER key to return to the ENTER screen, or the
CLEAR key to end the program.
Further requirements for DFHTDLI include:
PCT Entry:
TRANSID=TDLI
PROGRAM=DFHTDLI
TWASIZE=1200 bytes
(long conversational)
PPT Entr;es:
PROGRAM=DFHTDLI
PROGRAM=TDLIMS
BMS map set
No PPT entry is required for the PSB for DL/I; the PSB name is
specified in the DL/I application control table (ACT) entry for
the DFHTDLIprogram.
FCT Entr;es:
Each data base must be specified in the CICS file control table.
CAUTION:
1.
This program will issue any call entered on the screen except
system or command code calls.
2.
If a PSB with a PROCOPT of other than G is used, an intent
scheduling conflict in DL/I may be encountered, causing other
tasks to wait for access to the data base being used. This
program is a long conversation which keeps its PSB scheduled
from the start until terminated. Refer to the DL/I manuals
for more details on intent scheduling.
3.
This program must not be used to read or write segments
greater than 512 bytes long, or unpredictable results may
occur.
The source code for DFHTDLI and the BMS map set TDLIMS can be
found in the following source statement library books:
A.DFHTDLI
A.TDLIMS
A.DFHXTDLM
Program
Symbolic description map (copy code)
BMS map set source code for TDLIMS
CICS MONITORING FACILITY OUTPUT LISTING PROGRAM (DFHXMOLS)
The version of DFHXMOLS provided in the core image library is
intended for batch execution with tape input. A version suitable
for batch execution with disk input, and another version suitable
for online execution as a CICS transaction, may be generated by
assembling the source code with appropriate SYSPARM values.
Details of this and how to run the monitoring sample program are
provided in the CICS/VS Customization Guide, and also in the
source code for DFHXMOLS, which may be printed down from the
source statement library. The CICS/VS Performance Guid~ tells
you how to interpret the output from CICS monitoring. DFHXMOLS
reads, formats, and prints the contents of the monitoring data
set; it does not perform any analysis of the data.
380
CICS/DOS/VS Installation and Operations Guide
SAMPLE APPLICATION PROGRAMS
Sample applications written in command-level assembler language,
COBOL, PL/I, and RPG II are provided. A macro-level assembler
language program to test CICS-DL/I installations is also
provided, and this is described under "CICS-DL/I Installation
Tester (DFHTDLI)" on page 379.
The following sample application programs are provided:
•
Four sets of sample command-level application programs, one
set for each of the programming languages supported
(assembler, COBOL, PL/I, and RPG II), that operate on the
sample VSAM file FILEA. Both source code and object code are
supplied. Copy books containing the table entries needed for
running these programs are also provided.
•
A sample application, consisting of two command-level PL/I
programs, for sending a message to a remote CICS destination
across an intersystem link. Source code only is supplied.
•
Sample command-level applications programs, written in
assembler language, illustrating distributed transaction
processing (synchronous processing) between two CICS systems
and between a CICS system and an IMS/VS system. Source code
only is supplied.
•
Two sets of sample command-level application programs, one
set each in COBOL and PL/I, illustrating BMS partition
support. Source code only is supplied.
FILEA SAMPLE APPLICATIONS
Four sets of sample applications using the command-level
interface are provided, one set for each of the programming
languages supported (assembler, COBOL, PL/I, and RPG II). The
applications are for use with IBM 3270 display terminals. There
are six programs in each set, and these programs cover eight
functions as follows (file inquiry, add, and update being
combined into one program):
menu (displays other functions)
file inquiry
file add
file update
file browse
order entry
order entry queue print
report
To use the PL/I sample programs, the DOS PL/I optimizing compiler
transient library must be installed. The assembler language
programs can be used by all users. The COBOL programs may need to
be recompiled against the particular COBOL compiler installed.
(FCOBOL was used to generate the sample programs provided in the
distribution core image library.)
The CICS system must include VSAM file control support,
full-function BMS, auxiliary temporary storage, and the transient
data intrapartition data set.
All sets of sample application programs operate on a sample VSAM
file, FILEA, which must first be created. Sample job control
statements and the data needed to create FILEA are provided in a
source statement library book, details of which are given in
Appendix F. The file consists of records containing details of
individual bank accounts, and specific account numbers have to be
entered. These numbers include 100000, 111111, 200000, 222222,
300000, 333333, 400000, 444444, 500000, 555555, 600000, 666666,
700000, 777777, BOOOOO, BBB88B, 900000, and 999999. The programs
allow you to display, add, update, or browse through entries.
Appendix E.
Aids and Sample Application Programs
3Bl
The logic of the assembler language, COBOL, and PL/I sample
programs is given in the CICS/VS Application Programmer's
Reference Manual (Command level). The logic of the RPG II
programs is given in the CICS/VS Application Programmer's
Reference Manual (RPG II).
Both source code and object code for the sample application
programs and their BMS map sets are supplied on the distribution
volume. The naming convention used for the source statement
library books is the following:
Programs x.DFHXaaaa (x=A,C,P,R)
XDFHaaaa
Record descriptions (copy code) x.FILEA (x=A,C,P,R)
FILEA
x.LOGA
LOGA
x.L860
L860
Symbolic description maps (copy code) A.XDFHAMy (y=A,B,C,D,K,L)
XDFHAMy Assembler
C.XDFHCMy
XDFHCMy COBOL
P.XDFHPMy
XDFHPMy PL/I
R.XDRMy
XDRMy
RPG II
BMS map set source code A.DFHXAMy (y=A,B,C,D,K,L)
A.DFHXCMy
A.DFHXPMy
A.DFHXRMy
XDFHAMy
XDFHCMy
XDFHPMy
XDRMy
Assembler
COBOL
PL/I
RPG II
Note: Source code for the sample programs, and copy code for the
record descriptions and symbolic description maps used, are held
as books appropriate to their language, namely A. books for
assembler, C. books for COBOL, P. books for PL/I, and R. books for
RPG II. Source code for all the BMS map sets used is held as A.
books.
Before bringing up CICS to run the sample applications, you must
. ensure that suitable tables are provided and either named in the
SIT or specified as system initialization overrides. The
following copy books are provided for the table entries needed to
run the FILEA sample applications (see Appendix D for details):
DFHXDCTS
DFHXFCTS
DFHXPCTy (y=A,C,P,R)
DFHXPPTy (y=A,C,P,R)
DFHXTCBS
DFHXTCVS
It is not necessary to sign on to CICS (using CSSH) before running
the sample applications, because all the sample transactions have
a security code of 1 (the default).
When CICS is running, any of the transaction identifiers listed
below for the sample applications may be entered.
When the sample applications are finished with, they can be
deleted from the core image library by using the MAIHT utility,
and requesting it to DELETC XDFH.ALL. (All the pregenerated
sample application programs start with the 4-character group
XDFH.)
Operator Instruct;onSample Program
The instruction program displays a map containing operator
instructions. This map lists some of the sample application
functions provided, and the transaction identifiers that can be
used to invoke them for the programming language being used. To
initiate the file browse, inquiry, add, or update programs, the
382
CICS/DOS/VS Installation and Operations Guide
appropriate transaction identifier must be entered in the menu
map.
The program names, maps, and transaction identifiers are:
Assembler
COBOL
PL/I
RPG II
Program
Map
Trans. ID
XDFHAMNU
XDFHINST
XDFHAMA
AMNU
MENU
PMNU
RMNU
XDFHP~1NU
XDFHRMNU
XDFHC~1A
XDFHPMA
XDR~1A
Update sample Program
The update program includes file update, file add, and file
inquiry operations.
The program names, maps, and transaction identifiers are:
Program
Assembler
COBOL
PL/I
RPG II
XDFHAALL
XDFHCALL
XDFHPAll
. XDFHRALL
Maps
Trans. IDs
XDFHAMA,XDFHAMB
XDFHCMA,XDFHCMB
XDFHPMA,XDFHPMB
XDRMA,XDRMB
AINQ,AADD,AUPD
INQY,ADDS,UPDT
PINQ,PADD,PUPD
RINQ,RADD,RUPD
Browse Sample Program
The browse program sequentiallY retrieves a page or set of records
for display, starting at a point specified by the terminal
operator, and continuing either forwards or backwards through the
file.
The program names, maps, and transaction identifiers are:
Assembler
COBOL
PL/I
RPG II
Program
Maps
Trans. ID
XDFHABRW
XDFHBRWS
XDFHPBRW
XDFHRBRW
XDFHAMA,XDFHAMC
XDFHC~1A, XDFHCMC
XDFHPMA,XDFHPMC
XDRMA,XDRMC
ABRW
BRWS
PBRW
RBRW
Order Entry Sample Program
The order entry sample application program accepts ;nput
simUlating the ordering of parts. The data entered will be
rejected if the number entered in the "number" field does not
match the number of one of the records in the sample file. The
entries are sent to an intrapartition transient data queue called
L860. When 30 order entries have accumulated, the list is
automatically sent to another location to be processed by the
Order Entry Queue Print sample program. (The trigger level for
queue l860 can be changed dynamically via the CEMT SET QUEUE
TRIGGER command.)
The program names, maps, and transaction identifiers are:
Assembler
COBOL
PL/I
RPG II
Program
Map
Trans. ID
XDFHAREN
XDFHOREN
XDFHPORD
XDFHRREN
XDFHAMK
XDFHCMK
XDFHPMK
XDRMK
AORD
OREN
PORD
RORD
Order Entry Queue Pr;nt Sample Program
This program reads the order entry queue when the number of
entries in the queue reaches 30 - the trigger level defined in the
OCT entry for L860, and prints the queue items on a 3270 printer.
Appendix E.
Aids and Sample Application Programs
383
If the transaction identifier is entered by the terminal
operator, the. program will read the order entry queue at hourly
intervals. If there are no items on the queue, a message is
printed indicating that the queue is empty.
The program names, maps, and transaction identifiers are:
Assembler
COBOL
PL/I
RPG II
Program
Hap
Trans. ID
XDFHACOM
XDFHCCOM
XDFHPCOM
XDFHRCOM
XDFHAMl
XDFHCMl
XDFHPMl
XDRMl
AORQ
OREQ
PORQ
RORQ
Note: If the COBOL, Pl/I, or RPG II version of this program is to
be used, the operand TRANSID=AORQ specified for destination l860
in copy book DFHXDCTS must be changed to indicate 'OREQ', 'PORQ',
or 'RORQ' respectively.
Report Sample Program
The report sample program produces a Ii s't of all entri es in the
sample file that are less than or equal to a specified amount.
This program illustrates page-building techniques and use of the
terminal-paging facilities of full-function BMS. To use the
program, suitable character-string values for the terminal-paging
commands must be defined either in the system initialization
table (SIT) or as overrides at CICS system initialization. For
example:
PGCHAIN=X/
PGCOPY=C/
PGPURGE=T/
PGRET=P/
The program names, maps, and transaction identifiers are:
Assembler
COBOL
PL/I
RPG II
Program
Hap
Trans. ID
XDFHAREP
XDFHREPT
XDFHPREP
XDFHRREP
XDFHAMD
XDFHCMD
XDFHPMD
XDRMD
AREP
REPT
PREP
RREP
INTERSYSTEM COMMUNICATION MESSAGE ROUTING SAMPLE APPLICATION
This sample application consists of two command-level Pl/I
programs, for which the source code only is supplied on the
distribution tape - as books P.DFHXPXP and P.DFHXPRP in the source
statement library. To use these programs, they must first be
translated, compiled, and link-edited, and the DOS Pl/I transient
library must have been installed. Recommended core image library
phase names are XDFHPXP and XDFHPRP respectively, matching the
PCT and PPT entries given here.
The ISC message-routing sample application enables an operator on
one CICS system to s~nd a message to a specified destination on
another CICS syst~m, across an intersystem link. Messages can be
sent to any CICS system in the network, and to any transient data
destination deflned in the remote system. The initiating
transaction identifier is XPXP.
The application uses an unformatted screen, and is coded for a
maximum message length of 160 characters. Only IBM 3270 display
terminals are supported.
384
CICS/DOS/VS Installation and Operations Guide
The following table entries are required:
PCT Entr;es:
DFHPCT TYPE=ENTRY,TRANSID=XPXP,PROGRAM=XDFHPXP,
SPURGE=YES,TPURGE=YES
DFHPCT TYPE=ENTRY,TRANSID=XPRP,PROGRAM=XDFHPRP,
SPURGE=YES,TPURGE=YES
PPT Entr;es:
DFHPPT TYPE=ENTRY,PROGRAM=XDFHPXP,PGMlANG=Pl/I
DFHPPT TYPE=ENTRY,PROGRAM=XDFHPRP,PGMlANG=Pl/I
DCT Entry (Opt;onall:
DFHDCT TYPE=INTRA,DESTFAC=TERMINAl,DESTID=xxxx,
TRANSID=XPRP,TRIGlEV=l
Note: These table entries are not included in the sample tables.
If the transient data destination for the message is a terminal,
the owning CICS system can use ATI to display the message at the
destination terminal by having a DCT entry coded as above.
The operator can specify DESTID and SYSIDNT, in which case no DCT
entry for the remote destination is required. (This could be used
to check the network nodes (SYSIDNTs) from a terminal.)
Alternatively, the operator may specify only the DESTID, in which
case CICS will use th~ definitions of remote DESTIDs in the DCT to
route the message to the correct system. DESTID and SYSIDNT are
assumed by the application to be four characters long, so you
should pad with blanks as necessary.
DISTRIBUTED TRANSACTION PROCESSING SAMPLE APPLICATIONS
Sample applications are provided to illustrate distributed
transaction processing (synchronous processing) between two CICS
systems and between a CICS system and an IMS/VS system.
There are five sample applications:
1.
A CICS to CICS sample showing a remote browsing operation
2.
A CICS to CICS or IMS/VS sample illustrating a simple
conversation
3.
A CICS to CICS sample illustrating the transfer of a temporary
storage queue from one system to another
4.
A CICS to IMS/VS conversational sample
5.
A CICS to IMS/VS sample illustrating demand paging
The CICS-to-CICS samples are suitable for both intersystem
communication and multi region operation.
Full descriptions of each of these samples are given in the
CICS/VS Intercommunication Facilities Guide.
The sample programs are written in assembler language using the
command-level interface, and must be translated, assembled, and
link-edited before they can be run. All the programs use BMS map
sets, which must first be prepared.
Source code for the programs and their map sets is supplied in the
following source statement library books (the numbers in
parentheses identify the sample applications):
Appendix E.
Aids and Sample Application Programs
385
Programs A.DFHXAIBL, A.DFHXAIBR
A.DFHXAIIA
A.DFHXAI2A
A.DFHXAI4A
A.DFHXAI4B
Map sets A.DFHXAMC, A.DFHXAIB
A.DFHXAll
A.DFHXAI2
A.DFHXAI4
(1)
(2)
(3)
(4)
(5)
Used by (1)
(2)
(3)
(4) and
(5)
Note: DFHXAMC is also used by the FILEA browse sample program
(transaction identifier ABRW); the symbolic description map and
the physical map are both supplied pregenerated.
The following entries are required in the using system's PCT and
PPT to enable the samples to be run:
PCT Entr;es:
DFHPCT TYPE=ENTRY,TRAHSID=AIBL,PROGRAM=XDFHAIBL,
SPURGE=YES,TPURGE=YES,IHBFMH=ALL
DFHPCT TYPE=EHTRY,TRANSID=AIBR,PROGRAM=XDFHAIBR,
SPURGE=YES,TPURGE=YES
DFHPCT TYPE=EHTRY,TRAHSID=AICC,PROGRAM=XDFHAIIA,
SPURGE=YES,TPURGE=YES
DFHPCT TYPE=ENTRY,TRANSID=AISC,PROGRAM=XDFHAI2A,
SPURGE=YES,TPURGE=YES
DFHPCT TYPE=EHTRY,TRANSID=AISR,PROGRAM=XDFHAI2A,
SPURGE=YES,TPURGE=YES,IHBFMH=ALL
DFHPCT TYPE=ENTRY,TRAHSID=AICO,PROGRAM=XDFHAI4A,
SPURGE=YES,TPURGE=YES,INBFMH=ALL
DFHPCT TYPE=EHTRY,TRAHSID=AICD,PROGRAM=XDFHAI4B,
SPURGE=YES,TPURGE=YES,INBFMH=ALL
PPT Entries:
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
TYPE=EHTRY,PROGRAM=XDFHAIBL
TYPE=ENTRY,PROGRAM=XDFHAIBR
TYPE=ENTRY,PROGRAM=XDFHAI1A
TYPE=ENTRY,PROGRAM=XDFHAI2A
TYPE=EHTRY,PROGRAM=XDFHAI4A
TYPE=ENTRY,PROGRAM=XDFHAI4B
TYPE=ENTRY,MAPSET=XDFHAMC
TYPE=ENTRY,MAPSET=XDFHAIB
TYPE=ENTRY,MAPSET=XDFHAII
TYPE=ENTRY,MAPSET=XDFHAI2
TYPE=ENTRY,MAPSET=XDFHAI4
Note: These table entries are not included in the sample tables.
BMS PARTITION SUPPORT SAMPLE APPLICATIONS
Sample applications are provided to illustrate two possible uses
for BMS partition support:
1.
Keystroke Overlap - Two copies of a data entry map are
displayed. Having entered a completed map in one partition,
the operator may switch to another partition and start
entering data there while the data from the first partition is
being processed.
2.
Look-Aside Query - Two partitions are used, one for data entry
and one for look-aside queries. The operator may enter data
into either partition at any time.
Two sets of these sample programs are provided, one set written in
COBOL, the other in PL/I. The programs must be translated,
compiled, and link-edited before they can be run. All the
386
CICS/DOS/VS Installation and Operations Guide
programs use a BMS map set and a partition set, which must first
be prepared. To use the Pl/I programs, the DOS Pl/I transient
library must have been installed.
Further details of the samples are provided in the source code,
which may be printed down from the source statement library.
The source code for the programs, map set, and partition set is
contained in the following books:
Programs C.DFHXCDE, P.DFHXPDE
C.DFHXClA, P.DFHXPlA
Keystroke Overlap (COBOL, PL/I)
look-Aside Query (COBOL, PL/I)
Map set A.DFHXAPM
Used by all programs
Partition set A.DFHXAPP
Used by all programs
Note: The map set source code A.DFHXAPM must be edited to indicate
the desired language, by specifying LANG=COBOl or lANG=PlI as
appropriate on the DFHMSD TYPE=DSECT macro.
The following entries are required in the using system's PCT and
PPT to enable the samples to be run:
PCT Entries:
DFHPCT TYPE=EHTRY,TRANSID=XCDE,PROGRAM=DFHXCDE,
SPURGE=YES,TPURGE=YES
DFHPCT TYPE=EHTRY,TRAHSID=XClA,PROGRAM=DFHXCLA,
SPURGE=YES,TPURGE=YES
DFHPCT TYPE=ENTRY,TRANSID=XPDE,PROGRAM=DFHXPDE,
SPURGE=YES,TPURGE=YES
DFHPCT TYPE=EHTRY,TRANSID=XPLA,PROGRAM=DFHXPlA,
SPURGE=YES,TPURGE=YES
PPT Entries:
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
DFHPPT
TYPE=EHTRY,PROGRAM=DFHXCDE
TYPE=ENTRY,PROGRAM=DFHXClA
TYPE=EHTRY,PROGRAM=DFHXPDE
TYPE=EHTRY,PROGRAM=DFHXPlA
TYPE=ENTRY,MAPSET=DFHXAPM
TYPE=ENTRY,PARTSET=XAPP
Notes:
1.
These table entries are not included in the sample tables.
2.
The partitioned display terminal to be used must be defined in
the CICS terminal control table.
Appendix E.
Aids and Sample Application Programs
387
Appendix F. Sample Job Streams
SAMPLE PROCEDURES
To make it easier for the system programmer to install
command-level application programs, the source code of sample
procedures is supplied in the following books in the CICS source
statement library:
Z.DFHEITAL for assembler language Z.DFHEITCl for COBOL
Z.DFHEITPL for Pl/I Z.DFHEITRl for RPG II.
"Chapter 3.4. Installing Application Programs" tells you how to
use these procedures, each of which consists of three steps:
•
•
•
Translate
Assemble/compile
Link-edit.
Note: These procedures are valid only if the output from the
translation step is written to a disk other than that on which the
procedure library resides.
Before putting the sample procedures into the procedure library,
you must modi fy:
1.
2.
The extent information
The volume identifications.
DFHEITAL - TRANSLATE, ASSEMBLE, AND LINK-EDIT ASSEMBLER-LANGUAGE APPLICATION PROGRAMS
II DlBL
II EXTENT
IJSYSPH,'ASM.TRANSlATIOH',99/365
SYSPCH,,1,O,399,19
ASSGN SYSPCH,DISK,VOL=DB0007,SHR
II EXEC
DFHEAP1$
CLOSE
SYSPCH,PUNCH
II DLBL
IJSYSIN,'ASM.TRAN~lATIOH',99/365
II EXTENT SYSIPT
ASSGN SYSIPT,OISK,VOl=OB0007,SHR
INCLUDE OFHEAI
II EXEC
ASSEMBLY
CLOSE
SYSIPT,READER
/1 EXEC
LNKEOT
Note: Disk is used as intermediate storage for translator output.
DFHEITCL - TRANSLATE, COMPILE, AND LINK-EDIT COBOL APPLICATION PROGRAMS
II DlBl
II EXTENT
IJSYSPH,'COBOl.TRANSlATIOH',99/365
SYSPCH,,1,O,399,19
ASSGN SYSPCH,OISK,VOL=OB0007,SHR
II EXEC
DFHECP1$
CLOSE
SYSPCH,PUNCH
IIOlBl
IJSYSIN,'COBOl.TRANSlATION',99/365
II EXTENT SYSIPT
ASSGN SYSIPT,DISK,VOL=DB0007,SHR
INCLUDE OFHECI
II EXEC
FCOBOl
CLOSE
SYSIPT,READER
// EXEC
LNKEOT
Note: Disk is used as intermediate storage for translator output.
"--
Appendix F.
Sample Job Streams
389
DFHEITPL - TRANSLATE, COMPILE, AND LINK-EDIT PL/I APPLICATION PROGRAMS
// DLBL
IJSYSPH,'PL/I.TRANSLATION',99/365
// EXTENT SYSPCH,,1,0,399,19
ASSGN SYSPCH,DISK,VOL=DB0007,SHR
// EXEC
DFHEPP1$
CLOSE
SYSPCH,PUNCH
// DLBL
IJSYSIN,'PL/I.TRANSLATION',99/365
// EXTENT SYSIPT
ASSGN SYSIPT,DISK,VOL=DB0007,SHR
INCLUDE DFHPLII
// EXEC
PLIOPT
CLOSE
SYSIPT,READER
// EXEC
LNKEDT
Note: Disk is used as intermediate storage for translator output.
DFHEITRL - TRANSLATE, COMPILE, AND LINK-EDIT RPG II APPLICATION PROGRAMS
// DLBL
IJSYSPH,'RPG.II.TRANSLATION',99/365
// EXTENT SYSPCH,,1,O,399,19
ASSGN SYSPCH,DISK,VOL=DB0007,SHR
// EXEC
DFHERPl$
CLOSE
SYSPCH,PUNCH
// DLBL
IJSYSIN,'RPG.II.TRANSLATION',99/365
// EXTENT SYSIPT
ASSGN SYSIPT,DISK,VOL=DB0007,SHR
INCLUDE DFHERI
// EXEC
RPGII
CLOSE
SYSIPT,READER
// EXEC
LNKEDT
Note: The output from the translator is directed to SYSPCH (on
disk).
390
CICS/DOS/VS Installation and Operations Guide
GENERAL-PURPOSE JOB STREAM
The following listing is of the source code of a general-purpose
set of jobs for creating VSAM file FIlEA, bringing up CICS, and so
on. The fields included in lowercase should be replaced with your
values before each job is run. The source code is contained in
Z.DFHSPJCl.
DEFINE VSAM MASTER CATALOG
// JOB CREATE VSAM MASTER CATALOG AND SPACE
// DlBl IJSYSCT,'vsam.master.catalog'"VSAM
// EXEC IDCAMS,SIZE=AUTO
DEFINE MASTERCATAlOG
(NAME(vsam.master.catalog)
VOlUME(volume)
ORIGIN(origin)
RECORDSCrecords»
LISTCAT All
/*
/&
DEFINE VSAM USER CATALOG
// JOB DEFUCAT DEFINE VSAM USER CATALOG
*
*
if you are using CKD dasd then you must replace the
blocks parameter with TRACKS(tracks)
* EXEC IDCAMS,SIZE=AUTO
//
DEFINE USERCATAlOG
(NAME(user.catalog)
ORIGINCorigin)
VOlUME(volume)
BlOCKSCblocks»
CATAlOGCvsam.master.catalog)
DEFINE VSAM SPACE
// JOB DEFSPACE DEFINE VSAM SPACE
// EXEC IDCAMS,SIZE=AUTO
DEFINE SPACE
(VOlUMECvolume)
ORIGINCorigin)
BlOCKSCblocks»
CATALOGCuser.catalog)
/*
/&
DEFINE AUXILIARY TEMPORARY STORAGE DATA SET
// JOB CRATS CREATE AUXILIARY TEMPORARY STORAGE DATA SET
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
-(NAME(cics160.temp.storage)
.,. RECORDSIZEC4089,4089)
-' RECORDS(144)
~ NotHNDEXED
_CONTROlINTERVAlSIZE(4096)
- SHAREOPTIONS(2)
; VOlUMES(volume»
\ DATA
(NAME(cics160.temp.storage.data»
CATAlOGCuser.catalog)
/*
/&
Appendix F.
Sample Job Streams
391
DEFINE TRANSIENT DATA INTRAPARTITION DATA SET
// JOB CRITD CREATE INTRAPARTITION TRANSIENT DATA SET
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
-. CNAMECcics160.intra.transd)
-. RECORDSIZEC 1529,1529)
., RECORDS(100)
-NONINDEXED
~ CONTROLINTERVALSIZE(1536)
VOLUMESCvolume»
DATA
CNAMECcics160.intra.transd.data»
CATALOGCuser.catalog)
/*
/&
....
JOB TO START UP CICS WITH DATA SETS
// JOB CICS BRING UP CICS SYSTEM WITH DATA SETS
* USER VSAM CATALOG
// DLBL user-catalog-filename,'user.catalog'"VSAM
* AUXILIARY TEMPORARY STORAGE
// DLBL DFHTEMP,'cics160.temp.storage'"VSAM,CAT=user-catalog-filename
* INTRAPARTITION TRANSIENT DATA
// DLBL DFHNTRA,'cics160.intra.transd'"VSAM,CAT=user-catalog-filename
* DUMP DATA SETS
// DLBL DFHDMPA,'cics160.dump.dataset.a',O,SD
// EXTENT SYSnnn,,1,O,relative-track-number,number-of-tracks
// DLBL DFHDMPB,'cics160.dump.dataset.b'~O,SD
// EXTENT SYSnnn"l,Q,relative-track-number,number-of-tracks
* AUXILIARY TRACE
// DLBL DFHAUXT,'cics160.aux.trace.a',O,SD
// EXTENT SYSnnn,;1,O,relative-track-number,number-of-tracks
// DLBL DFHBUXT,'cics160.aux.trace.b',O,SD
// EXTENT SYSnnn,,1,O,relative-track-number,number-of-tracks
* ASSGN OF DASD CONTAINING CICS AND USER FILES
// ASSGN SYSnnn,DISK,TEMP,VOL=volume,SHR
* SEARCH ORDER FOR CORE IMAGE LIBRARIES
// LIBDEF CL,SEARCH=cics-cil-filename
* START UP CICS WITH OVERRIDE PARAMETERS FROM SYSIPT
// EXEC DFHSIP,SIZE=1200K,PARM='SIT=1$,SI'
TSP=2$,TDP=6$,DCP=D$,TRP=D$
$END
/*
/&
PRINT DUMP DATA SET
//
//
//
//
//
JOB PRTDUMP PRINT DUMP DATA SET
DlBL DTFDISK,'cics160.dump.dataset.a'"SD
EXTENT SYSnnn,,1,O,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
EXEC DFHDUP,SIZE=80K,PARM='DEVICE=DISK,translate=fold,single'
/'tf.
/&
PRINT AUXILIARY TRACE DATA SET
// JOB PRTAUX PRINT AUXILIARY TRACE DATA SET
// DLBL DFHAUXT,'cics160.aux.trace.a'"SD
// EXTENT SYSnnn,,1,O,relative-track-number,number-of-tracks
// ASSGN SYSnnn,cuu
// EXEC DFHTUP,SIZE=80K
DEVICE=DISK
/*
/&
392
CICS/DOS/VS Installat i on and Operat ions Gui de
DEFINE VSAM FILEA CLUSTER
// JOB DEFILEA CREATE VSAM FILEA CLUSTER
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
(NAME(sample.test.filea)
INDEXED
BUFFERSPACE(4096)
RECORDSIZE(80 80)
RECORDS(500 200)
KEYS(6 1)
SHAREOPTIONS(2)
VOLUMES(VOLUME»
DATA
(NAME(sample.test.filea.data»
INDEX
(NAME(sample.test.filea.index»
CATALOG(user.catalog)
LISTCAT ENTRIES(sample.test.filea) ALL
CATALOG(user.catalog)
/*
/&
INITIALIZE SAMPLE VSAM FILEA FILE
// JOB INTFILEA INITIALISE SAMPLE VSAM FILE FILEA
// DLBL user-catalog-filename,'user.catalog'"VSAM
// DLBL FILEA,'sample.test.filea'"VSAM,CAT=user-catalog-filename
// EXEC IDCAMS,SIZE=AUTO
REPRO INFILE
(SYSIPT
ENVIRONMENT
(RECORDFORMAT(FIXUNB)
BLOCKSIZE(80)
RECORDSIZE(80»)
OUTFILE (FILEA)
000100W. DAVIS
SURREY, ENGLAND
3215677826 11 81$0100.11YES
000102F. ALDSON
WARWICK, ENGLAND
9835618326 11 81$1111.11YES
000104S. BOWLER
LONDON,ENGLAND
1284629326 11 81$0999.99YES
000106B. ADAMS
CROYDON, ENGLAND
1948567326 11 81$0087.71YES
000111GENE BARLOWE
SARATOGA,CALIFORNIA 4612075301 02 74$0111.11YES
000762GEORGE BURROW
SAN JOSE, CALIFORNIA 2231212101 06 74$0000.00YES
000983H. L. L. CALL
WASHINGTON, DC
3451212021 04 75$9999.99YES
001222J.R.REYNOLDS
BOBLINGEN, GERMANY 7031555110 04 73$3349.99YES
001781HAROLD JAMES
SINDELFINGEN,GERMANY7031999021 06 77$0009.99YES
003210M. P. CREPIN
PARIS, FRANCE
1234567010 03 75$3349.99YES
a03214HUBERT C HERBERT
SUNNYVALE, CAL.
3411212000 06 73$0009.99NO
003890PHILIPPE SMITH, JR NICE, FRANCE
0000000028 05 74$0009.99NO
004004STAN SMITH
DUBLIN, IRELAND
7111212102 11 73$1259.99NO
004445DANIEL O'GALWAY
SOUTH BEND, S.DAK. 6121212010 10 73$0009.99NO
004878D.C. CURRENT
SUNNYVALE, CALIF.
3221212010 06 73$5399.99NO
005005J. S. LAVERENCE
SAN FRANCISCO, CA. 0000000101 08 73$0009.99NO
005444JEAN LAWRENCE
SARATOGA, CALIF.
~771212020 10 74$0809.99NO
005581JOHN ALDEN III
BOSTON, MASS.
4131212011 04 74$0259.99NO
006016DR W. T. KAR
NEW DELHI, INDIA
7033121121 05 74$0009.88YES
006670WILLIAM KAPP
NEW YORK, N.Y.
2121212031 01 75$3509.88NO
0069680. CONRAD
WARWICK, ENGLAND
5671382126 11 81$0009.88YES
007007BRIGITTE EICRN
STUTTGART, GERMANY 7031100010 10 75$5009.88NO
007248B. C. WILLIAMSON
REDWOOD CITY, CALF. 3331212111 10 75$0009.88NO
007779MRS. W. WELCH
SAN JOSE, CALIF.
4151212003 01 75$0009.88YES
100000G. NEADS
TORONTO, ONTARIO
0341512126 11 81$0010.00YES
l11111C. MEARS
OTTAWA, ONTARIO
5121200326 11 81$0011.00YES
200000A. BONFIELD
GLASGOW, SCOTLAND 6373829026 11 81$0020.00YES
222222J. WIEBERS
FRANKFURT, GERMANY 2003415126 11 81$0022.00YES
300000K. TRENCHARD
NEW YORK, U.S.
6473980126 11 81$0030.00YES
333333D. MYRING
CARDIFF, WALES
7849302026 11 81$0033.00YES
400000W. TANNER
MILAN, ITALY
2536373826 11 81$0040.00YES
444444A. FISHER
CALGARY, ALBERTA
7788982026 11 81$0044.00YES
500000J. DENFORD
MADRID, SPAIN
4445464026 11 81$0000.00YES
555555C. JARDINE
KINGSTON, N.Y.
3994442026 11 81$0005.00YES
600000F. HUGHES
DUBLIN, IRELAND
1239878026 11 81$0010.00YES
666666A. BROOKMAN
LA HULPE, BRUSSELS 4298384026 11 81$0016.00YES
Appendix F.
Sample Job Streams
393
700000A.
7777770.
800000H.
888888B.
9000000.
999999R.
MACALLA
PRYKE
BRISTOW
HOWARD
WOODSON
JACKSON
DALLAS, TEXAS
WILLIAMSBURG, VIRG.
WESTEND, LONDON
NORTHAMPTON, ENG.
TAMPA, FLA.
RALEIGH, N.Y.
5798432026
9187613126
2423338926
2369163926
3566812026
8459163926
11
11
11
11
11
11
81$0002.00YES
81$0027.00YES
81$0030.00YES
81$0038.00YES
81$0040.00YES
81$0049.00YES
/*
/&
CREATE NEW PRIVATE CORE IMAGE LIBRARY
// JOB CREATE NEW PRIVATE CORE IMAGE LIBRARY
* USER PRIVATE CORE IMAGE LIBRARY
// DLBL user-eil-filename,'user.private.eil',99/365
// EXTENT ,peil-volume,I,O,relative-traek-number,number-of-traeks
// LIBDEF CL,NEW=user-eil-filename
// EXEC CORGZ
NEWVOL CL=number-of-eylindersCdireetory-traeks)
ASSEMBLE AND LINK-EDIT SAMPLE DFHPPTSI
// JOB CICSTAB ASSEMBLE AND LINK-EDIT SAMPLE DFHPPTSI
* USER PRIVATE CORE IMAGE LIBRARY
// DLBL user-eil-filename,'user.private.eil'
// EXTENT ,peil-volume
// OPTION CATAL,NODECK,ALIGN
// LIBDEF CL,TO=user-eil-filename
// LIBDEF RL,SEARCH=eies-rlb-filename
// LIBDEF SL,SEARCH=eies-slb-filename
// EXEC ASSEMBLY
DFHPPT TYPE=INITIAL,
SUFFIX=S1
COPY
DFHXPPT
COPY
DFHXPPTA
DFHPPT TYPE=FINAL
END
/*
// EXEC LNKEDT
/&
START UP CICS SYSTEM FOR SAMPLE RUN
// JOB CICS START UP CICS SYSTEM FOR SAMPLE RUN
* USER PRIVATE CORE IMAGE LIBRARY
// DLBL user-eil-filename,'user.private.eil'
// EXTENT ,pel I-volume
* USER VSAM CATALOG
// DLBL user-eatalog-filename,'user.eatalog'"YSAM
* AUXILIARY TEMPORARY STORAGE
// DLBL DFHTEMp,'eiesI60.temp.storage'"YSAM,CAT=user-eatalog-filename
* INTRAPARTITION TRANSIENT DATA
// DLBL DFHNTRA,'eiesI60.lntra.transd'"VSAM,CAT=user-eatalog-filename
* FILEA SAMPLE DATA SET
// DLBL FILEA,'sample.test.filea'"VSAM,CAT=user-eatalog-filename
* DUMP DATA SETS
// DLBL DFHDMPA,'eiesI60.dump.dataset.a',0,SD
// EXTENT SYSnnn"I,O,relative-traek-number,number-of-traeks
// DLBL DFHDMPB,'eies160.dump.dataset.b',Q,SD
// EXTENT SYSnnn"I,O,relative-traek-number,number-of-traeks
* AUXILIARY TRACE
// DLBL DFHAUXT,'eiesI60.aux.traee.a',0,SD
// EXTENT SYSnnn"I,O,relative-traek-number,number-of-tracKs
// DLBL DFHBUXT,'eiesI60.aux.traee.b',0,SD
// EXTENT SYSnnn"I,O,relative-traek-number,number-of-traeks
* ASSGN OF DASD CONTAINING CICS AND USER FILES
// ASSGN SYSnnn,DISK,TEMP,VOL=volume,SHR
* SEARCH ORDER FOR CORE IMAGE LIBRARIES
// LIBDEF CL,SEARCH=Cuser-eil-filename,eies-cil-filename,ete)
394
CICS/DOS/VS Installation and Operations Guide
*
LOCAL TERMINALS DEFINED IN SAMPLE BTAM TCT
ASSGN SYS020,cuu
ASSGN SYS021,cuu
ASSGN SYS027,cuu
* START UP CICS WITH OVERRIDE PARAMETERS FROM SYSIPT
// EXEC DFHSIP,SIZE=1200K,PARM='SIT=1$,SI'
TSP=2$,TDP=6$,DCP=D$,TRP=O$
PPT=Sl,PCT=Sl,DCT=Sl,FCT=Sl,FCP=3$,TCT=Sl
BMS=S$,PGRET=P/,PGPURGE=T/,PGCOPY=C/,PGCHAIN=X/
$END
/*
/&
DEFINE RESTART DATA SET
// JOB DEFRSD CREATE RESTART DATA SET
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
CNAMECcics160.rsd)
INDEXED
RECORDSIZEC2000 2000)
RECORDSC250 100)
KEYSCIO 0)
FREESPACE(20 20)
SHAREOPTIONS(2)
VOLUr1ESCvolume»
DATA
(NAMECcics160.rsd.data»
INDEX
(NAMECcics160.rsd.index»
CATALOG(user.catalog)
/*
/&
INITIALIZE RESTART DATA SET
// JOB INITRSD INITIALISE RESTART DATA SET
// DlBl user-catalog-filename,'user.catalog'"VSAM
// DlBL DFHRSD,'cics160.rsd'"VSAM,CAT=user-catalog-filename
// EXEC IDCAMS,SIZE=AUTO
REPRO INFIlE
CSYSIPT
ENVIRONMENT
(RECORDFORMATCFIXUNB)
BlOCKSIZE(80)
RECORDSIZE(80»)
OUTFIlE(DFHRSD)
ACTL 0001
/*
/&
FORMAT JOURNAL DISK EXTENT
//
//
//
//
//
JOB CICSFDSK FORMAT JOURNAL DISK EXTENT
DlBL JOURNAl,'cics160.system.log.a',0,SD
EXTENT SYSnnn"l,O,relative-track-number,number-of-tracks
ASSGN SYSnnn,cuu
EXEC DFHJCJFP,SIZE=AUTO
/*
/&
Appendix F.
Sample Job Streams
395
FORMAT SECOND JOURNAL DISK EXTENT
//
//
//
//
//
JOB CICSFDSK FORMAT SECOND JOURNAL DISK EXTENT
DLBL JOURNAL,'cics160.system.log.b',O,SD
EXTENT SYSnnn"l,O,relative-track-number,nuMber-of-tracks
ASSGN SYSnnn,cuu
EXEC DFHJCJFP,SIZE=AUTO
/*
/&
FORMAT JOURNAL TAPE
// JOB CICSFTAP FORMAT JOURNAL TAPE
// ASSGN SYSOlO,cuu
// EXEC DFHFTAP
/*
/&
VERIFY VSAM FILES
// JOB VERIFY VSAM FILES
// DLBL IJSYSUC,'user.catalog'"VSAM
// EXEC IDCAMS,SIZE=AUTO
VERIFY DATASETCcics160.temp.storage)
VERIFY DATASETCcics160.intra.transd)
VERIFY DATASETCcics160.rsd)
VERIFY DATASETCcics160.csd)
VERIFY DATASETCsample.test.filea)
DEFINE CICS SYSTEM DEFINITION FILE
// JOB DEFCSD CREATE CICS SYSTEM DEFINITION FILE
// EXEC IDCAMS,SIZE=AUTO
DEFINE CLUSTER
CNAMECcics160.csd)
INDEXED
RECORDSIZECIOO 200)
RECORDSC4000 1000)
KEYSC22 0)
FREESPACECO 0)
SHAREOPTIONS(4)
VOLUMESCvolume»
DATA
CNAMECcics160.csd.data»
INDEX
CNAMECcics160.csd.index»
CATALOGCuser.catalog)
INITIALIZE CICS SYSTEM DEFINITION FILE
// JOB INITCSD INITIALISE THE CSD
// DLBL user-catalog-filename,'user.catalog'"VSAM
// DLBL DFHCSD,'cics160.csd'"VSAM,CAT=user-catalog-filename
// EXEC DFHCSDUP,SIZE=AUTO
INITIALISE
LIST ALL
/*
/&
396
CICS/DOS/VS Installation and Operations Guide
DELETE CICS SYSTEM DEFINITION FILE
// JOB DELETE PURGE CICS SYSTEM DEFINITION FILE
// EXEC IDCAMS,SIZE=AUTO
DELETE cics160.csd
PURGE
CLUSTER
CATALOGCuser.catalog)
DELETE RESTART DATA SET
// JOB DELETE PURGE RESTART DATA SET
// EXEC IDCAMS,SIZE=AUTO
DELETE cics160.rsd
PURGE
CLUSTER
CATALOGCuser.catalog)
DELETE FILEA FILE
// JOB DELETE PURGE FILEA FILE
// EXEC IDCAMS,SIZE=AUTO
DELETE sample.test.filea
PURGE
CLUSTER
CATALOGCuser.catalog)
DELETE INTRAPARTITION TRANSIENT DATA SET
// JOB DELETE PURGE INTRAPARTITION TRANSIENT DATA SET
// EXEC IDCAMS,SIZE=AUTO
DELETE cics160.intra.transd
PURGE
CLUSTER
CATALOGCuser.catalog)
DELETE AUXILIARY TEMPORARY STORAGE DATA SET
// JOB DELETE PURGE AUXILIARY TEMPORARY STORAGE DATA SET
// EXEC IDCAMS,SIZE=AUTO
DELETE cics160.temp.storage
PURGE
CLUSTER
CATALOGCuser.catalog)
DELETE VSAH SPACE
// JOB DELETE VSAM SPACE
// EXEC IDCAMS,SIZE=AUTO
DELETE VOLUME
SPACE
CATALOGCuser.catalog)
Appendix F.
Sample Job Streams
397
DELETE VSAH USER CATALOG
// JOB DELETE USER CATALOG
// EXEC IDCAMS,SIZE=AUTO
DELETE (USER.CATAlOG)
USERCATAlOG
398
CICS/DOS/VS Installation and Operations Guide
Glossary
This glossary defines special eICS terms
used in the library and words used with
other than their everyday meaning. In
some cases, a definition may not be the
only one applicable to a term, but gives
the particular sense in which it is used
in thi s book.
the user's work. (2) In data
communication, a program used to connect
and communicate with stations in a
network, enabling users to perform
application-oriented activities.
APAR.
Authorized program analysis
report.
Thi s glossary includes terms and
definitions from the IBM Vocabulary for
Data Processing, Telecommunications, and
Office Systems, GC20-1699.
*forASCII.
American National Standard Code
Information Interchange.
American National Standards Institute
(ANSI) definitions are preceded by an
asterisk.
A source language
that includes symbolic machine language
statements in which there is a one-to-one
correspondence with the instruction
formats and data formats of the computer.
The symbol "(ISO)" at the beginning of a
definition indicates that it has been
di scussed and agreed on at meet i ngs of
the International Organization for
Standardization, Technical Committee
97/Subcommittee 1, and has been approved
by ANSI for inclusion in the American
National Dictionary for Information
Processing.
abend.
Access method control block.
and VSAM.)
audit trail.
A manual or computerized
means for tracing the transactions
affecting the contents of a record.
auxiliary storage.
Data storage other
than main storage; for example, storage
on magnetic tape or direct access
devices.
backout.
backout.
Abnormal end of task.
ACB.
assembler language.
(VTAM
See
dynamic transaction
Bas;c Mapp;ng Support.
access method.
A technique for moving
data between main storage and
input/output devices.
A facility that
handles data streams to and from a
terminal. It provides device
independence and format independence for
application programs.
ACF.
batch.
Advanced Communication Function.
activity keypoint.
A keypoint written to
the system log during normal oper-ation of
CICS. In the event of an uncontrolled·
shutdown and subsequent emergency
restart, activity keypoints can shorten
the process of backward scanning through
the system log. Activity keypoints are
written automaticallY by the system
(system activity keypoints) or by the
user (user activity keypoints). (See
also keypoint.)
address space.
The complete range of
addresses that is available to the
programmer.
An accumulation of data to be
processed.
BDAN. Basic Direct Access Method. An
access method used to retrieve or update
particular blocks of a data set on a
direct access device.
blocking.
The process of combining two
or more records into one block.
BNS.
See
Bse.
Binary synchronous communication.
BTAM.
Basic Mapp;ng Support ..
Basic telecommunications access
method.
addressing. In data communication, the
means whereby the originator or control
station selects the unit to which it is
going to send a message.
byte. In System/370, a sequence of eight
adjacent binary digits that are operated
on as a unit.
ALT.
A set of control
statements that has been placed in a
library and can be retrieved by name.
Application load table.
ANSI.
cataloged procedure.
American National Standards
Institute.
CEDA.
application program. (1) A program
written for or by a user that applies to
CEMT.
The resource definition online
transaction.
The master terminal transaction.
Glossary
399
•
The supervisory terminal
transaction.
* data
CICS.
* data
CEST.
Customer Information Control
System.
CKD.
Count-key-data. A disk storage
device for storing data in the format:
count field normally followed by a key
field followed by the actual data of a
record. The count field contains,
besides other information, the address of
the record in the format: CCHHR (where CC
is the two-digit cylinder number, HH is
the two-digit head number, and R is the
record number) and the length of the
data. The key field contains the
record's key (search argument).
COBOL.
Common business-oriented
language. An English-like programming
language designed for business data
processing applications.
command. In CICS, an instruction similar
in format to a high-level programming
language statement. (Contrast with
macro.) CICS commands invariably include
the verb EXECUTE (or EXEC). They may be
issued by an application program to make
use of CICS facilities.
command-language statement.
synonym for command.
common system area (CSAl.
storage control block.
In CICS,
base. A collection of data
fundamental to a system.
communication. The transmission
and reception of data.
data independence. In CICS, the ability
to request data by a high-level
data-management method without concern
as to the mechanics of data storage or
retrieval. Dl/I provides application
programs with greater data independence.
data integrity. The quality of data that
exists as long as accidental or malicious
destruction, alteration, or loss of data
are prevented.
data link protocol. A set of rules for
data communication over a data link in
terms of a transmission code, a
transmission mode, and control and
recovery procedures.
data security. The protection of data
against unauthorized disclosure,
transfer, modifications, or destruction,
whether accidental or intentional.
data set. The major unit of data storage
and retrieval, consisting of a collection
of data in one of several prescribed
arrangements and described by control
information to which the system has
access.
A major CICS
*occurrence
c~ncurrent.
of
data stream. All data transmitted
through a data channel in a single read
or write operation.
Pertaining to the
two or more activities
within a given interval of time.
DB/DC.
control area.
DCT.
Synonym for control block.
Data-base/data-communication.
Destination control table.
control block. In CICS, a storage area
used to hold dynamic data during the
execution of control programs and
application programs. Synonym for
control area. Contrast with control
table.
deadlock.
(1) Unresolved contention for
the use of a resource. (2) An error
condition in which processing cannot
continue because each of two elements of
the process is waiting for an action by,
or a response from, the other.
control table. In CICS, a storage area
used to define or describe the
configuration or operation of the system
in a relatively permanent way. Contrast
with control b~ock.
deblocking. The process of removing each
logical record from a block.
conversational. Pertaining to a program
or a system that carries on a dialogue
with a terminal user, alternately
accepting input and then responding to
the input quickly enough for the user to
maintain a train of thought.
CSA.
See common system area.
CSD.
CICS system definition file.
DAM.
Direct access method.
DASD.
400
Direct access storage device.
despatch. To allocate time on a
processor to jobs or tasks that are ready
for execution.
destination control table. A table
describing each of the transient data
destinations used in the system, or in
connected CICS systems.
device independence. The capability to
write application programs so that they
do not depend on the physical
characteristics of devices. BMS provides
a me~sure of device independence.
*
direct access storage. (1)
A storage
device in which the access time is in
effect independent of the location of the
CICS/DOS/VS Installation and Operations Guide
data. (2) A storage device that provides
direct access to data.
base when another task is currently
accessing that segment.
distributed transaction processing
(DTP). The distribution of processing
between transactions that communicate
synchronously with one another over
intersystem or interregion links.
ESOS.
DL/I. Data language/I. An IBM data base
management facility provided by DOS Dl/I
and IMS data base program products.
Entry-sequenced data set.
exception. An abnormal condition such as
an I/O error encountered in processing a
data set or a file.
EXEC. EXECUTE (as used in a CICS
command).
FAQE.
DHB.
Data management block CDl/I).
DOS.
Disk Operating System.
Free area queue element.
DPCX. Distributed Processing Control
Executive on IBM 8100 Series.
FBA. Fixed-block-architecture. A disk
storage device that stores data in blocks
of fixed size. These blocks are
addressed by block number relative to the
beginning of the particular file.
DSA.
Dynamic storage area.
FCT.
DTB.
See dynamic transaction backout.
FERS. Facility Error Recognition
System. A communications problem
determination aid.
DTP. See distributed transaction
processing.
DTR.
Distribution tape reels.
dump control. The CICS element that
provides storage dumps for help during
testing.
dynamic log. An area in main storage
used (by the journal control program) for
storing copies of all changes to
recoverable resources that might be
required for dynamic backout of an lUW.
Every execution of a transaction that has
dynamic transaction backout specified
has an associated dynamic log area.
dynamic transaction backout. The
process of cancel i ng changes made to
stored data by a transaction following
the failure of that transaction for
whatever reason.
*interchange
EBCDIC. Extended binary-coded decimal
code. A coded character set
consisting of 8-bit coded characters.
EOF. Execution (command-level)
diagnostic facility for testing
command-level programs interactively at
a termi nal.
EIB.
EXEC interface block.
emergency restart. The CICS facility for
use following a system failure. It
restores the data files of all
interrupted transactions to the
condition they were in when they started.
end user. In CICS, typically anyone
using CICS to do a non-CICS job,
typi6ally by interacting with an
application program (transaction) with a
terminal.
enqueued. The state of a task scheduled
to update a physical segment of a data
See file control table.
* file.
(ISO) A set of related records
treated as a unit, for example, in stock
control, a file could consist of a set of
invoices.
file control. The CICS element that
controls all CICS file operations.
file control table. A table containing
the characteri sti cs of the fi les accessed
by fi Ie control.
* format.
The arrangement or layout of
data on a data medium. In CICS, the data
medium is usually a display screen.
format independence. The ability to send
data to a device without having to be
concerned with the format in which the
data will be displayed. The same data may
appear in different formats on different
devices.
formatted dump. A dump of the CICS
partition separating out the control
blocks and storage areas.
function management header (FHH). In
SHA, one or more headers optionally
present in the the leading request unit
(RU) of an RU chain. It allows one
session partner in a lU-lU session to
send function management information to
the other.
function request shipping. The process,
transparent to the application program,
by whi ch CICS accesses resources when
.","
those resources are actually held on
another CICS system.
GOOM.
Graphical Data Display Manager.
*program
generate. To produce
by selection of
a computer
subsets from
skeletal code under the control of
parameters.
Glossary
401
* hardware.
(ISO) Physical equipment
used in data processing, as opposed to
computer programs, procedures, rules,
and associated documentation. Contrast
with software.
host processor. The primary or
controlling computer in a multiple
computer installation.
ICR.
intrapartition destination. A queue of
transient data used subsequently as input
data to another task within the CICS
partition or region.
* I/O.
Input/Output.
IPL.
Initial Program Load.
IRC.
See interregion communication.
Independent component release.
ISAH.
inflight task. A task which, at the time
of an abnormal termination of the system,
had caused records to be written to the
system log, but whose processing was only
part of the way through an LUW.
ISC.
See intersystem communication.
JC.
Journal control.
JCT.
initialization. Actions performed by
the CICS system to construct the
environment in the CICS partition to
enable CICS applications to be run.
Indexed Sequential Access Method.
Journal control table.
journal. A set of one or more data sets
to which records are written during a
CICS run:
inquiry. A request for information from
storage; for example, a request for the
number of available airline seats.
1.
By CICS to implement user-defined
resource protection (logging to the
system log)
installation. (1) A particular
computing system, in terms of the work it
does and the people who manage it,
operate it, apply it to problems, service
it and use the work it produces. (2) The
task of making a program ready to do
useful work. This task includes
generating a program, initializing it,
and applying PTFs to it.
2.
By CICS to implement user-defined
automatic journaling (to any
journal, including the system log)
3.
Explicitly by JOURNAL command (or
macro) from an application program
(user journaling to any journal,
including the system log).
integrity.
See data integrity.
intent scheduling. Ensuring that a
particular segment type of a data base is
only accessible for potential update by
one task at a time.
interactive. Pertaining to an
application in which each entry calls
forth a response from a system or
program, as in an inquiry system or an
airline reservation system. An
interactive system may also be
conversational, implying a continuous
dialogue between the user and the system.
intercommunication facilities. A
generic term covering intersystem
communication (ISC) and multi region
operation (MRO).
interregion communication (IRC). The
method by which CICS provides
communication between a CICS region and
another region in the same processor.
Used for multi region operation.
intersystem communication (ISC).
Communication between separate systems
by means of SNA networking facilities or
by means of the
application-to-application facilities of
an SNA access method. Contrast with MRO.
journaling. The recording of
information onto any journal (including
the system log), for processing by the
user.
keypoint. A set of records that
describes the status of the system at a
particular moment in time. Keypoint
information includes extracts from
system tables and control blocks such as:
TCAs, FCT, PCT, DCT, TST. (See also
activity keypoint, and warm keypoint.)
keyword.
(1) A symbol that identifies a
parameter. (2) A part of a command
operand that consists of a specific
character string.
KSDS.
line. (1) On a terminal, one or more
characters entered before a return to the
first printing or display position. (2)
A string of characters accepted by the
system as a single block of input from a
terminal, for example, all characters
entered before a carriage return or all
characters entered before the terminal
user hits the attention key.
linkage editor. (ISO) A computer program
used to create one load module from one
or more independently-translated object
modules or load modules by resolving
cross references among the modules.
interval control. The CICS element that
provides time-dependent facilities.
402
Key-sequenced data set.
CICS/DOS/VS Installation and Operations Guide
~
loader. A routine, commonly a computer
program, that reads data into main
storage.
local. In data communication,
pertaining to devices that are attached
to a controlling unit by cables, rather
than data links.
local device. A device, such as a
terminal, whose control unit is directly
attached to a computer's data channel.
No data link or control unit is used.
Contrast with remote device.
local system. In CICS
intercommunication, the CICS system from
whose point of view intercommunication is
being discussed.
logging. The recording (by CICS) of
recovery information onto journal 01 (the
system log), for use during emergency
restart
logical unit (LU1. In SNA, a port
through whi ch a user gai ns access to the
services of a network.
logical unit of work (LUW1. A sequence
of processing actions (data base changes
for example) that must be completed
before any of the individual actions can
be regarded as committed. When changes
are committed (by successful completion
of the lUW and recording of the sync
point on the system log), they do not
need to be backed out after a subsequent
fai lure of the task or system. The end
of an lUW is marked in a transaction by a
sync point - issued either by the user
program or by CICS at the end of task. In
the absence of user sync points, the
entire task is an lUW.
LU.
LUW.
See logical unit.
See logical unit of work.
macro. In CICS, an instruction similar
in format to an assembler language
instruction. Contrast with command.
main storage. (ISO) Program-addressable
storage from which instructions and data
can be loaded directly into registers for
subsequent execution or processing. See
also real storage, storage, virtual
storage.
map. In CICS, a format established for a
page or a portion of a page.
master terminal. In CICS, the terminal
at which a designated operator is
signed-on.
master terminal operator. Any CICS
operator authorized to use the master
terminal functions.
HCT.
Monitoring control table.
message performance option. The
improvement of ISC performance by
eliminating sync point co-ordination
between the connected systems.
message switching. In a data network,
the process of routing messages by
receiving, storing, and forwarding
complete messages.
~
modularity. The extent to which a
system is composed of modules.
HRO.
See multi region operation.
*
multiprogramming.
Pertaining to the
concurrent execution of two or more
computer programs by a computer.
multi region operation (MROl.
Communication between CICS systems in the
same processor without the use of SNA
network facilities. Contrast with ISC.
multitasking. Concurrent execution of
application programs within a CICS
partition.
multithreading. The use, by several
transactions, of a single copy of an
application program.
MVT. Multiprogramming with a variable
number of tasks.
NACP.
Node abnormal condition program.
NCP. Network Control Program. A
program, generated by the user from a
library of IBM-supplied modules, that
controls the operation of a communication
controller.
NEP.
Node error program.
network. (1) An interconnected group of
nodes. (2) The assembly of equipment
through which connections are made
between data stations.
network configuration. In SNA, the group
of links, nodes, machine features,
devices, and programs that make up a data
processing system, a network, or a
communication system.
NLT.
Nucleus load table.
nonswitched connection. A connection
that does not have to be established by
dialing.
*
online. (1)
Pertaining to a user's
ability to interact with a computer.
Perta in i ng to a user's access to a
computer via a terminal. The term
"online" is also used to describe a
user's access to a computer via a
terminal.
*
(2)..
'"
operating system. Software that
controls the execution of programs; an
Glossary
403
operating system may provide services
such as resource allocation, scheduling,
input/output control, and data
management.
program isolation. Ensuring that only
one task at a time can update a
particular physical segment of a DL/I
data base.
*given
parameter. eISO) A variable that is
a constant value for a specified
programmable terminal. A user terminal
that has computational capability.
application and that may denote the
application.
partition. A fixed-size subdivision of
main storage, allocated to a system task.
Contrast with region.
password. A unique string of characters
that a program, computer operator, or
user must supply to meet security
requirements before gaining access to
data. The password is confidential, as
opposed to user identification.
path length. The amount of processor
execution time, for example, per task.
PCT.
See program control table.
PDS.
Partitioned data set.
PEP.
Program error program.
*forPL/I.
use
A programming language designed
in a wide range of commercial and
scientific applications.
PLT.
Program list table.
polling. The process whereby stations
are invited, one at a time, to transmit.
The polling process usually involves the
sequential interrogation of several data
stations.
PPT.
See processing program table.
pregenerated system. A CIeS system
distributed in a form that has already
undergone the system generation process.
priority. A rank assigned to a task that
determines its precedence in receiving
system resources.
processing program table. A table
defining all application programs valid
for processing under CICS. It also keeps
track of whether an application program
is in main storage or not.
processor. eISO) In a computer, a
functional unit that interprets and
executes instructions.
program check. A condition that occurs
when programming errors are detected by
an I/O channel.
program control. The CICS element that
manages eICS application programs.
program control table. A table defining
all transactions that may be processed by
the system.
404
pseudo conversational. CICS
transactions designed to appear to the
operator as a continuous conversation
occurring as part of a single
transaction.
PTF. Program Temporary Fix. A temporary
solution or by-pass of a problem
diagnosed by IBM field engineering as the
result of a defect in a current unaltered
release of the program.
PUT.
Program update tape.
quasi-reentrant. Applied to a CICS
application program that is serially
reusable between entry and exit points
because it does not modifY itself or
store data within itself between calls on
CICS facilities.
queue. A line or list formed by items in
a system waiting for service; for
example, tasks to be performed or
messages to be transmitted in a message
routing system.
RDO.
Resource definition online.
real machine. An actual computer and its
associated devices. Contrast with
virtual machine.
real storage. The main storage in a
virtual storage system. Physically, real
storage and main storage are identical.
Conceptually, however, real storage
represents only part of the range of
addresses available to the user of a
virtual storage system.
recovery routine. A routine that is
entered when an error occurs during the
performance of an associated operation.
It isolates the error, assesses the
extent of the error, and attempts to
correct the error and resume operation.
reentrant. The attribute of a program or
routine that allows the same copy of the
program or routine to be used
concurrently by two or more tasks.
region. In MVT, a variable-size
subdivision of the dynamic area that is
allocated to a job step or a system task.
remote. In data communication,
pertaining to devices that are connected
to a data processing system through a
data link.
remote device. A device, such as a
terminal, connected to a data processing
CICS/DOS/VS Installation and Operations Guide
system through a data link.
with local device.
Contrast
Useful for the analysis of CICS operating
statistics.
remote system.
In CICS
intercommunication, a system that the
local CICS system accesses via
intersystem communication or multi region
operation.
resource.
See
SNA.
See Systems network architecture.
SNT.
Sign-on table.
*rules,
software. (ISO) Programs, procedures,
and any associated documentation
Any facility of the computing
system or operating system required by a
job or task, and including main storage,
input/output devices, the processing
unit, data sets, and control or
processing programs.
50S.
* response
SQL/DS.
time. (ISO) The elapsed time
between the end of an inquiry or demand
on a data processing system and the
beginning of the response. For example,
the length of time between an indication
of the end of an inquiry and the display
of the first character of the response at
a user terminal.
*prior
rollback. A programmed return
checkpoint. In CICS, the
to a
cancellation by an application program of
the changes it has made to all
recoverable resources during the current
logical unit of work.
RPG II. Report Program Generator,
Version 2. A commercially-oriented
programming language specifically
designed for writing application
programs that meet common business data
processing requirements.
SAM.
The amount of data
displayed, or capable of being displayed,
at anyone time on the screen of a
terminal.
SNA character string.
SDF/CICS.
Screen Definition Facility.
An online application development
program product used to define or edit
BMS maps interactivelY.
SDLC.
Synchronous Data Link Control.
communications protocol.
pertaining to the operation of a computer
system. Contrast with hardware.
Short on storage.
Structured Query Language/Data
System. A relational data base
management facility.
SRT.
See
system recovery table.
starter system.
In CICS, a pregenerated
system providing at least one version of
all system programs. A starter system is
ready to use with little or no assembly.
startup.
The operation of starting up
CICS by the system operator.
startup jobstream.
A set of job control
statements used to start up CICS.
storage.
A functional unit into which
data can be placed and from which it can
be retrieved. See main storage, storage,
virtual storage.
storage control.
The CICS element that
obtains working storage areas.
Sequential Access Method.
screen page.
SCS.
system initialization table.
SIT.
storage dump.
See
transaction dump.
storage protection key.
An indicator
that appears in the current program
status word whenever an associated task
has control of the system. This
indicator must match the storage keys of
all main storage blocks that the task is
to use.
storage violation dump.
A
security.
A formatted dump
taken as a result of a storage error
detected by the storage control program,
including a dump of the dynamic storage
error.
Prevention of access to or use
of data or programs without
authorization.
subsystem.
sequential data set.
supervisory terminal operator.
A data set whose
records are organized on the basis of
their successive physical positions,
such as on magnetic tape.
The carrying out of effective
problem determination, diagnosis, and
repair on a data processing system or
software product.
Service Level Reporter II.
reduction and
Any CICS
operator whose security keyes) allow use
of the supervisory terminal functions.
SVC.
service.
analy~is
A data
program product.
A secondary or subordinate
system.
Supervisor call.
switched connection.
A connection that
is established by dialing.
synchronization point (sync point).
A
point in the processing of a task (marked
by a SYNCPOINT command, end of task, or
DL/I TERM call) at which changes to
Glossary
405
•
recoverable resources are regarded as
committed.
system.
In CICS, an assembly of hardware
and software capable of providing the
facilities of CICS for a particular
installation.
system activity keypoint.
A keypoint
written to the system log automatically
while CICS is running normally. (See
activity keypoint.)
system generation (SYSGEN).
als~
In CICS, the
process of creating a particular system
tailored to the requirements of a data
processing installation.
and some kind of display, capable of
sending and receiving information over a
communication channel.
terminal control. The CICS element that
controls all CICS terminal activity.
terminal control table.
A table
describing a configuration of terminals,
logical units, or other CICS systems in a
CICS network with which the CICS system
may communicate.
terminal operator.
terminal.
The user of a
terminal paging.
system initialization table.
A set of commands for
"pages" of an oversize output
message in any order.
system log.
threading. The process whereby various
transactions undergo concurrent
execution.
A table
containing user-specified data that will
control a system initialization process.
retri~ving
The (only) journal
(identification='Ol') that is used by
CICS to log changes made to resources for
the purpose of backout on emergency
restart.
TIOA.
system program.
TP access method. Teleprocessing access
method. For example, VTAM.
system recovery table.
trace control. The CICS element that
provides a trace facility.
A program providing
services in general support of the
running of a system.
A table listing
the ABEND or abnormal condition codes
that CICS will intercept.
systems network architecture (SNA).
The
description of the logical structure,
formats, protocols, and operational
sequences fo~ transmitting information
units through and controlling the'
configuration and operation of networks.
task. (1) (ISO) A basic unit of work to
be accomplished by a computer. (2) Under
CICS, the execution of a transaction for
a particular user. Contrast with
transaction.
task control.
The CICS element that
controls all CICS tasks.
task switching.
Overlapping of I/O
operations and processing between
several tasks.
TCA.
Task control area.
TCT.
Terminal control table.
temporary storage control. The CICS
element that provides temporary data
storage facilities.
temporary storage table.
A table
describing temporary storage queues and
queue prefixes for which CICS is to
provide recovery.
terminal.
*
(1)
A point in a system or
communication network at which data can
either enter or leave. (2) In CICS, a
device, often equipped with a keyboard
406
TLT.
Terminal input/output area.
Terminal list table.
transaction.
A transaction may be
regarded as a unit of processing
(consisting of one or more application
programs) initiated by a single request,
often from a terminal. A transaction may
require the initiation of one or more
tasks for its execution. Contrast with
task.
transaction backout. The cancellation,
as a result of a transaction failure, of
all updates performed by a task.
transaction dump. A dump of the control
blocks and storage areas associated with
a particular task.
transaction identification code.
Synonym for transaction identifier. A
group of up to four characters entered by
an operator when selecting a CICS
transaction.
transaction identifier.
Synonymous with
transaction identification code.
transaction restart.
The restart of a
task after a transaction backout.
transient data control. The CICS element
that controls sequential data files and
intrapartition data.
TST.
See temporary storage table.
tuning. The process of adjusting system
control variables to make the system
divide its resources most efficiently for
the workload.
CICS/DOS/VS Installation and Operations Guide
turnaround time.
(ISO) The elapsed time
between submission of a job and the
return of the complete output.
VM/370. IBM Virtual Machine
Facility/370.
VSE.
TWA.
Transaction work area.
TWX.
Teletypewriter exchange terminal.
update. To modify a file with current
information.
user exit. A point in an IBM-supplied
program at which a user exit routine may
be given control.
utilities.
programs.
Informal term for utility
virtual machine (VM). A functional
simulation of a computer and its
associated devices. Contrast with real
machine.
virtual storage (VS). (ISO) The notional
storage space that may be regarded as
addressable main storage by the user of a
computer system in which virtual
addresses are mapped into real addresses.
The size of virtual storage is limited by
the addressing scheme of the computing
system and by the amount of auxiliary
storage available and not by the number
of main storage locations.
Virtual Storage Extended.
VSAM. Virtual storage Access Method. An
access method for direct or sequential
processing of fixed- and variable-length
records on direct access devices.
VTAM. Virtual Telecommunications Access
method.
warm keypoint. A keypoint written to the
restart data set during controlled
shutdown (after all system activity has
ceased). During a subsequent warm
restart, information in the warm keypoint
is used to reestablish system tables to
the status they had at controlled
shutdown. (See also keypo;nt.)
working set.
(1) The set of a user's
pages that must be active in order to
avoid excessive paging. (2) The amount
of real storage required in order to
avoid a thrashing condition.
WTTY.
XLT.
World Trade teletypewriter.
Transaction list table.
•
Glossary
407
Bibliography
VSE/ADVANCED FUNCTIONS
BASIC TELECOMMUNICATIONS ACCESS METHOD
•
VSE/Advanced Functions Installation,
SC33-6096
•
Basic Telecommunications Access
Method Extended Support (BTAM-ES)
Programming, SC38-0293
•
VSE/Advanced Functions Macro
Reference, SC24-S211
~tem
•
VSE/VSAM Access Method Services User
Guide
•
VSE/Advanced Functions Maintain
System History Program User's Guide,
SC33-6072
o
VSE/VSAM Programmer's Reference,
SC24-S14S
•
VSE/Advanced Functions Messages,
SC33-6098
•
Usi ng VSE/VSAM Commands and Macros,
SC24-S144
•
VSE/Advanced Functions Operating
Procedures, SC33-6097
•
VSE/Advanced Functions
Serviceability Aids and Debugging
Procedures, SC33-6099
•
VSE/Advanced Functions System
Control Statements, SC33-609S
•
VSE/Advanced Functions System
Generation, SC33-6096
•
VSE/Advanced Functions System
Management Guide, SC33-6094
•
VSE/Advanced Functions Maintain
History Program Reference,
SC33-6101
SYSTEMS NETWORK ARCHITECTURE (SNAJ
•
•
Systems Network Architecture Function Description of logical Unit
~, GC20-1868
Systems Network Archit~cture - Types
of logical Unit to logical Unit
Sessions, GC20-1869
DL/I DOS/VS
•
Dl/I DOS/vS Application Programming:
High level Programming Interface,
SH24-S009
•
Dl/I DOS/VS Application Programming
Reference Manual, SH12-S411
•
Dl/I DOS/VS General Information
Manual, GH20-1246
•
Dl/I DOS/VS Guide for New Users,
SH24-S001
•
Dl/I DOS/VS Operator's Reference and
Messages and Codes, SH12-S414
•
Dl/I DOS/VS Resource Definition and
Utilities, SH24-S021 (DL/I 1.6 only)
•
Dl/I DOS/VS System and Application
Design Guid~, SH12-S413
•
Dl/I DOS/VS Utilities and Guide for
the System Programmer, SH12-5412
(DL/I 1.S only)
Bibliography
409
Index
ACT (application control table)
125,
241
altering way CICS is initialized
system initialization override
parameters 270
application control table (ACT)
125,
241
application programs
assembler language 172
COBOL 164, 172
command-level 158
installing 157
macro-level 172
language preprocessor (PRPR)
172
own job stream to install
command-level programs 161
PL/I 166, 172
RPG II 168
running sample 89
sample 64
assembler-language application program
containing input map definitions 172
installing 162
preparation of macro-level 172
sample procedure for 160
automatic statistics data set 45, 201
FBA 204
JCL statements for CICS
execution 202
processing (DFHSTUP)
204
space calculations 203
VSE/VSAM space management for SAM
feature 180
auxiliary temporary storage 36
control interval size 183
number of control intervals 184
auxiliary trace data set 43, 207
JCL statements for CICS
execution 208
JCL to define 44
job stream to print 392
job stream to process 59
processing (DFHTUP)
209
space calculations 209
VSE/VSAM space management for SAM
feature 180
backout of data 110
basic mapping support (BMS)
input map definitions 172
basi c tape 6
BMS partition support sample
applications 386
browse sample program 383
BlAM
error statistics recorder
(DFHSDR$)
377
local terminals 235
logic module 11
remote terminals 235, 236
terminal definitions 235
BTAM terminals
local 80
remote 81
BTMOD (BTAM logic module)
11
CEBR transaction 96
CEDA transaction facilities 219
CEMT transaction 251
changes to translators
PL/I 326
charts
A-I sequence of operations 288
B-1 initializing the network 290
B-2 start up CICS 292
B-3 selection of CICS startup
options 294
B-4 perform warm (or cold) start 296
C-1 normal CICS system
monitoring 298
D-1 shut down CICS 300
E-1 action on user problem 302
E-2 machine check, power failure, VSE
loop, or abend 304
F-1 perform emergency restart 306
G-1 log tape errors 316
CICS aids 377
BlAM error statistics recorder
(DFHSDR$)
377
CICS monitoring facility output
listing program (DFHXMOLS)
380
CICS-DL/I installation tester
(DFHTDLI)
379
transient data write to terminal
(DFHTDWl$)
378
CICS control tables
DL/I 125
DL/I definitions 241
CICS data sets 33, 82
automatic statistics 45, 201
auxiliary trace 43, 207
CEDA transaction facilities 219
CSD file 219
dump data sets 41, 213
journal data sets 191
preparing to set up 179
restart data set 197
temporary storage 36, 181
terminal definitions 233
transient data 38
transient data extrapartition 189
transient data intrapartition 39,
185
user file definitions 231
VSAM requirements 34
CICS monitoring facility 127
journals for 196
output listing program
(DFHXMOLS)
380
processing output from 129
Index
411
CICS offline utility programs
initializing CICS system definition
file (DFHCSDUP) 223
preparing disk data sets for system
logs and journals (DFHJCJFP) 192
preparing tape for system logs and
journals (DFHFTAP) 195
processing automatic statistics data
sets (DFHSTUP) 204
processing auxiliary trace data set
(DFHTUP) 209
processing dump data sets
(DFHDUP) 216
writing EOF mark on system log tape
(DFHTEOF) 195
CICS system
initial startup 23
job stream to start up for sample
run 394
CICS-DL/I installation tester
(DFHTDLI) 379
CISIZE, FBA
dump data sets 215
journal format program 193
COBOL
preparation of application
programs 164
sample procedure for application
programs 160
command-level application programs
COBOL 164
description 157
Pl/I 166
preparation 157
RPG II 168
sample procedures for 389
compilers 12
console
communicating with CICS from 26
defining to CICS 239
control interval size 183
control intervals
number of 184
control tables
assembling and link-editing 144
destination control table 71
file control table 72
installing 143, 144
journal control table 103
minimum resource definition 144
processing program table 69
program control table 70
sample 67, 351
sample job stream for 146
terminal control table 73
CONTROlINTERVAlSIZE 182, 183, 185, 199
core image library 82
contents of 335
macro-level application programs 172
private 67
table preparation 144
CSD fi Ie 219
after you have migrated your tables
to 135
availability 222
backup and recovery procedures 222
contents after initialization 372
disposition after abnormal
termination 223
file control table definition of 220
initializing (DFHCSDUP) 223
JCL for CICS execution 222
JCl to define and initialize 220
412
job stream to define 396
job stream to delete 397
job stream to initialize 396
multiple users of across CICS or batch
regions 222
multiple users of within CICS
region 222
processing (DFHCSDUP) 223
space calculations 221
DAM 10
DAM intrapartition data set
JCl for CICS execution 187
JCl to define 186
space considerations 186
data access methods 9
DAM 10
indexed sequential access method
(ISAM) 10
VSAM 9
data integrity 110
data set recovery
file control 319
temporary storage 319
transient data 319
user journaling 319
data set/data base and transaction
table 283
data sets
CICS 33
data-collection control
journals for CICS monitoring facility
output 196
destination control table
assembly messages 146
job to assemble and link-edit 71
destinations
extrapartition 39
intrapartition 38
DFHCSDUP
commands 225
initializing system definition
file 223
JCL to invoke 224
DFHDUP
processing dump data sets 53, 216
DFHEITAL
sample procedure for
assembler-language application
programs 389
DFHEITCl
sample procedure for COBOL
application programs 389
DFHEITPL
sample procedure for PL/I application
programs 390
DFHEITRL
sample procedure for RPG II
application programs 390
DFHFTAP
preparing tape for system logs and
journals 195
DFHJCJFP
preparing disk data sets for system
logs and journals 192
DFHPHN, phonetic encoding logic
module 336
DFHPLII 12
CICS/DOS/VS Installati on and Operati ons Gui de
DFHPRPR
application program 172
high-level language 172
DFHSAP 12
DFHSGDlI
reassemble CICS-Dl/I modules 125
DFHSPJCl
general-purpose job stream 391
DFHSTUP
processing automatic statistics data
sets 204
DFHTDlI
CICS-Dl/I installation tester 379
DFHTEOF
writing EOF mark on system log
tape 195
DFHTUP
processing auxiliary trace data
set 209
DFHXMOlS
CICS monitoring facility output
listing program 380
disk journals 259
distributed transaction processing
sample applications 385
distribution tape 6, 7
contents of distribution
libraries 335
format of 15
installing 15
Dl/I 11
adding 125
application control table (ACT)
125,
241
CICS control tables 241
Dl/I-CICS installation tester
(DFHTDlI)
379
storage layout control (SlC)
table 125, 241
DlBl statement 21
DSA (dynamic storage area)
248
dump 53
dump data set 41, 213
CISIZE, FBA 215
JCl for CICS execution 215
JCl to define 42
job stream to print 53, 392
label information 215
printing (DFHDUP)
53
processing (DFHDUP) 216
space calculations 215
space considerations 42
VSE/VSAM space management for SAM
feature 180
dumps 41
formatted 213
partition 213
transaction 213
dynamic log 112
dynamic storage area (DSA) 248
dynamic transaction backout 112
EOF mark on system log tape (DFHTEOF)
writing 195
error conditions on CICS incident
report 281
errors on startup 26
EXEC CICS commands 157
execution of CICS/DOS/VS
preparation 177
EXTENT statement 21
extrapartition destinations 39
FBA
automatic statistics data set 204
CISIZE, DFHJCJFP 193
CISIZE, dump data sets 215
file control table
definition of CSD file 220
for ISAM files 146
job to assemble and link-edit 72
user file definitions 231
FIlEA
defining VSAM file 64
sample applications 381, 382, 383,
384
browse sample program 383
operator instruction sample
program 382
order entry queue print sample
program 383
order entry sample program 383
report sample program 384
update sample program 383
fixed block architecture disk devices
(see FBA)
flowcharts of CICS operating procedures
how to use 286
index 287
overview 286
formatted dump 213
forms 277
data set/data base and transaction
table 283
incident report 281
online log sheet, CICS 279
transaction and program table 285
GETVIS space
248
hardware requirements 7
high-level language
macro-level language preprocessor
(PRPR)
172
emergency restart 100, 198, 320
controlled shutdown 319
data set recovery 319
demonstration of 105
system failure 319
end-of-file mark 307
Index
413
immediate shutdown 251
incident report 281
indexed sequential access method
(ISAM)
10
logic module 10
inflight transactions 110
initialization overrides 83
initialize CICS system definition file
(DFHCSDUP)
223
initialize system definition file
(DFHCSDUP)
JCL to invoke 224
installation
initial CICS startup 23
job stream 17
intersystem communication 11
int~rsystem communication message
routing sample application 384
intrapartition data set 186, 187
DAM 186, 187
VSAM 187
intrapartition destinations 38
job stream
assemble and link-edit sample
DFHPPTS1 394
create new private core image
library 394
define CICS system definition
file 396
define restart data set 395
define temporary storage data
set 391
define VSAM FILEA cluster 393
define VSAM master catalog 391
define VSAM space 391
define VSAM user catalog 391
delete auxiliary temporary storage
data set 397
delete CICS system definition
file 397
delete FILEA file 397
delete intrapartition transient data
set 397
delete restart data set 397
delete VSAM space 397
delete VSAM user catalog 398
format journal disk extent 395
format journal tape 396
format second journal disk
extent 396
general-purpose 391
initialize CSD file 396
initialize restart data set 395
initialize sample VSAM FILEA
file 393
installation 17
print auxiliary trace data set 392
print dump data set 392
punching sample job stream to ICCF
library 32
start up CICS system for sample
run 394
start up CICS with data sets 392
414
startup 253
system generation 116
verify VSAM files 396
journal control table 103
journal data set 191
disk journals 191
JCL to format on unlabeled tape 195
job control statements for CICS
execution 194, 195
job stream for defining and formatting
journals on disk 192
prepare disk data sets for system logs
and journals (DFHJCJFP)
192
space considerations 193
VSE/VSAM space management for SAM
feature 180
writing EOF mark on system log tape
(DFHTEOF)
195
journal disk extent
job stream to format 395
job stream to format second
extent 396
journal tape
job stream to format 396
journals for CICS monitoring facility
output 196
label information
dump data sets 215
TCT entries 233
user file definitions 231
labels
partition standard 21
system standard 21
language translators 158
libraries
si zes of 8
1 i nk books 335
log
system 102, 192
logi c modules
ISAM and BTAM 336
logical unit of work 110
logically recoverable resources
110
macro-level application programs
assembler language 172
COBOL 172
high-level languages 172
PL/I 172
preparation 172
macro-level language preprocessor
(PRPR)
172
main temporary storage 36
map sets
alignment 147
installing 147
installing physical and symbolic
description map sets together 152
installing physical map sets 148
installing symbolic description map
sets 150
migration of 133
CICS/DOS/VS Installation and Operations Guide
physical 147
symbolic description 147
messages
startup 258
migrating to CICS 1.6 323
changes to CICS tables 324
changes to system generation 323
changes to system initialization 325
migration of programs, map sets, and
partition sets (PPT)
profile properties 134
modules
suffixed pregenerated 343
with dummy pregenerated version 343
with suffixed pregenerated
versions 343
monitoring facility
adding 127
processing program table (PPT)
entries 129
program control table (PCT)
entries 129
MSHP
creating new system history file 17
history file 15
in installation process 6
multiple history files 16
normal shutdown
nucleus 248
251
online log sheet, CICS 279
operating procedures 277
operating system 9
operator instruction sample program
optional tape 6
listing libraries on 7
order entry queue print sample
program 383
order entry sample program 383
override parameters
system initialization 270
installing 148
physically recoverable resources
PL/I
110
preparation of application
programs 166
sample procedure for application
programs 160
translator, DFHEPP1$ 166
pregenerated module
regenerating 120
prepare tape for system logs and journals
(DFHFTAP)
195
private core image library
defining 67
job stream to create 394
processing output from CICS monitoring
facility 129
processing program table 24
job to assemble and link-edit 69
migration of 133
profile properties 134
transaction aliases 135
transaction names 135
profi les (PCT)
migration of 134
profiles and transactions 373, 374
program control table 24
job to assemble and 1 i nk-edi t
70
migration of 133
program directory 7
program update tape (PUT)
328
programs and maps 78
programs, map sets, and partition sets
(PPT)
migration of 133
PUT (program update tape)
328
queues or destinations
79
382
parameters
system initialization override 270
partition dump 213
partition sets
installing 147, 154
migration of 133
partition types
dynamic storage area (DSA)
248
nucleus 248
phonetic encoding logic module,
DFHPHN 336
physical and symbolic description map
sets together
installing 152
physical map sets 147
RECORDS 182, 184
RECORDSIZE 185
recoverable resources 110
182
relocatable library
contents of 335
remote terminal operator eRTO)
303
report sample program 384
resource definition
control tables 143
preparing for 141
resource definition online support
after you have mi grated your tables to
CSD fi Ie 135
migration of programs, map sets, and
partition sets (PPT)
133
migration of user PPT and PCT
tables 133
preparing for migration of resource
definitions 131
resources
CICS 63
restart
emergency 198
RECSZ
Index
415
restart data set 197
JCL statements for CICS
execution 200
job control statements to define and
initialize 199
job stream to define 93, 395
job stream to delete 397
job stream to initialize 93, 395
space calculations 199
VSE/VSAM space management for SAM
feature 180
restart facilities 91
emergency restart 100, 198
warm restart 91, 198
RPG II
preparation of application
programs 168
sample procedure for application
program 161
work fi les
VSE/VSAM space management for SAM
feature 168
RTO (remote terminal operator)
303
sample application programs 64, 381
BMS partition support sample
applications 386
distributed transaction processing
sample applications 385
FILEA sample applications 381
intersystem communication message
routing sample application 384
running 89
sample job stream - see job stream
sample procedures 159, 389
DFHEITAL (assembler-language
application programs)
389
DFHEITCL (COBOL application
programs)
389
DFHEITPL (Pl/I application
programs)
390
DFHEITRl (RPG II application
programs)
390
sample tables 67, 351
job stream to assemble and
link-edit 394
sequential devices 237
service
applying 327
shared virtual area (see SVA)
shutdown
immediate 251
normal 251
uncontrolled 251
SIT (system initialization table)
246
size for running CICS 25
SlC (storage layout control) table 125,
241
software 9
compilers 12
data access methods 9
operating system 9
telecommunication access methods 10
source statement library
contents of 337
space allocation for installation 8
standard labels 21
start
416
warm 198
start up CICS with data sets
job stream to 392
starting up CICS 25
startup
automatic 92
output from 50
system 246, 253
startup job stream 46, 253
CICS data sets 82
constructing 78
core image library 82
for sample run 394
initialization overrides 83'
programs and maps 78
queues or destinations 79
terminals 80
transactions 78
user fi les and data bases 79
with data sets 392
startup messages 258
statistics 44
automatic 201
destinations 202
requested 201
system statistics 201
termination 51, 202
statistics data set
processing 204
storage
temporary 181
storage layout control (SlC) table 125,
241
stubs
link-edit stubs for command-level
applications 336
suffixed pregenerated modules 343
SVA (shared virtual area)
121
allocating space 122
CICS modules eligible for 339
loading the SVA 122
modules required for MRO 121
space required for 339
updating phases in the SVA 123
symbolic description and physical map
sets together
installing 152
symbolic description map sets 147
installing 150
sync point 110
SYSPARM, assembler global variable 172
SYSPCH output, for RPG II translator 170
system activity keypoint 101
system failure during emergency
restart 319
system generation 115
job stream 116
modules that can be generated 115
stage 1 116
system initialization override
parameters 270
system initialization table (SIT) 24,
246
system log 102
JCL to format on unlabeled tape 195
system log facilities
space considerations 193
system logs and journals (OFHFTAP)
preparing tape for 195
system resources 63
system services component
system statistics 201
system startup 246, 253
CICS/OOS/VS Installation and Operations Guide
startup job ,stream 253
startup messages 258
SYS002 output, for RPG II translator
SYS003 output, for RPG II translator
168
168
tables
data set/data base and transaction
table 283
transaction and program table 285
tape journals 195, 263
preparing tape for system logs and
journals (DFHFTAP)
195
target source statement library
for table generation 145
TCT (see terminal control table)
telecommunication access methods 10
BlAM 11
VTAM 10
temporary storage 36
auxiliary 36
main 36
temporary storage data set 36, 181
JCL statements for CICS
execution 37, 184
JCL statements to define 37, 182
job stream to define 391
job stream to delete 397
space considerations 183
terminal control table 24
job to assemble and link-edit 73
terminal definitions 233
terminal definitions 233
BTAM terminals 235
VTAM terminals 234
terminals 80
local BTAM terminals 80
remote BTAM terminals 81
VTAM terminals 81
trace 43, 59
auxiliary 207
trace table 207
transaction aliases 135transaction and program table 285
transaction backout program 101
transaction dump 213
transaction facilities
CEDA 219
transaction names 135
transactions 78
transactions (PCT)
migration of 134
transactions and profiles 373, 374
transient data 36, 38
extrapartition data set
VSE/VSAM space management for SAM
feature 180
transient data extrapartition data
set 189
transient data intrapartition data
set 39, 185
considerations independent of access
method 187
DAM intrapartition data set 186, 187
JCL to define 40, 185
job control statements for CICS
execution 40, 187
job stream to define 392
job stream to delete 397
space considerations 186
VSAM intrapartition data set 187
transient data write to terminal
(DFHTDl.JT$)
378
trigger level (TRIGLEV)
39
TRIGLEV - trigger level 39
uncontrolled shutdown 251
update sample program 383
UPSI byte
overriding system initialization
parameters 268
RPG II translator 168
statistics utility program 204
use by macro-level languagepreprocessor 174
user fi les and data bases 79
virtual storage access method (VSAM)
VSE/VSAM space management for SAM
feature 180
VM/370
running under 12
VSAM 9
define CICS system definition
file 396
define FILEA cluster 393
define FILEA ~ile 64
define master catalog 391
define restart data set 93, 395
define space 34
de-fine user catalog 34, 391
define VSAM space 391
delete CICS system definition
file 397
delete FILEA file 397
delete space 397
delete user catalog 398
initialize CSD file 396
initialize restart data set 395
initialize sample FILEA file 393
restart data set 197
transient data intrapartition data
set 185, 187
using VSAM file in CICS startup
job 37
verify VSAM files 106, 396
VSE console
defining to CICS 239
VSE/VSAM space management for SAM
feature 180
RPG II translator work files 168
VTAM
definitions required for CICS 11
release level indicator 10
terminals 81, 234
version, release, and modification
level indicator 10
Index
417
warm keypoint 91, 251
warm restart 91, 198
demonstration of 94
writing EOF mark on system log tape
(DFHTEOF)
195
418
CICS/DOS/VS !nstallation and Operations Guide
Customer Information Control System
(CICS/DOS/VS) Version 1 Release 6
Installation and Operations Guide
READER'S
COMMENT
FORM
Order No. SC33-0070-5
This manual is part of a library that serves as a reference source for systems analysts, programmers,
and operators of IBM systems. You may use this form to communicate your comments about this
publication, its organization, or subject matter, with the understanding that IBM may use or distribute
whatever information you supply in any way it believes appropriate without incurring any obligation
to you. Your comments will be sent to the author's department for whatever review and action, if any,
are deemed appropriate.
Note: Copies of IBM publications are not stocked at the location to which this form is addressed.
Please direct any requests for copies of publications, or for assistance in using your IBM system,
to your IBM representative or to the IBM branch office serving your locality.
Number of your latest Technical Newsletter for this pUblication ...
Cll
c:
:.J
"0
~o
o
Cl
c:
o
~
If you want an acknowledgment, give your name and address below.
Name ...
Job Title.
. Company
Address
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . " ... Zip
Thank you for your cooperation. No postage stamp necessary if mailed in the U.S.A. (Elsewhere,
an IBM office or representative will be happy to forward your comments or you may mail directly
to either address in the Edition Notice on the back of the title page.)
SC33-0070-5
Reader's Comment Form
()
Fold and Tape
Fold and Tape
Fold and Tape
()
CJ)
o
o
CJ)
No postage
necessary
if mailed
in the
United States
<
CJ)
<
~
o·
(Il
:::::l
:::lJ
CD
CD
Q)
BUSINESS REPLY MAil
FIRST CLASS
PERMIT 40
(Il
CD
en
ARMONK, NEW YORK
:::::l
(Il
.-+
~
Q)
.-+
o·
:::::l
Postage will be paid by addressee:
Q)
:::::l
C.
International Business Machines Corporation
Department 812H
1133 Westchester Avenue
White Plains, New York 10604
o
"0
CD
.....
Q)
!:t.
o
:::::l
(Il
G'l
c
c.:
CD
Fold and Tape
Fold and Tape
Fold and Tape
CJ)
()
w
w
--...
-.
--®
-. R
-- ---.-.--.- ---
--
~
6
o
-.....J
o
cJ,
/
SC33-0070-5
Q
(')
CJ)
o
o
CJ)
<
<
~
en
o·
CJ)
::J
:lJ
CD
ro
OJ
en
CD
en
G>
c
0CD
~
::J
.-+
CD
0::J
C
en
)::.
CJ)
(')
W
w
6
-=-- -=-=
::=------ - - -.,.-------.... -
~
~
.--®
R
o
o
"en
">
Download
Advertisement
Key features
General purpose DB/DC system
Supports online systems
Transmission of information from terminals
Access to data base
Transmission of processed information
Integration with other IBM products
Frequently asked questions
The Customer Information Control System is a general-purpose data-base/data-communication system that enables online systems to transmit information from terminals, access data, and transmit processed information back to terminals.
The Customer Information Control System provides a framework for managing and controlling the flow of information between terminals, databases, and applications. It uses a variety of software components, including telecommunications access methods, data access methods, and system control services, to manage this process.
The Customer Information Control System offers a variety of features, including support for online systems, transmission of information from terminals, access to databases, and transmission of processed information. It is designed to be integrated with other IBM products, such as VSAM, VTAM, and VSE, to provide a comprehensive solution for online system management.