DB2-1058-00-E INSERT table cannot be the same as SUBSELECT table

You named the table or view into which data is being inserted by a DB-STORE as the source from where a subselect is drawing that data. The object of an insert cannot be the same as the object of the subselect.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Change the object of the subselect or re-evaluate the need for a subselect.