The Create Output Queue (CRTOUTQ) command creates a new output queue for spooled files. An entry is placed on the output queue for each spooled file. The order in which the files are written to the output device is determined by the output priority of the spooled file and the value specified on the Order of files on queue prompt (SEQ parameter). Use the character-based interface to create an output queue.
CRTOUTQ OUTQ(DEPTAPRT) AUT(*EXCLUDE) SEQ(*FIFO) TEXT('SPECIAL PRINTER FILES FOR DEPTA')
CRTOUTQ OUTQ(QGPL/JONES) + TEXT('Output queue for Mike Jones')