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

UpdateTargPrefix

UpdateTargPrefix

Updates the table name prefix for session target tables. The table name prefix specifies the owner of the table in the database. You can update the owner name for one or all targets specified in a session. UpdateTargPrefix updates the target table name prefix at the session level.
pmrep
updates table name prefixes if you previously edited the table name prefix at the session level.
The UpdateTargPrefix command uses the following syntax:
updatetargprefix -f <folder_name> -s [<qualifying_path>.]<session_name> [-t <target_name>] -p <prefix_name> [-n (use target instance name; not using -n gives old, deprecated behavior)]
The following table describes the
pmrep
UpdateTargPrefix options and arguments:
Option
Argument
Description
-f
folder_name
Required. Name of the folder containing the session.
-s
session_name
Required. Name of the session containing the targets to update.
For reusable sessions, enter the session name.
For non-reusable sessions, enter the session name and session path, such as
worklet_name.session_name
or
workflow_name.session_name
.
-t
target_name
Optional. Name of the target to update.
If you omit this option,
pmrep
updates all target table name prefixes in the session.
When you include the -n option, you can enter the name of the target instance as displayed in the session properties or as output by the ListTablesBySess command.
Although the UpdateTargPrefix command will run without the -n option, include the -n option to use the target instance name. When you omit the -n option, you must enter the target table name instead of the target instance name.
-p
prefix_name
Required. Table name prefix you want to update in the target table.
-n
-
Optional. Matches the target name argument with target instance names.
Although the UpdateTargPrefix command will run without the -n option, include the -n option to use the target instance name. When you omit this option,
pmrep
matches the target name argument with the target table names.

0 COMMENTS

We’d like to hear from you!