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 roh Command Reference
  30. infacmd rms Command Reference
  31. infacmd rtm Command Reference
  32. infacmd sch Command Reference
  33. infacmd search Command Reference
  34. infacmd sql Command Reference
  35. infacmd tdm Command Reference
  36. infacmd tools Command Reference
  37. infacmd wfs Command Reference
  38. infacmd ws Command Reference
  39. infacmd xrf Command Reference
  40. infacmd Control Files
  41. infasetup Command Reference
  42. pmcmd Command Reference
  43. pmrep Command Reference
  44. Working with pmrep Files

UpdateSrcPrefix

UpdateSrcPrefix

Updates the owner name for session source tables. You can update the owner name for one or all sources in a session. Updatesrcprefix updates the owner name for source tables at the session level.
pmrep
updates source table owner names if you previously edited the source table name in the session properties.
The UpdateSrcPrefix command uses the following syntax:
updatesrcprefix -f <folder_name> -s [<qualifying_path>.]<session_name> [-t <source_name>] -p <prefix_name> [-n (use source instance name; not using -n gives old, deprecated behavior)]
The following table describes the
pmrep
UpdateSrcPrefix 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 sources to update.
For reusable sessions, enter the session name.
For non-reusable sessions, you must also enter the session path, such as
worklet_name.session_name
or
workflow_name.session_name
.
-t
source_name
Optional. Name of the source to update.
If you omit this option,
pmrep
updates all source table owner names in the session.
When you include the -n option, you enter the name of the source instance as displayed in the session properties or as output by the ListTablesBySess command.
Although the UpdateSrcPrefix command will run without the -n option, include the -n option to use the source instance name.
If you omit the -n option, you must enter the dbd name and the source table name as
dbd_name.source_name
. You can find the source dbd name in the Designer Navigator. The Designer generates the dbd name from the source type or data source name when you create a source definition in the repository.
-p
prefix_name
Required. Owner name you want to update in the source table.
-n
-
Optional. Matches the source_name argument with source instance names.
Although the UpdateSrcPrefix command will run without the -n option, include the -n option to use the source instance name.
When you do not include this option,
pmrep
matches the source_name argument with the source table names.


Updated August 15, 2019