This Essbase discussion board is provided as a free service and dedicated to all the Essbase professionals out there!
  << Previous Topic | Next Topic >>Return to Index  

Essbase Filter Access Grant Error

August 9 2012 at 1:21 PM
No score for this post
Archie 
from IP address 13.13.137.1

Hi,

MAXL> grant filter X.X.Read to 'ABC';
ERROR - 1242021 - (1) Syntax error near ['Read'].

This is the error i get when I execute this command.

The filter "Read" does exist in the database and the group ABC also exists. Any ideas what can be the cause of the error? I executed a similar command for another filter of another database to be granted access to another group and that worked fine.

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
AuthorReply
TimG

204.110.112.43

Re: Essbase Filter Access Grant Error

No score for this post
August 9 2012, 2:12 PM 

Not 100% sure this is your problem, but 'read' is a reserved word in MaxL. So it might work if you enclose 'read' in quotes. Although I don't think I'd choose 'read' as the name of a filter anyway.

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Anonymous

13.13.137.2

Re: Essbase Filter Access Grant Error

No score for this post
August 10 2012, 5:18 AM 

Yeah, exactly what I thought. Maybe the problem is with Read....

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Adam M

12.30.179.126

Re: Essbase Filter Access Grant Error

No score for this post
August 10 2012, 8:52 AM 

READ is set in the filter not in the Grant.

Create or Replace Filter APPLICATION.DATABASE.'FILTERNAME' READ on '@IDESCENDANTS("MEMBERNAME")';

The grant statement looks like the following:

Grant Filter APPLICATION.DATABASE.'FILTERNAME' TO 'GROUPNAME';

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Archie

13.13.137.1

Re: Essbase Filter Access Grant Error

No score for this post
August 10 2012, 10:24 AM 

The filter name is "Read". This filter already exists in the database. If such a naming convention were not possible, then how did the filter get created in the first place?

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
TimG

108.86.221.231

Re: Essbase Filter Access Grant Error

No score for this post
August 10 2012, 12:14 PM 

Hi Archie - so have you tried (note single quotes)...

grant filter X.X.'Read' to 'ABC';

Not the question you asked, but I would avoid using a reserved word as an object name whether you can make it work or not. Especially picking the name of a system-defined security role as the name of a filter.

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Anonymous

13.13.137.1

Re: Essbase Filter Access Grant Error

No score for this post
August 10 2012, 1:37 PM 

Hi TimG,

I did try out your suggestion and it works :)

This filter name already exists though I have no idea how it worked the first time!


Thanks a lot!
Archie

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Current Topic - Essbase Filter Access Grant Error
  << Previous Topic | Next Topic >>Return to Index  

RSS feed for this forum - http://www.network54.com/Forum/58296?xml=rss. Please email hypess (at) gmail.com, if you have any questions/feedback/issues.