|
I'm running into a problem getting InfoZip to run non-interactively.
If I go into a QP2TERM session, and type (object names have been changed
to protect the innocent):
zip -j /foobar.zip /foo/bar/*.zip /foo/bar/*.ZIP
I get
adding: 001000000000029.zip (stored 0%). . .
adding: 001000000000034.zip (stored 0%)
adding: 001000000000047.zip (stored 0%)
adding: 001000000000159.zip (stored 0%)
adding: 001000000000166.zip (stored 0%)
adding: 001000000000169.zip (stored 0%)
adding: 26.26000000000000008.ZIP (deflated 0%)
adding: 26.26000000000000009.ZIP (deflated 0%)
adding: 26.26000000000000011.ZIP (deflated 0%)
adding: 29.29000000000000001.ZIP (deflated 0%)
adding: 29.29000000000000007.ZIP (deflated 0%)
adding: 29.29000000000000011.ZIP (deflated 0%)
adding: 29.29000000000000013.ZIP (deflated 0%)
All well and good, but if, from a command line, I type:
CALL PGM(QP2SHELL) PARM('/QOpenSys/usr/bin/zip' '/foobar2.zip'
'/foo/bar/*.zip' '/foo/bar/*.ZIP')
I get
zip warning: name not matched: /foo/bar/*.zip
zip warning: name not matched: /foo/bar/*.ZIP
zip error: Nothing to do! (/foobar2.zip)
Press ENTER to end terminal session.
And the same is true if I substitute "QP2TERM" for "QP2SHELL," except
that I get it on a QP2TERM screen with blue function key legends,
instead of a STDOUT screen with red function key legends.
What's going wrong here?
--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx 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.