by gary » Thu 31 May 2012, 19:46
For those of you who apparently believe you know everything, I would be more useful for you to post a tutorial, rather than just say "If you don't know, you shouldn't be here.".
I too have had problems creating a database, using "Create Database Name;". Apparently because parts of DB2 are not started. I don't have a DBA to create it for me, and I don't have permission to start what is needed.
So, simply telling me that I don't know what I'm doing is no help at all. If you want to help, feel free. If not, then mind your own business.
DB2 Admin ----------- Execute SQL Statements from Screen Input ---------- 14:41
Command ===>
DB2 System: DB8G
SQL statement: DB2 SQL ID: LP187
create database lp187tst;
Generates:
DB2 Admin --------------------- DB2 Error Display 1 --------------------- 14:43
Command ===>
Rollback done
SQLCODE : -904 DSNTIAR CODE : 0
DSNT408I SQLCODE = -904, ERROR: UNSUCCESSFUL EXECUTION CAUSED BY AN
UNAVAILABLE RESOURCE. REASON 00C90081, TYPE OF RESOURCE 00000201, AND
RESOURCE NAME DSNDB06 .DSNADH01
DSNT418I SQLSTATE = 57011 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXA06 SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = 355 13172746 0 13223106 -974970878 12714050 SQL
DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'00000163' X'00C9000A' X'00000000' X'00C9C4C2'
X'C5E32002' X'00C20042' SQL DIAGNOSTIC INFORMATION
DB2 Admin ------------------- DB8G Databases -------------------- Row 1 of 345
Command ===> Scroll ===> CSR
Commands: GRANT
Line commands:
T - Tables S - Table spaces X - Indexes G - Storage group ICS - IC status
DIS - Display database STA - Start database STO - Stop database A - Auth
? - Show all line commands
Storage Buffer Created Index
Select Name Owner Group Pool DBID By T E Buffer Pool
* * * * * * * * *
------ -------- -------- -------- -------- ------ -------- - - -----------
DSNDB04 SYSIBM SYSDEFLT BP0 4 SYSIBM BP0
DSNDB06 SYSIBM 6 SYSIBM E BP0
DSNDB07 IBMUSER SYSDEFLT BP0 7 IBMUSER W BP0
It appears to me that DSNDB06 needs to be started, or some other help.
If you can help, please do. If you just want to tell me I'm stupid, save your breath.
Gary