The FILENAME statement with the ZIP access method does not read files that begin with 'EFBBBF'x


When a ZIP file contains 'EFBBBF'x, a byte-order-mark(BOM), in the first three bytes of the file, the FILENAME statement with the ZIP access engine does not read the file properly. Those three bytes are read as data, so the output value of the first variable is not correct.

To circumvent this issue, complete either of the following two workarounds to read the file properly: