![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Create UdfZ.java .. .. select MyDebugFunctionAppend('d:\out.txt','test1') from sysibm.sysdummy1 |
#4
| |||
| |||
|
|
On 9 Nov, 00:16, AD <ada... (AT) gmail (DOT) com> wrote: Create UdfZ.java .. .. select MyDebugFunctionAppend('d:\out.txt','test1') from sysibm.sysdummy1 Thank you AD! It works. The only problem i have is that out.newLine() doesn't work. Also out.write(s+"\r\n") doesn't work... I don't know why. JH |
#5
| |||
| |||
|
|
On 11 Lis, 18:22, John Hopfield <Hopfi... (AT) freemail (DOT) it> wrote: On 9 Nov, 00:16, AD <ada... (AT) gmail (DOT) com> wrote: Create UdfZ.java .. .. select MyDebugFunctionAppend('d:\out.txt','test1') from sysibm.sysdummy1 Thank you AD! It works. The only problem i have is that out.newLine() doesn't work. Also out.write(s+"\r\n") doesn't work... I don't know why. JH Replace out.write(tresc); out.close(); with out.write(tresc); out.newLine(); out.close(); it works for me |
#6
| |||
| |||
|
|
out.write(tresc); out.newLine(); out.close(); it works for me |
#7
| |||
| |||
|
|
On 11 Nov, 23:09, AD <ada... (AT) gmail (DOT) com> wrote: out.write(tresc); out.newLine(); out.close(); it works for me i have added out.newLine() and then recompiled the java class and re- installed into "FUNCTION" folder. But...don't works After a reboot now is OK. Thank you JH |
![]() |
| Thread Tools | |
| Display Modes | |
| |