CI Info Functions: Devinfo, Spoolinfo, Volinfo (14392)

where a DEVINFO error number can be returned. Zero indicates
success. Non-zero indicates a failure. Error values returned in 'status'
are the same as the CIERROR value when an error occurs. If the
'status' parm is passed, the CI will not set CIERROR and will not report
an error message. If 'status' is not specified the CI performs its normal
error handling.
Description of DEVINFO Items
The following table summarizes the items of the DEVINFO CI function.
The description includes the item string, one or more aliases, the return
type, and a brief description of the item.
Item Name
Type
Description
AllPrinterDevList string List of printer LDEVs separated by a space
Format:"Total/LDEV1 LDEV2 ... LDEVN" *
AllTermDevList string List of terminal LDEVs separated by a space
Format:"Total/LDEV1 LDEV2 ... LDEVN" *
AltOwnerPin int Device's alternate owner PIN
AutoReply bool True means device automatically replies to tape requests
Available
Up
bool True if the device is available to the System
BlockModeType int 7=both line and DTC style block mode, 15=PAD terminal
supporting page block mode
BOT bool True means tape device is at beginning of tape mark
CommDevList string List of data comm devices.
Format: "Total/LDEV1 LDEV2 ... LDEVN" *
DataAccepting bool True if device accepts DATA logons
DevClass string IO Device Class: "NOT CONFIG","DISK","TAPE",
"TERM","CIPER PRINTER","PRINTER","SPOOLED", "DATA
COMM","DS TERM","DS PRINTER",
DevName string Device name as used in the "adev" SYSGEN command
DevSubType int Device subtype. See IODEFAULT.PUB.SYS
DevType string Device type: "DISK","TERM","TAPE","PRINTER"
DiscDevList
DiskDevList
string List of disk LDEVs separated by a space.
Format:"Total/LDEV1 LDEV2 ... LDEVN" *
DiskSizeMB
DiscSizeMB
int Disk size in megabytes
DiskSizePages
DiscSizePages
int Disk size in 2k pages (8 sectors per physical page)
Down bool True if device is unavailable to the system (not up) and no
down pending
DownPend bool True if device has a down request pending
DSPrinterDevList string List of DS printer LDEVs separated by a space.
Format:"Total/LDEV1 LDEV2 ... LDEVN" *
DSTermDevList string List of DS terminal LDEVs separated by a space.
Format:"Total/LDEV1 LDEV2 ... LDEVN" *
Duplicative
bool True all input operations are automatically Echoed
EOT bool True if tape is positioned at the end of Tape
Exists
Exist
bool True if the device is configured
FileName string Formal device file designator, eg $STDIN. Will be blanks for
non-terminal devices
FormsMounted bool True if special forms are mounted for this Device
HeaderDisabled bool True if the header pages are suppressed in Printing
IntDevClass int 0=not config,1=disk,2=tape,3=terminal, 4=CIPER printer,
5=printer(non-ciper), 6=spooled, 7=data comm, 8=DS
teminal, 9=DS printer, 10=user-defined
IntDevType int 0-7=disk, 16=terminal, 24=tape, 32=printer
Interactive bool True if device requires human intervention for all input
Page
2
of
15
Communicator Article
-
Network Printing enhancement
7/30/2008