[Jay]: Thanks you Jim: but i want to point out that the code WORKS, There is no compile error, it ran alright with the posted code. I believe that you had some code that compiled successfully, but that is
not the code that you posted. There is no way you got this to compile:
Because break is a keyword, it can't be a method name. And you have it looking like a method name, followed by parentheses. That will never ever compile in
Java. Please, just copy and paste the code - don't change it.
[Jay]: The only thing now I need to get the count when each character got read ?? </b>
I do want to read the whole CLOB, but if some clob is huge , I need to limit it back to certain characters and write it out. The "200" is just an arbitrary number . OK, that makes sense. Just for
testing purposes, you might try reducing the size of the buffer to something smaller than 200 - like 10 for example. Then you can test your code reading somethign with more than 10 characters (but less than 200) to see how it works.
[Jay]: I NEED TO GET THE COUNT WHEN EACH CHARACTER GOT READ[/QB]
Well, my previous comments about count and total still apply. You're getting the count fine, but you need to
add the count to the total. I even showed what I meant, in code. Have you tried that?