An object associated with a parameter can be deleted with the DAT_DELET
routine – it calls HDS_ERASE
to delete a top-level object, and DAT_ERASE
to delete lower-level objects recursively. The association is
then cancelled.
If an object has not already been associated with the specified parameter, an object name will be obtained from the parameter system.
The ACCESS
Field (see SUN/115) specified in the Interface Module for the program must be ‘WRITE’
or ‘UPDATE’, otherwise status SUBPAR_ICACM
will be returned.