Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Possible causes for getting sql error code +342

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Possible causes for getting sql error code +342
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    Post subject:
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    Post subject: i need +342
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us