Recovering a CAS definition


To recover a CAS definition that was deleted from the CAS definition member (BBMTYBxx) in the parameter (UBBPARM) library, use the UNDelete command. UNDelete can be used at any time while you are in edit mode. For more information about edit mode, see Editing-CAS-definitions.

Important

You cannot use the UNDelete command to recover a deleted CAS definition if:

  • (Both CASDEF and CASDEFD views) You use the END command or its corresponding PF key to save the CAS definition member or exit edit mode prior to using this command.
  • (CASDEF view only) You use the CANcel command on the COMMAND line of the view.

Before you begin in CASDEF view

When a CAS definition is deleted in CASDEF view, it disappears from list of CAS definitions. Before you can recover that definition, you must use the use the SHOWDel command to return it to the list. To do this, enter SHOWD on the COMMAND line. Any deleted definitions reappear in the list with a value of Y under the Del column to indicate that they are marked for deletion when the member is released from edit mode.

To delete a CAS definition

Depending on the view you are working from, use one of the following forms of the DELete command: When you complete this action the status field on the window information line will be (00 EDIT  MOD   ). This indicates that the edit lock is still active but that the change has not yet been saved to the CAS definition member (the CAS definition member has been modified). To save the CAS definition member, see Saving CAS definitions.

Primary command

You can use the Primary command from the COMMAND line in either the CASDEF or CASDEFD view.

  • CASDEF view
    UND casname: The CAS definition specified by casname is recovered and the value of Y under the Del column changes to N.
  • CASDEFD view
    UND: The currently displayed CAS definition is recovered. In the details of the definition, under Update Info, the value for Deleted? changes to No.

Line command

For both views, the command is the same.

  • CASDEF view
    UND: Enter under CMD, next to the CAS definition you want to recover. The value of Y under the Del column changes to N.

  • CASDEFD view
    UND: Enter next to CAS Name for the CAS definition currently displayed in the view. In the details of the definition, under Update Info, the value for Deleted? changes to No.

 

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