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



There's probably a symbolic link in your normal path that redirects ksh
to qsh. You have done something to confuse the path when you test the
new script so that it isn't finding the symlink.

See the wikipedia article on shebang(#!):
http://en.wikipedia.org/wiki/Shebang_(Unix)

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Piotrowski
Sent: Monday, November 23, 2009 11:49 AM
To: Midrange Systems Technical Discussion
Subject: RE: 001-0014 Error

Well you're right. My original line was:

#!/bin/ksh.

However, when I checked the directory it didn't exist. But QSH was
there. So I changed the line to:

#!/bin/qsh

And the script worked!

The strange thing is, the other script has #!/bin/ksh in it, and it
works fine....

Thanks!

/b;

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dennis Lovelady
Sent: Monday, November 23, 2009 12:22 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: 001-0014 Error

I'm not sure if this the proper forum, but I thought I'd start here.

I created a new shell script under QSH to help me diagnose some errors

I am getting in my MQ system. However, when I run the command, I am
getting the error "qsh: 001-0014 Command ./testMQjava.sh not found.".

Does the script have a line toward the top that looks something like
this:

#! /path/sh

And if so... does path exist? Is sh in path? Et cetera.

I'd look there first.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
... Had this been an actual emergency, we would have fled in terror, and
you would not have been informed.

--
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: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

--
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: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.




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.