Re: Save txt flatfile as member in a file
Jack Woehr <[email protected]>
| Newsgroups | gmane.comp.lang.as400.java |
|---|---|
| Message-ID | <CA+4w2KAR82o1vo_2w47EstWmrLGDFfOp_8tVMF20FLkhTzTWZw@mail.gmail.com> |
or you could use jdbc and sql On Sun, Jun 10, 2018 at 5:54 PM, Jack Woehr <[email protected] > wrote: > you could use the record file access classes. > > On Sun, Jun 10, 2018 at 2:22 PM, Max Bobzien <[email protected]> wrote: > >> Hi, >> >> When I send a txt flatfile via FTP to my AS400 server and drop it inside >> a library, it automatically creates the member and places the flatfile as a >> file inside the member. >> >> E.g a file name like DEMEMNAM.Z1806100001 place in the libray TESTLIB >> would create a member called DEMEMNAM with a file called Z1806100001 inside >> it. >> >> How can I achieve the same in Java with jt400 without having to use the >> FTP connection? >> >> Max >> -- >> "The best laid schemes o' mice an' men gang aft aglay." >> Robert Burns >> -- >> This is the Java Programming on and around the IBM i (JAVA400-L) mailing >> list >> To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected] >> To subscribe, unsubscribe, or change list options, >> visit: https://lists.midrange.com/mailman/listinfo/java400-l >> or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] >> Before posting, please take a moment to review the archives >> at https://archive.midrange.com/java400-l. >> >> > > > -- > Absolute Performance, Inc. > 12303 Airport Way, Suite 100 > Broomfield, CO 80021 > > NON-DISCLOSURE NOTICE: This communication including any and all > attachments is for the intended recipient(s) only and may contain > confidential and privileged information. If you are not the intended > recipient of this communication, any disclosure, copying further > distribution or use of this communication is prohibited. If you received > this communication in error, please contact the sender and delete/destroy > all copies of this communication immediately. > -- Absolute Performance, Inc. 12303 Airport Way, Suite 100 Broomfield, CO 80021 NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately. -- This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/java400-l.