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



That should be, "yes, they are seperate *pseudo* *nix environments", and "no, the two shell interfaces are not two faces of the same environment."

QSH emulates the Korn shell....

QP2TERM is (by default) a KSH shell in AIX...

Eric

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of DeLong, Eric
Sent: Wednesday, November 21, 2007 11:18 AM
To: Midrange Systems Technical Discussion
Subject: RE: QShell vs. PASE vs. QP2TERM


I don't think so.... QSH (Qshell) is 100% OS400 supported EMULATION of a unix environment. All the tools delivered in QSH are compiled as OS400 objects, whereas PASE is an AIX runtime that has been ported to run under OS400.

Like any emulation, QSH may not perform as well as it seems it should....

Eric

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Aaron Bartell
Sent: Wednesday, November 21, 2007 11:08 AM
To: 'Midrange Systems Technical Discussion'
Subject: QShell vs. PASE vs. QP2TERM


Hi all,



In my efforts to get my 'sed' script to run fast I thought I would open a
PASE terminal session using CALL QP2TERM which brings up a different shell
than STRQSH, and SURPRISE! - the sed script ran at the speed I was
expecting.



So here's my question: Are there _two_ separate pseudo *nix environments on
the iSeries? Using STRQSH (or QSH CMD(.) from RPG) my results were VERY
slow. Doing the EXACT same sed statement in CALL QP2TERM session was 1/10th
the time of execution, which is the amount of time I was expecting.



For an immediate fix to my needs I am looking to use Qp2RunPase from my RPG
to run the sed command. But I still have a nagging question in my mind as
to how everything on the *nix side relates to each other. From the
infocenter I found this sentence that sort of gives an idea to the overall
infrastructure, but not entirely:



" OS/400 PASE also includes the Korn, Bourne, and C shells and nearly 200
utilities that provide a powerful scripting environment." -
http://www.esyurl.com/2m0



As I understand it, Korn=QP2TERM and C Shells=QShell, is that right?



TIA,

Aaron Bartell

http://mowyourlawn.com








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.