Jreport 005 and 006, select on area returns program name **ERROR*
search cancel

Jreport 005 and 006, select on area returns program name **ERROR*

book

Article ID: 273160

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

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*

Environment

Release : 19.0

Resolution

Please try running the JREPORT with this syntax:

 PARAM=NOLIST                                    
JREPORT=5                                        
 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.