How can I resolve the following compiler error? EZTC0098E >>> $ end of line in quoted string
search cancel

How can I resolve the following compiler error? EZTC0098E >>> $ end of line in quoted string

book

Article ID: 14081

calendar_today

Updated On:

Products

PanAudit Plus Easytrieve Report Generator PAN/SQL

Issue/Introduction



How can I resolve the following compiler error?

  EZTC0098E >>> $ end of line in quoted string

Since upgrading release 11.x, compile of programs containing binary zeroes in a literal string gives the above error.

Environment

CA Easytrieve Report Generator, release 11.x

Resolution

This is due to the changed way parsing is done in release 11.x, as the source code is partially rewritten in C. 
This causes imbedded non-printable characters in comparison or value assignments to be treated as delimiters. 

To resolve this, instead of coding "IF field-name = ' '..." with X'00' imbedded in the apostrophes, you need to code  "IF field-name = X'00'..." 

As long as only hex zeroes are to be checked, the test may also be done for LOW-VALUES.