iSeries QSHELL is a command line interpreter (shell) running on the IBM iSeries computer platform. Qshell is based on POSIX and X/Open standards. IBM created the Qshell interpreter primarily to provide support for the Java Development Kit (JDK) on their iSeries line of computers. The Qshell interpreter can be used interactively or for running shell scripts.
Contents
Differences from other shells
Qshell differs from other shell environments in a number of ways:
QIBM_QSH_CMD_OUTPUT
environment variable can be used to redirect output)Compared to PASE, another shell on the iSeries computer
According to IBM, QSHELL is a “UNIX-like” interface built over OS/400. The commands you issue point to programs in a “QSHELL” library. To use QSHELL, key STRQSH or QSH on an iSeries command line, or pass a command string to the QSH command, or use UNIXCMD, an open-source utility created by Scott Klement which allows the execution of QShell commands through an RPG special file.
PASE is a “real” UNIX — it is actually AIX. It looks similar to QSHELL, but doesn’t have some of the limitations built into QSHELL. To use PASE, CALL QP2TERM.