Recovering a CAS definition
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.