Previous Topic: Copy a DL/I SegmentNext Topic: DB2 and SQL/DS Databases


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.

  1. Enter the following required information:
    FUNC= GHU, GHN, or GHNP
    SIZE= size of the DL/I segment
    
  2. Enter the following optional information:
    SSA= the SSAs needed to retrieve the requested segment
    
  3. 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.
  4. To delete the retrieved segment, enter:
  5. FUNC= DLET
  6. Press Enter. The returned PCB information is displayed.

Example

To delete the SKILL segment whose key is ARTIST, follow these steps:

  1. Specify the following:
    FUNC= GHU SSA= SKILL (SKILCODE= ARTIST)
    
  2. Press Enter.
  3. Specify the following:
    FUNC= DLET
    
  4. Press Enter.