Inhaltsverzeichnis

Search

  1. Vorwort
  2. Befehlszeilenprogramme und Dienstprogramme
  3. Installieren und Konfigurieren von Befehlszeilendienstprogrammen
  4. Verwenden der Befehlszeilenprogramme
  5. Umgebungsvariablen für Befehlszeilenprogramme
  6. Verwenden von infacmd
  7. infacmd as-Befehlsreferenz
  8. infacmd aud-Befehlsreferenz
  9. infacmd autotune-Befehlsreferenz
  10. Infacmd bg-Befehlsreferenz
  11. infacmd ccps-Befehlsreferenz
  12. infacmd cluster-Befehlsreferenz
  13. infacmd cms-Befehlsreferenz
  14. infacmd dis-Befehlsreferenz
  15. infacmd dp-Befehlsreferenz
  16. infacmd idp-Befehlsreferenz
  17. infacmd edpl-Befehlsreferenz
  18. Infacmd es-Befehlsreferenz
  19. infacmd ihs-Befehlsreferenz
  20. infacmd ipc-Befehlsreferenz
  21. Infacmd isp-Befehlsreferenz
  22. infacmd ldm-Befehlsreferenz
  23. infacmd mas-Befehlsreferenz
  24. infacmd mi-Befehlsreferenz
  25. infacmd mrs-Befehlsreferenz
  26. infacmd ms-Befehlsreferenz
  27. Infacmd oie-Befehlsreferenz
  28. infacmd ps-Befehlsreferenz
  29. infacmd pwx-Befehlsreferenz
  30. infacmd roh-Befehlsreferenz
  31. infacmd rms-Befehlsreferenz
  32. infacmd rtm-Befehlsreferenz
  33. infacmd sch-Befehlsreferenz
  34. infacmd search-Befehlsreferenz
  35. infacmd sql-Befehlsreferenz
  36. infacmd tdm-Befehlsreferenz
  37. infacmd tools-Befehlsreferenz
  38. infacmd wfs-Befehlsreferenz
  39. infacmd ws-Befehlsreferenz
  40. infacmd xrf-Befehlsreferenz
  41. infacmd-Steuerdateien
  42. infasetup-Befehlsreferenz
  43. Pmcmd-Befehlsreferenz
  44. pmrep-Befehlsreferenz
  45. Arbeiten mit pmrep-Dateien

Command Reference

Command Reference

ListObjectDependencies

ListObjectDependencies

Lists dependency objects for reusable and non-reusable objects. If you want to list dependencies for non-reusable objects, you must use a persistent input file containing object IDs. You can create this file by running a query and choosing to create a text file.
ListObjectDependencies accepts a persistent input file and it can create a persistent output file. These files are the same format. If you create an output file, use it as input to the ApplyLabel, AddToDeployment Group, or Validate
pmrep
commands.
ListObjectDependencies returns the number of records if the command runs successfully.
The ListObjectDependencies command uses the following syntax:
listobjectdependencies {{-n <object_name>   -o <object_type>   [-t <object_subtype>]   [-v <version_number>]   [-f <folder_name>] } |    -i <persistent_input_file>} [-d <dependency_object_types>] [-p <dependency_direction (children, parents, or both)>] [-s (include pk-fk dependency)] [-g (across repositories)] [-u <persistent_output_file_name>   [-a (append)]] [-c <column_separator>] [-r <end-of-record_separator>] [-l <end-of-listing_indicator>] [-b (verbose)] [-y (print database type)] [-e <dbd_separator>]
The following table describes
pmrep
ListObjectDependencies options and arguments:
Option
Argument
Description
-n
object_name
Required. Name of a specific object to list dependencies for.
-o
object_type
Required. Object type to list dependencies for. You can specify source, target, transformation, mapping, session, worklet, workflow, scheduler, session, session config, task, cube, dimension, query and deploymentgroup.
-t
object_subtype
Type of transformation, task, or query. Ignored for other object types. For more information about valid subtypes, see Listing Object Types.
-v
version_number
Optional. List dependent objects for an object version other than the latest version. You must use this option only for versioned repositories. It does not apply to non-versioned repositories.
-f
folder_name
Folder containing object name. Folder is required if you do not use the -i option.
-i
persistent_input_file
Optional. Text file of objects generated from ExecuteQuery or Validate commands. You must use this file if you want to list dependencies for non-reusable objects.
If you use this option, then you cannot use the -n, -o, -f options to specify objects.
-d
dependency_object_types
Optional. Type of dependent objects to list. You can enter ALL or one or more object types. Default is ALL.
If ALL, then
pmrep
lists all supported dependent objects. If you choose one or more objects, then
pmrep
lists dependent objects for these types. To enter multiple object types, separate them by commas without spaces.
-p
dependency_direction
Required if you do not use the -s option. Parents or children dependent objects to list. You can specify parents, children, or both. If you do not use the -p option,
pmrep
does not list parent or child dependencies.
-s
-
Required if you do not use the -p option. Include the primary key-foreign key dependency object regardless of the direction of the dependency. If you do not use the -s option,
pmrep
does not list primary-key/foreign-key dependencies.
-g
-
Optional. Find object dependencies across repositories.
-u
persistent_output_file_name
Send the dependency result to a text file. Use the text file as input to the ApplyLabel, AddToDeployment Group, or Validate
pmrep
commands. The default sends the query result to stdout. You cannot use the -b and -c options with this option.
-a
-
Append the result to the persistent output file instead of overwriting it.
-c
column_separator
Character or set of characters used to separate object metadata columns. Use a character or set of characters that is not used in repository object names. If any repository object name contains spaces, you might want to avoid using a space as a column separator. You cannot use this option with the -u option.
If you omit this option,
pmrep
uses a single space.
-r
end-of-record_
separator
Character or set of characters used to specify the end of the object metadata. Use a character or set of characters that is not used in repository object names.
Default is newline /n.
-l
end-of-listing_indicator
Character or set of characters used to specify the end of the object list. Enter a character or set of characters that is not used in repository object names.
If you omit this option,
pmrep
uses a period.
-b
-
Verbose. Displays more than the minimum information about the objects. If you omit this option,
pmrep
displays a shorter format including the object type, the word reusable or non-reusable, the object name and path. Verbose format includes the version number and folder name.
The short format for global objects, such as label, query, deployment group, and connection, includes the object type and object name. Verbose format includes the creator name and creation time. You cannot use this option with the -u option.
-y
-
Optional. Displays the database type of sources and targets.
-e
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 (\).