Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I am using fastexport to exp

Status
Not open for further replies.

arzoocbe

Programmer
Nov 21, 2002
8
US
Hi,

I am using fastexport to export the data.
The following is the output for the below mentioned script,


^K1915328213
^K1853442387
^K1832253921
^K1314530978


I would like to know why my output is always preceded by a '^K' character
how can I remove the control Character.

Any help is appreciated.

Thanks in Advance.
arzoo


Script
------

.logtable RestartLog;

.logon TDPid/user1,XXXXXX;

.begin export sessions 2;

.export outfile SampleSpool3;

select cast(field1 AS CHAR(10)), cast(field2 as CHAR(3)),
cast(field3 as CHAR(3))
from table1;

.end export;

.logoff;

.exit;


 
I don't know why but I know what. You are seeing a vertical tab which sometimes shows up as a line feed. What editor are you using to look at you output?

Cheers Dirk
 
You didn't specify the output format, so it defaults to FASTLOAD and this is including a 2 byte unsigned integer indicating the record length.
Try a
.export outfile format text ...

Dieter
 
Thanks Dieter I fixed it,

Thanks for the inputs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top