Get System Service Tools Data (QSMGSSTD) API


  Required Parameter Group:


  Default Public Authority: *EXCLUDE

  Threadsafe: No

The Get System Service Tools (SST) Data (QSMGSSTD) API allows calling a subset of the SST commands and writes the information to a spooled file. Only one instance of this program can be active within a process.


Authorities and Locks

Authority to use the API
To use this API, you must have service (*SERVICE) special authority.

Authority to call the SST commands
To call SST commands, the current user profile calling the SST command must be linked to a Service Tools User ID with the proper privileges to run the SST command.
  1. Unless otherwise stated the SST command requires the Service Tool Server privilege DisplayAlterDump.
  2. Disabled Service tool profiles are allowed to perform Display/Alter/Dump functions.

Required Parameter Group

Request information
INPUT; CHAR(*)

Information concerning the SST command to call. The format of this information depends on the specified format of request information.

Length of request information
INPUT; BINARY(4)

The total length in bytes of the request information input variable.

Format of request information
INPUT; CHAR(8)

The content and format for the request information. The possible format names are:

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


SSTD0100 Format

This format specifies the SST command name to run. For detailed descriptions of each field, see Field Descriptions.



Field Descriptions

SST command name. The name of the SST command to be called. To find the supported SST commands, see Supported SST commands.



Usage Notes

  1. The SST command name must be in EBCDIC (CCSID 037).

  2. The following example shows how to call QSMGSSTD to run the SSDGAUGE SST command from a CL program: CALL PGM(QSMGSSTD) PARM('SSDGAUGE' X'00000008' 'SSTD0100' X'00000000')

  3. If a job has swapped to a different user profile than the initial user when API QSMGSSTD is called, the spooled file output will be found in a QPRTJOB for the current user.


Supported SST commands

The following values are the supported SST commands:



Error Messages

The following messages may be sent from this function:




API introduced: IBM® i 7.2 by PTF

[ Back to top | Category_Name APIs | APIs by category ]