PromptAdd
The
PromptAdd
verb imports
prompts defined in IBM® Cognos® package and report data
sources.
PromptAdd promptname DataSource datasource ID promptopts
Argument |
Description |
---|---|
prompt name |
Specifies the name of the prompt. |
data source name |
Specifies the name of the IBM Cognos package, report, or query data source. |
promptopts |
Specifies the prompt type and prompt value. Simple-value, multi-value, and range prompts are type "xsdString"; Member Unique Name (MUN) prompts, for SAP and DMR data sources only, are type "memberUniqueName". |
Example
This example adds a prompt named Product Name 1 with type xsdString and value BugShield Natural for the package 574942~1.
PromptAdd "Product Name1" DataSource "574942~1" PromptType "xsdString"
PromptValue "BugShield Natural"