
Chapter 4. Load with DB2 for z/OS 63
In the first EXEC SQL, the current SQLID is set to PAOLOR7. In the following EXEC SQL,
the table MYTABLE is created without specifying a table creator. We verified in the DB2
catalog that this table is created with CREATOR = PAOLOR7, which proves that the previous
current SQLID was used in this EXEC SQL. If we try to load this table with the Cross Loader,
we have to specify PAOLOR7.MYTABLE, otherwise, the load fails because the Load utility
thread does not use the current SQLID set in the previous EXEC SQL. Instead, its current
SQLID is still equal to the primary AUTHID, PAOLOR2, which it inherited from the ...