If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

FM Error

Started by cognos05, 29 May 2015 09:10:53 AM

Previous topic - Next topic

cognos05

Code used in the expression : to get the package name.

if(Position('package[@name=',[Physical Layer].[COGIPF_RUNREPORT].[COGIPF_PACKAGE])>0)
Then
(SubString([Physical Layer].[COGIPF_RUNREPORT].[COGIPF_PACKAGE],position('package[@name=',[Physical Layer].[COGIPF_RUNREPORT].[COGIPF_PACKAGE])+15,(position(']/model',[Physical Layer].[COGIPF_RUNREPORT].[COGIPF_PACKAGE])-1)-
(position('package[@name=',[Physical Layer].[COGIPF_RUNREPORT].[COGIPF_PACKAGE])+15)))
Else
( [Physical Layer].[COGIPF_RUNREPORT].[COGIPF_PACKAGE])

Executes in expression window.but verify model gives error .

Error :
BMT-MD-2001 The property 'Object Reference in Expression' has the value '[@name=',[Physical Layer].[COGIPF_RUNREPORT].[COGIPF_PACKAGE]', which does not reference an existing object. This property must reference an existing object.
BMT-MD-3514 The repair action will prompt to retarget or delete the broken reference.


so '@name ' is it making a issue, what should i do to fix this.