Doubting Thomas ([log in to unmask]) wrote:
: Ted Ashton ([log in to unmask]) wrote:
 
: >   I am needing to, within a program, find what spoolfiles exist with output
: > priority of, say, 1 headed for device LPX with name PRNTFORM.  Is this
: > possible, other than calling LISTSPF via the command intrinsic and parsing
the
: > resulting output?  I've been through the intrinsics manual and the Native
Mode
: > Spooler manual to no avail.  I am working on an MPE/iX 5.0 system in
Pascal,
: > but would be willing to consider switching languages if necessary.
 
: If you have AIF:OS, no language change would be necessary. AIFSYSWIDEGET
should
: allow you to retrieve spool file numbers based on the criteria that you pass.
 
Not AIFSYSWIDEGET, but AIFSPFLIST.  AIFSPFLIST allows you to specify a
selection equation with all of the attributes Ted listed, and others.  In
fact, the same set of attributes available in the LISTSPF seleq specifica-
tion.
 
-Larry "MPE/iX Spoolers 'R' Us" Byler-