IBM Transaction Server OS Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie IBM Transaction Server OS. IBM Transaction Server OS User's Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 103
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
CIC Transaction Server for OS/390®
CICS Transaction Affinities Utility Guide
Release 3
SC33-1777-02
IBM
Przeglądanie stron 0
1 2 3 4 5 6 ... 102 103

Podsumowanie treści

Strona 1 - Release 3

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

Strona 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

Strona 3

84 CICS Transaction Affinities Utility Guide

Strona 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

Strona 5 - Contents

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

Strona 6

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

Strona 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

Strona 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

Strona 9

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

Strona 10 - Trademarks

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

Strona 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

Strona 12 - Notes on terminology

xiv CICS Transaction Affinities Utility Guide

Strona 13 - Bibliography

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 20 - Affinity relations

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

Strona 21 - Affinity lifetimes

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

Strona 22 - Unsafe programming techniques

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

Strona 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

Strona 24

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

Strona 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

Strona 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

Strona 27

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

Strona 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

Strona 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

Strona 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,

Strona 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

Strona 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

Strona 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

Strona 34 - The Builder component

20 CICS Transaction Affinities Utility Guide

Strona 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

Strona 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

Strona 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

Strona 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

Strona 39 - Restarting your CICS region

24 CICS Transaction Affinities Utility Guide

Strona 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

Strona 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

Strona 42

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

Strona 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

Strona 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

Strona 45

30 CICS Transaction Affinities Utility Guide

Strona 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

Strona 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

Strona 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

Strona 49 - CICS Customization Guide

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

Strona 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

Strona 51

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 56

40 CICS Transaction Affinities Utility Guide

Strona 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

Strona 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

Strona 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

Strona 60

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

Strona 61

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

Strona 62

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

Strona 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

Strona 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

Strona 65 - Compressing affinity data

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

Strona 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

Strona 67 - ENQUEUE/DEQUEUE

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

Strona 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

Strona 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

Strona 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

Strona 71 - //BUILD EXEC PGM=CAUBLD

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

Strona 72

54 CICS Transaction Affinities Utility Guide

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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.

Strona 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

Strona 79

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

Strona 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

Strona 81

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

Strona 82 - RETRIEVE WAIT/START

vi CICS Transaction Affinities Utility Guide

Strona 83 - LOAD/FREEMAIN

64 CICS Transaction Affinities Utility Guide

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 89 - = X'B8'

70 CICS Transaction Affinities Utility Guide

Strona 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

Strona 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

Strona 92

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

Strona 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

Strona 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

Strona 95 - Reason code values

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

Strona 96

76 CICS Transaction Affinities Utility Guide

Strona 97

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

Strona 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

Strona 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

Strona 100

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

Strona 101 - Sending your comments to IBM

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

Strona 102 - SC33-1777-02

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

Strona 103 - Spine information:

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

Komentarze do niniejszej Instrukcji

Brak uwag