TPMP/FASTLOAD using -uUTF8 -iUTF8 -cUTF16

Tools
Enthusiast

TPMP/FASTLOAD using -uUTF8 -iUTF8 -cUTF16

hi

I am trying to invoke FastLoad using java. I then write the script to the process outputstream. It works fine if I simply invoke "fastload" or "tpump". But if I try it specifying encodings, there in no output from fastload process inputstream.

"fastload -uUTF8 -iUTF8 -cUTF16"

I even tried it from the command prompt, simply running above command. It says:

C:\Anchal\workspace\testJJ>fastload -uUTF8 -iUTF8 -cUTF16
**** 13:40:13 Fastload UTF-8 output enabled.
**** 13:40:13 Fastload UTF-8 input enabled.
===================================================================
= =
= FASTLOAD UTILITY VERSION 13.10.00.000 =
= PLATFORM WIN32 =
= =
===================================================================

===================================================================
= =
= Copyright 1984-2010, Teradata Corporation. =
= ALL RIGHTS RESERVED. =
= =
===================================================================

**** 13:40:13 Processing starting at: Mon May 30 13:40:13 2011
**** 13:40:13 Character set has been set to: UTF-16

FastLoad - Enter your logon or command:

Here if I say, "show versions;" OR ".show versions" it displays nothing. Whereas if I press Ctrl+C (interrupt fastload). It shows the output on screen.

Please share comments/suggestions to overcome this problem.
1 REPLY
Enthusiast

Re: TPMP/FASTLOAD using -uUTF8 -iUTF8 -cUTF16

any suggestions ??