What should the DCB be on the SCRTTOOL.CSV file?
search cancel

What should the DCB be on the SCRTTOOL.CSV file?

book

Article ID: 269037

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS

Issue/Introduction

When creating ISV SCRT reports there are no DCB parameters defined. The report (yourHLQ.SCRTTOOL.CSV) is created as RECFM=VB,LRECL=4096,BLKSIZE=6144.

However, when building an IEBGENER job to email the SCRT report to Broadcom's SCRT Application, it doesn't like the mixture of FB 80 with VB 4096.

I get the following error:

IEB351I I/O ERROR READ  ,WRNG.LEN.RECORD,0000028C000010,BSAM

So, can the CSV file be allocated FB 80 as well? If not, what needs to be done?

Environment

Common Components and Services r15.0

ISV SCRT Reporting

z/OS

Cause

Because the IEBGENER job to email SCRT reports concatenates the SMTP.PRE, SMTP.POST, and SCRTTOOL.CSV files under the //SYSUT1 DD, all files need to share the same attributes.

Based on IBM documentation of SCRT Reporting tool, the OUTPUT DD statement defines the output file for the sub-capacity reports. SCRT internally sets the
LRECL value to 4096 tool and requires no changes to the JCL for the SCRT job. This value supports the reporting of up to 128 native and guest systems in the
Product Max Contributors section of the sub-capacity report. This value cannot be overridden by the JCL

Resolution

If using email submission of SCRT reports, allocate the SMTP.PRE and SMTP.POST files as RECFM=VB LRECL=4096 so that they match the attributed of the SCRTTOOL.CSV file.