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?
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.
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?
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact