× 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.



Paul,

No, not really...I was just seeing if it was possible...I normally do use 
the CPYTOIMPF command...

Thanks Paul...

Shane Cessna  
iSeries Programmer
iSeries WAS Administrator
North American Lighting, Inc.
(618) 662-4483 x2776
shane_cessna@xxxxxxx 



"Paul Holm" <pholm@xxxxxxxxxxxxxxxxx> 
Sent by: java400-l-bounces+shane_cessna=nal.com@xxxxxxxxxxxx
09/20/2005 06:49 PM
Please respond to
Java Programming on and around the iSeries / AS400 
<java400-l@xxxxxxxxxxxx>


To
<java400-l@xxxxxxxxxxxx>
cc

Subject
Flat File Help...AS400 File Conversion to .TXT flat file






Shane, 

 

Is there a reason that you need to use Java for this?

 

If not, did you consider the CL command CPYTOIMPF which will create a flat
file from an AS400 file. 

 

Try this: 

 

CPYTOIMPF FROMFILE(QIWS/QCUSTCDT) TOSTMF('/customers.txt') RCDDLM(*CRLF)

 

Paul Holm
Senior Web Architect
PlanetJ Corp. 
Phone: 760-432-0600, Cell: 760-415-8830
WOW, Web Applications In Under 5 Minutes
HYPERLINK "http://www.gotWebData.net"; \nhttp://www.gotWebData.net 

 



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.