Data Integration Hub
- Data Integration Hub 10.4.1
- All Products
runsubscriptionpublication <-c|--command> publication|subscription <-n|--name> name <-u|--user> user <-p|--password> password [-r|--preprocess] [-f|--file "<parameters file path>"] [-v|--parameter "<key>=<value>"...] [--server "<hostname:port>"]
Option
| Argument
| Description
|
---|---|---|
-c
--command
| command
| Required. Command to run the publication or to run the subscription. Enter one of following commands:
|
-n
--name
| name
| Required. Name of the publication to run or of the subscription to run.
Data Integration Hub verifies the permissions and privileges to run the publication or the subscription against this user.
|
-u
--user
| user name
| Optional. User name of an Operation Console user account with the Manage Data privileges to run the
runsubscriptionpublication command. To run a subscription or a publication with the command, the user account must have run subscription or run publication privileges.
If you use Informatica domain authentication or Informatica domain with Kerberos authentication, the user name must specify the Informatica security domain, separated by the @ symbol. For example:
|
-U
| Environment variable
| Optional. Environment variable that contains a user name.
User name of an Operation Console user account with the Manage Data privileges to run the
runsubscriptionpublication command. To run a subscription or a publication with the command, the user account must have run subscription or run publication privileges.
If you use Informatica domain authentication or Informatica domain with Kerberos authentication, the user name must specify the Informatica security domain, separated by the @ symbol. For example:
You must specify at least one of the user name options, -u or -U.
|
-p
--password
| password
| Optional. Password for the Operation Console user that runs the
runsubscriptionpublication command.
|
-P
| Environment variable
| Optional. Environment variable that contains the a password.
Password for the Operation Console user that runs the
runsubscriptionpublication command. The password must be encrypted. Use
dxencrypt for the encrypted value.
You must specify at least one of the password options, -p or -P.
|
-r
--preprocess
| -
| Optional for the publication command. For publications where a pre-process is defined, this command runs the pre-process.
|
-f
--file
| parameters_file_path
| Optional. A path to a workflow parameter file.
Data Integration Hub uses the content of the file as the content of the workflow parameter file.
|
-v
--parameter
| <key>=<value>
| Optional. A key-value pair pass as a custom workflow parameter:
You can enter multiple parameters. For example:
-c subscription -v "employee_ID=148" -v "department=sales"
The parameter or parameters must be defined for the workflow of the entity that the API runs.
Data Integration Hub does not pass undefined parameters to
PowerCenter , and does not display an error.
|
--server
| hostname:port
| Optional. Host name and port number of the Data Integration Hub server. If you do not enter a value, the Run Publication Subscription API connects to the localhost server with the default port 18095.
You must enclose the value in quotation marks. For example:
-c subscription --server "localhost:18096"
|