I have created a fex file that creates the CSV .
SELECT 'abcd' A , 'efgh' B FROM dual;
FILEDEF HOLDMAST DIR /tmp
FILEDEF SALES DISK /tmp/sales.csv
TABLE FILE SQLOUT
ON TABLE HOLD AS SALES FORMAT COMT
TABLE FILE SALES
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 ?.
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.
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>,
I have open a case with this issue,
they tell me to use a the beginning of my fex
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.
Production: WF 7.7.03 / OS: Solaris Sparc 64/ WebServer: Apache Tomcat/6.0/AppServer:WebLogic 10.3 /DB: Oracle 11.2/ Output formats: HTML, Excel, PDF, CSV, ZIP
Not sure what release you guys are on but there is a COMT format output from RC.
I am using 7.1.6 version.
Yes like pedro said , it is padded with trailing blank.
Got the output with the headers for the above code ? If you have altered the code plz let me know . i will try with that .
Navin and Pedro,
The LET COMMA=COMT solution is close. However, for some reason (not yet sure why), you need to specify a format other than COMMA in your Caster job.
I tested in WF 716 and specified the output format of DOC. In my focexec, I used "LET DOC=COMT" and got your desired output as follows:
"FRANCE","PEUGEOT","504 4 DOOR",5,5610,4631
Also, an FYI... bursting is not yet supported with the COM/COMT output types. This is currently an NFR.
I hope this helps!
Thanks a lot . . .
|Powered by Social Strata|