How can I resolve the following error?
B016 INVALID OR CONFLICTING KEYWORD - XML
Release: EDBMSU00200-11.6-Easytrieve-Report Generator-Option for DB2-MSU
The XML functionality was added in release 11.x and therefore is not valid/is not in the product under release 6.4 - or under compatibility mode under release 11.x as running in compatibility mode is the same compiler as used for release 6.4.
So, that being said, you can run this under true release 11.6 successfully. The JOB06OP1 and JOB06OP2 jobs in your CBAAJCL library can be run first to create a second option file, EZOPTBL.
Please make sure that NEWFUNC is set to Y for that parameter value and then include that //EZOPTBL DD statement in your one program which is using XML on your REPORT statement.
Please see Release Notes for Release 11.6 via this link:
XML Report Output CA Easytrieve r11 produces reports in Extensible Markup Language (XML) format.
A new parameter, XML, has been added to the REPORT statement that will result in the generation of the report being formatted as an XML file. Each field that appears on a CONTROL statement becomes a group or parent element and each field on the LINE statement will be “wrapped” within that group.
For an XML report, note the following: ? No printed output is generated. ? Control and summary totals are not generated. ? Spacing statements used on the REPORT statement will be ignored.