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.
Differences from other shells
Qshell differs from other shell environments in a number of ways:
- No support for job control
- No support for the <> redirection operator (though the
QIBM_QSH_CMD_OUTPUTenvironment variable can be used to redirect output)
- No support for command line editing (Command retrieval and editing is handled at an abstraction level between user and shell.)
- The number of command-line arguments is limited to 255
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.
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.
Articles on how to use QSHELL:
- QSHELL Introduction, part 1
- QSHELL Introduction, part 2
- QSHELL Introduction, part 3
- QSHELL Introduction, part 4
- Holt, Ted. Qshell for iSeries. ISBN 1-58347-046-8.