IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

sqlwarning as WW


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sid_aec

New User


Joined: 01 Jul 2008
Posts: 60
Location: Kolkata

PostPosted: Tue Aug 18, 2009 1:17 pm
Reply with quote

Hi,
After executing one select query I am getting sqlwarning as WW.
SQLWARN0 -W
SQLWARN1 -W

Can anybody please tell what is the possible reason however sqlcode is 0.

Thanks,,
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Tue Aug 18, 2009 1:20 pm
Reply with quote

These variable are the part of SQLCA . Please check in that .
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Aug 18, 2009 7:24 pm
Reply with quote

Hello,

At the top of the page is a link to "IBM Manuals". Among these are the DB2 documentation. Select the SQL Reference for your version of db2 and read about sqlwarn0, sqlwarn1, etc.
Back to top
View user's profile Send private message
sid_aec

New User


Joined: 01 Jul 2008
Posts: 60
Location: Kolkata

PostPosted: Tue Aug 18, 2009 10:59 pm
Reply with quote

Thanks a lot dick for your help as always,,For me it was the data for a field getting truncated while throwing into host variable.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Aug 19, 2009 12:31 am
Reply with quote

You're welcome - thanks for letting us know the resolution icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Checking the "SQLWARNING' when a... DB2 1
Search our Forums:

Back to Top