you can't explicit create a schema in DB2/zos. There is not such 'create schema' stmt.
But you can implicit create it. For example
CREATE TABLE NIDM.TABLE1;
or
CREATE FUNCTION NIDM.FUNC1.
DB2 will create schema 'NIDM' for you(if not exists yet)
Quote:
|
Originally Posted by new_here
Hi..
I am trying to execute the following query through SPUFI and am getting the error -104. Anyone has any idea of what the possible reason could be
DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL "JOE". SOME SYMBOLS THAT
MIGHT BE LEGAL ARE: TABLESPACE
I am new to this create schema thing .. This is my query
CREATE SCHEMA JOE AUTHORIZATION JOE;
Am I missing anything that is supposed to be a prerequisite for creating schema. I tried some mauals but did not get lot of help.
Thanks for all the help.
|