Focal Point
Creating delimited files to import into DB

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1831074272

February 19, 2008, 06:21 PM
pbv
Creating delimited files to import into DB
Hi,

I see in the documentation that you can do a:

ON TABLE PCHOLD FORMAT DIF

to create a comma-delimted file but it appears to just create an Excel file.

I need to create a delimited file (with comma, |, or period) so I can:

1). Automate this file creation
2). Import into a DB using "LOAD DATA INFILE 'e:\\SAPrepository\\download\\ta_west_po.txt'"

I can't export out of Excel to CSV because that involves me manually touching the file. Any help would be appreciated.

Thanks


Webfocus 5.3.4, Unix, Oracle DB, Apache Tomcat
February 20, 2008, 06:43 AM
Lucas
This will bring it back as a comma seperated file.

ON TABLE PCHOLD FORMAT COMMA


7.6.6 Mainframe
7.6.4 Web Focus
Windows

February 20, 2008, 08:15 AM
Tony A
... or if you want column titles then use FORMAT COMT

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
February 20, 2008, 09:35 AM
pbv
Thanks Lucas.... That worked!


Webfocus 5.3.4, Unix, Oracle DB, Apache Tomcat