Troubleshooting
Problem
The IBM MQ for z/OS® logs, bootstrap data sets (BSDS), and page data sets (PSID) can provide details required for solving some types of problems.
Resolving The Problem
The support team might request copies of your active logs, archive logs, and BSDS. Use the following instructions to gather and send your active logs, archive logs, and BSDS to the support team.
Gathering the documentation required by the support team
Sample JCL is:
Replace the following names with the names for your installation where
++hlq1++ is the High-Level Qualifier for the output data set
++hlq2++ is the High-Level Qualifier for the log data sets
It is preferable for you to provide the unformatted active or archive log data sets so that the support center can use various formatting options with CSQ1LOGP.
Sample JCL is:
Sample JCL is:
Sample JCL is:
Gathering the documentation required by the support team
1. Use IDCAMS to copy the active logs. |
Sample JCL is:
//OUTDS DD DSN=++hlq1++.ARCHIVE2,
// SPACE=(CYL,(10,10)),RECFM=FB,LRECL=4096,
// BLKSIZE=28672,DISP=(NEW,KEEP)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO OUTDATASET(++hlq1++.ARCHIVE2) -
INDATASET(++hlq2++.CSQ1.LOGCOPY2.DS02) REPLACE
Replace the following names with the names for your installation where
++hlq1++ is the High-Level Qualifier for the output data set
++hlq2++ is the High-Level Qualifier for the log data sets
It is preferable for you to provide the unformatted active or archive log data sets so that the support center can use various formatting options with CSQ1LOGP.
2. If you need to send many logs (and possibly page sets), you can use ADRDSSU. |
Sample JCL is:
//STEP1 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//OUTDD1 DD DISP=(,CATLG,DELETE),
// UNIT=xxxx,VOL=SER=xxxx,
// SPACE=(CYL,(500,50),RLSE),BLKSIZE=27998,
// DSN=your.backup.data.set
//SYSIN DD *
DUMP DS(INCL -
( your.data.set.bootstrap -
your.data.set.pageset -
your.data.set.logfiles )) -
ODD(OUTDD1) -
ALLD(*) ALLE CAN -
COM OPT(4) SHR -
SPHERE TOL(ENQF) WAIT(2,2)
/*
3. If archive logs are on DASD, no copying is required. If they are on tape, then you can use an IEBGENER job. |
Sample JCL is:
//STEP1 EXEC PGM=IEBGENER,REGION=0M
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=++hlq2++.CSQ1.ARCLOG1.A0000108,
// DISP=SHR
//SYSUT2 DD DSN=++hlq1++.ARCHIVE.A0000108,
// SPACE=(CYL,(10,10)),RECFM=FB,LRECL=4096,
// BLKSIZE=28672,DISP=(NEW,KEEP)
//SYSIN DD *
/*
4. The support center might also need a print of the BSDS. |
Sample JCL is:
//PRTLOG EXEC PGM=CSQJU004
//STEPLIB DD DSN=++hlq++.SCSQAUTH,DISP=SHR
// DD DSN=++hlq++.SCSQLOAD,DISP=SHR
// DD DSN=++hlq++.SCSQANLE,DISP=SHR
//SYSUT1 DD DSN=++hlq2++.CSQ1.BSDS01,DISP=SHR
//SYSPRINT DD SYSOUT=*
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m0z00000008OqAAI","label":"Components and Features->Logging \/ Recovery \/ RRS"}],"ARM Case Number":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Version(s)","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"ARM Category":[{"code":"a8m0z00000008OqAAI","label":"Components and Features->Logging \/ Recovery \/ RRS"}],"ARM Case Number":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Version(s)","Line of Business":{"code":"LOB45","label":"Automation"}}]
Product Synonym
WMQ
Was this topic helpful?
Document Information
Modified date:
28 April 2020
UID
swg21256847