After upgrading to Datacom/DB Version 14.0 or above, compile of an existing COBOL SQL user application program receives error
IGYPS2121-S "SQLCA-LUWID" was not defined as a data-name. The statement was discarded.
on "DISPLAY SQLCA-LUWID" .
This worked prior to Datacom/DB Version 14.0.
Datacom 14.0 , 15.0 and 15.1 .
SQLCA-LUWID is no longer present in the generated SQLCA.
Starting with Datacom/DB Version 14.0, the following fields replaced SQLCA-LUWID:
05 SQLCA-STAMP PIC X(4).
05 SQLCA-FLAG1 PIC X(1).
05 SQLCA-FLAG2 PIC X(1).
05 SQLCA-FLAG3 PIC S9(4) COMP.
The SQLCA fields are internal fields so there is no need for an application program to reference them.
The user program must be modified.
Refer to Datacom Core 15.1 section "SQL Communication Area (SQLCA)".