

Accessing Auxiliary Storage: FILE › Work with DL/I Databases › FILE Functions for DL/I Databases › Delete DL/I Segments
Delete DL/I Segments
Follow this procedure to delete a DL/I segment:
Note: To avoid damage to the integrity of the database, take the same precautions that you take when you program in DL/I.
- Enter the following required information:
FUNC= GHU, GHN, or GHNP
SIZE= size of the DL/I segment
- Enter the following optional information:
SSA= the SSAs needed to retrieve the requested segment
- Press Enter. The returned PCB information is displayed in the lower‑right area of the FILE screen. If the call is successful, the segment is also displayed. The STAT field indicates if the call is successful.
- To delete the retrieved segment, enter:
- FUNC= DLET
- Press Enter. The returned PCB information is displayed.
Example
To delete the SKILL segment whose key is ARTIST, follow these steps:
- Specify the following:
FUNC= GHU SSA= SKILL (SKILCODE= ARTIST)
- Press Enter.
- Specify the following:
FUNC= DLET
- Press Enter.
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|