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.