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



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's
installed. It is. Can the jar utility be executed from a CL script which
is
what we need?
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>
wrote:

Why bother with the Wiindoze box? Just use theIBM i to send direct to
the
Linux box.



On Oct 15, 2020, at 3:27 PM, Laurence Chiu <lchiu7@xxxxxxxxx> wrote:

I need to transfer some 20G of text files each night to a Linuz server
in a
remote location. The plan is to zip all the files up, use a Windows
server
to access the Power server (on 7.3) via SSH, grab the zip file and then
SFTP to a remote location. That Linux remote location would then unzip
the
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
IBMi
would be compatible with standard zip files and I think they would be I
thought I would check here first.

Thanks for any feedback.
--
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

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


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

Follow-Ups:
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.