Default language.

Emptying a historical data set


To reset, or empty, a historical data set and make it available for reuse, issue the R line command.


Important

Offload the data into an inactive historical data set or to tape first if you want to save it for later use. See Archiving-and-retrieving-historical-data for more information.

The R line command can be used against a historical data set that has a Status field value of Closed or Error; it has no effect on data sets with another status.

The following example shows how to issue the R line command against a closed data set to empty a historical data set.

Using the R line command to empty a historical data set

 ddmmmyyyy  hh:mm:ss ----- BMC AMI Ops WINDOW INTERFACE (Vv.r.mm) ----------
COMMAND  ===>                                               SCROLL ===> PAGE
CURR WIN ===> 1        ALT WIN ===>
>W1 =DSLIST===========SYSB=====*=======dd/mm/yyyy=hh:mm:ss====MVMVS==D=====3
C DDNAME   From Date  Time  To Date    Time  Rec Status Pending Data set nam
- ------   ---------- ----- ---------  ----- --- ------ ------- ------------
  HISTDS01 dd/mm/yyyy hh:mm dd/mm/yyyy hh:mm Yes Active ******  PROD1.IMAGSY
  HISTDS03 dd/mm/yyyy hh:mm dd/mm/yyyy hh:mm Yes Qscd   ******  PROD1.IMAGSY
r HISTDS02 dd/mm/yyyy hh:mm dd/mm/yyyy hh:mm No  Closed ******  PROD1.IMAGSY

When the R line command is issued, the Reset Confirm dialog, shown in this next example, is displayed for confirmation that you want to discard the data.

Confirming that a historical data set should be emptied

                              Reset Confirm
COMMAND ===>                                                SCROLL ===> PAGE

Confirm the resetting of the Interval Recorder dataset
 Dataset name:             PROD1.IMAGSYSB.HISTDS02
 Confirm reset of dataset:       (Yes/No)

END to exit resetting historical dataset
CANCEL to exit without resetting historical dataset
HELP to view related help
RESET to reset to initial data

To empty the data set, type Yes and press END. To cancel the reset command, type No or leave the field blank.

When END is entered, the DSLIST view is redisplayed. The following example shows how the empty data set is displayed on the DSLIST view.

How an empty historical data set is displayed

ddmmmyyyy  hh:mm:ss ----- BMC AMI Ops WINDOW INTERFACE (Vv.r.mm) -----------
COMMAND  ===>                                               SCROLL ===> PAGE
CURR WIN ===> 1        ALT WIN ===>
>W1 =DSLIST===========SYSB=====*=======dd/mm/yyyy=hh:mm:ss====MVMVS==D=====3
C DDNAME   From Date  Time  To Date    Time  Rec Status Pending Data set nam
- ------   ---------- ----- ---------  ----- --- ------ ------- ------------
  HISTDS01 dd/mm/yyyy hh:mm dd/mm/yyyy hh:mm Yes Active ******  PROD1.IMAGSY
  HISTDS03 dd/mm/yyyy hh:mm dd/mm/yyyy hh:mm Yes Qscd   ******  PROD1.IMAGSY
  HISTDS02            00:00            00:00 No  Closed ******  PROD1.IMAGSY

Important

If the Rec field indicates No for an empty data set, use the O line command to enable this data set for recording; see Changing-recording-eligibility.

 

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