CEEPDEL — enclave level delete service

The CEEPDEL CWI callable service deletes the specified routine. The underlying host services are used to delete the routine.

Syntax

void (*CEECELVPDEL) (name_len, name, [fc])
INT4    *name_len;
CHAR8   *name;
FEEDBACK *fc;
CEECELVPDEL
A field in the Language Environment LIBVEC that points to the program delete CWI. Call this CWI interface as follows:
L     R15,CEECAACELV-CEECAA(,R12)     CAA address is in R12
L     R15,0084(,R15)
BALR  R14,R15
name_len (input)
The number of bytes of the following load module name.
name (input)
The name of the routine to be deleted.
fc (output)
A parameter which contains the condition token. The possible conditions are:
Condition  
CEE000 Severity 0
Msg_No N/A
Message The service completed successfully.
CEE3DG Severity 3
Msg_No 3504
Message Delete service request for module [module_name] was unsuccessful.
Usage Notes:
  1. Language Environment maintains a list of all modules loaded by the low-level load service. This list is maintained so that Language Environment can delete all modules it loaded with the low-level load service during the life of the environment.
  2. If more than one load is issued for a module, multiple loads are not performed. For the first load request, the module is brought into storage. If any subsequent load requests are made for that module, its address is returned and a use count is maintained for it.
  3. If a delete request is made, the use count decrements and, when it reaches zero, the module is deleted from virtual storage.
  4. It should be noted that calling a deleted entry point is an error and causes unpredictable results.