CM Wang · Mar 10, 2017

How to create a JAVA new line character in COS


I have a stored procedure which would generate a standard Cache String and it would be called through JDBC and I would

dump the result in java console/standard output.

What kind of characters should I use in COS so when output get send back to Java side, it knows it contains new line character ?

Thank for your help.


0 2 348 1


In COS the function $Char(10) returns the ASCII newline character. Or if you need a CRLF sequence you can use $Char(13,10)