Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.SYS.IBM.AS400.MISC
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)
Who's Online
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
714
Nodes:
16 (
2
/
14
)
Uptime:
134:34:07
Calls:
12,087
Files:
14,997
Messages:
6,517,356