|
In you cl code - simply put:
qsh cmd('jar cf test.zip test.csv')
just check the 'cf' parameter and make it work for you usecase
On Fri, Oct 16, 2020 at 2:33 AM Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:
Laurence
You can definitely use JAR - we do it all the time to create XLSX files,
which are basically PK-zipped archives.
We wrap JAR in a QShell command - use the option to not create the
manifest - it's something like -mcf or -Mcf or the like.
HTH
Vern
On 10/15/2020 3:06 PM, Laurence Chiu wrote:
1. Found the jar utility and asked one of our IBMi users to check if it'sis
installed. It is. Can the jar utility be executed from a CL script which
what we need?wrote:
2. Can't send directly to the Linux box because it's in the cloud and the
Power server on the internal network won't allow that. The Windows box
however over a VPN
But seems that I have a solution
Thanks
On Fri, Oct 16, 2020 at 8:45 AM Jon Paris <jon.paris@xxxxxxxxxxxxxx>
theWhy bother with the Wiindoze box? Just use theIBM i to send direct to
IBMiLinux box.
On Oct 15, 2020, at 3:27 PM, Laurence Chiu <lchiu7@xxxxxxxxx> wrote:in a
I need to transfer some 20G of text files each night to a Linuz server
remote location. The plan is to zip all the files up, use a Windowsserver
to access the Power server (on 7.3) via SSH, grab the zip file and thenthe
SFTP to a remote location. That Linux remote location would then unzip
files and make them ready for an ETL process into a Data warehouse.
Some of the non iSeries guys were asking if the zip file created by
listwould be compatible with standard zip files and I think they would be Ilist
thought I would check here first.
Thanks for any feedback.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxxrelated questions.
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
Help support midrange.com by shopping at amazon.com with our affiliatelink: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
relatedTo post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
--questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.