Hi I have created a fex file that creates the CSV .
SQL SQLORA SELECT 'abcd' A , 'efgh' B FROM dual;
FILEDEF HOLDMAST DIR /tmp FILEDEF SALES DISK /tmp/sales.csv
TABLE FILE SQLOUT PRINT * ON TABLE HOLD AS SALES FORMAT COMT END
TABLE FILE SALES PRINT * END
****************************************
I have got the SALES.CSV as desired (with headers).
I am distributing this CSV file uing Reportcaster in the COMMA distribution format . I cant get the column headers .
Does anyone know how to get the column headers ?.
March 30, 2007, 09:03 AM
jgelona
With your code, it has been my experience that RC will distribute the output from the TABLE FILE SALES. Sounds like you want the SALES.CSV output from the TABLE FILE SQLOUT.
I think you should remove the TABLE FILE SALES.
Then in RC, edit the task. Then in the Report Distribution Information, make sure you have Report Format as Comma.
That should do it.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
March 30, 2007, 09:52 AM
<Navin>
ok .
Yes i already distributing with the COMMA FORMAT only .
I just want to make the Reportcaster to distribute the CSV file with headers . either from SALES / SQLOUT . . Can you please tell me how can i do that . Because i am failing in either case .This message has been edited. Last edited by: <Navin>,
March 30, 2007, 02:40 PM
Pedro
Hi Navin,
I have open a case with this issue, they tell me to use a the beginning of my fex
LET COMMA=COMT
but it does'nt work the case is still open my webfocus version is 7.1.6 apparently in 7.6 this issue is resolve.
It's not only the title that disappear with COMMA format, each field is padded with trailling blank.
As soon as I get an answer from IB I'll let you know.