Previous Topic: #DELETE Status CodesNext Topic: #DELQUE—deletes all or part of a queue


#DELETE Example

The following example of the #DELETE statement notifies the system that the program or module whose entry-point address is contained in register 5 is no longer needed by the issuing task. The system can reuse this area in the program pool if space is needed.

#DELETE EPADDR=(R5)

The example shown below illustrates the use of the #LOAD and the #DELETE statements in a multiple dictionary environment. After execution of the #DELETE statement the area in the program pool in which EMPMENU resides is released and can be reused by issuing a new #LOAD request statement.

#LOAD PGM='EMPMENU'

.
.
.
#DELETE PGM='EMPMENU'