This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pass two bytes of space to DB2

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a java program, which takes a string as input.
I need to check, if the length of the string is zero.
If the length is zero, i need to pass an empty string of 2 bytes to the DB2 Stored procedure.

The SP expects a string of 26 bytes.

Can anybody please help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic