Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Upload DB2 error 104
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
dick scherrer

Site Director


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

PostPosted: Thu Jun 10, 2010 3:16 am    Post subject: Reply to: Upload DB2 error 104
Reply with quote

And any clients/users who are supposed to create ad-hoc queries. . .
Back to top
View user's profile Send private message

GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Thu Jun 10, 2010 2:01 pm    Post subject:
Reply with quote

you can not insert null like this

Code:
insert tab1(col1,col2,col3) values ('A',,'C')

Quote:
ILLEGAL SYMBOL ",". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: DEFAULT ( ? CURRENT_SCHEMA ROW CURRENT_LC_CTYPE XMLELEMENT. SQLCODE=-104, SQLSTATE=42601

but you can as follows
Code:
insert tab1(col1,col2,col3) values ('A',null,'C')

or
Code:
insert tab1(col1,col3) values ('A','C')
Back to top
View user's profile Send private message
soumen2255

New User


Joined: 25 Jun 2008
Posts: 24
Location: Pune

PostPosted: Thu Jun 10, 2010 2:59 pm    Post subject:
Reply with quote

GuyC wrote:
you can not insert null like this

Code:
insert tab1(col1,col2,col3) values ('A',,'C')

Quote:
ILLEGAL SYMBOL ",". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: DEFAULT ( ? CURRENT_SCHEMA ROW CURRENT_LC_CTYPE XMLELEMENT. SQLCODE=-104, SQLSTATE=42601

but you can as follows
Code:
insert tab1(col1,col2,col3) values ('A',null,'C')

or
Code:
insert tab1(col1,col3) values ('A','C')



Thank You GUYC, I investigated and found that it is exactly what you have pointed is the issue.

Thanks everyone for this help and sorry once again for the confusion.
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
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL ERROR - Opernad too Long dharmaraok JCL & VSAM 4 Tue Apr 21, 2020 1:20 pm
No new posts An write operation error - ABENDED S0... sandeep prajapati COBOL Programming 4 Sun Apr 12, 2020 12:16 pm
No new posts COBOL program error ENDED AT SVSCJES2... sandeep prajapati COBOL Programming 1 Sat Apr 11, 2020 6:32 pm
No new posts Authorization error on FTP John Poulakos All Other Mainframe Topics 2 Thu Apr 09, 2020 8:31 pm
No new posts Trying to submit COBOL PGM - JCL ERRO... sandeep prajapati JCL & VSAM 5 Tue Mar 24, 2020 11:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us