Removing variables from the shared or profile pool

You can use the VDELETE or VRESET service to remove variables only from the function pool. However, if you wish to do some housekeeping in the other variable pools, you can use the VERASE service. The VERASE service allows you to remove variable names and values from the shared pool, the profile pool, or both. You can specify on the VERASE service request a list of one or more variable names to be removed from the shared pools or both. For example:
ISPEXEC VERASE (AGE ADDRESS SOCSEC) PROFILE
might be used to remove variable values for age, address, and social security number from the profile pool.

For detailed information about VERASE and other services, refer to the z/OS V2R2 ISPF Services Guide.