Resolve the following compiler error: EZTC0098E >>> $ end of line in quoted string
search cancel

Resolve the following compiler error: EZTC0098E >>> $ end of line in quoted string

book

Article ID: 14081

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

Since upgrading to release 11.x, compile of programs containing binary zeroes in a literal string gives this error:

  EZTC0098E >>> $ end of line in quoted string

 

Environment

Easytrieve Report Generator, release 11.6

Resolution

This is due to the changed way parsing is done in release 11.6, 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.