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
 

 

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: 6966
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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


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