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
 

 

sqlwarning as WW

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: sqlwarning as WW
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    Post subject:
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

Site Director


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

PostPosted: Tue Aug 18, 2009 7:24 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Aug 19, 2009 12:31 am    Post subject: Reply to: sqlwarning as WW
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    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 Checking the "SQLWARNING' when a... JayC DB2 1 Fri Mar 20, 2009 7:08 pm


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