Default language.

Deallocating a historical data set


To remove a historical data set that was dynamically allocated from the historical database and remove its name from the DSLIST view, issue the D line command. The D line command can be used against a historical data set that has a Status field value of Closed; it has no effect on data sets with another status or on data sets that are allocated to the historical database through a HISTDS nn DD statement.


  • Permanent deallocation occurs when you deallocate a data set that was dynamically added and then issue the SAVE command.
  • Temporary deallocation occurs if you issue only the D line command against a data set and not the SAVE command. The exception to this case is when a data set was added and saved during a previous session. The data set name appears in PARMFILE and is read and allocated as part of the historical database at the next PAS initialization.
  • Issue the SAVE command to permanently remove a data set name from PARMFILE and permanently deallocate the data set from the historical database.

The following example shows how to issue the D line command against a closed data set to remove the historical data set from the DSLIST view.

Using the D line command to deallocate 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 Closed ******  PROD1.IMAGSY
d HISTDS02 dd/mm/yyyy hh:mm dd/mm/yyyy hh:mm No  Closed ******  PROD1.IMAGSY

After you press Enter, the data set is deallocated and removed from the DSLIST view. You can reallocate a historical data set again by using the ADD command.

 

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