My bad typos
It is not LIBL it is LIB
/QSYS.LIB
Sorry another type, it is
QSH CMD('jar cfM "/CUST/TEST.PDF" "/CUST/TEST.ZIP" ')
-----Original Message-----
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Buck Calabro
Sent: Tuesday, October 18, 2016 12:39 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: Error running Qshell jar = exec: 001-0014 Command
/QSYS.LIBL/QJVATOOLS.PGM not found
On 10/18/2016 10:53 AM, John Allen wrote:
I have a client running 7.2 and they are trying to zip a file using
the command:
QSH CMD('jar 'cfM "/CUST/TEST.PDF" "/CUST/TEST.ZIP" ')
And getting error:
exec: 001-0014 Command /QSYS.LIBL/QJVATOOLS.PGM not found
Does it really say /QSYS.LIBL, or does it say /QSYS.LIB ?
Also, is that really the string passed to QSH? There is a mis-matched
single quote. Since I'm suspecting a copy/paste snafu, can you try to
zip it up while actually in QShell, ie
qsh
(to get a QShell command line)
jar cfM /CUST/TEST.ZIP /CUST/TEST.PDF
(Note the ZIP file name comes first)
--
--buck
Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!
--
This is the Java Programming on and around the IBM i (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.