Common Content for Data Engineering
- Common Content for Data Engineering 10.2.2
- All Products
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>]
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 (\).
|