Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : DELETE_DEFN

DELETE_DEFN
Deletes the definition of an object. (C)
Invocation
CALL DELETE_DEFN(objecttype, instancename, library, environment, location, parentonly)
 
 
Usage Notes
Specify a value for parentonly only if the object is composed of one or more other objects (if, for example, a report is composed of report tables).
DELETE_DEFN eventually calls FORALLA on the tables that define an object. If the call to DELETE_DEFN is nested within a FORALL that specifies the same table and parameter values, unexpected behavior occurs, because the set of values returned by the outer FORALL is replaced by the occurrence returned by the FORALLA. To work around this, consider buffering the set of objects to be deleted in another temporary or TDS table and do the FORALL on that table instead.

Exceptions
 
Further information describing the circumstances of the failure is available in the @OBJECTMSG.MSG field.
Example
CALL DELETE_DEFN('SCREEN', 'NEW_EMPLOYEE2', '', '', '', 'N');
CALL DELETE_DEFN('LIBRARY', 'USR42', '','','','');

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved