You can select different command processors for the REXEC server by using exit programs.
You can use the REXEC server command processing selection (QIBM_QTMX_SVR_SELECT) exit program to select which command processor the REXEC server uses to run the submitted command. (If you do not use an exit program, the REXEC server uses the control language (QCAPCMD) processor.) The following command processors are allowed.
Because data conversion is optional for the Qshell and spawn options, the exit program also selects whether the REXEC server performs ASCII-EBCDIC conversions on the stdin, stdout, and stderr streams.