CLEAR


The CLEAR (CLE) service clears system dump data sets without printing the information.

Related topic

Use the CLEAR service in conjunction with the SDUMP service (which takes an SVC dump of one or more address spaces) and the SYSDUMP service (which lists the SVC dump data sets). See SDUMP and SYSDUMP.

Note

System-generated dump data set names are not supported by this service.

Syntax

GUID-CE5EA506-B65F-4E81-A58D-37E97C329C89-low.pngThe parameters are defined as follows:

Parameter

Description

ALL

clears all system dump data sets (default)

id

displays a one- or two-digit number representing the system dump data set to be cleared

PROMPT

lists the title of the dump contained in each full dump data set processed; in addition, the system issues a confirmation message

Valid responses to the confirmation message are as follows:

  • Y clears the system dump data set
  • E terminates the CLEAR service

If you type any character other than Y or E, the current system dump data set will be bypassed and the next full system dump data set (if any) will be processed.

Example

To clear the system dump data set #01, type

CLEAR 01

AMTC50I SYS1.DUMP01 WAS FILLED AT 10:20 ON JAN 21,2013[1]
AMTC51I SOURCE=SVCDUMP [2]
AMTC52I TITLE=LOW CORE OVERLAY (LOOP) [3]
AMTC50A ENTER Y TO CLEAR SYS1.DUMP01 [4]
y
AMTC53I 'SYS1.DUMP00' DATA SET CLEARED [5]
AMTC5AI CLEAR      PROCESSING COMPLETE

Legend:

  1. when the specified dump was taken
  2. system component that took the dump
  3. title of the dump
  4. operator verification is required before the specified data set is cleared
  5. dump data set has been successfully cleared

Usage notes

  • You can omit the first operand without using delimiting commas.
  • You can abbreviate the operands this way:
    • A for ALL
    • N for NOPROMPT
    • Y for PROMPT

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*