Trying to run a report against a FLAT file, receiving the following error message
ERPT281W RECORD CORRUPTION DETECTED, RECORD IGNORED: X'48' VAR=TIME-ERR
Check the job that is creating the flat files (likely IEBGENER). You will see it is using the SYSVIEW logger exit, GSVXLGEX, to dump the records from the log stream to the GDG.
The parameters on the exit might look like this:
//SYSUT2 DD DISP=SHR,DSN=xxxx.xxxx.xxxx.xxx
// SUBSYS=(LOGR,GSVXLGEX,
// 'FROM=OLDEST,TO=YOUNGEST,LOCAL',
// 'STATS,EXPAND,BACKWARD,NORDW'),
// DCB=(DSORG=PS,RECFM=VB,LRECL=32756,BLKSIZE=32760)
The part of this that is extremely important is the NORDW parameter.
If this is not coded then the GDG file does not contain valid records for Report Writer to process. F