Spooler Programmer's Guide
Spooler Procedure Calls
Spooler Programmer’s Guide—522287-002
4-48
Obtaining the Spooler Statistics and Status
 11 = NEVER
(for FASTP substitute for
 DEV PARM bits 10:11)
! DEVFLAGX.<12:13>= Lueolwhen
   00 = LT132
 11 = ALWAYS
 10 = LTWIDTH
 11 = NEVER
(for FASTP substitute for
 DEV PARM bits 12:13)
! DEVFLAGX.<15>= Lueolvalue
 0 = CRLF
 1 = NL
(for FASTP substitute for
 DEV PARM bit 15)
END;
If you want the status of all devices in the spooler subsystem, fill the device.name 
field with blanks and enter a 1 as the scan-type. The first call returns the status of 
the device whose name comes first alphabetically. Continue calling 
SPOOLERSTATUS2 until it returns error %14006 (end of entries).
If you want the status of a particular device, fill the device.name field with the name 
of the device whose status you want (remember to fill the right side of the field with 
blanks). Then call SPOOLERSTATUS2 with scan-type set to 0.
The values that can be returned for the field device.charmap are as follows: 
Because device.charmap is at the end of the structure, you do not have to include it 
in your program. Programs created before the addition of this device attribute will 
continue to execute properly.
The values that can be returned for the field device.devflagx.<1> are as follows: 
All other bits in devflagx are reserved for use by the spooler.
Obtaining the Status of a Job (Command Code 2)
To obtain the status of a job, set the command-code parameter of 
SPOOLERSTATUS2 to 2 and pass either a 64-word status buffer to 
SPOOLERSTATUS or a 128-word status buffer to SPOOLERSTATUS2. The last five 
-1 specifies that the device does not support multibyte character set translation.
 2 specifies that the device supports IBMKANJIKANA characters.
 5 specifies that the device supports JEFKANJIKANA characters.
 8 specifies that the device supports JISKANJIKANA characters.
0 specifies that the device is not in pretranslate mode.
1 specifies that the device is in pretranslate mode.










