When running Jreport-005 and 006 with specific area selection: SEL AREA EQ ‘DDLDML’ This produces a report where the Program Name is reported as **ERROR*
Release : 19.0
Please try running the JREPORT with this syntax:
SEL WHEN TYPE EQ ('BGIN' 'ENDJ' 'ABRT')
* OR ((TYPE EQ 'AREA') AND (AREA EQ 'DDLDML' ))
JREPORT 005 needs BGIN, ENDJ, ABRT and AREA records. The BGIN in particular has the program name in it. Using a SELECT statement like SEL AREA EQ XXXXX does select the AREA records from the journal but causes the other records to be dropped before the report can process them. The syntax above passes all needed records to the report so that the program can be tested.