Need help with rule file

Hello
I'm trying to make a load rule that has a data source that is a number and map to a text member?. For example if the data source reads "1" I need the need the data to link to the member "January".
Is this a script? Thanks a lot.

Is this in a single column? if so the previous response will work if in the outline you ahve the month number as the member name and the alias be the month name. Another option is to use the replace option in the load rule, start with 12 and replace it with December, then 11 etc.
If you are saying each column is a different year/month combo, then defune in the load rule the combo then it reresents. If field 5 is 2008 jan, then in the data load tab, have that as the column definition 2008,jan

Similar Messages

  • Need help with connecting file inputs to arrays

    In this assignment I have a program that will do the following: display a list of names inputed by the user in reverse order, display any names that begin with M or m, and display any names with 5 or more letters. This is all done with arrays.
    That was the fun part. The next part requires me to take the names from a Notepad file, them through the arrays and then output them to a second Notepad file.
    Here is the original program: (view in full screen so that the code doesn't get jumbled)
    import java.io.*;       //Imports the Java library
    class progB                    //Defines class
        public static void main (String[] arguments) throws IOException
            BufferedReader keyboard;                                  //<-
            InputStreamReader reader;                                 //  Allows the program to
            reader = new InputStreamReader (System.in);               //  read the the keyboard
            keyboard = new BufferedReader (reader);                  //<-
            String name;                 //Assigns the name variable which will be parsed into...
            int newnames;               //...the integer variable for the amount of names.
            int order = 0;              //The integer variable that will be used to set the array size
            String[] array;             //Dynamic array (empty)
            System.out.println (" How many names do you want to input?");   //This will get the number that will later define the array
            name = keyboard.readLine ();
            newnames = Integer.parseInt (name);                                         // Converts the String into the Integer variable
            array = new String [newnames];                                               //This defines the size of the array
            DataInput Imp = new DataInputStream (System.in);       //Allows data to be input into the array
            String temp;                                       
            int length;                                                                  //Defines the length of the array for a loop later on
                for (order = 0 ; order < newnames ; order++)                                //<-
                {                                                                           //  Takes the inputed names and
                    System.out.println (" Please input name ");                            //  gives them a number according to
                    temp = keyboard.readLine ();                                           //  the order they were inputed in
                    array [order] = temp;                                                  //<-
                for (order = newnames - 1 ; order >= 0 ; order--)                                //<-
                {                                                                                //  Outputs the names in the reverse 
                    System.out.print (" \n ");                                                   //  order that they were inputed
                    System.out.println (" Name " + order + " is " + array [order]);             //<-
                for (order = 0 ; order < newnames ; order++)                                  //<-
                    if (array [order].startsWith ("M") || array [order].startsWith ("m"))     //  Finds and outputs any and all
                    {                                                                         //  names that begin with M or m
                        System.out.print (" \n ");                                            //
                        System.out.println (array [order] + (" starts with M or m"));         //
                    }                                                                         //<-
                for (order = 0 ; order < newnames ; order++)                                            //<-
                    length = array [order].length ();                                                   //
                    if (length >= 5)                                                                    //  Finds and outputs names
                    {                                                                                  //  with 5 or more letters
                        System.out.print (" \n ");                                                      //
                        System.out.println ("Name " + array [order] + " have 5 or more letters ");      //<-
    }The notepad file contains the following names:
    jim
    laruie
    tim
    timothy
    manny
    joseph
    matty
    amanda
    I have tried various methods but the one thing that really gets me is the fact that i can't find a way to connect the names to the arrays. Opening the file with FileInputStream is easy enough but using the names and then outputing them is quite hard. (unless i'm thinking too hard and there really is a simple method)

    By "connect", do you just mean you want to put the names into an array?
    array[0] = "jim"
    array[1] = "laruie"
    and so on?
    That shouldn't be difficult at all, provided you know how to open a file for reading, and how to read a line of text from it. You can just read the line of text, put it in the array position you want, until the file is exhausted. Then open a file for writing, loop through the array, and write a line.
    What part of all that do you need help with?

  • Need Help with .nnlp File.............A.S.A.P.

    I'm having a problem also with my JNLP file. I have downloaded the program onto one computer and that computer is using j2re1.4.2_04
    The other computers I believe are all running j2re 1.4.2_05
    I'm not sure if that's make a difference, but on the computer with j2re 1.4.2_05 when going to the site where the .jnlp file is located, the application comes up and says Starting Application. After it gets to that screen it just stays there. I really need help with this as soon as possible.
    Here is my .jnlp file listed below:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
      spec="1.0+"
      codebase="http://www.appliedsolutions.com/placewiz"
      href="Placewiz.jnlp">
      <information>
        <title>Placement Wizard 4.0</title>
        <vendor>Applied Solutions, Inc.</vendor>
        <homepage href="index.html"/>
        <description>Placement Wizard 4.0</description>
        <description kind="short">Short description goes here.</description>
        <offline-allowed/>
      </information>
      <resources>
        <j2se version="1.4+"/>
        <j2se version="1.3+"/>
         <j2se version="1.5+"/>
        <jar href="Placewiz.jar"/>
      </resources>
      <security>
          <all-permissions/>
      </security>
      <application-desc main-class="com/asisoftware/placewiz/loader/Exec">
    </jnlp>

    This was due to a change in 1.4.2_05
    the main class attribute
    main-class="com/asisoftware/placewiz/loader/Exec">is wrong - it should be:
    main-class="com.asisoftware.placewiz.loader.Exec">this didnt seem to mater before 1.4.2_05, but some change in java since then caused this bad class specification to stop loading.
    /Andy

  • I need help with viewing files from the external hard drive on Mac

    I own a 2010 mac pro 13' and using OS X 10.9.2(current version). The issue that I am in need of help is with my external hard drive.
    I am a photographer so It's safe and convinent to store pictures in my external hard drive.
    I have 1TB external hard drive and I've been using for about a year and never dropped it or didn't do any thing to harm the hardware.
    Today as always I connected the ext-hard drive to my mac and click on the icon.
    All of my pictures and files are gone accept one folder that has program.
    So I pulled up the external hard drive's info it says the date is still there, but somehow i can not view them in the finder.
    I really need help how to fix this issue!

    you have a notebook, there is a different forum.
    redundancy for files AND backups, and even cloud services
    so a reboot with shift key and verify? Recovery mode
    but two or more drives.
    a backup, a new data drive, a drive for recovery using Data Rescue III
    A drive can fail and usually not if, only when
    and is it bus powered or not

  • Need help with backup files made by HP Recovery.

    So in 2011 I had made a post about a DV9 series HP laptop I had that I felt needed a harddrive. Well the laptop has been sold to a friend of mine and he has since fixed the issue it had. My curent deboggle is trying to deal with the 36GB of data it backed up onto an external USB powered harddrive. The information was saved from a system that ran Windows VISTA, on that same DV9 Pavilion. I have a new laptop and it's a Pavilion DV6 running windows 7. Is there some sort of 3rd party application or an uncommon HP utility that can open, run or modify. Specificaly I need to some files but not all, but if my only option is to extract all then that would be fine also. There is an executible in the backup folder but it doesn't extract anything it just locks up. 
    For the TLR portion, need to access backup files made on an older HP laptop with windows vista to a newer HP latop running windows 7.

    Terribly sorry for the post, I should have researched more before posting. I found the answer to my issue in another thread here on the HP forums! Thanks so much!!

  • Need help with fla.file

    Hi!
    I'm always having trouble with a fla.file in cs3 professional. Every time i try to reopen the file in flash i get this:
    failed to open document/users.desktop/jason/social.fla
    pls help reopen this file
    jay

    create a new directory and move your fla there and try and open.  if that fails, change the file's name and try and reopen.  if that fails and you created the fla, it's probably corrupt.

  • Need help with batch file for javac.exe and java.exe

    I have this in my batch file:
    c:\jdk1.3.1_05\bin\javac
    What symbol do I need to be able to run this from cprompt with any file following it

    Thanks could remember that for nothing

  • Need help with copying files onto external drive

    I need help! Trying to copy downloaded movie files from Vuze (which have downloaded successfully) and copy onto external hard drive to view them but it wont let me copy over to the external device. Any ideas how to fix this please???

    Can you explain the steps you used, and the error message (or symptom), that says the copy did not work? 

  • Need help with rule, please. Want to calculate a sum of an accountlist...

    Hello all,
    i created some accountlists for accountclasses:
    "Kontenklasse_2" is one of my accountlists and it contains all accounts wich begin with a 2 or H2.
    So i have an account called "sum_kokl2" and for this i want to calculate the sum of all accounts included in my accountlist "Kontenklasse_2" but i don´t know how.
    I hope someone can help me, many thanks in advance.
    Martin
    Edited by: user7324125 on 21.01.2010 17:06

    Hello kostasn,
    thanks for you post, i tried it but it doesn´t work.
    I am sure that my memberlists are accurate, if i use one in my data grid, i gett all correct accounts which must be in the selected accountlist.
    Perhaps the difficulty is where i want to calculate the sum. I try to describe more detailed:
    I have an entity structure for our companies, for each parent of my entity structure i need a sum of all accounts which begin with a 2. So i wrote an accountlist which include all these accounts and named it "Kontenklasse_2". I try your written code and change the necessary parts. For this accountlist i only use the custom2 dimension all other is None. I don´t use ICP. The calculated account is named sum_kokl2 but neither my base entities nor the parent entities show me any values on the account sum_kokl2. So i think somewhere i forgot an important line in my rulefile.
    Perhaps do you have another idea where is my bug? I´m happy for every help and idea.
    Many thanks for every help in advance.
    Kind regards / Best wishes
    Martin
    Btw my used Version is HFM Version 11.1.1.3, i used EPMA-Applications, the Windows-Client is installed to use the rules editor and SmartView 11 is already installed.

  • Need Help With Appleworks Files on New Macbook

    Hey Everyone,
    I had an old iMac blueberry with OS 9.2 using appleworks. I just bought a MACBOOK and i got iWORK and MS OFFICE 2004 installed on it. How can i get my appleworks files to open up on my new MACBOOK.
    please help
    -

    will Appleworks transfer and run on an INTEL based
    MAC?
    AppleWorks 6 is a "package" that contains both a Classic (Mac OS 9) application and an OS X application. The rest of what's essential to AppleWorks 6's operation is included in the other items inside the AppleWorks 6 folder. AppleWorks will generate all needed items outside this folder when it is run.
    The OS X application will operate (and operate well) on the intel based Macs using Rosetta, which is included with these machines. AW 6.2.4 and AW 6.2.9 (IN Mac OS 9, the version numbers on the splash screen and in About AppleWorks for these two are 6.2.3 and 6.2.8) are the most stable and least error prone in OS X; update before or after the transfer if you have earlier versions.
    Remember also that your AppleWorks license allows for only one copy to be installed on a computer. If you want to continue to use AppleWorks on the G3 iMac, you'll need to purchase a retail copy to install on the MacBook.
    Regards,
    Barry

  • Need help with ICA files

    hello,
    i need to get access to these archives here:
    http://rzblx10.uni-regensburg.de/dbinfo … 28#ZEITUNG
    for that i need a winframe-client. i got here some help (in german):
    http://www.ulb.uni-bonn.de/ebibliothek/ … /index.htm
    i tried the wincenter.sh (with hd2u and netkit-rsh) script there and also tried to install the citrix ica-client, but i got nothing working.
    has anyone some experience with this stuff?
    thank you in advance,
    vlad

    What you try to do involves a lot of parsing, as others have explained already. Parsing data is a tedious and time consuming task normally, but Labview fortunately offers quite some functions to assist you. Unfortunately, however, one needs some experience to apply them. I assembled a VI (see attachment) which probably comes close to want you want.
    When you look into its code you will see some of the parsing techniques. Also notice that I tried to bring the string data from the original file into some other, more useful structure. I do not claim to always have chosen the optimum structure.
    Also I did not do any error checking. So I noticed at the end, that some of the data (although contained in the original file) are missing in the summary produced by my VI. The resaon seems to be an inconsistent use of delimiter characters in that file: mostly individual entries are delimited by a series of blank characters, but sometimes an entry is missing (eg. do some of the lines neither contain 'Pass' or 'Fail', but just another blank instead. Since I took a series of consecutive blanks as a delimiter, my counting of entries had to fail.
    Try to get a more consistently created raw-data file, e.g. one where tab characters are used as delimiters. Otherwise the parsing will be unnecessarily complicated.
    Good luck
    -Franz
    Attachments:
    MY FILES_TO NI_FORM.zip ‏58 KB

  • Need help with a file i am trying to print

    i try to print this file using adobe reader with all updates and it says
    can not print pdf
    it is trying to flatten the file before the print
    it still sends it to the printer but my boss says it should not give us an error message
    please help me
    https://www.dropbox.com/s/8ts56kjul4o3ygk/13-118%20IP%202013-11-8.pdf

    You don't need an Event Structure, a simple State Machine would be more appropriate.
    There are many examples of State Machines within this forum.
    RayR

  • Need help with saving file for printer

    I am using Acrobat 9. I have a document with four pages. I need to save it in two files-- one file with p. 4 and 1 side by side to print on 11 x 17 paper, and the other file with p. 2 and 3 the same. The person printing does not have Acrobat so the pdf itself has to be formatted this way so they can print it. I can rearrange the pages, delete pages, and so forth, but I cannot get them to display side by side except in a "view" option.
    Thanks for any help.

    Thanks could remember that for nothing

  • Migrating from iMac CD to MBPC2D - Need Help with the FIle Migration

    I just ordered a refurb 2.4 MacBook Pro, which will replace my iMac Core Duo as my main machine. The iMac is running Tiger. I've decided that I only am concerned with migrating the following information from the iMac, and want some help on the best way to do this (paths/locations would be helpful too):
    -iPhone backups - to ensure my iPhone doesn't get wiped when it syncs. I will want to copy the last backup over to the MBP.
    -All iTunes Music and Movies
    I will then manually re-install VirusBarrier x4, MS Office, etc. I think this is better than trying to migrate everything over. What do you think?
    Edit: I also have a FireWire external hard-drive available to assist with this.
    Thanks
    Message was edited by: Azeroth

    Folders You Can Move to Your new Mac
    From the Home folder copy the contents of Documents, Movies, Music, Pictures, and Sites.
    In your /Home/Library/ folder:
    /Home/Library/Application Support/AddressBook (copy the whole folder)
    /Home/Library/Application Support/iCal (copy the whole folder)
    Also in /Home/Library/Application Support (copy whatever else you need including folders for any third-party applications)
    /Home/Library/Keychains (copy the whole folder)
    /Home/Library/Mail (copy the whole folder)
    /Home/Library/Preferences/com.apple.mail.plist (* This is a very important file which contains all email account settings and general mail preferences.)
    /Home/Library/Preferences/ copy any preferences needed for third-party applications, iTunes, iCal, Address Book, Safari.
    /Home /Library/iTunes (copy the whole folder)
    /Home /Library/Safari (copy the whole folder)
    If you want cookies:
    /Home/Library/Cookies/Cookies.plist
    /Home/Library/Application Support/WebFoundation/HTTPCookies.plist
    For Entourage users:
    Entourage is in /Home/Documents/Microsoft User Data
    Also in /Home/Library/Preferences/Microsoft
    For FireFox:
    /Home/Library/Applications Support/FireFox
    /Home/Library/Preferences/org.mozilla.firefox.plist
    Credit goes to another forum user for this information.
    Read the following about moving iTunes: iTunes- About Music Store authorization and deauthorization.

  • Deploying EJB EARs to Weblogic -- need help with descriptor file?

    I posted this in a different area... maybe it will help to post here.
    Hi all...
    Can someone give me a hand with getting the descriptor correct? I find lots of information about the structure of the XML file, but not much on what needs to go in it.
    If I deploy with it i the default state I don't get that error... but I can't dig my beans out with JNDI.
    I also notice that the class is not the generated class I would expect (and see on other deployments) but is "com.java.proxy.PROXY"
    Here is the top of my bean...
    package f17.ejb.creditdata;
    import javax.ejb.SessionContext;
    import javax.ejb.Stateful;
    @Stateful(name = "creditScoreData", mappedName = "f17.ejb.creditData-creditScoreData")
    public class creditScoreDataBean implements creditScoreData {
    This is my weblogic-ejb-jar.xml as it stands:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
                      xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
      <weblogic-enterprise-bean>
        <ejb-name>creditScoreDataBean</ejb-name>
        <stateful-session-descriptor>
          <business-interface-jndi-name-map>
            <business-remote>creditScoreData</business-remote>
            <jndi-name>creditScoreData</jndi-name>
          </business-interface-jndi-name-map>
        </stateful-session-descriptor>
        <ejb-reference-description>
          <ejb-ref-name>creditScoreData</ejb-ref-name>
          <jndi-name>f17.ejb.creditdata.creditScoreData</jndi-name>
        </ejb-reference-description>
        <jndi-name>f17.ejb.creditdata.creditScoreData</jndi-name>
      </weblogic-enterprise-bean>
    </weblogic-ejb-jar>

    I figure this out.. wanted to delete the thread.. but I can't find that option. lol

Maybe you are looking for