473,385 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Weird - Uncommanded schema change in mid script

I'm running a script from the PC Command Center to a z/OS DB2 at
v8.1.5. In mid script, the schema changes, despite my setting it
explicitly at the start of the script.

Does anyone know what might cause this?

Here's a snip from the script output -

SELECT CURRENT SQLID, CURRENT SCHEMA FROM SYSIBM.SYSDUMMY1
--------
--------------------------------------------------------------------------------------------------------------------------------
GOODDATA
GOODDATA
1 record(s) selected.

CREATE TABLE WFM_GRAPH_TYPE ( GRAPH_TYPE_ID DECIMAL(15, 0) NOT
NULL) IN DATABASE GOODDATA
DB20000I The SQL command completed successfully.

CREATE UNIQUE INDEX GRAPH_TYPE14PK ON WFM_GRAPH_TYPE
( GRAPH_TYPE_ID ASC ) CLUSTER
DB20000I The SQL command completed successfully.

CREATE UNIQUE INDEX GRAPH_TYPE14AK1 ON WFM_GRAPH_TYPE
( SYSTEM_ID ASC, GRAPH_TYPE_C
ASC )
DB20000I The SQL command completed successfully.

CREATE INDEX GRAPH_TYPE14IF1 ON WFM_GRAPH_TYPE
( SYSTEM_ID ASC )
DB20000I The SQL command completed successfully.

ALTER TABLE WFM_GRAPH_TYPE ADD PRIMARY KEY (GRAPH_TYPE_ID)
DB20000I The SQL command completed successfully.

DROP TABLE WFM_WKLOAD_GROUP_L
DB20000I The SQL command completed successfully.

COMMIT
DB20000I The SQL command completed successfully.

SELECT CURRENT SQLID, CURRENT SCHEMA FROM SYSIBM.SYSDUMMY1
--------
--------------------------------------------------------------------------------------------------------------------------------
GOODDATA
BADDATA
1 record(s) selected.

Why would it change the current schema on the fly?

Regards,
MVSGuy

Oct 24 '07 #1
0 1689

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robin Tucker | last post by:
Hi there, I have a database on my test machine that will need to be installed on users machines. I would like to create the database with the given schema on the users machine and also with...
1
by: billa1972 | last post by:
Hi, I am trying to hook into Yellow Freight's rating webservice. Below is the wsdl. When i try and create a proxy file with wsdl.exe i get the following errors, see below. Also, when i...
3
by: athos | last post by:
Hi guys, please help. What I did is : Step1. create a Database named , it's default owner is Step2. create a User in Database named , which maps to the Login on this Database Server, it's a...
2
by: shumaker | last post by:
I designed a schema in VS C# 2005 Express and am wondering why it chooses to place a sequence tag around the elements of a table. And additionally, if I move the elements around within the table,...
3
by: Mr Flibble | last post by:
Here is some highly imaginative XML I've constructed to highlight what it is I'm trying to achieve. (Seems easier with an example). <foobars> <foo> <bar x="dog" colour="brown"/> <bar x="cat"...
1
by: aralvarez_nospam_at_gmail.com change _nospam_at_ | last post by:
I have been trying to register some HL7 schemas into DB2-Express -C v9. After invoking the following command: complete xmlschema "datatypes-base"; it throws me the following error: ...
8
by: fireball | last post by:
I wihsh to discuss whether to use fully qualified names: ..object of objects to operate (create, query..) on is good or not? If someone change order of sql code blocks in my script - this may...
1
by: Ben | last post by:
We currently use SSIS to build DTS packages in which we store changes to our database schema, as well as scripts that need to be run upon each release. This works well for small sets of changes...
1
by: aj | last post by:
==SQL Server 2005 SP2== Is it possible to set the default schema in code? I know that, for a particular DB user, I can set the default schema statically in Mgmt Studio. However, I want to do...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.