Spooler Plus Programmer's Guide
Spooler Procedure Calls
Spooler Plus Programmer’s Guide—522293-003
4-48
Obtaining the Spooler Statistics and Status
! only when device is in 
! print state. 
 restart^interval,  ! automatic device restart 
! specification 
 charmap,  ! multibyte character set 
! translation flag, where 
! -1 = no translation 
! 2 = IBMKANJIKANA 
! 5 = JEFKANJIKANA 
! 8 = JISKANJIKANA 
devflagx;  ! Optional Device Flag 
! (0 = OFF, 1 = ON)
! devflagx.<1> = Prexlate
! DEVFLAGX.<10:11>= Lutofvalue
 00 = CRFFCR
 01 = FFCR
 10 = FF
 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.
-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.










