z/OS USS–UNIX System Services Printing Commands › lpstat—Show printer and print job status › Examples › Display information about all jobs with a given file name
To display the status of all CA Spool jobs with the file name MARTHA, enter:
lpstat -u MARTHA