Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. infacmd autotune Command Reference
  10. Infacmd bg Command Reference
  11. infacmd ccps Command Reference
  12. infacmd cluster Command Reference
  13. infacmd cms Command Reference
  14. infacmd dis Command Reference
  15. infacmd dps Command Reference
  16. infacmd edl Command Reference
  17. Infacmd es Command Reference
  18. infacmd ihs Command Reference
  19. infacmd ipc Command Reference
  20. infacmd isp Command Reference
  21. infacmd ldm Command Reference
  22. infacmd mas Command Reference
  23. infacmd mi Command Reference
  24. infacmd mrs Command Reference
  25. infacmd ms Command Reference
  26. infacmd oie Command Reference
  27. infacmd ps Command Reference
  28. infacmd pwx Command Reference
  29. infacmd rms Command Reference
  30. infacmd rtm Command Reference
  31. infacmd sch Command Reference
  32. infacmd search Command Reference
  33. infacmd sql Command Reference
  34. infacmd tdm Command Reference
  35. infacmd wfs Command Reference
  36. infacmd ws Command Reference
  37. infacmd xrf Command Reference
  38. infacmd Control Files
  39. infasetup Command Reference
  40. pmcmd Command Reference
  41. pmrep Command Reference
  42. Working with pmrep Files

Command Reference

Command Reference

TruncateLog

TruncateLog

Deletes details from the repository. You can delete all logs, or delete logs for a folder or workflow. You can also enter a date and delete all logs older than that date.
The command returns “truncatelog completed successfully” or returns a “Failed to execute truncatelog” message. The truncate operation might fail for the following reasons:
  • The folder name is not valid.
  • The workflow does not exist in the given folder.
  • You specified a workflow, but no folder name.
The TruncateLog command uses the following syntax:
truncatelog 

-t <logs_truncated (all or up to end time in MM/DD/YYYY HH24:MI:SS format or as number of days before current date)>

[-f <folder_name>]

[-w <workflow_name>]
The following table describes pmrep TruncateLog options and arguments:
Option
Argument
Description
-t
logs_truncated
Required. Use “all” to delete all logs, or enter an end time. pmrep deletes all logs older than the end time. You can enter the end time with the format MM/DD/YYYY HH24:MI:SS, or you can specify the number of days before the current date. If you specify the number of days, the end time must be an integer greater than 0.
-f
folder_name
Optional. Deletes logs associated with the folder. If you do not give both the folder name and the workflow name, then pmrep deletes all logs from the repository.
-w
workflow_name
Optional. Deletes logs associated with the workflow. The Repository Service deletes all logs from the repository if you do not give both the folder name and the workflow name. If you give both the folder name and workflow name, the Repository Service deletes logs associated with the workflow. If you enter the workflow name, you must also provide the folder name.


Updated April 22, 2019