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, 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.
- iSeries Information Center
- Calling QSHELL commands from an i5/OS command line
- "It's Easy to Run PHP, QShell, and PASE Tools from RPG". 12 November 2009. Retrieved 12 April 2016.