Troubleshooting
Problem
Logrec (JCL to get software LOGREC report).
Resolving The Problem
This is an example based on Using Erep to get a software logrec report.
//STEP EXEC PGM=IFCEREP1,PARM='CARD'
//ACCIN DD DSN=EREP.HISTORY,DISP=(OLD,PASS)
//DIRECTWK DD UNIT=SYSDA,SPACE=(CYL,10,,CONTIG)
//EREPPT DD SYSOUT=A,DCB=BLKSIZE=133
//TOURIST DD SYSOUT=A,DCB=BLKSIZE=133
//SYSIN DD *
PRINT=PS
HIST ****don't use this line if record is in SYS1.LOGREC****
ACC=N
TYPE=S
ENDPARM
/*
The PRINT=PS is for Detail and Summary, TYPE=S is for software. You can also add a time range like TIME=(2000-2005) to get just the records you need.
Like TIME, data can be pulled based on the DATE as well. See the EREP Selection Parameters, Parameter Descriptions, and Syntax to see how the date range selection parameter can be set.
JCL to get software LOGREC report
//STEP EXEC PGM=IFCEREP1,PARM='CARD'
//ACCIN DD DSN=EREP.HISTORY,DISP=(OLD,PASS)
//DIRECTWK DD UNIT=SYSDA,SPACE=(CYL,10,,CONTIG)
//EREPPT DD SYSOUT=A,DCB=BLKSIZE=133
//TOURIST DD SYSOUT=A,DCB=BLKSIZE=133
//SYSIN DD *
PRINT=PS
HIST ****don't use this line if record is in SYS1.LOGREC****
ACC=N
TYPE=S
ENDPARM
/*
The PRINT=PS is for Detail and Summary, TYPE=S is for software. You can also add a time range like TIME=(2000-2005) to get just the records you need.
Like TIME, data can be pulled based on the DATE as well. See the EREP Selection Parameters, Parameter Descriptions, and Syntax to see how the date range selection parameter can be set.
[{"Type":"SW","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m0z0000001iitAAA","label":"Troubleshooting"}],"ARM Case Number":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Version(s)"},{"Type":"SW","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"ARM Category":[{"code":"a8m0z0000001iitAAA","label":"Troubleshooting"}],"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Version(s)"}]
Product Synonym
WMQ WebSphere MQ MQSeries
Was this topic helpful?
Document Information
Modified date:
10 April 2021
UID
swg21291812