Dump Device (QTADMPDV) API


  Required Parameter Group:

1 Device name Input Char(10)

  Optional Parameter Group:

2 Type of information Input Char(10)
3 Problem identifier Input Char(10)
4 Error code I/O Char(*)

  Default Public Authority: *USE

  Threadsafe: No

The Dump Device (QTADMPDV) API collects information for your IBM service representative. This API should be used immediately after a suspected device and/or tape management system failure. If the API is not used immediately, other device operations may cause the flight recorders to wrap, which could result in lost information. A problem identifier will be created and an APAR library will be generated similar to the Save APAR Data (SAVAPARDTA) command. To save the APAR library, use Work with Problem (WRKPRB) command. Choose the option to work with the problem and then the option to save the APAR library. If an existing problem identifier is passed to this API, then the spooled files generated will be logged against that problem identifier and no new problem identifier will be generated.

The Dump Device API currently supports the following device types:

Note: The information provided in and the number of spooled files may change at anytime. The information provided is intended for problem determination.

The Dump Device (QTADMPDV) API dumps the following information for tape or tape media library devices, into spooled files:

Note that this API will generate multiple spooled files that may get large depending upon the job logs that are being printed and the size of the other device information. Submitting the call to batch may be used if system performance is a concern. That is, if the API is called from the system console at high priority, it may degrade performance on other critical processing. Since many and potentially large spooled files may be generated, ensure that there is enough system storage available to handle the request.


Authorities and Locks

Start of change
Device description: *USE

To dump the IOP trace you need use (*USE) authority to the Control Device API (QTACTLDV).
See the documentation for this API for additional authority requirements.

To dump the PTF details you need use (*USE) authority to the Display Program Temporary Fix (DSPPTF) command.
See the documentation for this command for additional authority requirements.

To dump the VLOGS you need use (*USE) authority to the Print Internal Data (PRTINTDTA) command and Service (*SERVICE) special authority.
See the documentation for this command for additional authority requirements.

To dump the Product Activity Logs (PALS) you need use (*USE) authority to the Print Error Log (PRTERRLOG) command.
See the documentation for this command for additional authority requirements.

To dump the QTAPARB job log and display job information, you need Job Control (*JOBCTL) and All Object (*ALLOBJ) special authorities.

To dump the Media Library Inventory file description, you need use (*USE) authority to the QATAMID and QLTAMID files in QUSRSYS.

To dump the Media Library Category file description, you need use (*USE) authority to the QATACGY and QLTACGY files in QUSRSYS.

To dump the Cartridge Filter file description, you need use (*USE) authority to the QATAFTR file in QUSRSYS.

To dump the QTAHRSRV flight recorders you need use (*USE) authority to the Dump System Object (DMPSYSOBJ) command.
See the documentation for this command for additional authority requirements.

End of change

Required Parameter

Device name
INPUT; CHAR(10)

The name of the device for which debugging information is being dumped.


Optional Parameter Group

Type of information
INPUT; CHAR(10)

The type of information to be dumped.
Valid values are:

*ALL All information needed by IBM will be dumped to spooled files.
*MSE Media and Storage Extension (MSE) flight recorder will be dumped.
Start of change This is only valid for tape or tape media library devices. End of change

Problem identifier
INPUT; CHAR(10)

The problem identifier of the problem being analyzed. Problems with different system origins can have the same identifier. The possible values are:

*NEW A problem identifier will be created.
problem-identifier The 10-character problem identifier of the problem being selected.

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.


Examples

The following are examples of calls to the API from command entry:


Error Messages

Message ID Error Message Text
CPF3C90 E Literal value cannot be changed.
CPF6709 E Parameter &3 not correct.
CPF6721 E Device &1 not a tape device.
CPF673F E Device &1 does not support &2.
CPF9814 E Device &1 not found.
CPF9825 E Not authorized to device &1.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


API introduced: V4R1
Top | Backup and Recovery APIs | APIs by category