The CANCEL statement removes the logical relationship to another program. Format - CANCEL { prog-name } ...
1 – prog-name
is a nonumeric literal or the identifier of an alphanumeric data item. It contains the program-name of the program to be cancelled.