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

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 (\).


Updated October 22, 2020