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



Possible solution:

I replaced the jar contents of jar file:
************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********************


With:

# 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



And it seems java is back working fine.
I will keep an eye out to see if anything else crops out.

Thanks everyone for your help

John


-----Original Message-----
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of
CRPence
Sent: Tuesday, October 18, 2016 1:38 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 12:15 -0500, CRPence wrote:
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

[.]

Of the [snipped] list of products installed, the 5770SS1 OPTION(33)
"Portable App Solutions Environment" was not shown. A SWAG, based on
what I noticed in changes between 7.1 and 7.3 [I've no access to 7.2],
that installation of PASE may circumvent the issue.?


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




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.