|
We regularly get files from the State of Indiana in .csv format (their choice) which I put into the IFS and then use CPYFRMIMPF to get it into the database. Today they sent a file with the following record: FDP,COM,"BP11","Freezer","72/5.5oz por.","15" Ital. Pizza","15" Italian Pizza",0,0,26,24.75,9.97,0,28,07/28/2004,| ^ ^ Note the 2 places where they used the " symbol. If I open the file in Excel, it is smart enough to know it's part of the data, not a delimiter. CPYFRMIMPF, however, doesn't seem to be able to figure that out. Is there any way around this? I searched IBM support and these archives. (If there ain't no , behind the " then the " ain't no delimiter.) Sheesh, MS with more intelligent software than IBM? The apocalypse must be upon us. <g> -- Jeff Crosby Dilgard Frozen Foods, Inc. P.O. Box 13369 Ft. Wayne, IN 46868-3369 260-422-7531 The opinions expressed are my own and not necessarily the opinion of my company. Unless I say so.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.