Hi All,
I am trying to Insert records in SQLRPGLE using the below SQL:
insert into File1
(select * from QTEMP/TMP001)
QTEMP/TMP001 is created using the below SQL:
CREATE TABLE QTEMP/TMP001 as (SELECT * FROM File1)
DEFINITION ONLY
File 1 contains fields with datatype Z. When i execute the statement in STRSQL its working fine. But when i do the same in SQLRPGLE and compile it, it throws a compile time error saying its not compatible.
I cant figure out the problem.
Regards,
Arunprasad
I am trying to Insert records in SQLRPGLE using the below SQL:
insert into File1
(select * from QTEMP/TMP001)
QTEMP/TMP001 is created using the below SQL:
CREATE TABLE QTEMP/TMP001 as (SELECT * FROM File1)
DEFINITION ONLY
File 1 contains fields with datatype Z. When i execute the statement in STRSQL its working fine. But when i do the same in SQLRPGLE and compile it, it throws a compile time error saying its not compatible.
I cant figure out the problem.
Regards,
Arunprasad





Comment