While searching for some spoolfiles related to a specific job number, I
started to insist to another person that there were no spoolfiles related to
jobnumber #####!  Then I did a :LISTSPF [log in to unmask]  Well, I had forgotten
something.

 ...partial :listspf o@ output as MANAGER.SYS:
#O4415     J'2198   $STDLIST   1      1 LP       READY        MANAGER.SYS
#O4448     J3       $STDLIST   1      1 LP       READY        BACKMGR.SYS

:LISTSPF O@;SELEQ=[JOBNUM=#J3]
SPOOLID    JOBNUM   FILEDES  PRI COPIES DEV      STATE  RSPFN OWNER
#O4448     J3       $STDLIST   1      1 LP       READY        BACKMGR.SYS

:LISTSPF O@;SELEQ=[JOBNUM=#J2198]
No qualified spoolfile(s). (CIWARN 4809)

:LISTSPF O@;SELEQ=[JOBNUM=#J'2198]
SPOOLID    JOBNUM   FILEDES  PRI COPIES DEV      STATE  RSPFN OWNER
#O4415     J'2198   $STDLIST   1      1 LP       READY        MANAGER.SYS

Given that there can be spoolfiles from #J123 and #J'123 and even #J''123
and #J?, one must specify the "'" in the seleq criteria to differentiate
such spoolfiles.

A note about needing any "'" in :HELP would be nice though.

Excerpt from :HELP LISTSPF PARMS
JOBNUM              Job or session number under which the spoolfile
                    was created, for example: #S257 or #J329 (the
                    "#" is optional).  The limits are 1 and
                    16,383.
                    Limited wildcarding is supported;  J@ accepts
                    all jobs, S@ all sessions.

John Backus
Beechglen.com