DROP Verb - Release Memory-Resident Public Program


DROP fileid{,ERR=lineref}


The DROP verb releases a memory-resident public program that the ADDR verb placed in memory.


Although the ADDR and DROP verbs are functional in BBj, their use is discouraged. Because the BBj program cache automatically adds and drops programs as needed, explicitly adding and dropping programs is no longer necessary and can interfere with BBj's automatic caching.

In BBj 20.0 and higher, setting the IGNORE_ADDR_DROP STBL("!COMPAT") option to TRUE will cause BBj to ignore the ADDR and DROP verbs. After setting this option to TRUE, legacy applications should be carefully tested to ensure that they don't include assumptions about the values returned by the PUB() function.




Memory-resident public program placed in memory by the ADDR verb. The name must exactly match the name used in the corresponding ADDR statement.


Branch to be taken if an error occurs during execution.

An active public program cannot be released. A public program cannot DROP itself or any program that CALLs it.


1000 DROP "TEST.BBX",ERR=9500

See Also

Verbs - Alphabetical Listing