You can also directly call one of the shell programs with your script as a parm.


call qp2shell ('/QOpenSys/bin/sh' '/Operations/StartTSM.sh')




Urbanek, Marty wrote:
Rob,

You probably need to make sure the executable bit is set (chmod a+x /myfile.sh).

And you may need a line at the start of your script to tell the shell it's a 
script. Try inserting this at the top:

#!/usr/bin/sh

Also make sure the file is in the right character encoding for PASE to read it, 
ASCII, like CCSID 819.

-Marty


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.