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

AddToDeploymentGroup

AddToDeploymentGroup

Adds objects to a deployment group. Use AddToDeploymentGroup to add source, target, transformation, mapping, session, worklet, workflow, scheduler, session configuration, and task objects.
You cannot add checked out objects to a deployment group. You can specify objects using command options or you can use a persistent input file. If you use a persistent input file, you can enter the deployment group name option.
Use AddToDeploymentGroup to add reusable input objects. If you want to add non-reusable input objects, you must use a persistent input file that contains encoded object IDs.
If AddToDeploymentGroup runs successfully, it either sends back no status information, or it returns a list of objects that are already in the deployment group. If the command fails, it displays the reason for failure.
The AddToDeploymentGroup command uses the following syntax:
addtodeploymentgroup -p <deployment_group_name> {{-n <object_name>   -o <object_type>   -t <object_subtype>]   [-v <version_number>]   [-f <folder_name>]} |   [-i <persistent_input_file>]} [-d <dependency_types (all, "non-reusable", or none)>] [-s dbd_separator]
The following table describes
pmrep
AddToDeploymentGroup options and arguments:
Option
Argument
Description
-p
deployment_group_name
Required. Name of the deployment group to add objects to.
-n
object_name
Required when you add a specific object. Name of the object you are adding to the deployment group. You cannot enter the name of a checked out object. You cannot use the -n option if you use the -i option.
-o
object_type
Required when adding a specific object. Type of object you are adding. You can specify source, target, transformation, mapping, session, worklet, workflow, scheduler, session configuration, task, cube, and dimension.
-t
object_subtype
Required when using valid subtypes. Type of task or transformation you are adding. For more information about valid subtypes, see Listing Object Types.
-v
version_number
Optional. Version of the object to add. Default is the latest version of the object. The command fails if you specify a version number for a non-versioned repository.
-f
folder_name
Required when you enter an object name. Folder that contains the object you are adding.
-i
persistent_input_file
A text file generated from ExecuteQuery, Validate, or ListObjectDependencies that contains a list of object records with encoded IDs. If you use this parameter,
pmrep
does not allow the -n, -o, and -f options.
-d
dependency_types
Optional. Dependent objects to add to the deployment group with the object. Enter one of the following:
  • all.
    pmrep
    adds the objects and all dependent objects, reusable and non-reusable, to the deployment group.
  • “non-reusable”.
    pmrep
    adds the objects and the corresponding non-reusable dependent objects to the deployment group.
  • none.
    pmrep
    does not add dependent objects to the deployment group.
If you omit this parameter,
pmrep
adds the objects and all dependent objects to the deployment group.
Use double quotes around arguments that contain spaces or non-alphanumeric characters.
-s
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 (\).

0 COMMENTS

We’d like to hear from you!