システム PROCLIB のカスタマイズ
EQAW.SEQASAMP(EQAHCC) サンプル開始タスク・メンバを、メンバ内の説明に従ってカスタマイズし、 SYS1.PROCLIB にコピーする。
コード・サンプルに示されているように、以下の情報を提供する必要があります:
- Headless Code Coverage Collector がインストールされているホームディレクトリ。 デフォルト・ディレクトリーは
/usr/lpp/IBM/debugです。 - 構成ファイルの場所。 デフォルト場所は
/etc/debugです。 - Headless Code Coverage Collectorの設定プロパティファイルの名前。 デフォルト名は
eqahcc.properties。 このファイルは、コレクタを設定するためにサポートされているすべての コードカバレッジオプションを提供します。 これらのオプションの詳細については、 ヘッドレス・コード・カバレッジ・コレクターの起動と停止を参照してください。 - 64ビットJava SDKのホーム・ディレクトリ。
//*********************************************************************
//* Licensed Materials - Property of IBM *
//* *
//* 5724-T07: IBM z/OS Debugger *
//* Copyright IBM Corp. 2025 All Rights Reserved *
//* *
//* US Government Users Restricted Rights - Use, duplication or *
//* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. *
//* *
//* *
//* This JCL procedure is used to start Headless CC Collector. *
//* *
//* You will have to make the following modifications: *
//* *
//* 1) If you installed the product in a different directory than *
//* the default /usr/lpp/IBM/debug, change SVRPATH to refer to *
//* the correct directory. *
//* *
//* 2) If you customized the options file in a different *
//* directory than the default /etc/debug, change CFGDIR to *
//* refer to the correct directory. *
//* *
//* 3) If you customized the properties file in OPTFILE to a *
//* different file name than the default eqahcc.properties, *
//* change OPTFILE to refer to the correct name. *
//* *
//* 4) Change JAVA to refer to a correct home directory of the *
//* 64-bit Java SDK. *
//* *
//* Note(s): *
//* *
//* 1. This procedure contains case sensitive path statements. *
//* *
//* 2. Add a job card on line 1 and '//EQAHCC EXEC EQAHCC' at the *
//* bottom to submit this procedure as a user job. *
//* *
//*********************************************************************
//*
//* Headless Code Coverage Collector
//*
//EQAHCC PROC SVRPATH='/usr/lpp/IBM/debug',
// CFGDIR='/etc/debug',
// OPTFILE='eqahcc.properties',
// JAVA='/usr/lpp/java/J17.0_64'
// SET QUOTE=''''
//EXPORTS EXPORT SYMLIST=*
// SET SVRPATH="E&SVRPATH"E
// SET CFGDIR="E&CFGDIR"E
// SET OPTFILE="E&OPTFILE"E
// SET JAVA="E&JAVA"E
// SET BINPATH="E&SVRPATH/headless-code-coverage/bin"E
//*---------------------------------------------------------
//* Start the headless Code Coverage Collector
//*---------------------------------------------------------
//EQAHCC EXEC PGM=BPXBATSL,REGION=0M,TIME=NOLIMIT,
// PARM='PGM /bin/sh &BINPATH/ccstart.sh'
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDENV DD *,SYMBOLS=JCLONLY
EQA_CC_HOME=&SVRPATH
JAVA_HOME=&JAVA
HCCOPTS=&CFGDIR/&OPTFILE
_BPXK_AUTOCVT=ON
_BPX_SHAREAS=YES
/*
// PEND
//*