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.
Director of Document Management
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
is a good starting point for java classes.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2022 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
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.