On a DDL or HDDL command in RC/Query why Is the SET CURRENT SQLID not the creator of the object?

Document ID : KB000049397
Last Modified Date : 14/02/2018
Show Technical Document Details


When using the DDL or HDDL command on an object the user is expecting the SET CURRENT SQLID to be the CREATOR of the object. Instead it is the ID of the person using the tool.


The intent of the DDL/HDDL command is for the user to create their own version of the object, therefore the SQLID is set to the ID of the person using the tool. DDL generated using a Quick Migrate will pick up the CREATOR of the object for the SET CURRENT SQLID since the objective is to migrate the object to another subsystem.