How can I resolve the following error: B016 INVALID OR CONFLICTING KEYWORD - XML ?

Document ID : KB000015809
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How can I resolve the following error?

   B016 INVALID OR CONFLICTING KEYWORD - XML 

Answer:

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.

 

Additional Information:

Please see Release Notes for Release 11.6 via this link:

https://support.ca.com/cadocs/0/CA%20Easytrieve%2011%206-ENU/Bookshelf_Files/PDF/EZTRVE_r11.6--Release_ENU.pdf

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.