Correct on both typos, should have been:
exec: 001-0014 Command /QSYS.LIB/QJVATOOLS.PGM not found
and
QSH CMD('jar cfM "/CUST/TEST.PDF" "/CUST/TEST.ZIP" ')
WRKLNK '/usr/bin/jar'
Displays a single jar stmf
This jar file contents do not look correct???? How do I fix it??
Should I copy the contents of mine I have the same V7R2M0)
(5722-SS1?? And only the single line exec....??)
************Beginning of data**************
#! /usr/bin/qsh
# 5722-SS1
# (C) COPYRIGHT IBM Corporation 2003, 2004
# All Rights Reserved.
# US Government Users Restricted Rights-
# Use, duplication or dislosure restricted
# by GSA ADP Schedule Contract with IBM Corp.
#
# Licensed Materials-Property of IBM
#
# Called via /usr/bin/java.
# Will use the default JDK.
exec /QSYS.LIB/QJVATOOLS.PGM jar "$@"
************End of Data********************
My system jar file has this:
# 5770-JV1
# (C) COPYRIGHT IBM Corporation 2005, 2013
# All Rights Reserved.
# US Government Users Restricted Rights-
# Use, duplication or disclosure restricted
# by GSA ADP Schedule Contract with IBM Corp.
#
# Licensed Materials-Property of IBM
#
# The exit status of this call is 0 if PASE is not yet attached to the
process.
/usr/bin/system -pieb call QJAVA/QJVATOOLS
if [ "$?" -eq "0" ]; then # PASE not attached
exec /QSYS.LIB/QJAVA.LIB/QJVATOOLS.PGM jar "$@"
else # PASE attached
exec /QIBM/ProdData/Java400/jFromPASE jar "$@"
fi
-----Original Message-----
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of
CRPence
Sent: Tuesday, October 18, 2016 1:15 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: Error running Qshell jar = exec: 001-0014 Command
/QSYS.LIBL/QJVATOOLS.PGM not found
On 18-Oct-2016 09:53 -0500, 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" ')
Presumably not a copy/paste; i.e. the above would fail due to an
unmatched delimiter.
And getting error:
exec: 001-0014 Command /QSYS.LIBL/QJVATOOLS.PGM not found
Again, not an actual copy/paste? Maybe instead, the replacement
text shows `/QSYS.LIB/QJVATOOLS.PGM`?
Any ideas what causes this error?
What is shown on Display Symbolic Link display after having taken
option-12=Work With Links, from WRKLNK '/usr/bin/jar'? And if that
shows something like /QIBM/ProdData/Java400/bin/jar for Object Link,
then what is that; if a Stream File (STMF), then what shows in there
with regard/likeness to the above text?
Here is info from my research:
The Program QJVATOOLS is in library QJAVA
They are running 7.2
[.]
PTF SI53657 Status is Temporarily Applied
[.]
That PTF would seem to have been the best bet; as apparently being
preventive for the quite similar message for the: "ajar: 001-0018
Error found running command /QSYS.LIB/QJVATOOLS.PGM. No such path or
directory."
--
Regards, Chuck
--
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.