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



Quoting Lukas Beeler <lukas.beeler@xxxxxxxxxxxxxxxx>:

On Mon, Jul 21, 2008 at 10:55 PM, Jerry Draper <midrangel@xxxxxxxxxxxxx> wrote:
The problem is that the .sh is in my home folder /home/jerry and the

Does it have the right permissions? Does it work using ./tstcat.sh
from PASE commandline?

YES


CALL PGM(QP2SHELL) PARM('tstcat.sh')
does not find it in my home folder.

This is probably related to how $PATH is set. Usually, the current
directory "." is not included in $PATH.

LIKELY


That implies that /home/jerry is NOT my current folder. I am not
setting a home folder on a machine where it works so I am trying to
understand why it is working on one and not the other.

CALL QP2TERM, and then pwd. In my case, i was in / (no home
directory). Why don't you just call the script using an explicit path?

I can call with an explicit path but I am NOT doing that on another system where I am doing lots of sFTP stuff and it works. I just want to understand the technology I am working with.

Jerry



--
Read my blog at http://projectdream.org
--
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.