ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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


Article ID: 49397


Updated On:


RC Compare for DB2 for z/OS Bind Analyzer for DB2 for z/OS SQL-Ease for DB2 for z/OS SYSVIEW Performance Management Option for DB2 for z/OS Plan Analyzer for DB2 for z/OS Subsystem Analyzer for DB2 for z/OS



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.


Component: RCQ