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

Possible causes for getting sql error code +342


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
senthil041083
Warnings : 1

New User


Joined: 20 May 2007
Posts: 19
Location: INDIA

PostPosted: Wed Jun 27, 2007 12:32 pm
Reply with quote

hi all,
can anyone give me the possible causes for getting sql error code +342

thanks,
senthil [/b]
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Wed Jun 27, 2007 2:04 pm
Reply with quote

sqlcode: -342

sqlstate: 42925

SQL0343N The column names are required for the recursive common table expression "<name>".

Cause: The recursive common table expression "<name>" must include the specification of the column names following the identifier of the common table expression.

The statement cannot be processed.

Action: Add column names following the identifier of the common table expression.

Quote:
can anyone give me the possible causes for getting sql error code +342

BTW do you mean -342 or +342
Back to top
View user's profile Send private message
senthil041083
Warnings : 1

New User


Joined: 20 May 2007
Posts: 19
Location: INDIA

PostPosted: Wed Jun 27, 2007 2:22 pm
Reply with quote

i need details for +342
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top