Global Parameters Table. Compuware Mainframe
Annons
Annons
3-1
Chapter 3.
Global Parameters Table
This chapter outlines the global parameters table and describes how to change the table.
The global parameters are used to customize your Xpediter/Code Coverage installation in
CICS. If this is your first installation of Xpediter/Code Coverage, Compuware suggests that you install and test the product with the shipped global parameters before modifying the table.
A default XVTCGBL module is included with the system. Its source can be found in member XVTCGBLM of the library CPWR.cMXDnnn.SMXDSAMP (where c varies by CICS release and nnn represents the release of Xpediter). The default values supplied for each
parameter in XVTCGBLM are shown in Table 3-1.
CAUTION:
Before modifying the global parameters table, make a backup copy of the existing
XVTCGBL load and source members.
Specifying Global Parameters at Product Initialization
Xpediter/Code Coverage includes a facility that allows you to override all existing global parameter values at product initialization. This global override facility can also be invoked while Xpediter/Code Coverage is active by entering the transaction XVSI. Refer to “Overriding Global Parameters” later in this chapter for complete information.
Parameter Ineligible for XVSI Transaction
The LOGQ parameter can’t be overridden with the XVSI transaction. It may however be overridden if the parameter has been specified in the overrides dataset when
Xpediter/Code Coverage begins initialization.
Specifying Global Parameters by Assembling XVTCGBL
Review the applicable global parameter default values in Table 3-1 on page 3-2. If your
site does not use the Xpediter/Code Coverage override facility and you intend to change the default values supplied, you must enter the desired value in the XVTCGBL global table, assemble it, and link-edit it. The table (XVTCGBL) should be linked with
AMODE=24 and RMODE=24 (below the line) and must not be linked as reentrant. Edit and submit the JCL shown in Figure 5-1 to assemble and link the global parameters table.
3-2
Xpediter/Code Coverage Installation and Configuration Guide
Figure 3-1. Sample JCL to Assemble and Link XVTCGBL Global Parameters Table
//DOIT EXEC ASMHCL
//ASM.SYSLIB DD DSN=CPWR.cMXDnnn.SMXDSAMP,DISP=SHR /*-- CHECK DSN --*/
// DD DSN=SYS1.MACLIB,DISP=SHR
//ASM.SYSIN DD *
TITLE ’XVTC GLOBAL TABLE’
PRINT NOGEN
COPY XVTCGBLM
PRINT ON
XVTCGBLM INTERVAL=20 <--- MODIFY FOR DESIRED OPTIONS
END
/*
//LKED.SYSLMOD DD DSN=CPWR.cMXDnnn.SMXDOccL(XVTCGBL),DISP=SHR /*-- DSN --*/
Global Parameter Default Values and Descriptions
Table 3-1 lists all the global parameters and the default values for each. Detailed
descriptions of all the parameters are provided in the “Parameter Descriptions” section of this chapter.
Table 3-1.
Global Parameters
Parameter Default in XVTCGBL
COUNT YES
CTLGMT YES
FILTDEFU NO
INTERVAL 42
LOGQ CSMT
PROGCNTS ********
SUBMIT YES
WTDQ
WTO
XVCC
YES
YES
XVCC
XVGBLCL *
XVGBLRP XVGBLRPT
XVGBLTY
XVKP
DYNAMIC
XVKP
XVSC
XVSI
XVTQ
XVSC
XVSI
XVTQ
Parameter Descriptions
This section describes each global parameter. The default values listed are those in
XVTCGBL.
COUNT
When this option is set to YES, Xpediter/Code Coverage will monitor application programs and increment verb counts as each instruction is executed. This is a very CPUintensive process. The default is YES.
Global Parameters Table
3-3
Set this option to NO when it is not necessary to count each time a verb is executed.
When COUNT=NO, Xpediter/Code Coverage will count each verb only the first time it is executed. To maximize the potential performance benefit of COUNT=NO, rules for
Storage Protection and Program Trace are ignored when COUNT=NO and a Code
Coverage test is active.
Note: When Xpediter/Code Coverage global table parameter COUNT=NO, the System
Flow feature of Xpediter/Code Coverage cannot be used. An error message is displayed if you attempt to activate either System Flow or Both (Code Coverage plus System Flow).
CAUTION:
When COUNT is set to NO:
• Only one Xpediter/Code Coverage test at a time may be active in the CICS region.
• Each application program you execute is marked as RESIDENT until every verb within it has been executed or the Xpediter/Code Coverage test has been halted.
If you encounter a Short on Storage (SOS) situation using COUNT=NO, reduce the number of programs referenced by your Xpediter/Code Coverage test.
• CPU consumption may actually increase, depending on the structure of your
Xpediter/Code Coverage test. When the same code is executed multiple times,
COUNT=NO will reduce CPU consumption by a factor related to how many times the code is executed. However, when different code is executed by each transaction and there is very little reuse of the same code, COUNT=NO can cause a noticeable increase in CPU consumption.
CTLGMT
Optionally capture System Flow data with local time (CTLGMT=NO). Specifying
CTLGMT=YES will capture System Flow data with GMT/UTC. The default is YES.
FILTDEFU
Prime the Owner column filter value with the current userID (FILTDEFU=YES). Prime the
Owner column filter with asterisks (FILTDEFU=NO). The default is NO.
INTERVAL
The number of minutes between automatic data extractions. Valid values are from 1 to
1440. The default is 42.
LOGQ
The four-character name of the transient data queue to which Code Coverage is to direct error messages. The default is CSMT. This parameter cannot be changed when Code
Coverage is active. It may be changed at Xpediter/Code Coverage initialization when the override file is initially processed.
PROGCNTS
Specifying PROOGCNTS=******** causes program counts for a program to be kept separate by userID. Specifying PROGCNTS=USER1234 causes program counts to be kept under userID USER1234 for program(s) being covered, regardless of the userID(s) that executed the program(s). The default is ********.
SUBMIT
Whether or not to automatically submit the Code Coverage template JCL during extraction. The default is YES. Enter NO to disable the automatic submission during extraction. If SUBMIT is set to NO, the JCL to write the extracted data to the Code
Coverage repository would need to be submitted manually.
3-4
Xpediter/Code Coverage Installation and Configuration Guide
WTDQ
Used to disable the write to transient data queue function for Informational Data
Extraction messages (XVTC4nnnI). The queue name is specified by the LOGQ parameter.
The default is YES. Enter NO to disable.
WTO
Used to disable the write-to-operator (WTO) function for the XVTC4001 Data Extraction complete message and other Informational Data Extraction messages (XVTC4nnnI). A
WTO is normally issued each time a data extraction is performed. The default is YES.
Enter NO to disable.
XVCC
A four-character transaction ID to substitute for the XVCC transaction. Changing the
XVCC requires changing the supplied resource definition. The default is XVCC.
XVGBLCL
A one-character JES SYSOUT class to be assigned to the dynamically allocated SYSOUT dataset containing the global table parameter overrides processing report. See parameter
XVGBLRP below. Valid values are A through Z and 0 through 9. The default is *.
XVGBLRP
A one- to eight-character ddname for the dynamically allocated SYSOUT dataset containing the global table parameter overrides processing report. The default is
XVGBLRPT.
XVGBLTY
The type of allocation to be performed for the output report dataset. Possible values for this parameter are either JCL or DYNAMIC. The default is DYNAMIC. If JCL is specified,
Xpediter/Code Coverage will require a sysout DD statement in the CICS startup JCL to designate the output report identified by global parameter XVGBLRP. If JCL is selected,
XVGBLCL will be ignored if specified. If DYNAMIC is specified, Code Coverage will dynamically allocate the report dataset. DYNAMIC is the default specification.
XVKP
A four-character transaction ID to substitute for the XVKP transaction. Changing the
XVKP requires changing the supplied resource definition. The default is XVKP.
CAUTION:
XVKP is an internal transaction that you should never enter from a terminal. Also, because the XVKP transaction is run asynchronously, security should not be set on it.
XVSC
A four-character transaction ID to substitute for the XVSC transaction. Changing the
XVSC requires changing the supplied resource definition. The default is XVSC.
XVSI
A four-character transaction ID to substitute for the XVSI transaction. Changing the XVSI requires changing the supplied resource definition. The default is XVSI.
XVTQ
A four-character transaction ID to substitute for the XVTQ transaction. Changing the
XVTQ requires changing the supplied resource definition. The default is XVTQ.
Global Parameters Table
3-5
Overriding Global Parameters
This section explains how to override Xpediter/Code Coverage’s global parameters.
Existing Xpediter/Code Coverage Customers
Input for Code Coverage global table overrides has been moved from the XVGBLINP DD to the CMSC PARMLIB. The XVGBLINP DD is no longer supported and can be removed from your CICS JCL at your convenience. If you have a default member for your overrides, the contents of this member should be moved to the CMSC PARMLIB member
XVGB00. In all cases, the XVGB00 member will be the first member read for input. If you have additional members in your XVGBLINP DD, the contents must be moved to members with a prefix of XVGB in the CMSC PARMLIB. The CMSC PARMLIB Index
Member XD$$00 is used to specify the member names and order of processing. Refer to
“Concatenation of CMSC PARMLIB Members” on page 3-6 as well as to the chapter
entitled “Implementing the CMSC PARMLIB” in the Xpediter/CICS Installation and
Configuration Guide.
For example, if your site currently has four members specified in your XVGBLINP DD—
OVERRID1, OVERRIDA, OVERRIDZ, and OVERRIDM—you would copy the contents of
OVERRID1 into CMSC PARMLIB member XVGB00. Copy the contents of OVERRIDA,
OVERRIDZ, and OVERRIDM into CMSC PARMLIB members XVGBRIDA, XVGBRIDZ, and
XVGBRIDM respectively. By using member concatenation as described in the chapter entitled “Implementing the CMSC PARMLIB” in the Xpediter/CICS Installation and
Configuration Guide, you can add an entry in the CMSC PARMLIB Index Member XD$$00 to specify the concatenation sequence.
Global Table Parameter Overrides
The Xpediter/Code Coverage global table described in this chapter contains various parameters you can use to tailor the functioning of Xpediter/Code Coverage to a specific site or CICS region. Prior to Release 3.0, changing global table parameters meant assembling and link-editing the load module XVTCGBL, then recycling Xpediter/Code
Coverage or the CICS region. Although this method can still be used, a new and preferred method has been introduced.
The new method reads the desired global parameter values from the Compuware
Mainframe Services Controller (CMSC) PARMLIB during product initialization. This method is easy to set up and maintain, and it makes Xpediter/Code Coverage itself easier to install and maintain. Refer to the chapter entitled “Implementing the CMSC
PARMLIB” in the Xpediter/CICS Installation and Configuration Guide for specific information.
In addition, a standalone transaction, XVSI, can be used to read the override parameters from the input dataset. This eliminates the need to recycle Xpediter/Code Coverage or the CICS region when you want to make global table parameter changes. If an error is detected in a parameter override, processing continues and an error message is written to the output report. Refer to the Xpediter/Code Coverage Mainframe User/Reference Guide for a list of possible messages.
The “Global Table Parameter Overrides” section described here includes information on
the following topics:
• Processing of the global parameter overrides dataset
• Overriding report dataset ddname
• Format of the override report and console log output.
“Output Global Parameter Overrides Using the CMSC PARMLIB” on page 3-8 contains
step by step instructions for setting up your own global parameter overrides using the
CMSC PARMLIB.
3-6
Xpediter/Code Coverage Installation and Configuration Guide
Concatenation of CMSC PARMLIB Members
The CMSC PARMLIB Index Member XD$$00 provides the ability to concatenate members in the same fashion as sequential dataset DDs. Refer to the chapter entitled
“Implementing the CMSC PARMLIB” in the Xpediter/CICS Installation and Configuration
Guide.
Processing Overview
Override parameters are read from the CMSC PARMLIB.
As the input is processed, a printed report is written to a SYSOUT dataset allocated to the
XVGBLRPT DD. If a DD for XDGBLRPT already exists in the CICS startup JCL, no report is produced. The default ddname, XVGBLRPT, can be overridden. Refer to the “DDname
Override Processing”.
Parameter overrides are processed in the order in which they are read. Blank records and comment records are ignored. Parameter overrides are written to the output report. See
“Adding Parameter Overrides to a Member in the CMSC PARMLIB” on page 3-10 for
override parameter format and processing rules.
If an error is detected in a parameter override, processing continues and an error message is written to the output report. Refer to the Xpediter/CICS Messages and Codes manual for a list of possible messages.
DDname Override Processing
XVGBLRPT
The default ddname for the report dataset is XVGBLRPT. The default SYSOUT class is asterisk (*). The report ddname can be overridden with the XVGBLRP parameter override.
The SYSOUT class can be overridden with the XVGBLCL parameter override. This is described in “Setting Up the Dataset”.
The XVGBLRPT ddname and SYSOUT class overrides are processed in the following order:
1. The ddname is set to the default name XVGBLRPT and the SYSOUT class to the default class '*'.
2. If the global table contains a valid override ddname, the ddname is set to that value.
3. If the global table contains a valid override SYSOUT class, the SYSOUT class is set to that value.
Global Table Override Report
The global table override report is produced as a dynamically allocated SYSOUT dataset.
The report is optional, and if any errors occur while allocating the report dataset, processing can still continue.
Figure 3-2 and Figure 3-3 on page 3-7 detail a sample Xpediter/Code Coverage global
table override report. The numbered references (bold in brackets) are discussed following the figures.
Global Parameters Table
3-7
Figure 3-2. Xpediter/Code Coverage Global Table Override Report Page 1
Xpediter/Code Coverage Global Table Override Report PAGE 1
APPLID: H01AC024 DATE: 29 APR 2016 TIME: 10:20:25 USERID: ACMJET0 TERM: 1722 [1]
REPORT DDNAME XVGBLRPT (OVERRIDE FROM INPUT RECORD). [2]
INPUT RECORD/ERROR MESSAGE [3]
------------------------------------------------------------------------
[4]
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Data read from: CW01.CMSC.PARMLIB(XVGB00) [5]
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
XVGBLCL=*,XVGBLRP=XVGBLRPT,XVGBLTY=DYNAMIC
COUNT=YES CREATE "COUNT DATA" (Y/N) <-INV IF PROD ACT
CTLGMT=YES SYSTEM FLOW - GMT/LOCAL TIME <-INV IF PROD ACT
INTERVAL=42 EXTRACTION INTERVAL
LOGQ=CSMT TDQ ERROR MESSAGES <-INV IF PROD ACT
PROGCNTS=******** PGM COUNT DATA / USERID(S) <-INV IF PROD ACT
SUBMIT=YES AUTO SUBMIT HARDENING UTILITY
WTDQ=YES WRITE TO TDQ EXTRACT INFO MESSAGE(S)
WTO=YES WTO EXTRACT COMPLETE MESSAGE
XVCC=XVCC XVCC CICS PRODUCT TRANSID
XVKP=XVKP XVKP TRANSID
XVSC=XVSC XVSC CICS PRODUCT TRANSID
XVSI=XVSI XVSI CICS GLOBAL OVERRIDE TRANSID
XVTQ=XVTQ XVTQ QUIESCE TRANSID
OVERRIDE RECORDS SUCCESSFULLY PROCESSED ..... 14
OVERRIDE RECORDS BYPASSED DUE TO ERRORS ..... 0
RECORDS READ FROM INPUT ..................... 14
Figure 3-3. Xpediter/Code Coverage Global Table Override Report Page 2
Xpediter/Code Coverage Global Table Override Report PAGE 2
APPLID: H01AC024 DATE: 29 APR 2016 TIME: 10:20:25 USERID: ACMJET0 TERM: 1722
GLOBAL PARAMETER SETTINGS PARAMETER DESCRIPTION
---------------------------------------------------------------------------------------------
COUNT=YES Count Verbs
CTLGMT=YES GMT (YES) or Local time (NO)
FILTDEFU=NO Default Owner Filter to Userid
INTERVAL=42 Auto extract time interval
LOGQ=CSMT Transient Data message queue name
PROGCNTS=******** Global Table Parameter Override Program Count UserId
SUBMIT=YES Allow auto submit of the hardening utility
WTDQ=YES Write to TDQ extract info message(s)
WTO=YES Write to operator extract complete message
XVCC=XVCC Transaction code used by Test Definition screen
XVGBLCL=* Global Table Parameter Override Report SYSOUT Class
XVGBLRP=XVGBLRPT Global Table Parameter Override Report Dataset DDNAME
XVGBLTY=DYNAMIC Global Table Parameter Override Report Dataset DDNAME
Allocation Type
XVKP=XVKP Transaction code for extract background task
XVSC=XVSC Transaction code used by Test Definition screen
XVSI=XVSI Transaction code used to invoke Global Override
XVTQ=XVTQ Transaction code for quieseing code coverage
1. The second heading line indicates the CICS region applid, date, time, terminal, and userID of the user logged on to the terminal when program XVTCSIT was run.
2. These heading lines indicate the ddname used for the report dataset. In addition, they indicate whether the ddname used is the default name or has been overridden by the user.
3-8
Xpediter/Code Coverage Installation and Configuration Guide
3. When an error is detected on an input record, the error is flagged. The line that follows contains a message indicating the error detected and is also flagged. Only the first error detected for a parameter is flagged. The sample reports have no errors.
4. Input parameters are displayed from here down. This provides a complete audit of the parameters processed.
5. Each member read from the CMSC PARMLIB will be prefixed by a comment box indicating the dataset name and member name.
Global Table Override Console Log Output
Messages are written to the console log whenever the global override process is run. In addition to messages indicating the start and end of processing, any errors related to
dataset attributes are also written to the console. Figure 3-4 shows a sample of output
written to the console.
Messages that do not apply to a particular input parameter are displayed with two lines per message. All messages contain similar information on the first line including a message number, severity level, date, time, and region applid.
Figure 3-4. Sample Global Table Override Console Log Output
08.06.15 J0436808 +XVTC5000I 07 JUN 2004 08:06:15 H01AC154 447
447 Xpediter/Code Coverage Global Override processing has begun.
08.06.15 J0436808 +XVTC5011I 07 JUN 2004 08:06:15 H01AC154 449
449 See SYSOUT DD XVGBLRPT for report.
08.06.15 J0436808 +XVTC5001I 07 JUN 2004 08:06:15 H01AC154 450
450 Xpediter/Code Coverage Global Override processing has ended.
In addition to the console log output above, the input processing program for the global override process will display additional informational and error messages in the CICS
CSMT output queue. This is a sample display of messages that can be output. In this sample, an error was detected. Member XVGBXX was not found in the CMSC PARMLIB.
Figure 3-5. Sample Global Table Override CSMT Output
MXDIP0000I 29 APR 2016 10:25:12 H01AC024 Xpediter/CICS Input Provider DBUGINPT processing has begun.
MXDIP0026I 29 APR 2016 10:25:12 H01AC024 Input provider DBUGINPT is processing input for XVTCSIT . Members are prefixed with "XVGB".
MXDIP0004I 29 APR 2016 10:25:12 H01AC024 Compuware Mainframe Services Controller problem processing member XVGBXX func=GET
MXDIP0011E 29 APR 2016 10:25:12 H01AC024 Member not found or no data returned. Check index member XD$$00 for applid H01AC024 entries
MXDIP0001I 29 APR 2016 10:25:12 H01AC024 Xpediter/CICS Input Provider DBUGINPT processing has ended.
Output Global Parameter Overrides Using the CMSC
PARMLIB
This section describes the steps necessary to create global table parameter override records. These records will be read during product initialization to allow modification of global table parameters. This method eliminates the need to assemble and link-edit the global table XVTCGBL.
A standalone transaction, XVSI, can be used to refresh the parameters from the CMSC
PARMLIB once Xpediter/Code Coverage has completed initialization. This eliminates the need to recycle Xpediter/Code Coverage when you want to make global parameter changes. Even if you don’t need to override global table parameters at this time,
Compuware suggests that you use the skeleton member created in this procedure.
Nothing will be harmed, and if you later need to override any global parameters, the overrides will be ready for use.
Global Parameters Table
3-9
Using the CMSC PARMLIB to override global parameters has several advantages. They include ease of installation, flexibility in maintenance of input, and the ability to modify the overrides while the region is active.
Setting Up the CMSC Parameter Overrides
Perform the following steps to establish global table parameter override processing.
1. Create the default overrides member in the CMSC PARMLIB.
a. Create a new member, XVGB00, in the CMSC PARMLIB.
b. Copy member XVGB00 from the SMXDSAMP library into it.
c. Perform a refresh of this member. For more information, see “PARMLIB Product
This method of specifying global table parameter overrides is very flexible. If you wanted to specify overrides for a specific CICS region, you could use the name
XVGBsysi where sysi is the SYSID of the CICS Region. You could also create a single member for all regions. By using member concatenation as described in the chapter entitled “Implementing the CMSC PARMLIB” in the Xpediter/CICS Installation and
Configuration Guide, you could create a set of members to control the override process.
You could have a member common to all regions, a member specifically for test regions, and a member for a single region.
For example, XVGB00 contains a set of overrides common to all regions. Member
XVGBTEST could contain parameter overrides intended for test regions. Finally, member XVGB0001 would have parameter overrides specifically for region
CICS0001.
2. Establish a ddname for the global table override report dataset.
Review the CICS startup JCL you want to modify. If you already have a DD statement with the ddname XVGBLRPT in your JCL, select a new ddname not in your JCL and write it in the space below. Otherwise, just write in XVGBLRPT.
Report ddname: ____________________
3. Choose a SYSOUT class for the global table override report.
The SYSOUT class is a one byte value in the range A through Z, 0 through 9, or asterisk (*). If you specify a JES output class that requests immediate printing, the output will be printed after the global table parameter overrides have been processed.
Otherwise it will remain with the normal JES output for the region until CICS ends.
Enter your SYSOUT class in the space below.
SYSOUT Class: ____
4. Modify the default override member XVGB00.
Add the XVGBLCL and XVGBLRP parameters that allow you to easily override the report SYSOUT class and ddname.
XVGBLCL=? Global Table Override Report Class
XVGBLRP=RPTDD Global Table Override Report DDNAME
Modify the line as follows:
a. Change ? to the value you wrote down in step 3 on page 3-9.
b. Change RPTDD to the value you wrote down in step 2 on page 3-9.
Testing the Setup
Setup of the global table parameter override facility is now complete.
3-10
Xpediter/Code Coverage Installation and Configuration Guide
When testing Xpediter/Code Coverage after installation, look for the global table override report dataset in your JES output. Check the report, the console log, and the
CICS and CSMT log output for any errors that may have occurred while overriding global table parameters. Message formats and explanations are provided in the Xpediter/Code
Coverage Mainframe User/Reference Guide.
Adding Parameter Overrides to a Member in the CMSC PARMLIB
The global table parameter override facility makes adding or modifying parameters much less restrictive than it was when global table assembly and link-edit were required. In addition, blank lines and comments can be mixed in with the actual parameters to improve readability and provide a way of documenting changes.
Keep the following processing rules in mind when adding parameter overrides:
• Blank records are ignored.
• Records starting with an asterisk (*) in column 1 are treated as comments.
• Only columns 1 through 72 of a record are processed. Anything beyond column 72 is ignored.
• Only one parameter per record is validated.
Ladda ner
Annons