×
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.
Probably Record level access makes sense, however the table or member probably needs to be created with a CL command or other method unless RLA can do an ADDPFM.
Or he could SQL upload to a temp file and do a CPYF or call existing code.
Or use FTP as he is now.
Or put file to the IFS with IFS classes and call CPYFRMIMPF or CPYFRMSTMF.
Probably at least 10 ways to do this.
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
-----Original Message-----
message: 4
date: Mon, 11 Jun 2018 08:02:29 -0500
from: David Gibbs <david@xxxxxxxxxxxx>
subject: Re: Save txt flatfile as member in a file
On 6/10/2018 6:54 PM, Jack Woehr wrote:
you could use the record file access classes.
or you could use jdbc and sql
I would suggest record level access (RLA) ... since SQL (and therefore JDBC) doesn't deal with members well.
Check out
https://ibm.co/2JMVmV1 for a basic example of using RLA
https://javadoc.midrange.com/jtopen/com/ibm/as400/access/AS400File.html is a good starting point for java classes.
david
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.