The QDIRSRV2 library is used to store publishing information for LDAP. If you are not using LDAP you can delete those *USRSPC objects. I would also recommend turning off Publishing so that these USRSPC objects don't continue to get recreated.
To turn off publishing go into iSeries Navigator:
click My AS400 Connections
right click on your system
click the "Directory Service" tab
click once on Users
Uncheck "Publish User information" (note: if it is already unchecked, then leave it unchecked)
Next, click System once,
uncheck "Publish System Information"
This process should prevent the USRSPC objects from building up.Also, another thing that could create USRSPC objects is if a TRCTCPAPP is left running. For example, if you do TRCTCPAPP APP(*DIRSRV) SET(*CHK) it will show if that trace is running by displaying your joblog after executing that command. You can check other traces to see if they are running by using that *CHK parameter.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: Tips, tutorials and more.
Visit the ITKnowledge Exchange and get answers to your systems management questions fast.
Read this Search400.com Featured Topic: Take control of your iSeries.
Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.