EasyManuals Logo

IBM Cognos User Manual

IBM Cognos
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #243 background imageLoading...
Page #243 background image
The syntax for using the -l option is as follows:
cogtr -lsignon=userid/
password -pfilename.py?|-m
filename.mdl
The following example opens the Field3.mdl file and grants access to the required
namespace using the signon named field, user ID CarlosR, and password pw462.
Assuming that the signon matches what is defined in the model, the process runs
in batch mode, creating the cubes as defined in the model.
cogtr -n -lfield=CarlosR/pw462 -mField3.mdl
IBM Cognos can be configured to use authentication to an external namespace
where users are prompted for credentials as part of the logon process.
You can create signons to build cubes in batch mode in the IBM Cognos
environment. Those signons maintain the user ID, password, and the associated
namespace name. You can create as many signons as the number of namespaces
that your users need to log on to in IBM Cognos BI. For Cognos Transformer to
use the signon automatically, enable the Set As Auto Logon property.
If multiple signons with the Set As Auto Logon property checked exist in a saved
model, when using the command line you do not need to specify the –l option
because Cognos Transformer will authenticate against all existing signons by
default.
-m option
This option specifies the .mdl-format model or script file to be processed.
If you use multiple occurrences of -m, files are processed in the order of their
occurrence.
The syntax for using the -m option is as follows:
cogtr -mfilename.mdl
The following example lists the steps for processing a sample model using the -m
option:
1. Create a separate file, Savemdl.mdl, that contains the line SaveMDL
"Xyznew.mdl".
2. For the file Xyzsales.mdl, use the following command:
cogtr -mXyzsales.mdl -mSavemdl.mdl
3. For the file Xyzsales.pyj, use the following command:
cogtr -pXyzsales.pyj -mSavemdl.mdl
-n option
This Windows-only option opens Cognos Transformer in interactive or batch mode.
v –n opens Cognos Transformer and runs it interactively.
v –n1 opens Cognos Transformer in batch mode with the Cognos Transformer
application window minimized. There is no space between -n and the
display_state argument, 1.
v –n2 opens Cognos Transformer in batch mode with the Cognos Transformer
application window hidden. There is no space between -n and the display_state
argument, 2.
Appendix A. Command Line Options 229

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM Cognos and is the answer not in the manual?

IBM Cognos Specifications

General IconGeneral
DeveloperIBM
Data Sourceflat files
Operating SystemMicrosoft Windows
LicenseCommercial
Input SourcesSQL databases, Excel, CSV
PlatformMicrosoft Windows