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

Jazz home
>
Papers & Training
SIB 04 CI info functions
By Hari, Prathibha and Raghunand, CSY
Enhancements summary:
l
The DEVINFO evaluator function returns information about the
logical devices attached to the system. It is a CI interface to
AIFDEVICEGET.
l The SPOOLINFO evaluator function returns information about
input and output Spoolfiles. It is a CI Interface to AIFSPFGET.
l
The VOLINFO evaluator function returns information about
volumes/volume classes and volume sets. VOLINFO is a CI
interface to HPVOLINFO.
DEVINFO
The DEVINFO CI function returns information about devices in a system.
It is a CI interface to the existing AIFDEVICEGET intrinsic. Most of the
items are serviced through the AIFDEVICEGET API. However, there are
a few items that use the AIFSPPGET API (spooler items) and internal
OS routines (device list items). Depending on the information desired,
DEVINFO returns a string, Boolean, or an integer.
Syntax
DEVINFO (DeviceID, item[,status])
Parameters
DEVINFO accepts three parameters :
A device ID, the logical device number of the device about
which information is returned.
An item indicating what information is desired.
An optional status parameter to return the status of the function
call.
Device ID
The device ID identifies a device via its LDEV number. For ease of use,
the LDEV number can be a numeric string or an integer. There are cases
(calls to DEVINFO that return a list of LDEV numbers) when this
parameter is not required. In such cases, the device ID can be set to the
empty string (“”), the string “0 or an integer 0.
Item
This parameter is a key word that indicates what information about an
LDEV is desired. It is a string parameter. A list of supported items and
their description can be found in a separate section below. The list
includes the item name, its aliases, return type of DEVINFO and a
description of the item.
Status
Status is an optional 32 bit integer parameter. It is the CI variable name
Page
1
of
15
Communicator Article
-
Network Printing enhancement
7/30/2008

Summary of content (15 pages)