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



CD to /directory1/sub-directory2/sub-directory3/subdirectory4/subdirectory5
then
STRQSH CMD('jar cfM ./20210216_141530_BOL.zip ./*.pdf')

Maybe?
Thanks,

Steve McKay
(205) 585-8424
samckay1@xxxxxxxxx



On Tue, Feb 16, 2021 at 3:47 PM Alan Shore via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Thanks for your reply Richard
Unfortunately, my google search only shows the version for windows

Alan Shore
Solutions Architect
IT Supply Chain Execution

[cid:image001.png@01D7047A.F861F710]

60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx

'If you're going through hell, keep going.'
Winston Churchill

From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf
Of Richard Schoen
Sent: Tuesday, February 16, 2021 3:40 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] RE: Problem with compressing a number of pdf's into a
zip file

Check out the 7zip commands delivered with Open Source Package Management.

There may be an option with that.

Regards,
Richard Schoen
Web: http://www.richardschoen.net<http://www.richardschoen.net>
Email: richard@xxxxxxxxxxxxxxxxx<mailto:richard@xxxxxxxxxxxxxxxxx>
------------------------------

message: 4
date: Tue, 16 Feb 2021 19:35:19 +0000
from: Alan Shore via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:
midrange-l@xxxxxxxxxxxxxxxxxx>>
subject: Problem with compressing a number of pdf's into a zip file

Hi everyone,
We are on V7r3

We have a number of pdf's located in an ifs directory, specified in the
following manner
/directory1/sub-directory2/sub-directory3/subdirectory4/subdirectory5/*.pdf

I have tried using the command CPYTOARCF as well as the QSH jar command
The zip file is created, but when we transmit the zip file to another
system, they have problems because of the number of
directories/sub-direcories Is there a way to compress the pdf's WITHOUT
capturing the directory information - just all the pdf's


The jar command is
STRQSH CMD('jar cfM
/directory1/sub-directory2/sub-directory3/sub-directory4/sub-directoryZ/20210216_141530_BOL.zip
/directory1/sub-directory2/sub-directory3/subdirectory4/subdirectory5/*.pdf')

The COPYTOARCF command is
CPYTOARCF
FROMFILE('/directory1/sub-directory2/sub-directory3/subdirectory4/subdirectory5/')
TOARCF('/directory1/sub-directory2/sub-directory3/sub-directory4/sub-directoryZ/20210216_141530_BOL.zip')

I hope that this makes sense
As always - all answers gratefully accepted
'
Alan Shore
Solutions Architect
IT Supply Chain Execution

[cid:image002.png@01D70470.F241DD50]

60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>

'If you're going through hell, keep going.'
Winston Churchill

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:
MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<
https://lists.midrange.com/mailman/listinfo/midrange-l>
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l<
https://archive.midrange.com/midrange-l>.

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:
support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com<https://amazon.midrange.com>



The Nature’s Bounty Co. is now The Bountiful Company! Our email address
will be changing from @nbty.com to @bountifulcompany.com. Please update
your email address book so that important communications are not
interrupted.
--
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 ...

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.