invalid use of temporary table Explanation: You attempted to create a temporary table or reference a temporary table in an invalid way. Here are some invalid ways it could have been used: 1) A temporary table definition cannot contain a constraint which references a non-temporary(base) table. 2) A base table definition cannot contain a constraint which references a temporary table. 3) Datatrieve attributes, a CDD Pathname or COMMENT ON cannot be specified on a declared temporary table definition. 4) Indexes cannot be defined on a temporary table. 5) Only storage maps with no areas are legal on temp tables. User Action: Redefine the temporary table or reference to the temporary table to comply as described above.