Retrieve System Status (QWCRSSTS) API


  Required Parameter Group:

1 Receiver variable Output Char(*)
2 Length of receiver variable Input Binary(4)
3 Format name Input Char(8)
4 Reset status statistics Input Char(10)
5 Error Code I/O Char(*)

  Optional Parameter Group:

6 Pool selection information Input Char(*)
7 Size of pool selection information Input Binary(4)

  Default Public Authority: *USE

  Threadsafe: No

The Retrieve System Status (QWCRSSTS) API allows you to retrieve a group of statistics that represents the current status of the system.


Authorities and Locks

None.


Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The variable that will receive the system status information being retrieved. For the format, see Format of Data Returned.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable described in Format of Data Returned. If the length is larger than the size of the receiver variable, the results may not be predictable. The minimum length is 8 bytes.

Format name
INPUT; CHAR(8)

The format of the information to be returned. You must use one of the following format names:

SSTS0100 Basic system status information about the signed-on users and batch jobs in the system. The information returned in this format is similar to the basic display of the Display System Status (DSPSYSSTS) command.
SSTS0200 System status information. The information returned in this format is similar to the disk information of the intermediate or advanced display of the DSPSYSSTS command.
SSTS0300 System status information. The information returned in this format is similar to the pool information of the intermediate or advanced display of the DSPSYSSTS command.
SSTS0400 Pool status information. The information returned in this format is the SSTS0300 format information and additional pool information. The pool selection information parameter must be used when this format is used.
SSTS0500 Pool subsystem information. The information returned in this format is a list of active subsystems using a pool. The pool selection information parameter must be used to select one system pool when this format is used.
SSTS0600 Shared pool usage information. The information returned in this format is the list functions that have allocated a shared pool. The pool selection information parameter must be used to select one active shared pool when this format is used. The machine and base pools cannot be used with this format.

For more information about these formats, see Format of Data Returned.

Reset status statistics
INPUT; CHAR(10)

Whether the status statistics and elapsed time are reset to zero, as if this were the first call to the API. The statistics will be reset before new information is gathered. This parameter will also reset the status statistics on the DSPSYSSTS and Work with System Status (WRKSYSSTS) commands. This parameter is ignored for format SSTS0100, format SSTS0500, and format SSTS0600.

*YES Statistics will be reset to zero.
*NO Statistics will not be reset to zero.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.


Optional Parameter Group

Pool selection information
INPUT; CHAR(*)

Information that is used for selecting which pools to include in the list. This parameter only applies to the SSTS0400, SSTS0500, and SSTS0600 formats. See Format of Pool Selection Information for a description on the layout of this parameter. If this optional parameter is specified, the Size of pool selection information parameter must also be specified.

Size of pool selection information
INPUT; BINARY(4)

The size, in bytes, of the pool selection information parameter. If the value of this parameter is 0, the pool selection information is not used. The valid values for this parameter are 0, 20, or 24. If this parameter is not specified, the Size of pool selection information is defaulted to 0.


Format of Data Returned

The receiver variable holds the system status information returned.


SSTS0100 Format

The following table shows the information returned for the SSTS0100 format. For a detailed description of each field, see Field Descriptions.

Offset Type Field
Dec Hex
0 0 BINARY(4) Bytes available
4 4 BINARY(4) Bytes returned
8 8 CHAR(8) Current date and time
16 10 CHAR(8) System name
24 18 BINARY(4) Users currently signed on
28 1C BINARY(4) Users temporarily signed off (disconnected)
32 20 BINARY(4) Users suspended by system request
36 24 BINARY(4) Users suspended by group jobs
40 28 BINARY(4) Users signed off with printer output waiting to print
44 2C BINARY(4) Batch jobs waiting for messages
48 30 BINARY(4) Batch jobs running
52 34 BINARY(4) Batch jobs held while running
56 38 BINARY(4) Batch jobs ending
60 3C BINARY(4) Batch jobs waiting to run or already scheduled
64 40 BINARY(4) Batch jobs held on a job queue
68 44 BINARY(4) Batch jobs on a held job queue
72 48 BINARY(4) Batch jobs on an unassigned job queue
76 4C BINARY(4) Batch jobs ended with printer output waiting to print


SSTS0200 Format

The following table shows the information returned for the SSTS0200 format. For a detailed description of each field, see Field Descriptions.

Offset Type Field
Dec Hex
0 0 BINARY(4) Bytes available
4 4 BINARY(4) Bytes returned
8 8 CHAR(8) Current date and time
16 10 CHAR(8) System name
24 18 CHAR(6) Elapsed time
30 1E CHAR(1) Restricted state flag
31 1F CHAR(1) Reserved
32 20 BINARY(4) % processing unit used
36 24 BINARY(4) Jobs in system
40 28 BINARY(4) % permanent addresses
44 2C BINARY(4) % temporary addresses
48 30 BINARY(4) System ASP
52 34 BINARY(4) % system ASP used
56 38 BINARY(4) Total auxiliary storage
60 3C BINARY(4) Current unprotected storage used
64 40 BINARY(4) Maximum unprotected storage used
68 44 BINARY(4) % DB capability
72 48 BINARY(4) Main storage size
76 4C BINARY(4) Number of partitions
80 50 BINARY(4) Partition identifier
84 54 BINARY(4) Reserved
88 58 BINARY(4) Current processing capacity
92 5C CHAR(1) Processor sharing attribute
93 5D CHAR(3) Reserved
96 60 BINARY(4) Number of processors
100 64 BINARY(4) Active jobs in system
104 68 BINARY(4) Active threads in system
108 6C BINARY(4) Maximum jobs in system
112 70 BINARY(4) % temporary 256MB segments used
116 74 BINARY(4) % temporary 4GB segments used
120 78 BINARY(4) % permanent 256MB segments used
124 7C BINARY(4) % permanent 4GB segments used
128 80 BINARY(4) % current interactive performance
132 84 BINARY(4) % uncapped CPU capacity used
136 88 BINARY(4) % shared processor pool used
140 8C BINARY(8), UNSIGNED Main storage size (long)


SSTS0300 Format

The following table shows the information returned for the SSTS0300 format. For a detailed description of each field, see Field Descriptions.

Offset Type Field
Dec Hex
0 0 BINARY(4) Bytes available
4 4 BINARY(4) Bytes returned
8 8 CHAR(8) Current date and time
16 10 CHAR(8) System name
24 18 CHAR(6) Elapsed time
30 1E CHAR(2) Reserved
32 20 BINARY(4) Number of pools
36 24 BINARY(4) Offset to pool information
40 28 BINARY(4) Length of pool information entry
44 2C CHAR(*) Reserved
Offsets vary. These fields repeat, in the order listed, for each pool allocated by the system. BINARY(4) System pool
BINARY(4) Pool size
BINARY(4) Reserved size
BINARY(4) Maximum active threads
BINARY(4) Database faults
BINARY(4) Database pages
BINARY(4) Nondatabase faults
BINARY(4) Nondatabase pages
BINARY(4) Active to wait
BINARY(4) Wait to ineligible
BINARY(4) Active to ineligible
CHAR(10) Pool name
CHAR(10) Subsystem name
CHAR(10) Subsystem library name
CHAR(10) Paging option


SSTS0400 Format

The following table shows the information returned for the SSTS0400 format. For a detailed description of each field, see Field Descriptions.

Offset Type Field
Dec Hex
0 0 BINARY(4) Bytes available
4 4 BINARY(4) Bytes returned
8 8 CHAR(8) Current date and time
16 10 CHAR(8) System name
24 18 CHAR(6) Elapsed time
30 1E CHAR(2) Reserved
32 20 BINARY(4) Main storage size
36 24 BINARY(4) Minimum machine pool size
40 28 BINARY(4) Minimum base pool size
44 2C BINARY(4) Number of pools
48 30 BINARY(4) Offset to pool information
52 34 BINARY(4) Length of pool information entry
56 38 BINARY(8), UNSIGNED Main storage size (long)
64 40 CHAR(*) Reserved
Note: The following fields repeat, in the order listed, for the number of pools returned.
    BINARY(4) System pool
    BINARY(4) Pool size
    BINARY(4) Reserved size
    BINARY(4) Maximum active threads
    BINARY(4) Database faults
    BINARY(4) Database pages
    BINARY(4) Nondatabase faults
    BINARY(4) Nondatabase pages
    BINARY(4) Active to wait
    BINARY(4) Wait to ineligible
    BINARY(4) Active to ineligible
    CHAR(10) Pool name
    CHAR(10) Subsystem name
    CHAR(10) Subsystem library name
    CHAR(10) Paging option
    BINARY(4) Defined size
    BINARY(4) Current threads
    BINARY(4) Current ineligible threads
    BINARY(4) Tuning priority
    BINARY(4) Tuning minimum pool size %
    BINARY(4) Tuning maximum pool size %
    BINARY(4) Tuning minimum faults
    BINARY(4) Tuning per-thread faults
    BINARY(4) Tuning maximum faults
    CHAR(50) Description
    CHAR(1) Status
    CHAR(1) Reserved
    BINARY(4) Tuning minimum activity level
    BINARY(4)
    CHAR(*) Reserved


SSTS0500 Format

The following table shows the information returned for the SSTS0500 format. For a detailed description of each field, see Field Descriptions.

Offset Type Field
Dec Hex
0 0 BINARY(4) Bytes available
4 4 BINARY(4) Bytes returned
8 8 CHAR(8) Current date and time
16 10 CHAR(8) System name
24 18 BINARY(4) System pool
28 1C BINARY(4) Number of subsystems available
32 20 BINARY(4) Number of subsystems returned
36 24 BINARY(4) Offset to subsystem information
40 28 BINARY(4) Length of subsystem information entry
44 32 CHAR(10) Pool name
54 36 CHAR(*) Reserved
Note: The following fields repeat, in the order listed, for the number of subsystems returned.
    CHAR(10) Subsystem name
    CHAR(10) Subsystem library name
    CHAR(*) Reserved


SSTS0600 Format

The following table shows the information returned for the SSTS0600 format. For a detailed description of each field, see Field Descriptions.

Offset Type Field
Dec Hex
0 0 BINARY(4) Bytes available
4 4 BINARY(4) Bytes returned
8 8 CHAR(8) Current date and time
16 10 CHAR(8) System name
24 18 BINARY(4) System pool
28 1C BINARY(4) Number of pool allocations available
32 20 BINARY(4) Number of pool allocations returned
36 24 BINARY(4) Offset to pool allocation information
40 28 BINARY(4) Length of pool allocation entry
44 32 CHAR(10) Pool name
54 36 CHAR(*) Reserved
Note: The following fields repeat, in the order listed, for the number of pool allocations returned.
    CHAR(30) Pool allocation identifier
    CHAR(*) Reserved


Field Descriptions

% current interactive performance. The percentage of interactive performance assigned to this logical partition. This value is a percentage of the total interactive performance available to the entire physical system. For example, a value of 41 in binary would be 41 percent.

% DB capability. The percentage of processor database capability (in tenths) that was used during the elapsed time. Database capability is the maximum CPU utilization available for database processing on the system. -1 is returned if the system does not report the amount of CPU used for database processing. For example, a value of 411 in binary would be 41.1 percent.

% permanent addresses. The percentage (in thousandths) of the maximum possible addresses for permanent objects that have been used. For example, a value of 41123 in binary would be 41.123 percent.

% permanent 256MB segments used. The percentage (in thousandths) of the maximum possible permanent 256MB segments that have been used. For example, a value of 41123 in binary would be 41.123 percent.

% permanent 4GB segments used. The percentage (in thousandths) of the maximum possible permanent 4GB segements that have been used. For example, a value of 41123 in binary would be 41.123 percent.

% processing unit used. The average (in tenths) of the elapsed time during which the processing units were in use. For example, a value of 411 in binary would be 41.1 percent. For an uncapped partition, this is the percentage (in tenths) of the configured uncapped shared processing capacity for the partition that was used during the elapsed time. This percentage could be greater than 100% for an uncapped partition.

% shared processor pool used. The percentage (in tenths) of the total shared processor pool capacity used by all partitions using the pool during the elapsed time. -1 is returned if this partition does not share processors. For example, a value of 411 in binary would be 41.1 percent.

% system ASP used. The percentage (in ten thousandths) of the system storage pool currently in use. For example, a value of 41123 in binary would be 4.1123 percent.

% temporary addresses. The percentage (in thousandths) of the maximum possible addresses for temporary objects that have been used. For example, a value of 41123 in binary would be 41.123 percent.

% temporary 256MB segments used. The percentage (in thousandths) of the maximum possible temporary 256MB segments that have been used. For example, a value of 41123 in binary would be 41.123 percent.

% temporary 4GB segments used. The percentage (in thousandths) of the maximum possible temporary 4GB segments that have been used. For example, a value of 41123 in binary would be 41.123 percent.

% uncapped CPU capacity used. The percentage (in tenths) of the uncapped shared processing capacity for the partition that was used during the elapsed time. -1 is returned if this partition can not use more than its configured processing capacity. For example, a value of 411 in binary would be 41.1 percent.

Active jobs in system. The number of jobs active in the system (jobs that have been started, but have not yet ended), including both user and system jobs.

Active threads in system. The number of initial and secondary threads in the system (threads that have been started, but have not yet ended), including both user and system threads.

Active to ineligible. The rate (in tenths), in transitions per minute, of transitions of threads from an active condition to an ineligible condition. For example, a value of 123 in binary would be 12.3 transitions per minute.

Active to wait. The rate (in tenths), in transitions per minute, of transitions of threads from an active condition to a waiting condition. For example, a value of 123 in binary would be 12.3 transitions per minute.

Batch jobs ended with printer output waiting to print. The number of completed batch jobs that produced printer output that is waiting to print.

Batch jobs ending. The number of batch jobs that are in the process of ending due to one of the following conditions:

Batch jobs held on a job queue. The number of batch jobs that were submitted, but were held before they could begin running.

Batch jobs held while running. The number of batch jobs that had started running, but are now held.

Batch jobs on a held job queue. The number of batch jobs on job queues that have been assigned to a subsystem, but are being held.

Batch jobs on an unassigned job queue. The number of batch jobs on job queues that have not been assigned to a subsystem.

Batch jobs running. The number of batch jobs currently running on the system.

Batch jobs waiting for messages. The number of batch jobs waiting for a reply to a message before they can continue to run.

Batch jobs waiting to run or already scheduled. The number of batch jobs on the system that are currently waiting to run, including those that were submitted to run at a future date and time. Jobs on the job schedule that have not been submitted are not included.

Bytes available. The length of all data available to return. All available data is returned if enough space is provided.

Bytes returned. The length of the data actually returned. The number of bytes returned is always less than or equal to both the number of bytes available and the receiving variable length.

Current date and time. The date and time when the status was gathered. This is in system timestamp format.

Current ineligible threads. The number of ineligible threads in the pool's activity level.

Current processing capacity. The amount (in hundredths) of current processing capacity of the partition. For a partition sharing physical processors, this attribute represents the share of the physical processors in the pool it is executing. For example, a value of 233 means that the partition's current processing capacity is equivalent to 2.33 physical processors. If the current number of processors in the partition is four, each virtual processor has 0.58 the computing capacity of a physical processor in the physical machine. For a partition using dedicated processors, the value represents the number of virtual processors that are currently active in the partition. For example, a partition using four dedicated processors will return a value of 400 for the current processing capacity.

Current threads. The number of threads currently using the pool's activity level.

Current unprotected storage used. The current amount of storage in use for temporary objects. This value is in millions (M) of bytes.

Database faults. The rate (in tenths), shown in page faults per second, of database page faults against pages containing either database data or access paths. A page fault is a program notification that occurs when a page that is marked as not in main storage is referred to by an active program. An access path is the means by which the system provides a logical organization to the data in a database file. For example, a value of 123 in binary would be 12.3 page faults per second.

Database pages. The rate (in tenths), in pages per second, at which database pages are brought into the storage pool. A page is a 4096-byte block of information that is transferable between auxiliary storage and main storage. For example, a value of 123 in binary would be 12.3 pages per second.

Defined size. The size of the pool, in kilobytes, as defined in the shared pool, subsystem description, or system value QMCHPOOL. -1 will be returned for pools without a defined size.

Description. The description of the shared pool. This field is blank for private pools defined in subsystem descriptions.

Elapsed time. The time that has elapsed between the measurement start time and the current system time. This value is in the format HHMMSS where HH is the hour, MM is the minute, and SS is the second.

Jobs in system. The total number of user jobs and system jobs that are currently in the system. The total includes:

Length of pool allocation entry. The length of the entry returned for each pool allocation. If the receiver variable was not sufficiently large to hold all of the pool allocation information, the amount of pool allocation information returned may be less than this value.

Length of pool information entry. The length of the information returned for each pool. If the receiver variable was not sufficiently large to hold all of the pool information, the amount of pool information returned may be less than this value.

Length of subsystem information entry. The length of the information returned for each subsystem. If the receiver variable was not sufficiently large to hold all of the information, the amount of information returned may be less than this value.

Main storage size. The amount of main storage, in kilobytes, in the system. On a partitioned system, the main storage size can change while the system is active. If the main storage size is larger than 2,147,483,647 kilobytes, this field will return a value of 2,147,483,647 (the maximum amount a 4-byte field can hold). The field "Main storage size (long)" should be used instead of this field, to return the actual size.

Main storage size (long). The amount of main storage, in kilobytes, in the system. On a partitioned system, the main storage size can change while the system is active.

Maximum active threads. The maximum number of threads that can be active in the pool at any one time.

Maximum jobs in system. The maximum number of jobs that are allowed on the system. When the number of jobs reaches this maximum, you can no longer submit or start more jobs on the system. The total includes:

Maximum unprotected storage used. The largest amount of storage for temporary objects used at any one time since the last IPL. This value is in millions (M) of bytes.

Minimum base pool size. The minimum size, in kilobytes, for the base pool. This value is the QBASPOOL system value.

Minimum machine pool size. The minimum size, in kilobytes, for the machine pool. This value is the minimum size required by the machine for the machine pool.

Nondatabase faults. The rate (in tenths), in page faults per second, of nondatabase page faults against pages other than those designated as database pages. For example, a value of 123 in binary would be 12.3 page faults per second.

Nondatabase pages. The rate (in tenths), in pages per second, at which nondatabase pages are brought into the storage pool. For example, a value of 123 in binary would be 12.3 pages per second.

Number of partitions. The number of partitions on the system. This includes partitions that are currently powered on (running) and partitions that are powered off.

Number of pools. The number of pools allocated when the information was gathered. This number may be larger than the number of pools information is returned for if the receiver variable is not large enough.

Number of pool allocations available. The number of allocations for the shared pool.

Number of pool allocations returned. The number of pool allocations returned in the receiver variable.

Number of processors. The number of processors that are currently active in this partition.

Number of subsystems available. The number of subsystems using the pool.

Number of subsystems returned. The number of subsystems returned in the receiver variable.

Offset to pool allocation information. The offset from the beginning of the structure to the start of the pool allocation information.

Offset to pool information. The offset from the beginning of the structure to the start of the pool information.

Offset to subsystem information. The offset from the beginning of the structure to the start of the subsystem information.

Paging option. Whether the system will dynamically adjust the paging characteristics of the storage pool for optimum performance. The following special values may be returned.

*FIXED The system does not dynamically adjust the paging characteristics.
*CALC The system dynamically adjusts the paging characteristics.
USRDFN The system does not dynamically adjust the paging characteristics for the storage pool but uses values that have been defined through an API.

Partition identifier. The identifier for the current partition in which the API is running.

Pool allocation identifier. The identifier used when the shared pool was allocated.

Pool name. The name of this storage pool. The name may be a number, in which case it is a private pool associated with a subsystem. The following special values may be returned.

*MACHINE The specified pool definition is defined to be the machine pool.
*BASE The specified pool definition is defined to be the base system pool, which can be shared with other subsystems.
*INTERACT The specified pool definition is defined to be the shared pool used for interactive work.
*SPOOL The specified pool definition is defined to be the shared pool used for spooled writers.
*SHRPOOL1- *SHRPOOL60 The specified pool definition is defined to be a shared pool.

Pool size. The amount of main storage, in kilobytes, in the pool.

Processor sharing attribute. This attribute indicates whether this partition is sharing processors. If the value indicates the partition does not share physical processors, then this partition uses only dedicated processors. If the value indicates the partition shares physical processors, then this partition uses physical processors from a shared pool of physical processors. The following values are returned:

0 Partition does not share processors
1 Partition shares processors (capped). The partition is limited to using its configured capacity.
2 Partition shares processors (uncapped). The partition can use more than its configured capacity.

Reserved. An ignored field.

Reserved size. The amount of storage, in kilobytes, in the pool reserved for system use (for example, for save/restore operations). The system calculates this amount by using storage pool sizes and activity levels.

Restricted state flag. Whether the system is in restricted state. The following values are returned:

0 System is not in restricted state.
1 System is in restricted state.

Status.The status of the pool:

0 Active
1 Inactive

Subsystem library name. The library containing the subsystem description. This field will be blank for shared pools (formats SSTS0300 and SSTS0400).

Subsystem name. The subsystem with which this storage pool is associated. This field will be blank for shared pools (formats SSTS0300 and SSTS0400).

System ASP. The storage capacity of the system auxiliary storage pool (ASP1). This value is in millions (M) of bytes.

System name. The name of the system where the statistics were collected.

System pool. The system-related pool identifier for each of the system storage pools that currently has main storage allocated to it.

Total auxiliary storage. The total auxiliary storage (in millions of bytes) on the system.

Tuning maximum activity level. The maximum value that the shared pool's activity level can be set to by the performance adjuster when the QPFRADJ system value is set to 2 or 3. This field is 0 for private pools defined in subsystem descriptions.

Tuning maximum faults. The maximum page faults per second (in hundredths) to use as a guideline for the shared storage pool. For example, a value of 1234 would be 12.34 page faults per second. This field is 0 for private pools defined in subsystem descriptions.

Tuning maximum pool size %. The maximum amount of storage to allocate to the shared storage pool (as a percentage of total main storage). The value returned is in hundredths. For example, a value of 1234 would be 12.34 percent. This field is 0 for private pools defined in subsystem descriptions.

Tuning minimum activity level. The minimum value that the shared pool's activity level can be set to by the performance adjuster when the QPFRADJ system value is set to 2 or 3. This field is 0 for private pools defined in subsystem descriptions.

Tuning minimum faults. The minimum page faults per second (in hundredths) to use as a guideline for the shared storage pool. For example, a value of 1234 would be 12.34 page faults per second. This field is 0 for private pools defined in subsystem descriptions.

Tuning minimum pool size %. The minimum amount of storage to allocate to the shared storage pool (as a percentage of total main storage). The value returned is in hundredths. For example, a value of 1234 would be 12.34 percent. This field is 0 for private pools defined in subsystem descriptions.

Tuning per-thread faults. The page faults per second (in hundredths) for each active thread to use as a guideline for the shared storage pool. For example, a value of 1234 would be 12.34 page faults per second. This field is 0 for private pools defined in subsystem descriptions.

Tuning priority. The priority of the shared storage pool used by the system when making automatic performance adjustments. This field is 0 for private pools defined in subsystem descriptions.

Users currently signed on. The number of users currently signed on the system. System request jobs and group jobs are not included in this number.

Users signed off with printer output waiting to print. The number of sessions that have ended with printer output files waiting to print.

Users suspended by group jobs. The number of user jobs that have been temporarily suspended by group jobs so that another job may be run.

Users suspended by system request. The number of user jobs that have been temporarily suspended by system request jobs so that another job may be run.

Users temporarily signed off (disconnected). The number of jobs that have been disconnected due to either the selection of option 80 (Temporary sign-off) or the entry of the Disconnect Job (DSCJOB) command.

Wait to ineligible. The rate (in tenths), in transitions per minute, of transitions of threads from a waiting condition to an ineligible condition. For example, a value of 123 in binary would be 12.3 transitions per minute.


Format of Pool Selection Information

Offset Type Field
Dec Hex
0 0 CHAR(10) Type of pool
10 A CHAR(10) Shared pool name
20 14 BINARY(4) System pool identifier


Selection Field Descriptions

Shared pool name.This is used to select a shared pool when type of pool is *SHARED. The possible values are:

*ALL All shared pools are returned.
*MACHINE The machine pool is returned.
*BASE The base pool is returned.
*INTERACT The shared pool used for interactive work is returned.
*SPOOL The shared pool used for spool writers is returned.
*SHRPOOL1-60 The specified shared pool is returned.

When *ALL is specified the pools are returned in the order *MACHINE, *BASE, *INTERACT, *SPOOL, and *SHRPOOL1-60. This field must be blank when *SYSTEM is specified for type of pool.

System pool identifier.This is used to select an active system pool when type of pool is *SYSTEM. The possible values are:

-1 All active pools are returned.
1 - 64 The specified active pool is returned. If the pool is not active, CPF186B is sent.

When -1 is specified only the active pools are returned in system pool identifier order. This field must be 0 when *SHARED is specified for type of pool.

Type of pool.The type of pools to include in the list. The possible special values follow:

*SHARED The shared pools identified by the shared pool name field in the selection information. The other selection fields are not used. The selection information size must be a minimum of 20.
*SYSTEM The system pools identified by the system pool identifier field in the selection information. The other selection fields are not used. The selection information size must be a minimum of 24.

The pool selection information parameter only applies to the SSTS0400 and SSTS0500 formats. When other formats are used, the size of pool selection information parameter must be 0 or not specified.



Error Messages

Message ID Error Message Text
CPF1E99 E Unexpected error occurred.
CPF186A E Selection information not allowed with format &1.
CPF186B E Pool &1 not active.
CPF186C E Selection information required with format &1.
CPF186D E Pool &1 not active.
CPF1869 E Value &1 for reset status statistics not valid.
CPF187A E List of active subsystems not available.
CPF24B4 E Severe error while addressing parameter list.
CPF3CF1 E Error code parameter not valid.
CPF3C1D E Length specified in parameter &1 not valid.
CPF3C19 E Error occurred with receiver variable specified.
CPF3C21 E Format name &1 is not valid.
CPF3C24 E Length of the receiver variable is not valid.
CPF3C3A E Value for parameter &2 for API &1 not valid.
CPF3C36 E Number of parameters, &1, entered for this API was not valid.
CPF3C90 E Literal value cannot be changed.
CPF980A E &1 routine in &2 module detected an exception. The exception return code was &3.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


API introduced: V2R3

[ Back to top | Work Management APIs | APIs by category ]