CALL GDELETE
(segment-name) ;
The GDELETE subroutine is a graphical call that searches the current catalog and deletes the first segment found with the name segment-name.
An example of a valid statement follows:
/* SEG_A is defined as a character matrix */ /* that contains the name of the segment to delete */ call gdelete(seg_a);
The segment can also be specified as a quoted literal, as follows:
call delete("plot_13");