Troubleshooting
Problem
Submitting a batch job to create a PDB Flat File reports ends with a message indicating that CICS Monitor Period data was truncated after formatting.
Symptom
The following is seen the ISPF log output from the batch job:
- Formatting data for CICS Monitor Periods
- .......WARNING. Truncation occurred: output data set record length is
- ..........cont. 80, maximum data length is 188
Cause
The dataset where the PDB Flat File Report is being written to has a LRECL of 80, which is not long enough to hold all report data records, so records are truncated and the report generation continues.
Diagnosing The Problem
Check how the Flat File Report CLIST (AOFFBRP1) is being invoked. The ISPF log information has the parameters AOFFBRP1 is called with. For example;
AOFFBRP1
*,*,1,PDS,FLAT,1,80,'NVSA.MNPLEX.PDB',MNPLEX,USPS_ENT,'NVSA.MNPLEX.REPORT',
$RPTFLAT
The parameter '80' indicates the report dataset has an LRECL of 80 bytes, which is not long enough.
Resolving The Problem
SAzOS manuals recommends allocating the BATCH REPORT datasets with a recommended that you use format VB and a record length of 1000 to avoid truncations. Also, it is recommended to use the SAzOS Dialog Report functions to submit batch jobs, and not to use saved JCL.
Was this topic helpful?
Document Information
Modified date:
08 August 2018
UID
swg21447348