To issue a code 09 request for jobs in the QPRINT output queue in library QGPL of the IBM i LPAR named bluebox1.mycom.com, enter the command:
ev400hostcmd 86 "09|QPRINT|QGPL.bluebox1.mycom.com"
Output lines will be returned with values separated by a vertical bar. One line will be generated for each record found, in this case, a line representing each job. The last line will be the text “EOF”.
To issue a code 42 request for "netstat" network connections of type UDP on the IBM i LPAR named bluebox2.mycom.com, enter the command:
ev400hostcmd 86 "42|||UDP.bluebox2.mycom.com"