You need an ESQL pre-processor that is independent of the COBOL compiler. Cheers, Ron Norman > On Nov 5, 2021, at 19:17, Michael Potter <pottmi@xxxxxxxxx> wrote: > > > Gnu Crew, > > We intend to support SQL code in COBOL/CICS code that we compile with OpenKicks. > > We are trying to compile code that originated on an IBM mainframe and accessed DB2. > > Our target will be Postgres. > > Is there any good documentation for esql usage with GnuCOBOL? > > Any tips for us as we get started? > >