The %RMDELPVT macro
deletes the unused private code macros that are stored in the data
libraries of staged and aggregation tables.
The private code macros
are in a catalog in each library called sasmacr. Each time the code
is generated for a job, either from the PFD or by deploying the job,
a new version of the private code macro is generated. Old versions
of the private code macros are not deleted, so the sasmacr catalog
continues to grow every time the code is generated.
The %RMDELPVT macro
deletes the unused private code macros from the sasmacr catalog.
%RMDELPVT determines whether a private code macro is still in use
by parsing the SAS code for all the deployed jobs and retrieving
the name of the private code macro from the code. (This private code
macro that is used in a deployed job is considered to be in use, and
it will not be deleted.) All private code macros that are not used
in deployed jobs will be deleted.