Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Getting error while inerting to a Db2 table.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
ajay_udl

New User


Joined: 10 Oct 2006
Posts: 29

PostPosted: Thu May 20, 2010 1:12 pm    Post subject: Getting error while inerting to a Db2 table.
Reply with quote

Hi All,

I"m tryign to insert few records to a db2 table via program.
I'm getting an abend there with sql code as SQLCODE : 000000018}

Can any one help to get this resolved.

Many Thanks
Ajay.
Back to top
View user's profile Send private message

santoshkumarmanilakkoju

New User


Joined: 24 Nov 2009
Posts: 37
Location: Don't know

PostPosted: Thu May 20, 2010 1:20 pm    Post subject:
Reply with quote

Can you provide few more details like the code,sysout
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Thu May 20, 2010 1:38 pm    Post subject:
Reply with quote

again

Code:

0   {    
1   A
2   B
3   C
4   D
5   E
6   F
7   G
8   H
9   I
-0   }
-1   J
-2   K
-3   L
-4   M
-5   N
-6   O
-7   P
-8   Q
-9   R

Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu May 20, 2010 1:48 pm    Post subject: Re: Getting error while inerting to a Db2 table.
Reply with quote

ajay_udl wrote:
Hi All,

I"m tryign to insert few records to a db2 table via program.
I'm getting an abend there with sql code as SQLCODE : 000000018}

Can any one help to get this resolved.

Many Thanks
Ajay.


check if DATE\TIME related variables are populated correctly or show us that piece of code..
Back to top
View user's profile Send private message
ajay_udl

New User


Joined: 10 Oct 2006
Posts: 29

PostPosted: Thu May 20, 2010 3:26 pm    Post subject: Reply to: Getting error while inerting to a Db2 table.
Reply with quote

Hi everyone,

Thanks for the suggessions.
The date field was having spaces and hence the issue.

Warm Regards
Ajay.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu May 20, 2010 4:05 pm    Post subject: Re: Reply to: Getting error while inerting to a Db2 table.
Reply with quote

ajay_udl wrote:
Hi everyone,

Thanks for the suggessions.
The date field was having spaces and hence the issue.

Warm Regards
Ajay.

Hope you understand Dicks post and EDIT SQLCODE properly henceforh... icon_smile.gif
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 -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

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