50978535.mdl 的内容如下:
OpenMDL "D:worktodoICM_RETAIL_BUSI_TRADE_AMT.mdl"
SignonUpdate "CJP" PromptForPassword False UserID "userxxxx" Password "pwdxxxx" AutoLogon True SignOnNamespace "CJP" SignonType "Cognos"
CognosPackageUpdate 103 "零售业务交易量及收入统计" SourceType Package SourcePath "/content/folder[@name='pamis_publish']/folder[@name='Packages']/folder[@name='PowerCubesDesignPackage']/package[@name='零售业务交易量及收入统计']"
PopulateFromQueries "机构维度"
SecurityNameSpaceMake "CJP" SecurityNamespaceCAMID 'CAMID("CJP")'
ViewMake "59378分支机构~View" Dimension "分支机构" ViewSecurity "59378分支机构~View"
CustomViewMake "59378分支机构~CustomView" DimensionView "分支机构" "59378分支机构~View"
SecurityObjectMake 'CAMID("CJP:r:59378")' SecurityNamespace "CJP" SecurityObjectDisplayName "集团-证券数据库" SecurityObjectType SecurityType_Role CustomViewList "59378分支机构~CustomView" EndList
PowerCubeCustomViewListUpdate Cube "ICM_RETAIL_BUSI_TRADE_AMT" StartList "59378分支机构~CustomView" EndList
SignonUpdate "CJP" PromptForPassword True UserID "userxxxx"
SaveMDL "D:worktodoICM_RETAIL_BUSI_TRADE_AMT.mdl"
自动生成的文件如上,但是点击这个文件的时候,却报出错误:
(TR1102) Transomer detected a model erro at line 3 in file D:workpermisionManagerbin50978535.mdl. (TR1502)A data source was expected but not found.Either you have referred to a data source by an object name or object identifier that Transformer is unable to locate .or you have not referenced the data source.
检查过所引用的数据源路径是正确的
不知道哪位高手能不吝赐教,帮忙解决一下,谢谢
收起