• SQLDA in SQLCBLLE

    From Mike Colangelo@21:1/5 to All on Wed Sep 5 22:06:20 2018
    I'm having a problem with SQL INCLUDE. I have coded:

    exec sql
    include sqlda
    end-exec.

    Later I have:

    exec sql
    allocate descriptor :sqlda
    end-exec.

    The INCLUDE should create an 01 data element called SQLDA. However, the ALLOCATE DESCRIPTOR statement fails in the pre-compiler, saying:

    Variable SQLDA not defined or not usable.

    Why is the INCLUDE SQLDA not processed as part of the precompilation?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)