Overriding parameters
Related topics
This topic explains how to override Code Coverage's parameters specified in the XVTCGBL load module.
Overriding parameters using the BMC PARMLIB
This preferred method reads the desired parameter values from the BMC PARMLIB during product initialization. This method is easy to set up and maintain, and it makes Code Coverage itself easier to install and maintain. See to Milestone 3: BMC PARMLIB Implementation in the Code Debug CICS Installation and Configuration Guide and PARMLIB Members in the Code Debug CICS Advanced Configuration Space for specific information.
In addition, a stand-alone transaction, XVSI, can be used to read the parameters from the BMC PARMLIB. This eliminates the need to recycle Code Coverage or the CICS region when you want to make parameter changes. If an error is detected in a parameter, processing continues and an error message is written to the output report. See to the Code Debug CICS Messages and Codes for a list of possible messages.
This section includes information about the following topics:
- Processing of the parameters
- Overriding report data set ddname
- Format of the override report and console log output.
Defining Output Report Parameters contains step by step instructions for defining the attributes for the Report Data set produced during the override process, using the BMC PARMLIB.
Concatenation of BMC PARMLIB members
The BMC PARMLIB Index Member XD$$00 provides the ability to concatenate members in the same fashion as sequential data set DDs. See to the section Creating Additional Members for Region Customization entitled in theCode Debug CICS Advanced Configuration Space.
Processing overview
Override parameters are read from the BMC PARMLIB.
As the input is processed, a BMC PARMLIB Report (Code Coverage Parameters) is written to a transient data queue which must be defined as Extrapartition. The default queue name for this report is XGBR. The CODE_COVERAGE_PARMLIB_REPORT_DDNAME configuration parameter can be used to change the name of the report queue.
Parameters are processed in the order in which they are read. Blank records and comment records are ignored. As each parameter is processed, it is written to the output report. See Adding Parameters to a Member in the BMC PARMLIB for 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. See to the Code Debug CICS Messages and Codes space for a list of possible messages.
CICS Code Coverage parameter report
The CICS Code Coverage Parameter report is written to a transient data queue with a default name of XVGR. If the queue is not defined, processing will continue, but no report will be produced.
The following figures provide more information about the sample CICS Code Coverage Parameter report. The highlighted numbered references are discussed following the figures.
CICS Code Coverage Parameters Report Page 1
BMC AMI DevX Code Coverage Parameters
APPLID: H01AC024 Date: 08 NOV 2017 Time: 16:48:39 USERID: ACMJET0 TERM: 1718 [1]
Report TDQUEUE(XVGR) (Override from PARMLIB) [2]
Input Record/Error Message
------------------------------------------------------------------------ [3]
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [4]
* Processing input from CMSC ID: CMSC [5]
*
* CMSC common memory object refreshed from:
* CW01.CMSC.PARMLIB(XD$$00) [6]
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [7]
* Attempting to read data from the following parameter members:
* XVGB00 XVGBNAA0
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [8]
* CMSC common memory object refreshed from:
* SYS2.CW.CMSC.PARMLIB(XVGB00)
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INCREMENT_VERB_COUNTS=YES
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [8]
* CMSC common memory object refreshed from:
* SYS2.CW.CMSC.PARMLIB(XVGBNAA0)
*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CODE_COVERAGE_PARMLIB_REPORT_DDNAME=XVGR
INCREMENT_VERB_COUNTS=YES
CAPTURE_SYSTEM_FLOW_USING_GMT_TIME=YES
DATA_EXTRACTION_INTERVAL=42
LOG_TDQ_NAME=CSMT
KEEP_PROGRAM_COUNTS_FOR_USERID=********
AUTO_SUBMIT_JCL_DURING_EXTRACTION=YES
LOG_INFO_MESSAGES=YES
WRITE_DATA_EXTRACTION_MSGS_TO_JES_LOG=YES
TRANSID_XVCC=XVCC
TRANSID_XVKP=XVKP
TRANSID_XVSC=XVSC
TRANSID_XVSI=XVSI
TRANSID_XVTQ=XVTQ
Parameters Successfully Processed............ 15
Parameters Bypassed Due to Error............. 0
Parameters Read from PARMLIB Memory Object... 15
BMC AMI DevX Code Coverage Parameters
APPLID: H01AC024 Date: 08 NOV 2017 Time: 16:48:39 USERID: ACMJET0 TERM: 1718
Parameter Settings
---------------------------------------------------------------------------------
AUTO_SUBMIT_JCL_DURING_EXTRACTION=NO
CAPTURE_SYSTEM_FLOW_USING_GMT_TIME=YES
CODE_COVERAGE_PARMLIB_REPORT_DDNAME=XVGL
DATA_EXTRACTION_INTERVAL=42
INCREMENT_VERB_COUNTS=YES
KEEP_PROGRAM_COUNTS_FOR_USERID=********
LOG_INFO_MESSAGES=NO LOG_TDQ_NAME=CSMT
PRIME_OWNER_FILTER_WITH_CURRENT_USERID=NO
TRANSID_XVCC=XVCC
TRANSID_XVKP=XVKP
TRANSID_XVSC=XVSC
TRANSID_XVSI=XVSI
TRANSID_XVTQ=XVTQ
WRITE_DATA_EXTRACTION_MSGS_TO_JES_LOG=NO
[1] The third 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 transient data queue used for the report. In addition, they indicate whether the queue used is the default name or has been overridden by the user.
[3] Input parameters are displayed from here down. This provides a complete audit of the parameters processed.
[4] Comments in the BMC PARMLIB member are not displayed.
[5] The CMSC ID of the BMC PARMLIB where the memory objects reside.
[6] The data set where the memory object for XD$$00 was refreshed from.
[7] The concatenation order of the input members to be processed as derived from the index member XD$$00.
[8] A comment box precedes the data for each CMSC memory object read. It will display the data set where the memory object was refreshed from.
CICS Code Coverage parameter log output
Messages are written to the console log whenever the CICS Code Coverage Parameter process is run. In addition to messages indicating the start and end of processing, any errors related to data set attributes are also written to the console. The following figure 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 applied.
Sample CICS Code Coverage Parameter Input, Console Log Output
447 Code Coverage Global Override processing has begun.
08.06.15 J0436808 +XVTC5001I 07 JUN 2004 08:06:15 H01AC154 450
450 Coverage Global Override processing has ended
447 Code Coverage parameter processing has begun. 08.06.15 J0436808+XVTC5001I 07 JUN 2004 08:06:15 H01AC154 450
450 Code Coverage parameter processing has ended.
In addition to the console log output above, the input processing program for the CICS Code Coverage Parameters process will display additional informational and error messages in the CICS CSMT output queue. The following figure is a sample display of messages that can be output. In this sample, an error was detected. Member XVGBXX was not found in the BMC PARMLIB.
Sample CICS Code Coverage Parameter Input, CSMT Output
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 BMC AMI Common 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 Input Provider DBUGINPT processing has ended.