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



James:
See: http://www-01.ibm.com/support/docview.wss?uid=nas8N1022523
Mark

From: James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Wednesday, November 14, 2018 5:44 PM
Subject: PASE help

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

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.