IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Create Schema: getting the error -104


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rameshvs
Currently Banned

New User


Joined: 10 Aug 2007
Posts: 30
Location: atlanta

PostPosted: Tue Sep 18, 2007 11:13 pm
Reply with quote

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 "ETPDBKR". 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;

Thanks for all the help.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Sep 19, 2007 3:19 am
Reply with quote

Hello,

What is "ETPDBKR"?

Have you talked with your DBA(s)? That would be a good place to start.
Back to top
View user's profile Send private message
rameshvs
Currently Banned

New User


Joined: 10 Aug 2007
Posts: 30
Location: atlanta

PostPosted: Fri Sep 21, 2007 7:31 pm
Reply with quote

Hi Dick,

Thanks for your response, I am sorry for not getting back to you soon. I have searched some other forums and figured out that CREATE SCHEMA statement is not valid in DB2 for z/OS. Apparently the manual I was looking earlier was that of DB2 for LUW.

The workaroud for creating a schema is if you want a schema JOE to be created create a table JOE.* in the database and DB2 creates the schema.

Thanks
Ramesh.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 21, 2007 9:28 pm
Reply with quote

You're welcome icon_smile.gif

Too many versions of sql running around that are not the same icon_confused.gif

Thank you for posting what you found icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top