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 dp Command Reference
  16. infacmd idp Command Reference
  17. infacmd edp Command Reference
  18. Infacmd es Command Reference
  19. infacmd ihs Command Reference
  20. infacmd ipc Command Reference
  21. infacmd isp Command Reference
  22. infacmd ldm Command Reference
  23. infacmd mas Command Reference
  24. infacmd mi Command Reference
  25. infacmd mrs Command Reference
  26. infacmd ms Command Reference
  27. infacmd oie Command Reference
  28. infacmd ps Command Reference
  29. infacmd pwx Command Reference
  30. infacmd roh Command Reference
  31. infacmd rms Command Reference
  32. infacmd rtm Command Reference
  33. infacmd sch Command Reference
  34. infacmd search Command Reference
  35. infacmd sql Command Reference
  36. infacmd tdm Command Reference
  37. infacmd tools Command Reference
  38. infacmd wfs Command Reference
  39. infacmd ws Command Reference
  40. infacmd xrf Command Reference
  41. infacmd Control Files
  42. infasetup Command Reference
  43. pmcmd Command Reference
  44. pmrep Command Reference
  45. Working with pmrep Files

Command Reference

Command Reference

DeleteObject

DeleteObject

Deletes an object. Use DeleteObject to delete a source, target, user-defined function, mapplet, mapping, session, worklet or workflow.
The DeleteObject command uses the following syntax:
DeleteObject -o <object_type> -f <folder_name> -n <object_name> [-s dbd_separator]
The following table describes
pmrep
DeleteObject options and arguments:
Option
Argument
Description
-o
object_type
Required Type of the object you are deleting: source, target, mapplet, mapping, session, “user defined function”, worklet, workflow.
-f
folder_name
Required Name of the folder that contains the object.
-n
object_name
Required. Name of the object you are deleting. If you delete a source definition you must prepend the database name. For example, DBD.sourcename.
-s
dbd_separator
Optional. If an ODBC source has a period (.) in the name, define a different separator character when you define the source object. For example, instead of database_name.source_name, define the source object as database_name\source_name, and define the dbd_separator as backslash (\).
You can run the DeleteObject command against a non-versioned repository. If you run the DeleteObject command against a versioned repository,
pmrep
returns the following error:
This command is not supported because the versioning is on for the repository <Repository name>. Failed to execute DeleteObject

0 COMMENTS

We’d like to hear from you!