IBM Support

COBOL Compiler IGYLI0088-S The "COPY" statement was invalid. Expected "BY" but found "==". ....

Troubleshooting


Problem

The following statement COPY MYCOPY REPLACING ==:Y:== BY ==AAA== REPLACING ==:Z:== BY ==BBB==. produced this error message: IGYLI0088-S The "COPY" statement was invalid. Expected "BY", but found "==". The statement was discarded.

[{"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Compile","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"3.4;4.1;4.2","Edition":"","Line of Business":{"code":"LOB70","label":"Z TPS"}},{"Product":{"code":"SSAU5Z","label":"COBOL Compilers"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":null,"Platform":[{"code":"","label":"OS\/390"},{"code":"","label":"VM\/ESA"},{"code":"","label":"VSE\/ESA"},{"code":"PF035","label":"z\/OS"}],"Version":"2.1;2.2;1.1.1;2.1.2;2.1.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 July 2021

UID

swg21206745