What about if I am using a java program to run sql on a UNIX box. How can I incorporate the export process to export the file out. Currently, this is one export that I have, but it exports a .dat file
[INSERT]
!!TABLE NAME = SESSION.TEMP_PRICE_DOM
!!EXPORT = /markopt/data/
INSERT into
SESSION.TEMP_PRICE_DOM
SELECT distinct
'PAYLESSCORP',
'PAYLESS',
'1LT' || char(a.num_lt) as lot,
'LOT',
rtrim(char(a.num_co)) || '01S' || rtrim(char(a.num_str)) as store,
'STORE',
TIMESTAMP(@@DTWKE@@ - 6 days),CURRENT TIME),
' ',
CURRENT TIMESTAMP,
'A',
a.amt_unt_rtl,
TIMESTAMP('@@DTWKE@@',CURRENT TIME),
'ACTUAL PRICE',
'USD',
'REG'
FROM
session.domestic a;