Emptying a historical data set
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
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
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
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