NewModel
NewModel
verb creates,
names, describes, and opens a Cognos®
Transformer
model.
The user interface equivalent is to click the New option on the File menu.
Cognos Transformer saves the model file in the My Documents/Transformer/Models directory, unless a server path is specified.
Running NewModel
will close
previously opened files without saving them. If you want to save a
file, you must use the verb SaveMDL
or SavePY
before
you use the NewModel
verb.
The syntax is as follows:
NewModel objModel [appqueryopts]
Argument |
Description |
---|---|
NewModel objModel |
Specifies the model that is to be opened. objModel must be the model name. |
appqueryopts |
Optional parameters that describe the model in greater detail. Some options are set by default if you do not set them. For the complete list of options, see appqueryopts. |
Example
This example creates a model called PowerPlay® Sample, and provides a description.
NewModel "PowerPlay Sample" AppInfo "This model used the tutorial."