The cancel utility is fully supported for compatibility with older UNIX systems. However, because it is no longer supported by POSIX.2 IEEE standard 1003.2-1992, this utility should be avoided for applications intended to be portable to other UNIX-branded systems.
cancel cancels print queue requests. print_ID specifies the particular job (or jobs) to be canceled; the print_ID number is reported by lp when the job is submitted, or by lpstat.
cancel is recognized, but its functions are not supported.
If you are using the z/OS Infoprint Server feature, your system automatically uses that version of the cancel command.