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



I logon to a v5r4 i5 as jerry.

From a command line I do a:

CALL PGM(QP2SHELL) PARM('tstcat.sh')

tstcat does this:

#! /QopenSys/bin/sh
cd /xfer/tst//inbound
cat * >lckbox.txt
exit

tstcat resides in the /home/jerry folder

I can run tstcat from qp2term after I do a cd and it works fine.

From a command line it says:

i5/OS PASE program not found or in use. Path name is tstcat.sh.
Error loading i5/OS PASE program tstcat.sh. See previous messages.

I made sure the permissions were ok.
The records in tstcat.sh end in LF so that's ok.
I can run it from inside qp2term.

The problem is that it is not finding the tstcat.sh in the home folder.

I know this works.

What am I missing?

Jerry




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.