![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am running some DDL from a IBM product called Master Data Management and it contains the following on the first line of each script SET CURRENT SQLID=MDMUSER; I know this is a DB2 z/OS construct, and I can't seem to find it in the DB2 LUW doc. When I run it on LUW 9.7 it has a zero return code (successful) even though it doesn't seem to be documented. It does change the schema name of a table created after that, but does not affect the Definer or Owner of the table. My mainframe DB2 is a little rusty, but I thought SET CURRENT SQLID would define the Owner of a table created on DB2 z/OS after that command is issued. Anyone know what the story behind this is, and why it is not documented in the LUW doc? |
#3
| |||
| |||
|
|
"The Boss" <nltaal (AT) baasbovenbaas (DOT) demon.nl> wrote in message news:05cfedf9-3824-40af-9195-ac5f5aac44e7 (AT) e14g2000yqe (DOT) googlegroups.com... q CURRENT SQLID is accepted as a synonym for CURRENT SCHEMA and the effect of a SET CURRENT SQLID statement will be identical to that of a SET CURRENT SCHEMA statement. No other effects, such as statement authorization changes, will occur. /q HTH -- Jeroen |
![]() |
| Thread Tools | |
| Display Modes | |
| |