PL/I · DB2 SQLCODE
What does SQLCODE -927: Language Interface Called Before Connecting Environment Established mean in PL/I?
The PL/I program's embedded SQL calls ran before the correct attachment-facility environment was set up. In batch or TSO this means the program was invoked directly instead of through the DSN command processor; under CICS or IMS it means the load module was link-edited with the wrong language-interface module.
The PL/I program's embedded SQL calls ran before the correct attachment-facility environment was set up. In batch or TSO this means the program was invoked directly instead of through the DSN command processor; under CICS or IMS it means the load module was link-edited with the wrong language-interface module.
In TSO/batch, invoke the program under DSN RUN. Under CICS/IMS/CAF, confirm the program is link-edited with the correct attachment stub for the environment it actually runs in (DSNCLI for CICS, DSNELI for TSO batch, DFSLI000 for IMS, DSNRLI for RRSAF).