MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Binding Prob

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Rmravi
Beginner


Joined: 24 Jun 2004
Posts: 12
Topics: 5

PostPosted: Wed Apr 26, 2006 8:04 am    Post subject: Binding Prob Reply with quote

While i am Binding my job i am getting sqlcode -117 sql STATE 42802 Can u help0 me to slove this

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Wed Apr 26, 2006 8:47 am    Post subject: Reply with quote

Rmravi,

A sqlcode of -117 is self explanatory. you have mismatch in the no: of columns your insert statement. Correct that.

Code:

-117 THE NUMBER OF VALUES ASSIGNED IS NOT THE SAME AS THE NUMBER OF       
       SPECIFIED OR IMPLIED COLUMNS                                       
                                                                           
Explanation:  The number of insert values in the value list of the INSERT 
statement is not the same as the number of object columns specified.       
Alternatively, the number of values on the right side of an assignment in 
a SET assignment statement or the SET clause of an UPDATE statement does   
not match the number of columns on the left side.                         
                                                                           
System Action:  The statement cannot be executed. No data was inserted     
into the object table.                                                     
                                                                           
Programmer Response:  Correct the statement to specify one and only one   
value for each of the specified object columns.                           
                                                                           


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group