how come a host variable is not allowed in the following statement.
Used in an SQLRPGLE pgm...
CREATE TABLE qtemp.worktable AS
(SELECT * FROM qsys2.systables WHERE table_schema = :g_schema)
with data
Used in an SQLRPGLE pgm...
CREATE TABLE qtemp.worktable AS
(SELECT * FROM qsys2.systables WHERE table_schema = :g_schema)
with data
Comment