Hi Raj,
You have not shared your script. You have not shown the data.
Have you tried with FORMAT FASTLOAD or even TEXT,VARTEXT MODE RECORD. Also you can try thus:
select CAST( field1 || '|' ||field2 || '|' ||
(CASE WHEN field3 IS NULL THEN '?' ELSE field3) || '|' ||
......
CAST(trim(CAST(fieldn AS CHAR(10))))....
AS CHAR( ) (TITLE '')
from table1------ casting the whole thing
The manual gives us many options.
The manual says:
TEXT format should only be specified for character data. Do not
specify TEXT format for binary data, such as, INTEGER, BYTEINT,
PERIOD, and other binary data. Depending on the actual byte values of
the binary data, unexpected results may occur.
Cheers,
Raja
Hi Raj,
You have not shared your script. You have not shown the data.
Have you tried with FORMAT FASTLOAD or even TEXT,VARTEXT MODE RECORD. Also you can try thus:
select CAST( field1 || '|' ||field2 || '|' ||
(CASE WHEN field3 IS NULL THEN '?' ELSE field3) || '|' ||
......
CAST(trim(CAST(fieldn AS CHAR(10))))....
AS CHAR( ) (TITLE '')
from table1------ casting the whole thing
The manual gives us many options.
The manual says:
TEXT format should only be specified for character data. Do not
specify TEXT format for binary data, such as, INTEGER, BYTEINT,
PERIOD, and other binary data. Depending on the actual byte values of
the binary data, unexpected results may occur.
Cheers,
Raja