IBM Transaction Server OS Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software IBM Transaction Server OS herunter. IBM Transaction Server OS User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 103
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
CIC Transaction Server for OS/390®
CICS Transaction Affinities Utility Guide
Release 3
SC33-1777-02
IBM
Seitenansicht 0
1 2 3 4 5 6 ... 102 103

Inhaltsverzeichnis

Seite 1 - Release 3

CICS® Transaction Server for OS/390®CICS Transaction Affinities Utility GuideRelease 3SC33-1777-02IBM

Seite 2

The licensed program described in this document and all licensed material availablefor it are provided by IBM under terms of the IBM Customer Agreemen

Seite 3

84 CICS Transaction Affinities Utility Guide

Seite 4

Sending your comments to IBMIf you especially like or dislike anything about this book, please use one of themethods listed below to send your comment

Seite 5 - Contents

IBMRProgram Number: 5655-147Printed in the United States of Americaon recycled paper containing 10%recovered post-consumer fiber.SC33-1777-02

Seite 6

Spine information:IBM CICS TS for OS/390 CICS Transaction Affinities Utility Guide Release 3

Seite 7 - Contents v

PrefaceWhat this book is aboutThis book describes the affinity utility program. It explains what the utility does,how to install it, and how to run th

Seite 8

usually in step. However, due to the time required to print and distribute hardcopybooks, the BookManager version is more likely to have had last-minu

Seite 9

BibliographyCICS Transaction Server for OS/390CICS Transaction Server for OS/390: Planning for InstallationGC33-1789CICS Transaction Server for OS/390

Seite 10 - Trademarks

CICSPlex SM books for CICS Transaction Server for OS/390GeneralCICSPlex SM Master IndexSC33-1812CICSPlex SM Concepts and PlanningGC33-0786CICSPlex SM

Seite 11 - How to use this book

Summary of changesThe affinity utility program is an integral part of CICS Transaction Server for OS/390and is for use only with the CICS Transaction

Seite 12 - Notes on terminology

xiv CICS Transaction Affinities Utility Guide

Seite 13 - Bibliography

Chapter 1. Introducing transaction affinitiesThis chapter provides a brief introduction to the concept of transaction affinities andthe associated CIC

Seite 14 - Other CICS books

CICS Transaction Server for OS/390 Release 3 introduces extended dynamicrouting facilities, that allow the dynamic routing of:v Transactions initiated

Seite 15 - Summary of changes

The benefits of dynamic routingBeing able to route transactions to target regions dynamically offers many benefitsin an online transaction processing (O

Seite 17 - Managing Workloads

Note that, if you are dynamically routing non-terminal-related START and DPLrequests, you should review your application to determine whether or not t

Seite 18 - Intercommunication Guide

UseridA group of transactions where all instances of the transactions that areinitiated from a terminal and executed on behalf of the same userid must

Seite 19 - Transaction affinities

Safe programming techniquesThe programming techniques in the safe category are the use of:v The communication area (COMMAREA) on CICS RETURN commandsv

Seite 20 - Affinity relations

Protecting applications from one anotherThe transaction isolation function offers storage protection between applicationprograms, ensuring that one ap

Seite 21 - Affinity lifetimes

What next?This chapter has briefly summarized the techniques and commands that cancause transaction affinity. “Chapter 2. Introducing the Transaction A

Seite 22 - Unsafe programming techniques

Chapter 2. Introducing the Transaction Affinities UtilityThis chapter gives an overview of the Transaction Affinities Utility, and describes thebasic

Seite 23

Figure 2 shows the affinity utility program. Each of the four components is describedin more detail in the rest of this chapter.ReportReportScanner De

Seite 24

Commands detected by the Transaction Affinities UtilityYou can use the Transaction Affinities Utility to detect instances of the EXEC CICScommands lis

Seite 25

The Scanner componentThe Scanner is a batch utility that scans a load module library to detect thoseprograms in the library that issue EXEC CICS comma

Seite 26

You are recommended to run the Detector on stable CICS regions only. Do notapply maintenance to application programs while the Detector is running. Su

Seite 27

CICS® Transaction Server for OS/390®CICS Transaction Affinities Utility GuideRelease 3SC33-1777-02IBM

Seite 28 - The Detector component

v Log offs and sign offs by intercepting messages DFHSN1200, DFHZC3462, andDFHZC5966.v Completion of CICS BTS activities and processes.For more inform

Seite 29 - What is detected

v Command is a non-terminal-related START or a DPLv ENQ or DEQ commands that specify a resource name for which an appropriateENQMODEL definition is ena

Seite 30 - What is not detected

2. There is an affinity table for each of the following command groups that causetransaction-system affinity:v INQUIRE, SET, ENABLE, DISABLE, EXTRACT,

Seite 31 - Controlling the Detector

The affinity data VSAM filesThe Detector uses three non-recoverable VSAM KSDS to hold saved affinity data.Ensure the files are big enough to hold the ma

Seite 32 - Saving affinity data

Detector performanceThe Detector is intended to be run against production CICS regions. However, overthe period when the Detector is running, the CICS

Seite 33 - The control record VSAM file

The basic groups are combined because of a CICSPlex SM rule stating that agiven tranid may appear only in a single transaction group. It is quite poss

Seite 34 - The Builder component

20 CICS Transaction Affinities Utility Guide

Seite 35

Chapter 3. Preparing to use the affinity utility programThis chapter describes what needs to be done before you can use the affinity utilityprogram.v

Seite 36

#transidsis the number of transaction identifiers in the CICS region.#termidsis the number of terminal identifiers in the CICS region.Note: The amount o

Seite 37 - Creating the VSAM files

v For file CAUCNTL only, if recovery is not required ensure thatRECOVERY(NONE) and FWDRECOVLOG(NO) are specified.3. INSTALL groupmygroupto make these de

Seite 38 - Defining the VSAM files to CICS

Note!Before using this information and the product it supports, be sure to read the general information under “Notices” on page vii.Third edition (Mar

Seite 39 - Restarting your CICS region

24 CICS Transaction Affinities Utility Guide

Seite 40

Chapter 4. Running the ScannerThis chapter describes how to run the Scanner that scans load modules forinstances of API commands that could cause inte

Seite 41 - Creating a summary report

v The AFFMOD DD statementSpecify the name of the sequential data set where the list of modules withpotential transaction affinities is to be sent. You

Seite 42

Creating a detailed reportYou can request a detailed report from the Scanner by editing and running the jobCAUJCLLD.Change the following statements as

Seite 43 - Creating a detailed report

v The STEPLIB DD statementSpecify the name of the Transaction Affinities Utility load library in which youhave installed the Scanner program, CAULMS.v

Seite 44 - Contents of a detailed report

v A summary report of the modules, giving:– The total possible affinity commands– The total possible MVS post commandsv Library totals, as for the sum

Seite 45

30 CICS Transaction Affinities Utility Guide

Seite 46

Chapter 5. Running the DetectorThis chapter describes how to run the Detector that runs in a CICS region lookingfor instances of API commands that cou

Seite 47

Displaying the Detector control screenTo display the control screen that you can use to run the Detector at a CICSterminal, first type the transaction

Seite 48

5 The total number of affinity records in the affinity data VSAM files. If theDetector was stopped by CICS crashing, and was in the middle of saving

Seite 49 - CICS Customization Guide

ContentsNotices ... viiTrademarks...viiiPreface ... ixWhat this book is about .

Seite 50 - 3270 terminal CAFF PAUSE

Each time the Detector is started, a new data space is created. For help withcalculating the likely data space storage requirement, see “Estimating th

Seite 51

Table 5. Methods for resuming data collection by the DetectorWhere used Command or function keyControl display, CAFF01 F8 function key3270 terminal CA

Seite 52 - Changing the Detector options

Note: If there are a large number of data records to be saved, the CAFF screenmay be frozen for some appreciable time, until the records have been sav

Seite 53

The Detector options screen, CAFF02, shows the options available to you. You canchange an option only when the Detector has stopped, unless one of the

Seite 54

ensure that this option is the same as that used in the previous run of theDetector (for which affinity data is to be restored).v Size of dataspaceThe

Seite 55 - Detector errors

Detector errorsIf the CAFF or CAFB transaction, or an exit program, encounters a serious error,the Detector stops by terminating CAFF and CAFB with on

Seite 56

40 CICS Transaction Affinities Utility Guide

Seite 57

Chapter 6. Running the ReporterThis chapter describes how to run the Reporter that runs as a batch job to producea report of the affinities found by t

Seite 58 - Output from the Reporter

v The CMDGRPS DD statementSpecify the affinity (command) types you want to see in the report. Only thoseaffinity types listed on this DD statement are

Seite 59 - Affinity report

Affinity reportFigure 8 shows an example report for two affinities, a TS queue affinity and a CWAaffinity. These were the only affinity types selected

Seite 60

Creating the VSAM files ...21Estimating the size of the MVS data space and VSAM files ...21Defining the VSAM files to CICS ...

Seite 61

Notes for Figure 8:1 Incorrect affinity typesThis lists any affinity types that were specified incorrectly on the CMDGRPS DDstatement of the CAUJCLRP

Seite 62

Note: The Trangroup value for an affinity transaction group may vary fromone run to another of the Detector or Reporter.AffinityThe affinity relation.

Seite 63 - Using the affinity report

Usage The number of times that this particular EXEC CICS command (with thetransaction, program, and offset values reported) taking part in the affinit

Seite 64 - Understanding the affinities

2. MATCH or STATE attributes are not generated on CREATE TRANGRPcommands, because those attributes are relevant only to the combined affinitytransacti

Seite 65 - Compressing affinity data

Understanding the affinitiesThe inter-transaction affinities listed in the report highlight those transactions thathave affinities with other transact

Seite 66

to be convinced that it is related to a terminal or userid. Change this to LUNAMEor USERID (and correct the lifetime) if you know that the affinity re

Seite 67 - ENQUEUE/DEQUEUE

Using the IBM Cross System ProductThe following information about the IBM Cross System Product (CSP) 4GLapplication generator concentrates on tests ca

Seite 68 - Temporary storage queues

Detailed affinity analysisEach of the above command scenarios is dealt with below. A description of how theuse of the command appears in the Transacti

Seite 69 - SPI commands

There may also be an EQ affinity group in the report with a resource name ofCSMT when CSP serializes writing of information to TD destination CSMT. Th

Seite 70

an affinity of LUNAME and a lifetime of PCONV. The presence of one group ratherthan a group for each application is actually not important. When dynam

Seite 71 - //BUILD EXEC PGM=CAUBLD

Reporter output ...71Scanner output ...71Examples ...71Appendix C. Useful tips when an

Seite 72

54 CICS Transaction Affinities Utility Guide

Seite 73

Chapter 7. Running the BuilderThis chapter describes how to run the Builder that runs as a batch job to buildaffinity transaction groups suitable for

Seite 74 - Output from the Builder

Specify the name of the Transaction Affinities Utility load library where you haveinstalled the Builder program, CAUBLD.v The REPGRPS DD statementSpec

Seite 75

9. If a line comment contains the characters HEADER anywhere in it, it is nottreated as a comment and is parsed like any ordinary line in case it is a

Seite 76

HEADER statementsThe HEADER statement is specific to the Builder, and is not a CICSPlex SMstatement. It is produced by the Reporter, and is needed by t

Seite 77 - Group merge report

Notes:1. The values of the SAVEDATE and SAVETIME fields in the HEADER statementgive the latest save date and save time from any of the input data sets.

Seite 78 - Error report

through “Affinity relations” on page 4 show the relations and lifetimes that resultfrom combining basic affinity transaction groups.To help you analyz

Seite 79

Table 11. Resultant affinity lifetimes (GLOBAL relation)Lifetime X Lifetime Y Resultant lifetime ZPERMANENT Any lifetime PERMANENTAny other lifetime c

Seite 80

Error reportThis report gives the syntax or logic of any errors that were detected in theprocessing of the input files. Each error is accompanied by a

Seite 81

CICS TRANSACTION AFFINITIES UTILITY 1996/02/08 Page 1BUILDER REPGRPS ERROR REPORTDataset = CICSPDN1.TRANGRPS.ERR1Line Number Statement in error-------

Seite 82 - RETRIEVE WAIT/START

vi CICS Transaction Affinities Utility Guide

Seite 83 - LOAD/FREEMAIN

64 CICS Transaction Affinities Utility Guide

Seite 84 - CANCEL/DELAY/POST/START

Appendix A. Details of what is detectedThis appendix describes what is detected by the Detector and Reporter for eachaffinity type. Additionally, it h

Seite 85 - WAIT commands

TS commandsv The affinity here is between all transactions that use the same TS queue. Itapplies to both MAIN and AUXILIARY TS. The match is made on t

Seite 86

v If the transaction to be STARTed is defined as remote or a remote SYSID wasspecified on the START command so that the command is function shipped to a

Seite 87 - Example 1–Assembler-language

v The LOAD and FREEMAIN protocol applies only to programs defined asRELOAD(YES). Note that HOLD is irrelevant, as CICS Program Control neversees the FR

Seite 88 - Example 2–VS COBOL II

v Lifetime can be PCONV, LOGON, SIGNON, ACTIVITY, PROCESS, SYSTEM, orPERMANENT. The PROTECT option determines whether SYSTEM orPERMANENT would be used

Seite 89 - = X'B8'

70 CICS Transaction Affinities Utility Guide

Seite 90 - 001126 MOVE

Appendix B. Correlating Scanner and Reporter output tosourceThis appendix describes how to match the EXEC CICS command in the Reporterreport and/or th

Seite 91 - Utility reports

Example 2–VS COBOL IIThe literal pool in VS COBOL II is part of the CGT. Having calculated the offsetfrom the start of the program, you should subtrac

Seite 92

For this, the calculations are:Scanner offset = X'7A6'CICS stub length = X'28'Offset of CGT = X'B8'CGT base register = G

Seite 93 - Appendix D. Diagnostics

NoticesThis information was developed for products and services offered in the U.S.A. IBMmay not offer the products, services, or features discussed i

Seite 94 - Table identifier values

001126 MOVE2. Look at the COBOL source for the MOVE at line 001126. This is for the EXECCICS WRITEQ TS command starting on line 001124.74 CICS Transac

Seite 95 - Reason code values

Appendix C. Useful tips when analyzing Transaction AffinitiesUtility reportsSometimes the report produced by the Reporter from data gathered from theD

Seite 96

76 CICS Transaction Affinities Utility Guide

Seite 97

Appendix D. DiagnosticsThis appendix contains these sections:v “Detector table manager diagnostics”v “Detector CAFB request queue manager diagnostics”

Seite 98 - (continued)

Table identifier valuesAUTM_EDSR 1AUTM_EDST 2AUTM_EDR 3AUTM_EDT 4AUTM_TSQ 5AUTM_TST 6AUTM_LRP 7AUTM_LRT 8AUTM_SRS 9AUTM_SRT 10AUTM_CWA 11AUTM_CWT 12AUT

Seite 99 - Index 83

Reason code valuesAUTM_INVALID_FUNCTION 0AUTM_NO_STORAGE 1AUTM_ELEMENT_NOT_FOUND 2AUTM_ELEMENT_EXISTS 3AUTM_INVALID_TABLE 4AUTM_IEFUSI_HIT 5AUTM_TABLE

Seite 100

Detector CAFB request queue manager diagnosticsThis sectionLists the meaning for each possible value of the call parameters that areincluded in the er

Seite 101 - Sending your comments to IBM

IndexAactivity 5affinityavoiding 6combining basic affinity transaction groups 59control record VSAM file 17data VSAM files 17inter-transaction 4lifetime

Seite 102 - SC33-1777-02

Detector(continued)saving data 17starting data collection 33stopping data collection 35table manager diagnostics 77what is detected 13what is not dete

Seite 103 - Spine information:

Ttarget region 2temporary storage compression 49Transaction Affinities UtilityBuilder overview 18commands detected 11control record VSAM file 17data VS

Kommentare zu diesen Handbüchern

Keine Kommentare