Updating filters with '-' (dash) in the name w/ MaxL

Hi,
We have a slew of filters that need to be changed/updated due to the latest system change and I would like to use MaxL and write a script that will do this for me.
For half the filters testing went well, however the second half of the filters have a '-' (dash) in the name and so when I type (ex):
create or replace filter App.DB.maxL-filter read on '@IDESCENDENTS("outline member")';
I end up with the following error:
ERROR - 1242021 - (1) Syntax error near -.
So, I'm sure it's complaining about the name, but am wondering if it is at all possible for MaxL to update these filters and I'm really missing something on the syntax, or am I doomed doing all 120 of them by hand... :-(
Any ideas are highly appreciated.
Thanks much!
--Naf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Hi,
I was actually able to find the answer to my question through some tiral and error. So here it is in case someone ever wonders about it:
create or replace filter App.DB.'maxL-test' read on '@IDESCENDENTS("Outline Member")';
Please note in the above that the name in the filter is enclosed in single quotations as: 'maxL-test'
This essentially tells Essbase to treat the entire maxL-test as the name of the filter and not try and interpret the dash (-) as an operator.
To address the answer Glenn gives: '@IDESCENDENTS("Outline Member")' is syntax required for each filter to work as Essbase needs outline member to be in double quotes when they have special characters in the names, such as, space.
Thanks to anyone for looking into this.
--Naf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Srcpac. Making packages with dash in the name.

    Last time I've rebuild program with dash in the name (gtk-smooth-engine). After modify my srcpac.conf:
    conf_gtk-smooth-engine=('#./configure --prefix=/usr#./configure --prefix=/usr --enable-gtk-1 --enable-gtk-2#' "#depends=('gtk2'#depends=('gtk2' 'gtk'#")
    Run srcpac -Sb gtk-smooth-engine give me following errors:
    /usr/bin/srcpac: /etc/srcpac.conf: line 33: syntax error near unexpected token `'#./configure --prefix=/usr#./configure --prefix=/usr --enable-gtk-1 --enable-gtk-2#''
    /usr/bin/srcpac: /etc/srcpac.conf: line 33: `conf_gtk-smooth-engine=('#./configure --prefix=/usr#./configure --prefix=/usr --enable-gtk-1 --enable-gtk-2#' "#depends=('gtk2'#depends=('gtk2' 'gtk'#")'
    And PKGBUILD doesn't modify. For packages without dash in the name everything work well. I've tried to mask this dashes, without success.
    Thank's for any help.
    Miroslaw.

    forest76 wrote:
    dp wrote:is gtk1 working fine?
    Yes (I've tried it), I Think is VERY nice. I have based on gtk1/gtk2 system and this gtk1 themes will be useful for me.
    Thank's for reply and greetings,
    Miroslaw
    i tried myself - you are so right - it looks VERY NICE!!
    => i've added gtk1 support to the official pkg
    enjoy!

  • Update should not happen in the name of WF-BATCH

    Hi All,
    I have a requirement to change the WF-BATCH to the other user id.
    The task completion or update should not happen in the name of WF-BATCH, instead it should happen with the name of the other user id.
    Please can anybody suggest on this..
    Thanks and Best Regards,
    Sushmitha

    Hello Sushmitha,
    Like I said, it is only working if a previous step was a dialog step for the same user.
    Then when all steps have advance with dialog it will automatically execute the "background" step (which is now dialog).
    If the "background" step is the first to be executed then this scenario does not work.
    It will only work if the agent has a previous work item AND is the one you want as the changed_by user.
    A work around would be to either
    a) check what the method does. If it executes a FM and if that FM has a parameter for changed by you can create a new method where you pass the changed_by user
    b) check if a bapi/fm exists which allows you to change the user
    c) create a program to execute the same logic as the method. Now you must create a new method where you can schedule this program as a background job with another user as the person who executes it.
    Kind regards, Rob Dielemans

  • How can I get the phone numbers in contacts to appear with dashes between the first 3 numbers, the next 3 numbers, and the last 4 numbers?  Until very recently it did so.  Contacts on my macbook pro does show up this way.  I do have a mobile me account an

    How can I get the phone numbers in contacts to appear with dashes between the first 3 numbers, the next 3 numbers, and the last 4 numbers?  Until very recently
    it did so.  Contacts on my macbook pro does show up this way.  I do have a mobile me account and in the past syncing was no problem.  What setting has changed?

    The phone number format as well as the date language and format and the time format are controlled by the Region Format setting. Go to Settings > General >International > Region Format.  When you change a region format, you can go back one page (to International) and see an example of the date/time/phone number format that your selected region format will produce.

  • We have adobe acrobat pro installed on our computer  - we have changed the password - but it is still not giving us access to update our adobe reader. The name is showing as Marriner. Is this linked to our account?

    We have adobe acrobat pro installed on our computer  - we have changed the password - but it is still not giving us access to update our adobe reader. The name is showing as Marriner. Is this linked to our account?

    What is your operating system?
    To install/update Adobe Reader or Acrobat you need to supply your computer's Administrator password.

  • Dynamic UPDATE statement with parameters for column names.

    Hello,
    On this* website I read "The SQL string can contain placeholders for bind arguments, but bind values cannot be used to pass in the names of schema objects (table or column names). You may pass in numeric, date, and string expressions, but not a BOOLEAN or NULL literal value"
    On the other hand, in this Re: execute immediate with dynamic column name update and many other
    posts people use EXECUTE IMMEDIATE to create a dynamic UPDATE statement.
    dynSQL:='UPDATE CO_STAT2 CO SET CO.'||P_ENT_B_G_NAME||' = '||P_ENT_E_G_WE||'
    WHERE ST IN
    (SELECT ST FROM STG_CO_STAT2_TEST CO WHERE
    '||P_ST||' = CO.ST AND
    CO.'||P_ENT_E_G_NAME||' > '||P_ENT_E_G_WE||' AND
    CO.'||P_ENT_B_G_NAME||' < '||P_ENT_E_G_WE||');';
    EXECUTE IMMEDIATE dynSQL ;
    Since this statement is part of a Stored Procedure, I wont see the exact error but just get a ORA-06512.
    The compiling works fine and I use Oracle 11g.
    http://psoug.org/definition/EXECUTE_IMMEDIATE.htm

    OK I extracted from all of your posts so far that I have to use "bind-variables with :"
    From all the other tuorials and forums posts, I assume using the pipe is correct so I added those as well into the script:
    set serveroutput on format wraped;
    DECLARE
    dynSQL VARCHAR2(5000);
    P_ENT_E_G_NAME VARCHAR2 (100) :='test1'; P_ENT_E_G_WE VARCHAR2 (100) :='01.02.2012'; P_ENT_B_G_NAME VARCHAR2 (100) :='01.01.2012';
    P_ST                VARCHAR2 (100) :='32132';
    BEGIN
    dynSQL:= 'UPDATE CO_STAT2 CO SET CO.'||:P_ENT_B_G_NAME||' = '||:P_ENT_E_G_WE||'
                  WHERE ST IN (SELECT ST FROM STG_CO_STAT2_TEST CO WHERE
                  '||:P_ST||'                           = CO.ST                  AND
                  CO.'||:P_ENT_E_G_NAME||'     > '||:P_ENT_E_G_WE||' AND
                  CO.'||:P_ENT_B_G_NAME||'    
    < '||:P_ENT_E_G_WE||')';
    --this is somehow missing after the last < '||:P_ENT_E_G_WE||')';
    dbms_output.enable;
    dbms_output.put(dynSQL);
    --EXECUTE IMMEDIATE dynSQL;    
    END;Problem:I think I figured it out, the dates that I parse into the query need additional '

  • How move file with space in the name to another foler on Linux from ABAP?

    Hi experts,
    My requirement is to move the file on Linux to another folder via ABAP program.
    IN SM49 is defined ZMOVE command for "mv" operating system command. In ABAP, fm:
    SXPG_COMMAND_EXECUTE calls ZMOVE external command to move the file to another folder.
    But in case that file has space in the file name, then the fm gives error and the file can not be moved.
    I have tried as given in the Note 1152084 - Parameter for external commands but it doesn't work.
    Don't know if the reason is that the note is for Windows or Unix and we have Linux.
    So, I have tried with ''%file name%' and '''file name'''.
    PLease advice hoe to move file on Linux to another folder from ABAP program if the file has spec in the name.
    Thanks in advance.
    Kind regards,
    Danijela Zivanovic

    Hi,
    You can also try :
    mv "file\ name" /<path_to_new_dir>
    (Put "\" before each space)
    Regards.
    Rajesh Narkhede

  • WDResourceFactory create resource with '.' in the name

    Hi experts,
    I have one, probably stupid, question. How can I create resource using WDResourceFactory.createResource method with dot (.) in the resource name? I've tried writing the dot sign using it's unicode code (\u002E) but the result was still the same - the part of the name after the dot sign is treated as file extension and the WDWebResourceType parameter which shows the actual file extension is ignored.
    Regards,
    Martin

    Uh oh. Sounds like you got yourself a Red Hat Enterprise
    Linux ColdFusion glitch on your hand. I've tried a number of
    different attempts using my CF configuration (CFMX7, WINXP) and
    everything works fine with the <cfdirectory> dump. Make sure
    you bug report this with Adobe. In the meantime, is there any way
    you can *influence* the filenaming convention? Otherwise, you might
    have to find a work-around without using the <cfdirectory>
    tag. Maybe create a custom Java class that pulls up the directory
    info and returns it to CF?

  • Smart Folders: filtering file labels by the NAME of the label

    I am using Smart Folders to organize some files. Spotlight searches are quite powerful, but I'd like to know if there's more I can do with file labels.
    I am using kMDItemFSLabel values to filter my smart folders, but this presents a small inconvenience: finder's kMDItemFSLabel values for the colors are not obvious (orange = 7, red = 6, yellow = 5 - which is orange higher than red? And green = 2?) and I would prefer use my own priority choice.
    Can either:
    Finder's values for kMDItemFSLabel associated with each color label be changed? (this sound unwise to me, however)
    or
    Can I use the text value I attach to each value as a sort? Say rename "red" label to "100" and "orange" to "90" and then filter by THOSE values?
    Any ideas?

    Thanks for your response. Yeah, I'm aware of that. The problem is that I'd like to do sort or filters with those values, but they aren't very practical. I can assign text values to each label, but I don't seem to be able to use those in sorts.
    So kMDItemFSLabel > 4 yields all orange, yellow and red files. Not bad, but the fact that orange is a higher value means I have to work around this odd enumeration.
    So I'd like to either: change the system values (not ideal) or find a way to filter or sort the text values I can assign to each label. Any idea if either of these are possible?

  • Offline updates won't install any updates with none in the name (outlfltr-x-none.cab, word-x-none.cab, outlook-x-none.cab )

    First, I'm running SCCM 2007 sp2 R3 integrated with MDT 2012 update 1 build 6.1.2373.0
    I've added the MDT task sequence step: install offline updates, in my OSD W7 task sequence.
    The ZTIPatches.log shows it runs without errors. But only some of the updates get installed.
    It expands all my updates:
    About to run command: expand "\\servername\lsdp$\SMSPKG\CO10021D\95508244-d070-43f4-b304-3efbd62090cd\word-x-none.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp" ZTIPatches 5/1/2014
    2:37:36 PM 0 (0x0000)
    Return code from command = 0
    But only the updates with a kb number like: windows6.1-kb2936068-x86.cab get the next line:   
    Create Package Item : Package_for_KB2936068
    They also get a, copying package line, a copy file line and a package added line. The others don't.
    I've read that the offline updates will only install updates with file content .cab?
    So I've removed all the exe updates.
    Is this normal for MDT offline updates?

    Offline updates will only inject Windows CBS-based updates into an image. This does not include Office updates.
    Jason | http://blog.configmgrftw.com

  • Reading INI files with dashes in the section name

    I am trying to read an INI file from a web site. Within that INI file are sections that have dashes in them. I need to be able to read several sections so I can locate specific files to download referenced within the INI files. I found a script for parsing
    INI files, but when I run it, the script fails to handle the sections that have dashes. Any ideas on how I can work around the issue?
    $Web = New-Object System.Net.WebClient
    Function Get-INIContent ($ContentList){
    $INI = @()
    Switch -regex ($contentList)
    "^\[(.+)\]"
    [string]$Section = $Matches[1]
    $INI[$Section] = @{}
    $CommentCount = 0
    $ContentList = $Web.Downloadstring("http://download.nai.com/PRODUCTS/COMMONUPDATER/avvdat.ini")
    Get-INIContent $contentlist
    What I was hoping to do was search through the INI until I found the sections I want, and then read the fields for that section so I know what to download.  I won't be pulling all of the files, so I need to find a way to search for the sections I am
    looking for then read all of the lines for that section and process them.

    Found part of the problem... When I pull the file into a variable I lose the ability to search it line by line.  For example:
    $Web = New-Object System.Net.WebClient
    $ContentList = $Web.Downloadstring("http://download.nai.com/PRODUCTS/COMMONUPDATER/avvdat.ini")
    #For some reason this returns the entire file
    $contentlist | select -first 1
    $contentlist | %{
    #Thought this would be one line, but it is also
    #the entire file...
    $_
    I have since shifted to a different method of reading the ini and I can process row by row...
    $Web = New-Object System.Net.WebClient
    $INILocation = "c:\SomeLocation\avvdat.ini"
    $Web.DownloadFile("http://download.nai.com/PRODUCTS/COMMONUPDATER/avvdat.ini",$INILocation)
    $INIFile = [System.IO.File]::OpenText($INILocation)
    Do {
    $CurrentLine = $INIFile.ReadLine()
    #This is now one line like it should be.
    $CurrentLine
    While ($INIFile.EndOfStream -ne $True)

  • Processing paths and containers with an "&" in the name

    So in the dark ages, someone though it was a good idea to use "&" in a storage path and in a container name.
    NSM seems to be choking on this, the path errors out... any suggestions short of moving the storage and changing the ou name?

    On 2/19/2015 3:06 PM, dbgallo wrote:
    >
    > NFMS Support Team;2344556 Wrote:
    >> On 1/14/2015 1:36 PM, dbgallo wrote:
    >>>
    >>> So in the dark ages, someone though it was a good idea to use "&" in
    >> a
    >>> storage path and in a container name.
    >>>
    >>> NSM seems to be choking on this, the path errors out... any
    >> suggestions
    >>> short of moving the storage and changing the ou name?
    >>>
    >>>
    >> dbgallo,
    >>
    >> Which version of NSM are you using? And what error do you get, in which
    >> event state and action?
    >>
    >> -- NFMS Support Team
    >
    > 4.0, the ou and storage name is "PM&R"
    >
    > the code is from turning the logging for files up to debug:
    > ~~~Begin error~~~~~
    > 01 2015-02-19 13:57:25 -18000 3 8007 20045 7f1c9eb93700
    > NWUDirHandleAllocate() - Called CCNWAllocTempNSDirHandle2(0x02C80016
    > ["SOMESERVER-SERVER"], 0 (3), "PM&amp;R" / [#3 L"PM&amp;R"], 4, ..., 4),
    > rc = 0x0000899c (35228), Result = 127.
    > 01 2015-02-19 13:57:25 -18000 5 8006 20045 7f1c8ffff700 TM:
    > TaskWorkerThread() - Processed Task ID
    > "6825D5EE506FD2018E6D44BF0109FE59", final status = 0.
    > ~~~~ end error
    >
    >
    dbgallo,
    We've tracked down this error, and have an updated NSM Engine build for
    you to test with. Could you send us an email at
    [email protected] to follow up with this? Thank you.
    -- NFMS Support Team

  • LibreOffice can't open files with spaces in the name

    Hi, so I recently installed LibreOffice (from extra) over go-OO. I know the site says it's not for production use but I have heard good things about the stability of the current version so I decided to see if it was in a usable state. In general things are going great, but I do have the problem mentioned in the thread title. The program has trouble parsing the spaces, and instead I am trying to open each space-delimited section of the filename as a separate file. Trying to open "My File.odt", for example, will simply return two error messages, one about "path/to/current/directory/My" not existing, and another about "path/to/current/directory/File.odt" not existing. I can't seem to get around this behaviour and, surprisingly, I can't find anything on it by Googling.
    I know that LO is in beta and this may just be a bug that is being worked on, but since I can only find one reference to it on the net I thought that maybe others were not having this problem or had found a way around it.  Can anyone provide any insight? Cheers!

    vimex wrote:
    comment these lines in /usr/lib/ooo-3.3/program/soffice
    the $* has some problem, but I do not know how to correct this...
    # Setup our app as oosplash, but try to avoid executing pagein,
    # and other expensive environment setup pieces wherever possible
    # for a second started office
    #if [ "$sd_binary" = "soffice.bin" -a -x "$sd_prog/oosplash.bin" ] && [ "$no_oosplash" != "y" ] ; then
    #    sd_binary="oosplash.bin"
    #    export QSTART_CHECK_ONLY=1
    #    if "$sd_prog/$sd_binary" $*; then
    #   exit 0
    #    fi
    #    unset QSTART_CHECK_ONLY
    #fi
    I noticed that commenting out that code allows LibreOffice to open spaced filenames, but seems to slightly increase startup time.
    I tried replacing $* with "$*", and opening from the command line seems to work even for files with spaced names, with the faster startup time too. The only problem is that now LO does not work at all by clicking; only from command line.

  • Saving a file pdf file and the file name appears on a PC with + signs in the name of the file - How do I eliminate the file name coming up with the + signs?

    A pdf file is created from a word document and then posted to our dealer portal.  It allows the dealer to open the pdf file and then either print and/or save off to a hard drive.  The issue is the file name has + signs in between all the words.  Is there a way to eliminate the file names coming up with the plus signs?  It is not being saved that way.  Any help you can provide would be appreciated.

    Use a proper file name for the WORD document. MS decided several years ago to allow spaces, but that is not standard and is likely what the issue is. A good alternative is to replace spaces in file names with underbars, "_".

  • Cfpop falls over with attachments with %'s in the name

    Hi there,
    We are running CF 7.02 MX on a Windows 2003 Server.
    We have a scheduled process that runs which collects mail
    using cfpop, modifies it and forwards it on.
    If any of the downloaded mails contains an attachment with an
    unusual character in it's name e.g..
    AFU%image.JPG
    ..then the task falls over and doesn't complete. I've had a
    look in the application logs and this is accompanied by entries
    like...
    "The resource D:\codepath\htdocs\attachment\
    AFU%imge.JPG was not found.The root cause was: . The
    specific sequence of files included or processed is:
    D:\wwwroot\website\wwwroot\schedule\schedtask.cfm, line: 1254 "
    Notice the % seems to have got it confused as to what the
    attachment name is. It seems to have lost the "
    a" somehow. So the failure is simply down to the fact that,
    having confused itself over what the filename actually is, it can
    no longer find the true path to the file.
    If the attachments dont contain odd characters it works fine.
    Any ideas? We're really struggling.
    What I'm after is a workaround or a solution to the
    corruption of the filename since I'm guessing if it keeps the
    filename intact then all will be well (as it will still be able to
    find the file).
    Tem

    Bump. ^
    Anyone with any thoughts on this? We're really
    struggling.

Maybe you are looking for

  • Storage issue in windows 7 with bootcamp

    I have windows 7 installed on my macbook pro 13. from 120 GB i have 47 GB for windows. after installing office 2013 on it, i still have only 5 GB free Storage. anybody can help telling me why i'm losing storage ? maybe any tipps for this issue ? than

  • ALSA: Sound not working when webcam is plugged in. [Solved]

    I'm using the out-of-the-box sound setup (ALSA, nothing else). My sound card setup (including the USB webcam with mike): mrkline $ cat /proc/asound/cards 0 [VX5000 ]: USB-Audio - Microsoft LifeCam VX-5000 Microsoft Microsoft LifeCam VX-5000 at usb-00

  • Outlook 2007 calendar sharing

    One of our IT guys in here created a calendar for the whole office use. He was using Outlook 2007 then. The office is now using Outlook 2010. He has given me the owner permission before he left. When I try to share the calendar, the share option is g

  • Selective file transfer

    Hi, I'd like to transfer my own files, photos, music and a few applications from the family's iMac onto my new MacBook. If I transfer via Target Disk, do I have the option of grabbing only what I want, or does it bring everything from the iMac into t

  • Problems with xml transformation via xslt - strange results

    hi everybody... i've little trouble finalling a little tool programmed by myself for my education. the application contains a kind of document-server which enables the client to up- and download xml-document in a special format to/from the server. in