CA
CA
Getting Started
r8
This documentation and any related computer software help programs (hereinafter referred to as the
Documentation) is for the end users informational purposes only and is subject to change or withdrawal by CA at
any time.
This Documentation may not be copied, transferred, reproduced, disclosed, modified or duplicated, in whole or in
part, without the prior written consent of CA. This Documentation is confidential and proprietary information of CA
and protected by the copyright laws of the United States and international treaties.
Notwithstanding the foregoing, licensed users may print a reasonable number of copies of the documentation for
their own internal use, and may make one copy of the related software as reasonably required for back-up and
disaster recovery purposes, provided that all CA copyright notices and legends are affixed to each reproduced copy.
Only authorized employees, consultants, or agents of the user who are bound by the provisions of the license for
the product are permitted to have access to such copies.
The right to print copies of the documentation and to make a copy of the related software is limited to the period
during which the applicable license for the Product remains in full force and effect. Should the license terminate for
any reason, it shall be the users responsibility to certify in writing to CA that all copies and partial copies of the
Documentation have been returned to CA or destroyed.
EXCEPT AS OTHERWISE STATED IN THE APPLICABLE LICENSE AGREEMENT, TO THE EXTENT PERMITTED BY
APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION AS IS WITHOUT WARRANTY OF ANY KIND, INCLUDING
WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY
LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT
LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS EXPRESSLY
ADVISED OF SUCH LOSS OR DAMAGE.
The use of any product referenced in the Documentation is governed by the end users applicable license
agreement.
The manufacturer of this Documentation is CA.
Provided with Restricted Rights. Use, duplication or disclosure by the United States Government is subject to the
restrictions set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.2277014(b)(3), as applicable, or their successors.
All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.
Copyright
Contents
Chapter 1: Introduction
Interactive System Productivity Facility-Like Menu Interface ..................................... 1-1
Test and Debug Directly from Your Source Listing............................................... 1-1
Prevent Abends by Trapping All Application Errors Online ........................................ 1-2
Set Breakpoints to Interrupt Program Execution ................................................ 1-2
Control Program Execution to Test All Program Paths ........................................... 1-3
CICSPlex Exploitation ......................................................................... 1-3
Ease-of-Use Features ......................................................................... 1-3
Symbolic Support Facilitates Problem Solving ................................................... 1-4
Display and Update Data Values from Your Source Listing Display ............................... 1-4
View and Modify Storage/Files without Interrupting the Test Session ............................. 1-4
Structured File Display Makes Data Easy on the Eyes ........................................... 1-5
Trace Program Execution ...................................................................... 1-5
Code Coverage ............................................................................... 1-5
Dynamically Change Program Execution ........................................................ 1-6
Monitoring by CICS User ID ................................................................... 1-6
Interactively Debug Applications That Access DB2 .............................................. 1-6
Helpful Diagnostic Information ................................................................ 1-6
Synchronized Processing ...................................................................... 1-7
Immediate Support for CICS Releases ......................................................... 1-7
Debug Production Applications Symbolically from Any CICS Region .............................. 1-7
Contents
iii
iv
Getting Started
Chapter 5: Options
Modify AllFusion CA-InterTest for CICS Options ................................................. 5-1
Procedure for Modifying Options ............................................................... 5-1
Sample JCL to Assemble the Options Program .............................................. 5-3
IN25OPTS Keywords ...................................................................... 5-4
Implement Composite Support ............................................................... 5-22
Declare User-Defined CORE Commands ....................................................... 5-22
CORUCOM Macro ........................................................................ 5-22
Code the CORUCOM Macros .............................................................. 5-23
Sample JCL for Assembling IN25UCOM .................................................... 5-24
Add Assembler DSECTs to the Symbolic File ................................................... 5-25
Sample JCL for Adding Members to the Symbolic File ....................................... 5-25
Sample JCL for Defining CORE Keywords .................................................. 5-26
Unprotect Main Storage with User Exit IN25LETX .............................................. 5-27
IN25LETX COMMAREA .................................................................... 5-27
LETX Table .............................................................................. 5-28
Sample IN25LETX Program ............................................................... 5-29
Disable IN25LETX ........................................................................ 5-30
Add COBOL File Structures to the Symbolic File ................................................ 5-31
Specify Non-Intercepted Abend Codes ........................................................ 5-32
Customize Help for Abend Codes ............................................................. 5-34
Contents
vi
Getting Started
Chapter 9: Troubleshooting
Diagnostic Procedures ........................................................................ 9-2
Collect Diagnostic Data ....................................................................... 9-3
Interprete Diagnostic Data ................................................................ 9-3
Access the Online Client Support System ................................................... 9-4
Call Technical Support .................................................................... 9-4
Product Releases and Maintenance ......................................................... 9-5
Request Enhancements ................................................................... 9-5
Index
Contents
vii
Chapter 1: Introduction
AllFusion CA-InterTestTM for CICS is a powerful interactive tool for testing and
debugging CICS COBOL, PL/I, and Assembler programs. Testing and
debugging is one of the most time consuming and important phases of
application development. The interactive testing facilities of AllFusion
CA-InterTest for CICS dramatically improve testing efficiency and application
quality.
AllFusion CA-InterTest for CICS works online to trap all application errors
known to CICS. It lets you resolve multiple errors interactively as they occur,
without having to recompile or end the test session.
Chapter 1: Introduction
11
You never have to wait for printouts because AllFusion CA-InterTest for CICS
provides immediate, online access to your programs source listing and
compiler information such as maps, cross-reference tables, and messages
information your online editor cannot provide.
12
Getting Started
CICSPlex Exploitation
AllFusion CA-InterTest for CICS exploits the CICSPlex environment by
monitoring a program wherever it executes in the CICSPlex. Breakpoint and
other debugging information is sent to you, regardless of the region in which
the program actually executes. AllFusion CA-InterTest for CICS also supports
non-CICSPlex multiregion operations and intersystem communications
(MRO/ISC) configurations.
Ease-of-Use Features
CICS programmers can quickly benefit from the many features of AllFusion
CA-InterTest for CICS because it so easy to learn and use. The following list
describes some of the reasons:
The ability to perform most tasks directly from source listing displays.
Demo sessions for COBOL, COBOL II, COBOL/370, PL/I, and Assembler
users that demonstrate key AllFusion CA-InterTest for CICS features and
help train new users.
Chapter 1: Introduction
13
14
Getting Started
Authorized users can perform any I/O function provided by CICS or DL/I for
accessing and updating Virtual Storage Access Method (VSAM), Basic Direct
Access Method (BDAM), and DL/I database data. The DB2 facility lets you
display and update DB2 tables using SQL.
Code Coverage
The Code Coverage (or COUNTS) feature lets you view the number of times
each program statement was executed during your program testing. This
feature makes it easy to identify program statements that were or were not
executedquickly identifying untested code. You can accumulate program
statement counts across multiple executions of the same program.
Chapter 1: Introduction
15
16
Getting Started
Synchronized Processing
Synchronized Processing
To ensure that the correct version of your source code is used, AllFusion
CA-InterTest for CICS provides symbolic file and load module synchronization.
When a program is selected for testing, AllFusion CA-InterTest for CICS
compares the date and time in the source listing to the date and time in the
load module. If no matching files are found, AllFusion CA-InterTest for CICS
displays a File Selection List from which you can select the correct file.
Chapter 1: Introduction
17
Files beyond 32 are the SMP RELFILES, which SMP downloads to disk
during RECEIVE processing.
21
22
Getting Started
Operating environments
Special considerations
Migration considerations
Operating Environments
The pre-generated versions provided on this tape support any z/OS operating
system running on any hardware with IBM CICS Transaction Server (TS)
Release 2.2, 2.3, 3.1, and 3.2. This tape includes pre-generated versions of
AllFusion CA-InterTest for CICS, for CICS TS 2.2, 2.3, 3.1, and 3.2.
Database management systems DL/I and DB2 are fully supported by the
pre-generated versions without modification. If you need to support other
systems (such as TOTAL, AllFusion CA-IDMS/DB Database or AllFusion
CA-Datacom/DB Database) or calls to software that should not be monitored
by AllFusion CA-InterTest for CICS, see the chapter Handling Special
Situations.
CAIRIM
CA LMP
AllFusion CA-InterTest for CICS support for CICSPlex and/or dynamic symbolic
support for AllFusion Endevor Change Manager require the following
additional CA Common Services for z/OS: CAICCI for MVS.
31
CAIRIM
CAIRIM, CAI Resource Initialization Manager, is the common driver for a
collection of dynamic initialization routines that eliminate the need for user
SVCs, SMF exits, subsystems, and other installation requirements commonly
encountered when installing systems software. The following list contains
some of the features of CAIRIM:
CA LMP
The CA License Management Program provides a standardized and automated
approach to the tracking of licensed software. It uses common real-time
enforcement software to validate the users configuration. CA LMP reports on
activities related to the license, usage, and financials of program solutions. CA
LMP includes the following features:
A common key data set that can be shared among many CPUs
32
Getting Started
CA-Hardware Requirements
CAICCI
AllFusion CA-InterTest for CICS installations that do not require CICSPlex
support do not need to install CAICCI. However, if you plan to use AllFusion
CA-InterTest for CICS support for CICSPlex environments, CAICCI for MVS is
required. For CICSPlex support, CAICCI must be installed in each MVS/CICS
region that is a CICSPlex family member.
CAICCI (CAI Common Communications Interface) enables CA products to
communicate with one another. This facility provides a layer that isolates
application software from the specifics of the communications environment.
CAICCI is a started task used for sending messages between CA products. It
usually runs continuously whenever the operating system is active.
AllFusion CA-InterTest for CICS uses CAICCI to facilitate testing and
debugging in CICSPlex environments. In particular, it uses CAICCI to send and
receive the monitoring commands to and from the CICSPlex family member
CICS regions. This automatically propagates monitoring activity to all regions
participating in the CICSPlex environment.
CA-Hardware Requirements
Estimates for the amount of disk space needed to install AllFusion
CA-InterTest for CICS are given next.
Distribution Libraries
The following table estimates disk space for the distribution libraries required
to install AllFusion CA-InterTest for CICS.
Name
Blksize
Blocks
Dir. Blks.
Description
CAI.CBA8062D
6144
600
50
CAI.CBA8063D
6144
600
50
CAI.CBA8064D
6144
600
50
CAI.CBA8065D
6144
600
50
CAI.CBA80SLD
3120
250
30
CAI.CVH80LLD
6144
300
20
CAI.CVH80SLD
3120
20
33
CA-Hardware Requirements
Target Libraries
The following table estimates disk space for the target libraries required to
install AllFusion CA-InterTest for CICS. These libraries must be allocated if
they do not already exist for some other CA product at your site.
Name
Blksize
Blocks
Dir. Blks.
Description
CAI.SAMPLIB
3120
250
30
CAI.CACICS62
6144
600
50
CAI.CACICS63
6144
600
50
CAI.CACICS64
6144
600
50
CAI.CACICS65
6144
600
50
CAI.PROTHLF
4096(CI)
1000
N/A
CAI.PROTUHF
4096(CI)
1000
N/A
CAI.PROTSYM
2048(CI)
8000
(records)
N/A
CAI.PROTCPF
4096(CI)
N/A
CAI.CAILIB
6144
300
20
CAI.CAIMAC
CAI.CAIPROC
34
Getting Started
3120
3120
20
20
2
2
Special Considerations
Special Considerations
Additional considerations apply under the circumstances described next.
PL/I Programs
Programs that contain arrays must be recompiled with the IN25SYMP
post-processor provided with 6.1, or later, if the support for complex arrays is
to be available.
Do not disable the previous global user exits in any way. This action
causes AllFusion CA-InterTest for CICS to stop functioning.
The AllFusion CA-InterTest for CICS global user exits honor the return
codes set by previous exits, which may have an impact on whether
AllFusion CA-InterTest for CICS successfully monitors a program. If you
are having problems caused by other CICS global user exits setting a
return code before AllFusion CA-InterTest for CICS exits receive control,
you can guarantee that the AllFusion CA-InterTest for CICS exits are first
to receive control by adding the program entry IN25PLTX to the CICS
startup PLT. IN25PLTX is required as the first program entry in Phase 1
(prior to the DFHDELIM entry) of the PLT.
If other exits receive control after AllFusion CA-InterTest for CICS, they
must not change the return code or entry point fields in the user exit
parameter list.
To disable AllFusion CA-InterTest for CICS you must use the CNTL=END
command.
Failure to observe the above rules will disable monitoring. For example,
AllFusion CA-InterTest for CICS monitoring is not performed if another exit
receives control before AllFusion CA-InterTest for CICS and passes on a
modified return code or entry point.
35
Special Considerations
CICSPlex Support
AllFusion CA-InterTest for CICS provides special, optional support for CICS
regions participating in a CICSPlex environment. If AllFusion CA-InterTest for
CICS is installed with CICSPlex support, participating CICS regions have
AllFusion CA-InterTest for CICS commands and breakpoints automatically
propagated to all regions in the CICSPlex. This allows for easier debugging of
dynamically routed transactions and programs. For details on which
commands are propagated across a CICSPlex, see the User Guide.
2.
3.
CICSPLEX=YES
CPLXFMID=a-CICSPlex-family-name
36
Getting Started
Special Considerations
The listing data set created by the AllFusion Endevor generate process
must be monitored by AllFusion Endevor with the following DD statement
coded:
MONITOR=COMPONENT,FOOTPRINT=CREATE
The object and load module libraries must use the footprint feature with
the following coded on their respective DD statements:
FOOTPRINT=CREATE
37
Special Considerations
Database Support
Database management systems DL/I, DB2, and ADABAS are fully supported
by the pre-generated versions without modification. If you need to support
other systems (such as AllFusion CA-IDMS/DB, AllFusion CA-Datacom/DB, or
TOTAL) or calls to software that should not be monitored by AllFusion
CA-InterTest for CICS, see the chapter Handling Special Situations.
HOGAN Users
For detailed instructions on setting up AllFusion CA-InterTest for CICS to
support HOGAN, see the chapter Handling Special Situations.
38
Getting Started
Special Considerations
MRO Users
For detailed instructions on setting up AllFusion CA-InterTest for CICS to
support MRO, see the chapter Handling Special Situations.
Omegamon Users
To use AllFusion CA-InterTest for CICS with Omegamon Version 450 or
subsequent versions, you must start Omegamon before you start AllFusion
CA-InterTest for CICS.
To use AllFusion CA-InterTest for CICS with Omegamon, AllFusion
CA-InterTest for CICS transactions must be excluded from the Omegamon
Resource Limit (Time Out) Specification.
TMON Users
To use AllFusion CA-InterTest with TMON, AllFusion CA-InterTest for CICS
transactions must be excluded from the TMON Resource Limit (Time Out)
Specification.
Data Monitoring
The data monitoring feature of AllFusion CA-InterTest for CICS requires a
significant amount of storage over and above the storage required by the
programs being monitored. Compute the storage requirements as follows:
500 bytes * number of transaction entries as defined by the STMTTRCE
option + size of mirror area for each program in the transaction for which data
monitoring is active, where the mirror area is equal to the size of storage for
the monitored program.
39
If you should encounter storage problems while using the data monitoring
feature, perform one or more of the following actions:
Make the STMTTRCE value smaller in the default options table, IN25OPTS.
At least AllFusion CA-SymDump for CICS 6.1 and (with compatibility PTFs)
310
Getting Started
311
Entering AllFusion CA-InterTest for CICS product keys for CA LMP check
Allocating libraries
Note: You must install the required CA Common Services for z/OS components
before proceeding with an SMP/E installation of AllFusion CA-InterTest for
CICS.
41
Description
Step 1.
Step 2.
Step 3.
42
Getting Started
Step 4.
Step 5.
Step 6.
Step 7.
Step 8.
Step 9.
Step 10.
Step 11.
Step 11a.
Step 12.
Step 13.
Step 14.
Step 15.
Step 16.
Step
Description
Step 17.
Step 18.
Step 19.
After installing AllFusion CA-InterTest for CICS (and the PL/I option if you are
licensed for it), adjust the compile and assemble procedures for COBOL,
COBOL II and higher, Assembler, and PL/I. See the AllFusion Testing and Fault
Management Symbolic guide for details.
Existing users should begin by reviewing ITST Option 8 Whats New. New
users should begin by using the demo programs before using
AllFusion CA-InterTest for CICS on their own programs.
Use CA LMP
AllFusion CA-InterTest for CICS requires CA LMP (License Management
Program) to initialize correctly. CA LMP also provides a standardized and
automated approach to the tracking of licensed software.
Examine the CA LMP Key Certificate you received with your AllFusion
CA-InterTest for CICS installation or maintenance tape. The certificate
provides an LMP key for the AllFusion CA-InterTest for CICS base product and,
if you have purchased the PL/I Symbolic Option or AllFusion CA-SymDump for
CICS, an additional key for each option purchased.
43
Descriptions
Product Name
Supplement
Expiration Date
Technical Contact
MIS Director
CPU Location
Execution Key
Product Code
CPU ID
44
Getting Started
The CA LMP execution key, provided on the Key Certificate, must be added to
the CAIRIM parameters to ensure proper initialization of the CA software
solution. To define a CA LMP execution key to the CAIRIM parameters, modify
member KEYS in OPTLIB data set. The parameter structure for member KEYS
is shown next.
PROD(pp) DATE(ddmmmyy) CPU(tttt-mmmm/ssssss)
LMPCODE(kkkkkkkkkkkkkkkk)
pp
ddmmmyy
tttt-mmmm
ssssss
kkkkkkkkkkkkk
45
What is your installation generic unit name for temporary work DASD?
Default: WORK=SYSDA
2.
WORK=_____________
What is your installations generic unit name for the shipped installation tape?
Default: TAPE=TAPE
3.
TAPE=______________
What is your installation standard SYSOUT class for CA product installations and SMP output?
Default: SYSOUT=*
4.
SYSOUT=___________
What is the dsname high-level qualifier for the AllFusion CA-InterTest for CICS installation
libraries (both target and distribution libraries)?
Default: CAI=CAI.
a.
CAI=_______________
b.
c.
PUNIT=____________
What is the dsname high-level qualifier for the SMP libraries to be used for the installation of
CA products?
Default: CAISMP=CAI.
a.
b.
CAISMP=___________
What VOL=SER do you want for the SMP libraries, if these libraries do not already
exist?
Default: VOLSER=
VOLSER=___________
What is your installation generic unit name for the permanent DASD SMP volumes?
Default: PERMDA=SYSDA
6.
DLIB=______________
What is your installation generic unit name for the above library volumes?
Default: PUNIT=SYSDA
5.
TARGET=___________
PERMDA=__________
46
Getting Started
EXEC PGM=IEBCOPY
//SYSPRINT
DD
SYSOUT=A
//SYSUT1
DD
DISP=(OLD,KEEP),
//
DSN=CAI.SAMPJCL,
<=== generic 3480 tape cartridge
//
UNIT=CART,
//
VOL=SER=BAyymm,
//
LABEL=(9,SL)
//SYSUT2
DD
//
DSN=CAI.INTERTST.SAMPJCL,
DISP=(NEW,CATLG,DELETE),
//
UNIT=SYSDA,
//
//
//
DCB=(LRECL=80,BLKSIZE=3120,RECFM=FB)
//SYSUT3
DD
//
SPACE=(TRK,(5,5))
//SYSUT4
DD
//
SPACE=(TRK,(5,5))
//SYSIN
DD
UNIT=SYSDA,
UNIT=SYSDA,
DUMMY
Once this job has ended, your library will contain all of the JCL needed to
complete the installation of AllFusion CA-InterTest for CICS.
To satisfy your data centers needs, certain tailoring of the JCL is necessary
while executing the steps on the following pages. Refer to the Installation
Worksheet you completed earlier in this chapter to obtain values for the
various JCL parameters.
47
Edit the JCL to conform to your installation standards and the previously
completed worksheet. However, never change any of the ddnames or the last
qualifier of the data set names.
All space allocations supplied in this member are in blocks to allow for
compatibility between DASD types. The allocations given are the minimum
required for installing AllFusion CA-InterTest for CICS. You may want to adjust
these for your installation device types, and to allow enough free space for
maintenance (the more free space you allocate, the less often the libraries will
be compressed during maintenance). For common libraries that are already
present, be sure there is sufficient space for AllFusion CA-InterTest for CICS.
Submit member BA80ALC and review the output.
48
Getting Started
49
410
Getting Started
411
412
Getting Started
The DEFSYM utility job (running the IN25UTIL program) could run for a
long time depending on the size of the file. This occurs only the first time
after the file is created by the IDCAMS job.
Each symbolic file has an upper limit of about four million 2 KB records
and holds approximately 147,000 programs. See the AllFusion Testing and
Fault Management Symbolic Guide for instructions on how to delete
members.
413
CTS 2.2
INT80062
CTS 2.3
INT80063
CTS 3.1
INT80064
CTS 3.2
INT80065
The use of the AllFusion CA-InterTest for CICS transactions ISER, VIRC, and
VTAT must not be protected to a specific sign on, and for CA-ACF2 and RACF
users must meet the special considerations given in the chapter System
Requirements.
Do not change any of the options specified for the AllFusion CA-InterTest for
CICS entries. If you believe there is an error in any of the entries, contact CA
Technical Support.
414
Getting Started
//PROTCPF
DD DSN=CAI.PROTCPF,DISP=OLD
//PROTSYM
DD DSN=CAI.PROTSYM,DISP=SHR
//PROTHLF
DD DSN=CAI.PROTHLF,DISP=SHR
//PROTUHF
DD DSN=CAI.PROTUHF,DISP=SHR
If you need more than one symbolic file, see the SYMFIL option in the section
Modifying AllFusion CA-InterTest for CICS Options in the chapter Options.
Also, add the AllFusion CA-InterTest for CICS load library to the DFHRPL in the
CICS startup JCL for your release of CICS:
//
DD DSN=CAI.CACICS62.DISP=SHR
CTS 2.2
//
DD DSN=CAI.CACICS63.DISP=SHR
CTS 2.3
//
DD DSN=CAI.CACICS64.DISP=SHR
CTS 3.1
//
DD DSN=CAI.CACICS65.DISP=SHR
CTS 3.2
2.
415
3.
The DBA must grant bind and execute authority to the plan created in task
2.
4.
416
Getting Started
1.
Enter the transaction code VRPT. AllFusion CA-InterTest for CICS displays
the selection menu.
2.
Enter 1 in the Option field and press Enter. AllFusion CA-InterTest for CICS
displays the first screen of programs.
3.
4.
Step 18. Install Dynamic Symbolic Support for AllFusion Endevor Change Manager
Important! If you are upgrading from a previous release, urge your users to
use ITST Option 8 to review Whats New in this release.
2.
3.
4.
5.
417
6.
The NDVRPROC procedure requires read security access to any load library
data sets that application programs requiring symbolic support may reside
in. It also requires write security access to any PROTSYM file specified on
an NDVRSYM DD statement.
For AllFusion CA-InterTest for CICS regions installed with CICSPlex support
(CICSPLEX=YES in IN25OPTS), the CNTL=START and CNTL=RESTART
commands automatically have AllFusion CA-InterTest for CICS resynchronize
monitoring with any active regions in the CICSPlex. The chapter Automatically
Starting AllFusion CA-InterTest for CICS explains how to start AllFusion
CA-InterTest for CICS automatically with your CICS system.
At this time, you can compile and assemble your programs with the AllFusion
CA-InterTest for CICS symbolic post-processor programs as described in the
AllFusion Testing and Fault Management Symbolic Guide. These programs let
you use symbolic references during testing.
Remember, however, that you do not have to compile your programs with one
of the AllFusion CA-InterTest for CICS symbolic post-processor programs. All
of the AllFusion CA-InterTest for CICS monitoring facilities are available for
current programs without recompiling or reassembling them. We do
recommend that you recompile or reassemble current programs if AllFusion
CA-InterTest for CICS detects errors because symbolic support greatly
facilitates debugging.
418
Getting Started
2.
For regions using the CICSPlex support option, you can issue the following
command to concurrently deactivate AllFusion CA-InterTest for CICS in all
connected CICSPlex regions:
CNTL=END,SCOPE=GLOBAL
AllFusion CA-InterTest for CICS maintains a permanent service task that runs
under the transaction ID ISER. The program is IN25SERV. CICS cannot
complete a normal shutdown until this task ends. It is important that you
deactivate AllFusion CA-InterTest for CICS before CICS shutdown to terminate
this task.
To deactivate AllFusion CA-InterTest for CICS at CICS shutdown, perform one
of the following procedures:
Add the following AllFusion CA-InterTest for CICS PLTSD entry before
DFHDELIM so that it is part of Stage 1 processing:
DFHPLT TYPE=ENTRY,PROGRAM=IN25PLTE
419
420
Getting Started
Chapter 5: Options
This chapter describes the various option settings, their defaults, and how to
change them. This chapter also explains how to further customize AllFusion
CA-InterTest for CICS to meet your sites needs.
Create an IN25OPTS load module that contains the modified options with a
batch assemble-and-linkedit job (sample JCL follows).
2.
b.
SET
PROG(IN25*)
NEWCOPY
Chapter 5: Options
51
52
Getting Started
AUDIT=NO
NDVRPROC=INTNDVR
AUTMON=YES
OSGETM=YES
BKPTERM=
PROMD=00000020
BREAK=YES
READBUF=YES
CICSPLEX=NO
REALIA2=NO
CKPTFIL=PROTCPF
RECNTMU=NO
CNTLSEC=YES
RECNTNW=YES
CNTLT=CNTL*
SDISPLAY=DATA
CNTOSEC=YES
SLB=YES
CNTSQLG=YES
SLBAKEEP=YES
CORET=CORE*
SLBMARG=1
CORSEC=YES
SLBSCRL=PAGE
CPF11=7B
SLBTIT=YES
CPLXCKPI=0020
STBTRN=STB4*
CPLXFMID=INTERTST
STMTTRCE=500
CWALET=no value
STUAR=NO
DFLTUSER=.ANY
SYMDFIL=PROTDMP
DL1SIZE=8192
SYMDINT=YES
EXTSEC=NO
SYMDL=SYMD
FDISP=FC
SYMDT=SYMD*
FFORM=D
SYMDWILD=
FILET=FILE
SYMFIL=PROTSYM
FILSEC=YES
SYMPSWD=12345678
FSYMP=PROTFILE
TRCFDCLS=
GLOG=CSSL
TRCFFMID=SYMDTRCF
HELPFIL=PROTHLF
TRCFMCLAS=
HELPT=HELP*
TRCFMEGM=120
ICMDBUF=1024
TRCFMEGT=15
ICMDEXE=50
TRCFSCLS=
ICMDMAX=50
TRCFTOUT=240
IGLUT=IGLU*
TRCFTRHD=50
IPLXT=IPLX*
TRCFUNIT=
IRCTT=VIRC*
TRCFVOL=
ISERT=ISER*
UCONLY=NO
ITSTT=ITST*
USERHELP=PROTUHF
LETSVC=YES
VERCOR=NO
LISTT=LIST*
VRPTT=VRPT*
MONOM=NO
VTATT=VTAT*
MONOMSEC=YES
XRMIO=YES
NDVRASML=NO
*If you change a transaction ID, also change the CICS transaction definition.
//************************************************************
//ASM
EXEC PGM=ASMA90,REGION=1M,
//
PARM='LIST,XREF(SHORT),DECK,NOOBJ'
//SYSPRINT DD
SYSOUT=*
//SYSPUNCH DD
DSN=&&OBJECT,UNIT=SYSDA,DISP=(NEW,PASS),
//
DCB=BLKSIZE=3200,SPACE=(TRK,(1,1))
//SYSLIB
DD
DSN=CAI.SAMPLIB,DISP=SHR
//
DD
DSN=CICS.MACLIB,DISP=SHR
//SYSUT1
DD
UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT2
DD
UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT3
DD
UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSIN
DD
*** CWA USER DSECT REQUIRED HERE IF USING THE CWALET OPTION ***
USING CWADS,0
CWADS
DSECT
USER CWA
CWAFLD1
DS
CL20
CWAFLD2
DS
CL15
CWAFLD3
DS
CL100
X
X
LETSVC=NO
IN25OPTS TYPE=CSECT,
CWALET=(CWAFLD1,CWAFLD2+15)
IN25OPTS TYPE=FINAL
END
/*
Chapter 5: Options
53
//LKED
EXEC PGM=IEWL,PARM=(XREF,LIST,MAP),
//
REGION=1M,COND=(4,LT,ASM)
//SYSPRINT DD
SYSOUT=*
//SYSLIN
DD
DSN=&&OBJECT,DISP=(OLD,DELETE)
//SYSLMOD
DD
DSN=CAI.CACICSxx(IN25OPTS),DISP=SHR
//SYSUT1
DD
UNIT=SYSDA,SPACE=(CYL,(1,1))
//
In this example, the options FILSEC, LETSVC, and CWALET have been generated.
All other options use the default settings. In the SYSLMOD DD statement, replace
xx with your two-digit CICS release number (for example, 62 for CTS 2.2, 63 for
CTS 6.3, 64 for CTS 3.1, or 65 for CTS 3.2).
Note: The CWALET option requires you to place your user CWA DSECT before
the first IN25OPTS specification in the assembly. The USING statement for this
DSECT is required. The register value for the USING statement can be any
value from 0 to 15.
IN25OPTS Keywords
This section lists the IN25OPTS keywords. Defaults are underlined. Slashes (/)
between parameters indicate you must make a choice.
AUDIT= NO/YESFor auditing purposes, certain installations require that all
CORE, FILE, and CNTL commands be recorded.
NO
Specify NO if you did not specify the GLOG= option or if you want to
dynamically activate and deactivate global logging with CNTL=GLOG,ON
and CNTL=GLOG,OFF commands.
If you specify NO, the user can request logging of FILE commands by
specifying FUNC=LOG on the FILE menu.
YES Specify YES if you specified the GLOG= option and you need the global
logging facility always active.
With AUDIT=YES, neither the CNTL=GLOG,ON command nor the
CNTL=GLOG,OFF command are accepted. The CNTL commands and
AllFusion CA-InterTest for CICS responses are always recorded in the
transient data queue or data set that was specified with the GLOG=
keyword. CORE changes to storage areas not owned by the task (usually
password protected) are always recorded. The FILE transaction operates
in the LOG=ON mode; that is, all user requests and resulting FILE screen
images are recorded.
Note: If you do not specify the GLOG= keyword, the AUDIT=YES
specification is ignored.
54
Getting Started
BKPTERM=(_) /MOD2
no value The breakpoint display will not force a MOD2 terminal.
MOD2 The breakpoint display will always be treated as a MOD2 terminal.
BREAK=YES/NOIndicates whether AllFusion CA-InterTest for CICS is
allowed to execute breakpoints.
YES Allows AllFusion CA-InterTest for CICS to execute breakpoints; that is, to
stop execution of the application program at certain points. Select this
option if you intend to use AllFusion CA-InterTest for CICS as an
interactive debugging tool.
NO
Chapter 5: Options
55
Does not protect certain CNTL commands with passwords and does not
allow for password protection of certain CNTL options.
56
Getting Started
Chapter 5: Options
57
BF
58
Getting Started
If you do not have an existing DSECT in your CWA, add the following two
statements to the IN25OPTS module to create one:
*********** CWA USER DSECT REQUIRED HERE ************
USING CWADS,0
CWADS
DSECT
You can then specify offsets from the beginning of the CWA. For example,
the following macro unprotects a 20-byte area starting at the beginning of
the CWA:
IN25OPTS TYPE=CSECT,CWALET=(CWADS,CWADS+20)
DFLTUSER=.ANY/SPECIFIC/BACKGROUNDDFLTUSER stands for default
user and controls how AllFusion CA-InterTest for CICS monitoring
functions by default. A user can override the default settings established
by this parameter at any time.
.ANYWhen this setting is used, AllFusion CA-InterTest for CICS monitoring
pays no attention to the CICS user ID of the session, even if the user is
signed on to CICS. Monitoring is set for all users, and breakpoints, by
default, are directed to the same terminal used to set them.
SPECIFICThis setting is only valid in a secure AllFusion CA-InterTest for
CICS region where the users log on to CICS. When DFLTUSER=SPECIFIC
is used, AllFusion CA-InterTest for CICS qualifies each monitoring entry
with the users CICS user ID. In addition, AllFusion CA-InterTest for CICS
directs all options to monitoring to .ANY terminal. This setting allows
many users to test the same program or transaction independently. This
also allows users to move from terminal to terminal and have their
monitoring entries and monitoring options follow them.
T
Chapter 5: Options
59
The FILE transaction shows its first display in the DATATYPE=FC format;
that is, ready to process CICS files defined in the CICS file definition (File
Control Table).
DL
The FILE transaction shows its first display in the DATATYPE=DL format;
that is, ready to process DL/I segments.
TD
The FILE transaction shows its first display in the DATATYPE=TD format;
that is, ready to process CICS transient data queues.
TS
The FILE transaction shows its first display in the DATATYPE=TS format;
that is, ready to process CICS temporary storage.
DB
The FILE transaction shows its first display in the DATATYPE=DB format;
that is, ready to process DB2 data.
510
Getting Started
The FILE transaction shows its first display in dump format, similar to the
nonstructured display of the CORE transaction. Shows both character and
hexadecimal images.
The FILE transaction shows its first display in character format. This
format displays the largest amount of data, but is useless for
noncharacter data records.
The FILE transaction shows its first display in vertical format, similar to
the DITTO utility. This format displays the least amount of data.
Permits users of the FILE transaction to access any CICS file or DL/I data
without an AllFusion CA-InterTest for CICS-enforced password.
Chapter 5: Options
511
512
Getting Started
MENU Activates the feature and displays the MON and NOM options on the
CNTL main menu.
NOMENU Activates the segmented monitoring feature, but limits users to
implementing segmented monitoring through CNTL commands or the
LIST facility. NOMENU disables the use of the MON and NOM options on
the Monitoring menus, and removes the MON and NOM entries from the
CNTL main menu.
MONOMSEC=YES/NOControls password protection for the segmented
monitoring options in the CNTL facility. If MONOM=NO, MONOMSEC is
ignored.
YES Implements password protection of the segmented monitoring feature.
The password is controlled by a keyword in the IN25SEC2 macro.
Instructions for specifying passwords for CNTL options are in the
Password Protection chapter.
NO
Chapter 5: Options
513
514
Getting Started
number Specify the number to be used as the default value of the PROM=
parameter of the CNTL=START command, which specifies the initial
number of entries in the Monitoring Table. This number must be eight
characters long. For the initial period of use, the default value should
suffice.
The number of entries in the table should be no less than the number of
names to be declared for monitoring. However, for efficiency, allow
enough entries at the beginning by specifying the PROM= parameter
here or in the CNTL=START command. A large number of unoccupied
entries use more storage but do not increase the overhead because only
occupied table entries are examined when the table is scanned.
READBUF=YES/NOIndicates whether the read buffer function is supported.
YES Before sending a breakpoint to a terminal, AllFusion CA-InterTest for
CICS issues a read buffer to save the last user screen from that terminal.
If your AllFusion CA-InterTest for CICS demonstration session runs
successfully, specify YES.
NO
ONLY Indicates that only AllFusion CA-Realia II Workbench Option for CICS is
active in the CICS region.
RECNTMU=YES/NOIndicates whether CNTL commands are displayed
before execution.
YES Displays the CNTL commands generated by the AllFusion CA-InterTest
for CICS menus just before the commands are executed. The user can
learn these commands from the screen and, for efficiency, use them
instead of menus.
NO
Chapter 5: Options
515
Displays only the data items you have requested to be displayed in the
Keep Window.
41
28
34
516
Getting Started
STOP
nnnn
The contents of the area are not saved for the duration of the breakpoint
or restored when the task continues execution from the breakpoint.
There is no need to preserve the data in the area if the breakpoint
display is to be sent to another terminal, or if the area is to be modified
(during the breakpoint) only by the person performing the test. Because
command level (EXEC CICS) applications rarely use this area,
STUAR=NO should be appropriate.
Also specify STUAR=NO if the area may be affected during the
breakpoint by a facility other than the tested application.
YES The contents of the area are preserved for the duration of the
breakpoint. Specify STUAR=YES if the logic of the tested application
depends on saving this area while your task waits at a breakpoint, and
then restoring it to its previous value, possibly with your modifications.
STUAR=YES is desirable if the area can be used during the breakpoint
and use of the area must not affect the tested program.
SYMDFIL=PROTDMP/filenameFor AllFusion CA-SymDump for CICS
users, specify the file name for the AllFusion CA-SymDump for CICS (the
Symbolic Dump option) file. This is the name of the file from which
dumps can be viewed; AllFusion CA-SymDump for CICS always writes to
the file PROTDMP. The name cannot exceed seven characters. Be sure to
adjust the CICS file definition if you do not use the default.
Chapter 5: Options
517
518
Getting Started
Chapter 5: Options
519
520
Getting Started
Yes Provides the last SQL call to the applications programmer for the
CORE=SQLCA and CORE=LASTSQL commands, but there is an overhead
associated with the use of the XRIMIOUT exit that not all shops will want
to incur.
Chapter 5: Options
521
CORUCOM Macro
The CORUCOM macro lets you define any number of new CORE command
keywords, each an abbreviation for a series of CORE command elements. For
instance, there is a user table that is pointed to by an address located eight
bytes into the CWA. There is a counter 12 bytes into this table that contains
the number of times a service request transaction was issued. Add the
following CORUCOM entry and assemble the CORUCOM table:
CORUCOM CODE=SERVCNT,COMND=CWA@8+C
To display the service request count online, issue:
CORE=SERVCNT
522
Getting Started
Code one CORUCOM macro for each new CORE keyword. Submit the resulting
source code to assemble a new AllFusion CA-InterTest for CICS load module
named IN25UCOM. The module is used by the CORE facility as a table to
convert your own keywords into strings of CORE keywords.
Since the CORUCOM macro generates a separate CICS load module, you can
add new or modified commands at any time. To do this, code the commands,
assemble the module, and then do a NEWCOPY for the load module IN25UCOM
by issuing:
CEMT SET PROG(IN25UCOM) NEWCOPY
COL= 1...5....0....5
CORUCOM TYPE=INITIAL
COL= 1...5....0....5
CORUCOM TYPE=FINAL
The new keyword ICE2 (second macro) uses another new keyword ICE (in
the third macro). Notice that the longer keyword is specified first.
Chapter 5: Options
523
The fourth macro defines the keyword MYTABLE, which displays a storage
area pointed to by the address in the CWA, and produces a display
formatted as a structure named MYTABLE in the AllFusion CA-InterTest for
CICS symbolic file records identified by the name MYSYMDEF. For more
details, see the section Adding Assembler DSECTs to the symbolic file.
COL= 1...5....0.....6............................................2
CORUCOM TYPE=INITIAL
(required)
CORUCOM CODE=ICE2,COMND='ICE@4'
CORUCOM CODE=ICE,COMND='=CSA@54'
CORUCOM CODE=MYTABLE,COMND='=CWA@8,USE=MYSYMDEF.MYT*
ABLE'
CORUCOM TYPE=FINAL
(required)
//STEP
EXEC ASMFCL
//ASM.SYSLIB DD DSN=CAI.SAMPLIB,DISP=SHR
//ASM.SYSIN
DD *
CORUCOM TYPE=INITIAL
*
.....
CORUCOM TYPE=FINAL
END
/*
//LKED.SYSLMOD DD DSN=CAI.CACICSxx,DISP=SHR
//LKED.SYSIN DD *
NAME IN25UCOM(R)
/*
//
524
Getting Started
Run a job to add the members containing the DSECTs to the symbolic file.
2.
Run a job to define the CORE keywords needed to display the DSECTs.
JOB
//ASM
EXEC
PGM=ASMA90,REGION=1024K
//SYSLIB
DD
DSN=USER.SOURCE,DISP=SHR
//SYSUT1
DD
DSN=&SYSUT1,SPACE=(1024,(120,120),,,ROUND),
UNIT=VIO,
//
DCB=BUFNO=1
//SYSPUNCH
DD
SYSOUT=B
//SYSTERM
DD
SYSOUT=*
//SYSPRINT
DD
DSN=&&TEMP,DISP=(,PASS),UNIT=SYSDA,
SPACE=(CYL,(3,2)),
//
DCB=(RECFM=FBM,LRECL=121,BLKSIZE=2420)
//SYSIN
DD
USERTWAF
DSECT
COPY USERTWAF
USERDSEC
CSECT
END
//*
//PARM
EXEC
//
PGM=IN25PARM,REGION=512K,
PARM='USERDSEC,LISTER=REF,NOPURGE'
//STEPLIB
DD
DSN=CAI.CAILIB,DISP=SHR
//CARDS
DD
DSN=&&CARDS,DISP=(,PASS),UNIT=SYSDA,
SPACE=(80,1)
//*
//SA
EXEC
PGM=IN25SYMA,REGION=512K
Chapter 5: Options
525
//STEPLIB
DD
DSN=CAI.CAILIB,DISP=SHR
//INPUT
DD
DSN=&&TEMP,DISP=(OLD,DELETE)
//OUTPUT
DD
SYSOUT=*,
//MESSAGE
DD
SYSOUT=*
//PROTSYM
DD
DSN=INTRTST.PROTSYM,DISP=SHR
//CARDS
DD
DSN=&&CARDS,DISP=(OLD,DELETE)
DCB=(RECFM=FBM,LRECL=121,BLKSIZE=2420)
/*
For instructions on the STEPLIB DD, see the section Adding COBOL File
Structures to the symbolic files.
For an explanation of the IN25PARM and IN25SYMA programs, see the chapter
Adding Symbolic Information in the AllFusion Testing and Fault Management
Symbolic Guide.
Note: This job does not require a link-edit step because it only updates the
symbolic file. No load module is produced.
//STEP
EXEC ASMFCL
//ASM.SYSLIB
//ASM.SYSIN
DD
DD
DSN=CAI.SAMPLIB,DISP=SHR
COPY CORUCOM
CORUCOM TYPE=INITIAL
CORUCOM CODE=TWAF,COMND='TWA,USE=USERDSEC.USERTWAF'
CORUCOM TYPE=FINAL
END
/*
//LKED.SYSLMOD
DD DSN=CAI.CACICSxx,DISP=SHR
//LKED.SYSIN
DD
NAME IN25UCOM(R)
/*
//
526
Getting Started
IN25LETX COMMAREA
The IN25LETX COMMAREA contains the fields discussed next. See the section
Sample IN25LETX Program for the COMMAREA layout.
COMMAREA Field
Length
Primed By
Table Address
Fullword
User
Monitored Program
8 bytes
Application Registers
Fullword
Chapter 5: Options
527
Table Address This field is set to zeros upon entry to the exit. AllFusion
CA-InterTest for CICS assumes it was passed a valid table address if this field
is modified. Leaving this field set to zeros causes AllFusion CA-InterTest for
CICS to remove any address pairs previously set by this exit for this task.
Monitored ProgramContains the name of the program being monitored by
AllFusion CA-InterTest for CICS at the time this exit was invoked.
Application RegistersThe fullword address of the 16-fullword area
containing the application's registers (0 to 15) that were saved just before the
entry to this exit.
LETX Table
For each area of main storage that is to be unprotected, IN25LETX stores a
pair of addresses in a table (the LETX table). Each pair of addresses represents
a from and a to area of storage that will not be protected by AllFusion
CA-InterTest for CICS if those areas are modified by the application. For
example, if the area to be unprotected resides at address X'11AA2E0' and is
X'2000' bytes long, the address pair is 11AA2E0 and 11AC2E0.
The last entry in the table must contain two full words of X'FFFFFFFF'.
In many cases, the declared addresses may only need to be unprotected for a
particular CICS task or program execution. Thus the logic of IN25LETX may
need to consider the varying circumstances of execution, including the
following tasks:
Transaction identification
Terminal identification
Program identification
IN25LETX must deliver a full table of address pairs each time it is invoked.
IN25LETX does not have to be reentrant, meaning it can contain save areas
and tables in which permanent addresses can be stored. There is no need to
rebuild the LETX table if the addresses do not change. In this case, a one-time
routine can find the areas, build the LETX table, and save the table in the
IN25LETX module for the next time. IN25LETX can make itself resident by
loading itself again (see the section Sample IN25LETX Program).
IN25LETX can reside above or below the 16 MB line and execute in either
addressing mode. All table addresses, however, must have the X'80000000'
bit turned off; that is, the address X'01234567' must not be passed as
X'81234567'.
528
Getting Started
REGISTER EQUATES
*
DFHEISTG DSECT
XPROGLEN DS
PROGRAM LENGTH
****************************************************************
*
I N 2 5 L E T X
C O M M A R E A
****************************************************************
COMMAREA DSECT
COMMAREA
CTBLADDR DS
INTPROG
DS
CL8
INTREGS
DS
*
USERTWA
DSECT
UTBLADDR DS
UTBLLEN
DS
*
*****************************************************************
IN25LETX DFHEIENT EIBREG=R11,CODEREG=R12,DATAREG=R13
*
L
R10,DFHEICAP
POINT TO COMMAREA
USING COMMAREA,R10
*
CLC
EIBTRNID,=C'ABCD'
BNE
RETURN
*
PROCESS
CLC
LTWATBL,=D'0'
BE
GETAREAS
LA
R1,LTABLE
ST
R1,CTBLADDR
*
RETURN
*
GETAREAS DS
0H
*
EXEC CICS ADDRESS TWA(R5)
USING USERTWA,R5
Chapter 5: Options
529
*
L
R1,UTBLADDR
R1,=X'7FFFFFFF'
ST
R1,LTWATBL
AH
R1,UTBLLEN
ST
R1,LTWATBL+4
*
EXEC CICS INQUIRE PROGRAM('ATABLE') LOADPOINT(R0)
LENGTH(XPROGLEN)
*
ST
R0,LPROGTBL
R0,XPROGLEN
ST
R0,LPROGTBL+4
*
**********************************************************************
* LOAD THIS EXIT AGAIN SO IT WILL NOT HAVE TO REOBTAIN THE ADDRESSES *
* ON THE NEXT CALL TO THIS EXIT.
**********************************************************************
EXEC CICS LOAD PROGRAM('IN25LETX') HOLD
*
LA
R1,LTABLE
ST
R1,CTBLADDR
RETURN
LTABLE
DS
0H
LET TABLE
LTWATBL
DC
2F'0'
LPROGTBL DC
2F'0'
LEND
X'FFFFFFFF'
DC
LTORG
END
Disable IN25LETX
AllFusion CA-InterTest for CICS uses IN25LETX during all monitoring; that is,
for all entries of the AllFusion CA-InterTest for CICS monitoring table. To
prevent AllFusion CA-InterTest for CICS from executing IN25LETX, you must
disable it or remove it from the program library.
Once a link to IN25LETX fails (because the program is disabled), AllFusion
CA-InterTest for CICS will not try the link again, thus avoiding much overhead.
In such a case, the execution of IN25LETX will not resume until the next
AllFusion CA-InterTest for CICS start.
530
Getting Started
EXEC PGM=IGYCRCTL,REGION=1024K,
PARM='OBJECT,APOST,FLAG(I,W),LIST,XREF,MAP,NOOPT,VBREF'
//STEPLIB
DD DSN=SYS1.COB2COMP,DISP=SHR
//SYSLIB
DD DSN=CICS.COBLIB,DISP=SHR
//SYSLIN
DD DSN=&&LOADSET,DISP=(MOD,PASS),
//
UNIT=SYSDA,SPACE=(80,(250,100))
//SYSUT1
DD UNIT=SYSDA,SPACE=(460,(350,100))
//SYSUT2
DD UNIT=SYSDA,SPACE=(460,(350,100))
//SYSUT3
DD UNIT=SYSDA,SPACE=(460,(350,100))
//SYSUT4
DD UNIT=SYSDA,SPACE=(460,(350,100))
//SYSUT5
DD UNIT=SYSDA,SPACE=(460,(350,100))
//SYSUT6
DD UNIT=SYSDA,SPACE=(460,(350,100))
//SYSUT7
DD UNIT=SYSDA,SPACE=(460,(350,100))
//SYSPRINT DD DSN=&&TEMPIN,DISP=(,PASS),UNIT=SYSDA,SPACE=(TRK,(15,5)),
//
DCB=(DSORG=PS,LRECL=133,BLKSIZE=1330,RECFM=FBA)
//SYSIN
DD *
ID DIVISION.
PROGRAM-ID. PROTFILE.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
77
PROGRAM-NAME
LINKAGE SECTION.
**
01
CAR SEGMENT
**
CAR.
05
CAR-SEGMENT-KEY-FIELD.
15
CAR-SEGMENT-MAKE
PIC X(12).
05
CAR-SEGMENT-MODEL
PIC X(12).
05
CAR-SEGMENT-TYPE
PIC X(10).
05
CAR-SEGMENT-WEIGHT
PIC S9(5)
COMP-3.
05
CAR-SEGMENT-CYLINDRS
PIC S9(3)
COMP-3.
Chapter 5: Options
531
**
01
DEALER SEGMENT
**
DEALER.
05
05
CAR-DEALER-SEGMENT-KEY.
15
15
CAR-DEALER-TIEB
PIC S999
COMP-3.
15
CAR-DEALER-NBRWD
PIC S9
COMP-3.
CAR-DEALER-FIRST-NAME
PIC X(24).
PROCEDURE DIVISION.
MOVE 'PROTFILE' TO PROGRAM-NAME.
GOBACK.
//*
//SYMSTEP
EXEC PGM=IN25COB2,REGION=1024K
//STEPLIB
DD DSN=CAI.CAILIB,DISP=SHR
//INPUT
DD DSN=&&TEMPIN,DISP=(OLD,DELETE)
//OUTPUT
DD SYSOUT=A,DCB=(RECFM=FBA,LRECL=133,BLKSIZE=1330)
//MESSAGE
DD SYSOUT=A
//PROTSYM
//CARDS
DD *
PROTFILE,LISTER=ALL,NOPURGE
//*
In the STEPLIB DD statement on the symstep specify the name of the library
that contains the AllFusion Testing and Fault Management Symbolic
component.
Note: A similar job can be used for COBOL/VS.
532
Getting Started
If ABCODE specifies a list of abend codes, then separate the codes with
commas and enclose the list in parentheses.
After coding the macro, assemble the source code according to the following
sample JCL. The following JCL example assembles the IN25ABEN source code.
Modify this example to meet your system requirements.
//IN25ABEN JOB ...
//ASM
EXEC PGM=ASMA90,REGION=1024K,
//
PARM='DECK,LIST,XREF(SHORT),ALIGN'
//SYSPRINT DD
SYSOUT=A
//SYSPUNCH DD
DSN=&&LOADSET,DISP=(NEW,PASS),UNIT=SYSDA,
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=400),SPACE=(400,(100,100,1))
//SYSLIB
DD
DSN=CAI.SAMPLIB,DISP=SHR
//SYSUT1
DD
UNIT=SYSDA,SPACE=(CYL,(5,1))
//SYSUT2
DD
UNIT=SYSDA,SPACE=(CYL,(5,1))
//SYSUT3
DD
UNIT=SYSDA,SPACE=(CYL,(5,1))
//SYSIN
DD
IN25ABEN TYPE=INITIAL
IN25ABEN ABCODE=(ATNI,ATCV,AEXY)
IN25ABEN ABCODE=AKC3
IN25ABEN ABCODE=(AKCT,APLE)
IN25ABEN ABCODE=(1234,'# Q$',1UMF)
IN25ABEN TYPE=FINAL
END
/*
//LKED
EXEC PGM=IEWL,REGION=512K,PARM=(XREF,LIST,MAP)
//SYSLMOD
DD
DSN=CAI.CACICSxx(IN25ABEN),DISP=SHR
//SYSUT1
DD
UNIT=SYSDA,DCB=BLKSIZE=1024,SPACE=(1024,(200,200))
//SYSPRINT DD
SYSOUT=A
//SYSLIN
DSN=&&LOADSET,DISP=(OLD,DELETE)
DD
Chapter 5: Options
533
1
2
3
4
----
===>
Enter Option, Abend code, and Program name; then press enter.
Add
Add an Abend code/Program name
Inquire
Inquire on an Abend code/Program name
Update
Update an Abend code/Program name
Delete
Delete an Abend code/Program name
PF1 Help
PF7
2
8
3 End
9
4 Return
10
5
11
6
12
You can tie an abend code to a specific program by entering both the abend
code and program name fields. You can create a generic abend code for all
program names by entering the abend code only, with no program name.
During a user session when AllFusion CA-InterTest for CICS intercepts an
abend, it first searches for a matching abend code entry on the user-defined
help file. If a description for the abend code is found on the user-help file,
AllFusion CA-InterTest for CICS displays its contents at the breakpoint and on
related AllFusion CA-SymDump for CICS analysis displays.
If there is no user-defined description or if the user file does not exist, then
the abend code description from the AllFusion CA-InterTest for CICS help file is
used. If there is no abend code description in the AllFusion CA-InterTest for
CICS help file, then a default NOTFABCODE is displayed.
534
Getting Started
MRO
DB2
Wild branches
EDF
HOGAN Software
All AllFusion CA-InterTest for CICS required CICS definitions in any CICS
application-owning region (AOR) that will use AllFusion CA-InterTest for
CICS for testing.
A local transaction definition for VIRC in the TOR; this transaction ID must
be identical in the TOR and all AORs.
One remote transaction definition for VTAT in the TOR for each AOR that
will use AllFusion CA-InterTest for CICS. Of course, the TOR's local VTAT
transaction IDs must be unique (for example, VTA1, VTA2, VTA3, and so
on). However, the remote transaction IDs can be the same for all AORs
(for example, VTAT), so you do not need to maintain a unique IN25OPTS
for each AOR. If you choose to specify an alternate VTAT transaction ID in
one or more AORs, you must be sure to specify the same alternate
transaction ID in the TOR's remote VTAT transaction definition.
In addition, for all CICS regions that will use AllFusion CA-InterTest for CICS
both AOR and TORthe transaction definition for VIRC must specify the
same transaction code.
A sample set of definitions is supplied in member CSDINTTO on the
CAI.SAMPLIB. This sample set contains all of the RDO definitions required for
the CICS TOR region. All AllFusion CA-InterTest for CICS transaction names
are the same as those specified in the AOR and can be modified by your site.
61
TRANSACTION(LNTL)
62
Getting Started
ANY
LOCAL
SPECIFIC
IDENTIFY
This setting is typically used in a nonsecure MRO environment where the TORs
SIT uses the SEC=NO option. The user ID passed from the TOR is the TORs
default user ID as set in the SIT (typically CICSUSER).
AllFusion CA-InterTest for CICS compares this user ID to the AORs default
user ID and, if they match, sets the user ID to be monitored by .ANY user.
This entry causes all users of the program to be monitored (as in earlier
AllFusion CA-InterTest for CICS releases).
Important! Should the default user IDs of the AOR and TOR not match, the
results are unpredictable. Therefore, you should check that the default user
IDs in the AOR and TOR are the same.
In this case, the applications unique user ID is passed from the TOR to the
AOR only if the ATTACHSEC option of the CONNECTION entry is IDENTIFY.
This requirement and specifying DFLTUSER=SPECIFIC in IN25OPTS allows
AllFusion CA-InterTest for CICS to assign the user ID to each monitoring
command as a default. This saves the user from having to type it in or specify
it, and allows AllFusion CA-InterTest for CICS to properly monitor user activity
in the TOR.
63
64
Getting Started
If its screen is larger than model 2, its default screen size (as defined
in the TCT) must be 24 lines x 80 characters (the model 2 size)
The receiving terminal must be logged on to the TOR at the time the
breakpoint is about to be displayed.
If the sending terminal is not the same as the receiving terminal, the
sending terminal will be unavailable and tied to the tested transaction
during the breakpoint. This restriction does not apply if the receiving
terminal is the same as the sending one because the user can
disconnect from AllFusion CA-InterTest for CICS.
EXEC PGM=ASMA90,REGION=1024K,
//
PARM='DECK,LIST,XREF(SHORT),ALIGN'
//SYSPRINT DD
SYSOUT=A
//SYSPUNCH DD
DSN=&&LOADSET,DISP=(NEW,PASS),UNIT=SYSDA,
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=400),SPACE=(400,(100,100,1))
//SYSLIB
DD
DSN=CAI.SAMPLIB,DISP=SHR
//SYSUT1
DD
UNIT=SYSDA,SPACE=(CYL,(5,1))
//SYSUT2
DD
UNIT=SYSDA,SPACE=(CYL,(5,1))
65
//SYSUT3
DD
UNIT=SYSDA,SPACE=(CYL,(5,1))
//SYSIN
DD
CA-IDMS
CA-DATACOM
CA-TELON
CA-SORT
CA-MASTERPIECE
DB2
DB2
CICSPLEX SM
TCP/IP SOCKETS
COPY UEXIIDMS
COPY UEXIDATA
COPY UEXITELN
COPY UEXISORT
COPY UEXIMAST
COPY UEXIDB2
COPY UEXIDB2
COPY UEXICPSM
COPY UEXISOKT
*
*
*
IN25UEX TYPE=FINAL
*
*
END
/*
//LKED
EXEC PGM=IEWL,REGION=512K,PARM=(XREF,LIST,MAP)
*
*
*
//SYSLMOD
DD
DSN=yourlib,DISP=SHR
//SYSUT1
DD
UNIT=SYSDA,DCB=BLKSIZE=1024,SPACE=(1024,(200,200))
//SYSPRINT DD
SYSOUT=A
//SYSLIN
DD
DSN=&&LOADSET,DISP=(OLD,DELETE)
//
DD *
ENTRY IN25UEXI
NAME IN25UEXI(R)
//
66
Getting Started
1.
Terminate AllFusion CA-InterTest for CICS (you can issue the AllFusion
CA-InterTest for CICS checkpoint command before terminating AllFusion
CA-InterTest for CICS).
2.
Issue a CEMT SET PROG(IN25UEXI) NEW command for the new copy.
3.
Issue a CEMT SET PROG(IN25PGM2) NEW command for the new copy.
4.
To support global routines whose addresses are found in the CWA and that
are given control from monitored programs by a BALR 14,14 or BALR
14,15 instruction. When such routines are given control, they are not
monitored by AllFusion CA-InterTest for CICS until they return to the next
byte after the BALR in the calling program.
Important! AllFusion CA-InterTest for CICS assumes that the global routine
of the CALL interface always returns control to the point of the CALL. If it does
not, the user-written routine is mandatory.
67
AllFusion CA-InterTest for CICS uses the IN25UEXI module to compare the two
pieces of code: the one link-edited with the IN25UEXI and the one that is
about to receive control from the application program. The compared pieces
of code are at the offset (from the entry point) and the length specified in the
IN25UEX macros. If a large piece of code is involved, there is no need to
include all of it with the IN25UEXI; include just enough to make the
comparison. The comparison is made when a BALR 14,15 or BALR 14,14
instruction (for XA, BASSM or BASR instruction) is about to be executed.
If the code matches and there is no associated routine (defined in the
IN25UEXI), AllFusion CA-InterTest for CICS drops monitoring and produces a
standard AllFusion CA-InterTest for CICS entry in the CICS Trace Table (USER
144 code) with the identifier found in the corresponding entry in the IN25UEXI
module. Monitoring resumes only upon return from the called module to the
CALL statement.
If there is a user-defined routine, the routine is performed first. The routine
can check the CALL's parameters and decide whether a particular interface
should be given control or an automatic breakpoint should occur (if the CALL is
incorrect), and whether monitoring should continue when the interface returns
to the calling program.
IN25UEXI routines receive control in:
AMODE31
EXECKEY (CICS)
BASESPACE MODE
"
"
"
"
"
or
IN25UEX CALL=(entry1,......,entryn)
"
"
"
"
"
"
IN25UEX TYPE=FINAL
68
Getting Started
(REQUIRED)
CALL=entry1
This required parameter specifies the name of an entry point. Specify the
same name used in your COBOL or PL/I CALL statement or Assembler CALL
macro, or specify an arbitrary name.
A name specified in this CALL parameter is displayed on the AllFusion
CA-InterTest for CICS Request Breakpoint menus and on the CNTL=INQ
reports.
Multiple entry point names can be specified, as shown in the second format;
however, the optional parameters listed next cannot be used.
Important! Do not specify entry points used in a CALL that is the result of an
EXEC CICS.
ROUT=routine
This optional parameter specifies the name of your special routine. Omit this
parameter if there is no routine.
LENGTH=xx
This optional parameter specifies the length (in decimal) of the comparison.
The maximum length is 64 and the default length is 16. The default is
sufficient in most cases.
DISP=xx
This optional parameter specifies the offset (in decimal) from the entry point
of the code to be compared. The maximum offset (displacement) is 512; the
default offset is 0.
ID=xx
This optional parameter specifies the identification value for the AllFusion
CA-InterTest for CICS entry in the CICS Trace Table. Like all such entries
produced by AllFusion CA-InterTest for CICS, the first byte contains the
character C (USER 144), field A contains the displacement, and field B
contains the characters US followed by the two characters specified in this
parameter. If the ID= parameter is not specified, AllFusion CA-InterTest for
CICS generates a value.
After IN25UEXI is link-edited, verify the total size of the result as shown in the
link-edit listing. There is no need to include entire interface modules in the
IN25UEXI, as the comparison occurs only for the specified (or default) length
at the specified (or default) offset. If the IN25UEXI module is too large, you
can code little Assembler CSECTs that identically replace the ones used by
applications in IN25UEXI. This technique has been used in the pre-generated
version of IN25UEXI. Its source code is provided in the CAI.SAMPLIB source
library in member DB2UEXI. This technique has reduced the size of IN25UEXI
from approximately 30 KB to just 192 bytes.
69
14,CWALABEL
BALR
14,14
Where CWALABEL is the label of a field in the CWA that contains the address
of the global routine.
The entry points are specified by using one of the following formats:
********** CWA USER DSECT REQUIRED HERE **********
USING CWADS,0
ALLFUSION CA-INTERTEST REQUIREMENT
CWADS DSECT
USER CWA
CWAFLD1
DS
CL20
CWAENT1
DS
F
USER ROUTINE
CWAFLD3
DS
CL100
************ ALLFUSION CA-INTERTEST SPECIFICATIONS *************
IN25UEX CWAD=label1,ROUT=routine,ID=xx
"
"
"
"
"
"
IN25UEX CWAD=labeln
IN25UEX TYPE=FINAL
(REQUIRED)
or
IN25UEX CWAD=(label1,.....,labeln)
IN25UEX TYPE=FINAL
(REQUIRED)
CWAD=cwadadr
This required parameter specifies a label that is defined in the CWA and
contains the address of the entry point of a piece of commonly used code,
such as a date conversion routine. For example, if the routine address is 20
bytes from the beginning of the CWA, you can code:
IN25UEX CWAD=(CWADS+20)
Multiple entry point names can be specified as in the second format; however,
if specified in this manner, the optional parameters listed next cannot be used.
ROUT=routine
ID=xx
610
Getting Started
611
X'D0' - X'FF'
AllFusion CA-InterTest for CICS should issue an automatic breakpoint with this
error code.
-1
The routine does not return control to the next byte after the BALR; therefore
monitoring must be dropped.
AllFusion CA-InterTest for CICS should monitor the called piece of code.
EXEC PGM=ASMA90,REGION=1024K,
//
PARM='DECK,LIST,XREF(SHORT),ALIGN'
//SYSPRINT DD
SYSOUT=A
//SYSPUNCH DD
DSN=&&LOADSET,DISP=(NEW,PASS),UNIT=SYSDA,
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=400),SPACE=(400,(100,100,1))
//SYSLIB
DD
DSN=CAI.SAMPLIB,DISP=SHR
//SYSUT1
DD
UNIT=SYSDA,SPACE=(CYL,(5,1))
//SYSUT2
DD
UNIT=SYSDA,SPACE=(CYL,(5,1))
//SYSUT3
DD
UNIT=SYSDA,SPACE=(CYL,(5,1))
//SYSIN
DD
DSECT
CWAFLD1
DS CL20
CWAENT1
DS F
CWAFLD3
DS CL100
*
IN25UEX CWAD=CWAENT1,ROUT=MYCHECK
IN25UEX TYPE=FINAL
*
*
612
Getting Started
*
TITLE 'ROUTINE TO CHECK CWAENT1'
MYCHECK CSECT
USING MYCHECK,15
ESTABLISH ADDRESSABILITY
4,X'60'+4(,3)
LTR
4,4
IS REGISTER 1 ZERO ?
BZ
RETOKAY
4,0(,4)
LTR
4,4
BM
ONLYONE
CLC
=C'FINAL',0(4)
BNE
NOFINAL
LH
0,=H'-1'
BR
14
0(4),C'0'
BNL
RETOKAY
LH
0,=H'-2'
BR
14
NOFINAL CLI
ONLYONE CLI
- ROUTINE.
0(4),C'X'
BE
RETOKAY
LA
0,X'E5'
BR
14
0,0
RETOKAY SR
*
14
LTORG
*
*
*
END
/*
//LKED
EXEC PGM=IEWL,REGION=512K,PARM=(XREF,LIST,MAP)
//SYSLMOD
DD
DSN= yourlib,DISP=SHR
//SYSUT1
DD
UNIT=SYSDA,DCB=BLKSIZE=1024,SPACE=(1024,(200,200))
//SYSPRINT DD
SYSOUT=A
//SYSLIN
DD
DSN=&&LOADSET,DISP=(OLD,DELETE)
//
DD *
ENTRY IN25UEXI
NAME IN25UEXI(R)
//
613
Terminate AllFusion CA-InterTest for CICS (you can issue the AllFusion
CA-InterTest for CICS checkpoint command before terminating AllFusion
CA-InterTest for CICS).
2.
Issue a CEMT SET PROG(IN25UEXI) NEWCOPY command for the new copy.
3.
4.
614
Getting Started
Where SHRINK, EXPAND, PUFFUP, PUFFDOWN, and CLOSE are the entry
points.
COPY PCSUEXI
615
The receiving program resides in the same load module as the program
that passes control. In this situation, use the composite support facility of
AllFusion CA-InterTest for CICS. This facility lets you debug a subprogram
as if it were a separate program and supports all language combinations.
The receiving program resides in another load module that has a CICS
program definition. In this situation, use the
FOL=CICS-program-definition-name online option and, if needed,
composite support. This approach makes all AllFusion CA-InterTest for
CICS debugging features available for the branched-to program.
Note: For COBOL II dynamically called programs, the FOL= option is not
needed. Simply set breakpoints in the dynamically called program as you
would for any other CICS program.
616
Getting Started
The ability to set breakpoints anywhere in the program (not just at EXEC
CICS commands).
Monitoring, such as the ability to detect any illegal action of the program
between CICS commands. CICS abends are intercepted by EDF, but
damage may have occurred on the way to the abend and EDF may not
give any specifics on the problem.
617
618
Getting Started
At the breakpoint, the programmer can review and change any parameters
of the command before telling AllFusion CA-InterTest for CICS to continue
with the task.
Use Considerations
Monitoring the PEM ModuleThe PEM module does not need to be
debugged and should not be monitored by AllFusion CA-InterTest for CICS.
Monitor only your HOGAN application programs using the segmented
monitoring option, as discussed next.
Monitoring Application Programs that use HOGANApplication programs
that use HOGAN should be monitored only by using the AllFusion CA-InterTest
for CICS segmented monitoring options. Do not monitor such programs by
transaction or terminal name, or by global monitoring. The User Guide
explains how to use segmented monitoring.
The USH=ON monitoring option must also be used to prevent unnecessary
automatic breakpoints from occurring.
All of the AllFusion CA-InterTest for CICS online options are available.
However, the FOL= option should not be used. It is advisable to learn how to
use the BYP= option and the PF11 override option.
Installation Procedure
To install AllFusion CA-InterTest for CICS for HOGAN support, first complete all
of the required steps given in the chapter Base Product Installation Steps.
Then complete your installation by performing the following steps.
1.
Create the IN25UEXI module for HOGAN. Instructions are given in the
section IN25UEXI Instructions for Additional Vendor Products.
2.
This completes the installation for HOGAN support in a CTS 2.2, CTS 2.3, CTS
3.1, and CTS 3.2 environments.
619
CNTL options
$MNO CNTL options for segmented monitoring on and off (MON and NOM)
There is no default password for the FILE facility.
Notes:
Passwords can be changed at any time, even if someone is using the CORE
or FILE facilities. Just run an IN25SEC2 assembly with the new
passwords. If the CICS system is active, enter the following command to
put the new passwords into effect:
CEMT SET PROG(IN25SEC2) NEW
71
Required Parameters
Required Parameters
The IN25SEC2 macro is delivered in the AllFusion CA-InterTest for CICS source
code file and must be unloaded from the distribution tape before the assembly
job.
IN25SEC2 TYPE=INITIAL,SCRNUM=(x,x,x,x)
The TYPE=INITIAL macro initiates the assembly and specifies the four
numbers in the SCRNUM keyword that are to be used in your version of the
scrambling algorithm. These numbers must be a value from 1 to 16,
separated by commas, and enclosed in parentheses.
The TYPE=FINAL macro must be the last macro before the END statement.
This macro must not contain any other parameters.
Between the TYPE=INITIAL and TYPE=FINAL macros, specify the IN25SEC2
macros to assign passwords to protected resources as follows:
When a user of the CORE facility receives the message ENTER SECURITY
PASSWORD, the user must enter the four-character password. This password
is then scrambled and compared with the scrambled password specified in the
PASS= parameter. If the codes are equal, the CORE change is made and the
password does not have to be entered again during the same session. If the
password is entered incorrectly, the CORE facility asks for it again.
Note: Even if the password is entered correctly, areas outside CICS storage
cannot be modified.
72
Getting Started
To change this password, reassemble the IN25SEC2 program with the new
password specified in the above macro.
NAME=yyyyyyyy,PASS=xxxx
IN25SEC2
NAME=yyyyyyyy,PASS=xxxx,FPROT=YES
WRITE only
READ and WRITE
yyyyyyyy
Specifies the name of the file ID (from the CICS file definition) or the DBD
identification.
xxxx
FPROT=YES
Indicates that the file or DBD name should also be fetch-protected; that is,
data cannot be viewed or changed unless the password is correctly entered.
You must code one IN25SEC2 macro for every file or DBD name you want to
protect; files or DBDs not named in a macro are not password protected
against unauthorized use. These passwords apply only to access through the
AllFusion CA-InterTest for CICS FILE facility.
When a user of the FILE facility receives the message ENTER SECURITY
PASSWORD, the user must enter the four-character password. This password
is then scrambled and compared with the scrambled password specified in the
PASS= parameter. If the codes are equal, the specified FILE or DBD is
accessed. If the password is entered incorrectly, the FILE facility terminates.
Protecting All Files with a Password You can code an IN25SEC2 macro to
protect all files and DBD names that are not specifically protected in individual
IN25SEC2 macros.
73
The following example password protects FILEA against both reads and writes
with the password ASEC, password protects FILEB against writes only with the
password BSEC, and password protects all other files against both reads and
writes with the password FSEC.
IN25SEC2 NAME=PROTFILE,PASS=FSEC,FPROT=YES
IN25SEC2 NAME=FILEA,PASS=ASEC,FPROT=YES
IN25SEC2 NAME=FILEB,PASS=BSEC
Note: Any security measures of your CICS installation are applied by CICS or
the operating system after AllFusion CA-InterTest for CICS password
protection is satisfied. The FILE facility functions as an application within CICS.
CNTL=RESTART command.
CNTL=NEW command.
CNTL=EXEC command.
74
Getting Started
Definition
CNTL=CKPT
CNTL=END
CNTL=EXCL
CNTL=INCL
CNTL=ABP
CNTL=PURGE
CNTL=GLOG
CNTL=ON,PROG=.ALL
CNTL=ALL
75
To change this password, reassemble the IN25SEC2 program with the new
password specified in the above macro.
76
Getting Started
CNTL Option
Definition
,BYP
,CSA=(offset,length)
,LET=name
,LET=(address,length)
,MON=location
,NOM=location
,OVR=errcode
,STR=ON
,TON=* or
,TON=terminal
,USH=ON
To change this password, reassemble the IN25SEC2 program with the new
password specified in the above macro.
To change this password, reassemble the IN25SEC2 program with the new
password specified in the above macro.
77
78
Getting Started
All files except FILE1 and FILE2 are WRITE protected with the password
FSEC.
CNTL commands and monitoring options are protected with the password
CNTL.
Where tablname is the name of the load module generated by the assembly of
the PROMMAC macros.
You can generate several alternate modules with different names, each with a
CICS program definition, if you want alternate ways to start AllFusion CA- or
execute CNTL commands.
If the PROMD=tablname option is specified in the IN25OPTS macro, you can
achieve the same result by specifying:
CNTL=START
81
The following JCL is suitable for z/OS installations. These examples are shown
for illustration purposes only. For more information, see the User Guide.
//PROMAC JOB (NTSM,473),'JOHN BROWN',CLASS=D,MSGCLASS=A
//ASSEM
EXEC
//
PARM='XREF(SHORT),DECK,NUM,LIST,ALIGN,NOOBJ'
PGM=ASMA90,REGION=512K,
//*
//SYSLIB
DD DSN=CAI.SAMPLIB,DISP=SHR
//SYSUT1
DD SPACE=(CYL,(1,1)),UNIT=SYSDA
//SYSUT2
DD SPACE=(CYL,(1,1)),UNIT=SYSDA
//SYSUT3
DD SPACE=(CYL,(1,1)),UNIT=SYSDA
//SYSPUNCH DD DSN=&OBJ,SPACE=(TRK,(1,1)),UNIT=SYSDA,
//
DCB=(BLKSIZE=800,LRECL=80,RECFM=FB),DISP=(,PASS)
//SYSPRINT DD SYSOUT=A
//SYSIN
DD *
PROMMAC
'CNTL=START,PROM=20,PROX=5'
PROMMAC
'CNTL=ABP,ON,T321'
PROMMAC
'CNTL=ON,PROG=(CFIL,TERMIO,FILEIO,ERRORS,SCAN,LLASRCH),
PROMMAC
'CNTL=EXCL,PROG=(TERMIO,FILEIO)'
PROMMAC
'CNTL=ON,PROG=PBMASTER,FOL=ON,USR=.ANY'
PROMMAC
'CNTL=PURGE,INTRVAL=0100',END
USR=.ANY'
END
/*
//LINK
EXEC
PGM=IEWL,PARM='LIST,XREF,MAP',REGION=512K
//SYSLMOD
DD DSN=CAI.CACICSxx(PROMAC),DISP=SHR
//SYSUT1
DD UNIT=SYSDA,SPACE=(TRK,(10,10))
//SYSPRINT DD SYSOUT=A
//SYSLIN
DD DSN=&&OBJ,DISP=(OLD,DELETE)
//
Note: A CICS program definition named PROMAC is required for the generated
table.
In the SYSLMOD DD statement, replace xx with your two-digit CICS release
number (for example, 62 for CTS 2.2, 63 for CTS 2.3, 64 for CTS 3.1, and 65
for CTS 3.2).
82
Getting Started
2.
3.
Set the following AllFusion CA- options (see the chapter Options):
RECNTMU=NO
RECNTNW=NO
4.
Replace the CNTL commands in the sequential input with the following
command:
CNTL=START,PROM=name
Where name is the name of the module that was created in Step 1.
Note: You can add the USR= option to any embedded CNTL=ON commands
to assign the entries to a specific user ID. See CNTL Commands and
Menus in the User Guide.
Where tablname is the name of the load module assembled through PROMMAC
macros. The table name must be followed by a space.
If the CNTL task to be automatically initiated is to own a terminal, be sure that
the terminal is in service and has the ATI (automatic task initiation) capability
when the CNTL task is started.
83
Issuing CNTL Commands from a Program You can issue any CNTL
command using the EXEC CICS START command. However, for the
CNTL=START command, the only permitted format is:
CNTL=START,PROM=tablname
The IN25PLT program can be called by another user-written PLT program that
passes a valid AllFusion CA- start command in a COMMAREA to IN25PLT. An
example is given next:
INTSTART DC
C'CNTL=START,PROM=PROMTABL ...'
.
.
.
EXEC CICS
LINK
PROGRAM('IN25PLT')
COMMAREA(INTSTART)
LENGTH(=Y(L'INSTART))
Notes:
84
Getting Started
The group DFHINQUI must be defined in the CICS startup list for
IN25PLT to execute.
85
Chapter 9: Troubleshooting
This chapter explains how to troubleshoot problems and obtain customer
support. The following topics are discussed:
Chapter 9: Troubleshooting
91
Diagnostic Procedures
Diagnostic Procedures
The following flowchart details the procedures you should follow if you have a
problem with a CA software product.
Details for each flowchart procedure are next.
Software problem
occurs
Categorize problem
and collect data. See
Collecting Diagnostic
Data.
Try to identify
problem. See
Interpreting
Diagnostic Data.
FIX FOUND?
PROBLEM
SOLVED?
Keep information
for future
reference
Collect diagnostic
data and call
support. See
Calling Technical
Support.
Work with
Technical Support
to solve the
problem
92
Getting Started
Procedure
User-initiated functions
What circumstances existed when the problem occurred and what action
did you take?
Did the problem occur after a particular PTF was applied or after a new
release of the software was installed?
Has the hardware configuration (tape drives, disk drives, and so forth)
changed?
From your response to these questions and the diagnostic data, try to identify
the cause and resolve the problem.
Chapter 9: Troubleshooting
93
Press releases.
CA user groups.
94
Getting Started
Product name and release number of any other software you suspect is
involved.
Request Enhancements
CA welcomes your suggestions for product enhancements. All suggestions are
considered and acknowledged. You can use any of the following methods to
request enhancements:
Chapter 9: Troubleshooting
95
Overview
AllFusion CA-InterTest for CICS maintenance is delivered in SMP/E format. You
should use SMP/E to apply all maintenance modifications.
Important! If you attempt to apply maintenance without using SMP/E, the
integrity of your AllFusion CA-InterTest for CICS libraries is at risk and the
maintenance tracking capabilities of SMP/E are lost.
SMP/E Libraries
SMP/E uses two sets of libraries:
When a product is installed by SMP/E, the target and distribution libraries are
populated. The target libraries are populated during the SMP/E APPLY process
and the distribution libraries are populated during the SMP/E ACCEPT process.
At this point, the target and the distribution libraries contain identical versions
of the product modules.
Maintenance through SMP/E is applied to the run-time system (the target
libraries) first. After the maintenance has been running on the system for a
period of time or when it appears that there are no problems with the
maintenance, it is applied to the backup libraries (the distribution libraries).
When maintenance is installed on the running libraries, it is said to be applied.
When maintenance is installed on the backup libraries, it is said to be
accepted.
101
Maintenance Delivery
The cycle of a product under SMP/E generally follows the following schedule:
Apply and accept the base product installation material, creating target
and distribution libraries.
At this point, the target and distribution libraries are at the same
maintenance level. Later, you apply maintenance in the form of an APAR
or a PTF, bringing the target libraries to a new maintenance level.
The RESTORE process replaces the modules in the target library that were
affected by the maintenance with backup modules from the distribution
libraries.
After verifying that the maintenance does not cause any new problems on
your run-time system, install the maintenance in your distribution libraries
with the SMP/E ACCEPT process. This step brings your target and
distribution libraries in sync at the same maintenance level.
Maintenance Delivery
Maintenance for your AllFusion CA-InterTest for CICS system is packaged and
delivered as SMP/E USERMODs, APARs, and PTFs. The various types of
maintenance delivery are discussed next.
102
Getting Started
PTFs are installed as PTF SYSMODs that you must accept before installing
subsequent maintenance.
Description
Step 1.
Step 2.
Step 3.
Step 4.
Receive maintenance
103
Step
Description
Step 5.
Step 6.
Step 7.
Apply maintenance
Step 8.
Step 9.
Step 10.
Accept maintenance
Step 11.
Important! If any items are missing, or if you have any questions, call your
local CA Technical Support center before attempting the maintenance
procedure.
104
Getting Started
105
Then, activate the maintenance and restart AllFusion CA-InterTest for CICS
with the following commands:
CEMT SET PROG(IN25*) NEW
CNTL=START
106
Getting Started
107
Index
AUTMON, 5-5
A
abend code maintenance menu, 5-34
abend codes
customizing help for, 5-34
specifying, in IN25ABEN macro, 5-32
automatic breakpoints
abend codes, excluding from, 5-32
monitor table entries, creating, 5-5
automatic startup, CICSplex regions, 8-5
BA80ACC,accepting, 4-11
AKC3, 5-32
BKPTERM, 5-5
BREAK, 5-5
breakpoints
activating, 5-5
display, default, 5-16
read buffer, 5-15
APARs, 10-2
CA-ACF2, 3-8
CAI.SAMPJCL, 4-7
CAICCI, 3-3
CAIRIM, 3-1
Index1
CICS
adding resource definitions, 4-14
adjusting startup JCL, 4-14
restarting, 4-16, 4-17
CICS/COMET, 3-10
CICSplex
CICSPLEX keyword, 5-5
CPLXCKPI checkpoint interval, 5-8
CPLXFMID family name, 5-8
installation requirements, 3-6, 4-17
startup and termination considerations, 3-7
CKPTFIL, 5-5
CNTL
automatically starting AllFusion
CA-InterTest for CICS, 8-3
commands, displaying, 5-15
commands, displaying automatic, 5-15
commands, logging, 5-6, 5-8
password protection, 5-6, 7-4, 7-6
START command, 5-15
CNTLSEC, 5-6, 7-1
CNTOSEC, 5-7, 5-8, 7-1, 7-6
CNTSQLG, 5-6, 5-8
COMET users, support, 6-15
customization
abend codes, specifying no intercept,
5-32
assembler DSECTs, adding, 5-25
CICS/COMET users, 6-15
composite support, 5-22
COMPUTATIONS, supporting, 6-14
CORE commands, 5-22
EDF, 6-17
global routines, supporting, 6-10
help for abend code descriptions, 5-34
HOGAN, 6-19
HOGAN users, 6-15
MRO, 6-1
options, modifying, 5-1
password protection, 7-1
Patient Care System PCS, 6-15
SHRINK, 6-15
software calls, supporting, 6-7, 6-8, 6-10,
6-12
user macros, supporting, 6-7, 6-8, 6-10,
6-12
VisualAge Gen users, 6-15
wild branches, 6-16
CWA, creating DSECT, 5-8
CWALET, 5-8
CWALET, creating a CWA DSECT, 5-9
D
data compression, restrictions, 3-6
DB2
FILE, supporting calls, 4-15
JCL for IN25UEXI, 6-12
monitoring applications, 4-16
supporting, 6-5
DEFCKPT, 4-13
DEFCSD, 4-14
DEFHELP, 4-12
DEFSYM, 4-12
DEFUHLP, 4-12
DEQ macros, 4-13
Index2
Getting Started
E
EDF, 6-17
enhancement requests, 9-5
errors, disregarding, 5-7
exit program, IN25LETX, 5-27
EXTSEC, 5-10
F
FILE
default COBOL program, 5-31
password protection, 5-11, 7-3
remote support, 6-5
FILSEC, 5-11, 7-1
FOL option, 6-17
FSYMP, 5-31
Help file
creating, for abend codes, 4-12
customizing abend code descriptions, 5-34
HOGAN
considerations, 6-19
installation steps, 6-19
supporting, 6-19
users, 6-15
I
IN25ABEN, 5-32
IN25ASMP, 4-5
IN25LETX
COMMAREA, 5-27
disabling, 5-30
exit program, 5-27
LETX table, 5-28
sample program, 5-29
IN25OPTS
keywords, 5-4
load module, 5-1
PROMD, 8-1
sample JCL, 5-3
IN25PLT, 8-4
IN25PLTX, 3-5
IN25SEC2, 5-6, 5-11, 7-1, 7-8
IN25SYMP, 4-5
IN25UCOM, 5-23, 5-24
G
GETMAIN SVC, 5-14
global routines, supporting, 6-10
global user exits in the CICS startup PLT, 3-5
Index3
installation
ACCEPT, 4-11
AllFusion CA-InterTest for CICS, activating,
4-18
AllFusion CA-InterTest for CICS,
deactivating, 4-19
APPLY, 4-9, 4-10, 4-11
CA Common Services for z/OS, 4-3
check-out program, 4-16, 4-17
checkpoint file, 4-13
CICS JCL, adjusting, 4-14
CICS, restarting, 4-16, 4-17
DB2 applications, monitoring, 4-16
DB2 calls in FILE, supporting, 4-15
distribution libraries, 3-3, 4-7
Help facility, 4-12
Help facility, user-defined abend codes,
4-12
JCL library, 4-7
LMP, 4-3
LMP for AllFusion CA-SymDump for CICS,
4-5
LMP for PL/I, 4-5
materials, 2-1
options program, 5-1
overview, 4-1
RECEIVE, 4-9
resource definitions, adding, 4-14
SMP zones, defining, 4-8
steps, summary of, 4-2
symbolic file, 4-12
system requirements, 4-3
tape, 2-1
target libraries, 3-3, 4-7
worksheet, 4-6
ISER, 4-19
M
maintenance
accepting, 10-7
APPLY CHECK, 10-5
applying, 10-6
customizing SMP/E procedure, 10-4
delivery, 10-2
overview, 10-3
receiving, 10-5
saving, 10-7
MR80ACCM, accepting maintenance, 10-7
J
JCL example, loading sample from tape, 10-4
JCL library, 4-7
Index4
Getting Started
MRO
considerations, 6-1
monitoring considerations, 6-4
CSD entries, 6-2
DFLTUSER, 6-2
non-secure regions, 6-3
secure regions, 6-3
support, 3-9
PROTFILE, 5-31
PROTSYM file
concurrently updating, 4-13
DD statements, 4-14
O
R
Omegamon, 3-9
operating environments, 3-1
options
modifying, 5-1
sample JCL, 5-3
READBUF, 5-15
OSGETM, 5-14
REALIA2, 5-15
password protection
CNTL, 5-6, 7-4, 7-6
CNTL options, 5-7, 5-8, 7-6
CNTL options, disabling, 7-6
CORE, 5-7, 7-2
DL/I, 7-3
FILE, 5-11, 7-3
overview, 7-1
parameters, 7-2
sample JCL, 7-8
RECNTNW, 5-15
RECNTMU, 5-15
Index5
W
wild branches
FOL option, 6-17
handling, 6-16
monitoring, 6-16
worksheet, 4-6
T
tape, installation, 2-1
target libraries, 3-3, 4-7
overview, 10-1
technical support, calling, 9-4
TIOA compression, restrictions, 3-6
TMON, 3-8
U
UEXIHOGN, 6-15
user macros, supporting, 6-7, 6-8, 6-10, 6-12
USERMODs, 10-2
Index6
VIRC, 6-2
Getting Started
zones
additional, 4-8
distribution, 4-8
global, 4-8
target, 4-8