Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
Posted: Thu Feb 05, 2009 10:14 am Post subject:
If you read the manual you will find that it says that a Rexx null IS NOT THE SAME as a DB2 null. To insert a NULL into DB2 you have to set the null indicator to a negative value. _________________ Utility and Program control cards are NOT, repeat NOT, JCL.
Hi kolusu,
How to use the TRACE for display? Also I have directly tried displaying SQLERRM, it is not getting the value...hope below lines need modification..
-------------------------------
IF LASTSQL /= '0' THEN DO
SAY 'Insertion not success'
SAY 'SQLERRM is:' SQLERRM
END
-------------------------------
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum