Over time, a large number of potentially large files can accumulate in the subdirectories cofiles, data, and log of the global transport directory. These contain important information, but they also require space and become obsolete.
For more information on the parameters for these commands, see Transport Profile. To get the current values, use the command tp showparams <sapsid>.
You do not need a connection to the database to execute the commands that are mentioned above. The function is independent of the installed SAP release.