spdsclean -libnamefile <path-to-libnames.parm> [-acl][-all][-domains <domain,...>] [-lib11|+lib11][-tmp|+tmp][-vdomain|+vdomain][-verbose|+ verbose]
spdsclean -logdir <path-to-logfile-directory> [-logAge <days>]
spdsclean -parmfile <path-to-spdsserv.parm> [-vwork|+vwork][-verbose|+ verbose]
runs a cleanup on the SPD Server environment that is defined in the libnames.parm parameter file. You must specify the full pathname to the libnames.parm parameter file as input. By default, the spdsclean utility deletes residual lock files that were left behind in the domain directory and removes any temporary (TEMP=yes) directories and files. These files and directories are deleted for all of the domains that are defined in the libnames.parm parameter file. The spdsclean utility does not remove ACL files or the domain state file. Use the -domains option with pattern matching to filter the domains that you want to clean in the libnames.parm parameter file. Options are available to include ACL files and the domain state file in the files to be deleted, and to suppress the default deletion of residual temporary files. For examples of how the -libnamefile option can be used, see Cleaning Residual Temporary Server Domain Files , Cleaning Specified Domains, and Cleaning Other Domain File Classes.
specifies the path for SPD Server to use when cleaning server log files. SPD Server searches the specified log path directories for .spdslog files. When .spdslog files are found, SPD Server checks them for aging criteria. You specify the aging criteria by using the -logage option. When spdsclean finds server log files that have a creation date that is older than the number of days specified in -logage, spdsclean deletes the files. Files that are equal to or less than the specified age are retained. For an example of how the -logdir option is used, see Cleaning Log Files.
runs cleanup on the SPD Server environment that is defined in the spdsserv.parm parameter file. You must specify the full pathname to the spdsserv.parm parameter file as input. The cleanup action empties all directory resources that are defined in the spdsserv.parm parameter file. For example, all files in the WORKPATH= path list are deleted. For an example of how -parmfile is used, see Cleaning WORKPATH Files on Your Server.