WRKSPLFPDM command provides a PDM-style “work with” for spooled files. Select spooled files by: user, name, job, date, outq, usrdta etc. etc. then use PDM-style options (including user-defined options with substitution variables) to process the selected spooled files. The equivalent batch command RUNSPLFCMD allows a set of spooled files to be selected and have an option or command run against each spooled file in turn.