Delete Historical Data (DLTHSTDTA)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Delete Historical Data (DLTHSTDTA) command deletes historical data for selected members from the historical database files.

Top

Parameters

Keyword Description Choices Notes
MBR Member Single values: *SELECT
Other values (up to 50 repetitions): Name
Optional, Positional 1
LIB Library Name, QPFRDATA Optional
JOBD Job description Single values: *NONE
Other values: Qualified object name
Optional
Qualifier 1: Job description Name, QPFRJOBD
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

Member (MBR)

Specifies the member whose historical data is to be deleted.

*SELECT
Lists all members available in the specified library so that you can select members that have historical data to be deleted. This value is valid only in an interactive environment.
member-name
Specify the member whose historical data is to be deleted from the database files. Up to 50 members can be specified.
Top

Library (LIB)

Specifies the library where the files are located.

The possible library values are:

QPFRDATA
The IBM-supplied performance data library, QPFRDATA, is where the files are located.
library-name
Specify the name of the library where the files are located.
Top

Job description (JOBD)

Specifies the job description used to submit jobs for batch processing.

*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the job description. If no library is specified as the current library for the job, QGPL is used.
library-name
Specify the name of the library where the job description is located.
QPFRJOBD
The IBM-supplied performance tools job description is used.
job-description-name
Specify the name of an alternate job description.
*NONE
A batch job is not submitted; instead, processing continues interactively while the user waits. The user's work station cannot be used during this time. This is something to consider for especially long jobs.
Top

Examples

None
Top

Error messages

*ESCAPE Messages

PFR9033
Too many items selected to be deleted.
PFR9038
Cannot delete historical data from member &2.
PFR9053
Historical data does not exist for member &2.
Top