$DEL LOADmod - Remove a load module from storage
Function
To discontinue use of an installation load module. Once the module is no longer in use, the storage associated with the module is freed (unless the module was in LPA).
Before using this command, ensure that the module to delete supports dynamic deletion. See z/OS JES2 Installation Exits for more information about considerations for dynamic load modules.
Syntax
Parameters
- jxxxxxxx
- Specifies the name of the module to delete.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure that the authority of the appropriate MVS™ system command group is assigned.
This command requires control security access authority. See z/OS JES2 Initialization and Tuning Guide for a description of assigning command input authority.
Scope
Single member. This values supplied for this command will be in effect for this member only.
Depending on the setup of installation, you might want this command to be applied to all members of the MAS to ensure a consistent environment. If the JES2 command character is the same on all members, you can use the MVS ROUTE *ALL command to issue this command to all active members. See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP819 message indicates that the specified load module has been deleted.
Examples
1 Exit 5 specifies that routine EXIT05, which resides in load module HASX05A, will be invoked:
$d exit(5),routines
$HASP823 EXIT(5) ROUTINES=(EXIT05)
Use $DEL LOADMOD to delete load module HASX05A:
$del loadmod(hasx05a)
$HASP819 LOADMOD(HASX05A)
$HASP819 LOADMOD(HASX05A) ADDRESS=09C73000,
$HASP819 LOADTIME=(2007.337,15:17:59),
$HASP819 STORAGE=PVT - ELEMENT DELETED
After the module has been deleted, the routine specification on the EXIT(5) statement is null:
$d exit(5),routines
$HASP823 EXIT(5) ROUTINES=(EXIT05(NULL))
The routine name is remembered in case a $T EXIT(5),REFRESH command is issued. However, no actual routine is called for this exit.