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



On 10/11/2017 1:35 PM, Jim Oberholtzer wrote:
Use: /QOpenSys/QIBM/ProdData/OPS/tools/bin/bash to start it
Or set up .profile to do it for you:
https://stackoverflow.com/questions/23913957/set-default-pase-ibm-i-shell-for-individual-user


# detect if we're in a PASE shell
/QSYS.LIB/QSHELL.LIB/UNAME.PGM > /dev/null 2>&1

if [ $? != 0 -a "$SHELL" != "/QOpenSys/usr/bin/bash" ]
then
exec /QOpenSys/usr/bin/bash
fi

Be sure to use the right path to bash... :-)


Or, read Jesse's article 'Tech Tip: Be Like a Turtle!'
http://ibmsystemsmag.com/blogs/open-your-i/august-2017/tech-tip-be-like-a-turtle!/
and use the new DB2 functionality to set your shell call
qsys2.set_pase_shell_info('*CURRENT',
'/QOpenSys/QIBM/ProdData/OPS/tools/bin/bash');


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.