How to: Collect diagnostic information using PDCOLLECT
Use the Problem Determination Data Collection (PDCOLLECT) tool to collect diagnostic information. This topic explains how to perform this task using PARMGEN.
Before you begin
Note: If you use Configuration Manager
as your configuration tool, see Collecting diagnostic data using PDCOLLECT.
Use the WCONFIG(KCI$SPDC) KCIPDCOL imbed of the KCIJPCOL PDCOLLECT job to collect diagnostic information from the machine on which the product address spaces are executed.
To use this tool, you must install SDSF and are licensed to use it. If you do not have SDSF, you
can copy the complete address space logs, including the JES output, RKLVLOG, RKPDOUT, RKPDLOG,
SYSPRINT, and so on, into a data set. The DCB information for the output data set can be as
follows:
Organization: PS
Record format: VB
Record length: 240
Block size: 27998 Use the following
format:
//* ---------------- BEGIN - USER SECTION: OVERRIDE -------------- *
//KCIPDCOL EXEC PGM=IKJEFT1A,REGION=0M,
// DYNAMNBR=99,COND=EVEN
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSTSIN DD *
EX '&gbl_target_hilev.TKANCMD(KCIPDCOL)' +
'JOBOUT(data_set_name) +
SYS(&rte_name) +
RHILEV(&rte_hilev) +
RVHILEV(&rte_vsam_hilev) +
BASEHLEV(&rte_hilev.&rte_name.R) +
PGNJCL(&gbl_user_jcl) +
PGNRTE(&rte_plib_hilev.&rte_name.WCONFIG) +
INCLQA1(Y)'
/*
//* ---------------- END -USER SECTION: OVERRIDE -------------- * About this task
- System configuration
- Runtime environment (RTE) libraries, including configuration files
- Network information, such as output from the netstat utility
- Self-describing agent (SDA) information:
- Results of ls -al for your rte/kds/support and rte/kds/support/TEMS
- Contents for spawn_cmd.sh and spawn_cmd.trs
- Results of java – version
- Output from the specified job, including logs for the requested started task
Before you submit the $PARSE* "Create runtime members and jobs", review the RTE's
WCONFIG(KCI$SPDC) override imbed to KCIJPCOL to decide whether you have additional collection
options you want to enable.
Note: The WCONFIG(KCI$SPDC) imbed might not be the latest version. Check
the RTE's IKANSAMU(KCI$SPDC) template for changes to the imbed if you want to implement it in your
user copy in WCONFIG(KCI$SPDC), and then rerun the $PARSESM job (which recreates the runtime members
from IKANSAMU to WKANSAMU) and KCIJPW2R job to refresh the KCIJPCOL job.