× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 11 Feb 2013 09:29, Stone, Joel wrote:
Yikes there are over 100 columns in this file. Any way to accomplish
WITHOUT naming almost all columns?

Also I need to copy each record AS IS, without dropping any columns.
I want to drop entire records with any bad data, but other records
must retain all columns.


As I had noted in another reply, no need to name the columns. Also using the hint about the SQL DDL creating a TABLE that prevents bad data going in [from yet another reply], the CPYF can be used to copy the data with ERRLVL(*NOMAX) to copy the valid rows into a TABLE created with an /equivalent/ record format; sufficiently equivalent for whatever are the needs, even if FMTOPT(*MAP *DROP) is required on that CPYF request.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.