Import ASCII file: user prompt

Hi,
is it possible to create an additional prompt when using the data manager to import an ASCII file? We have a file that contains all necessary information bar the period. Would it therefore be possible to ask the user at runtime which period the data should be imported to?
Thanks,
Arnold

Hi Arnold,
While running the import DM, you can definitely change the advanced logic and create a prompt statement to prompt the user for the time member. However, not sure whether it will be taken care of while importing the data from the flat file or not. Usually, all the records from the flat file are loaded into the fac2 table of the application (provided the members are base level).
I believe, it will be easier to have the appropriate periods in your flat file.
Hope this helps.

Similar Messages

  • Import ASCII file with empty fields

    Hi,
    I need to import an ASCII file that for the INTCO dimension has a blank field when the source system does not provide a value. I need a conversion file to convert the other values delivered anyway, so I added EXTERNAL: *EmptyField -> INTERNAL: I_NONE at the end, but that generates an error.
    Does anyone know what the correct syntax is to use for an empty field in a conversion table?
    Thanks

    Hi,
    In that case, I would request you to delete the empty column from the flat file and then use *NEWCOL in the transformation file.
    Hope this helps.

  • Can Signal Express prompt the user for the next ascii file name?

    I am using the following to collect data from Thermocouples and Strain Guages in our plant.  It allows me to plt data every second, while recording only every 3 seconds to cut down the file size.
    Big Loop- 
    Small Loop- 
          Conitional repeat...
          DAQmx Aquire...
          Statistics (mean) Temp...
          Statistics (mean) Press...
          Current Iteration...
    End Small Loop-
    Save to ASCII/LVM
    The problem is that I have to configure the save step as "overwrite once, then append" so I get a single file each time the project runs.  How can I get Signal Express to either prompt the user for a new file name with each run or have the ascii file saved into the log directory for that run.  As it stands now, the file gets overwritten with each new project run.
    Thank you.
    new user

    Hi crawlejg,
    You can set signal express to increment the file being created each time.  But if you are looking for 1 new file each time the project runs you will have to use LabVIEW as this advanced functionality is not available in Signal Express.  If you need help getting this to work in LabVIEW or have any other questions please feel free to ask!
    Sincerely,
    Jason Daming
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Import PST files for multiple users at the same time?

    While importing PST files into archive mailboxes, the Exchange 2010 mailbox server went to 100% CPU and memory usage and I could not stop the imports because the EMS stopped responding.  We had to restart the whole server to get back to normal.
    Not sure if importing PSTs was the cause of it it was a coincidence.  We have done imports the same way before without this issue.
    How many PST imports can be done at the same time and how do we queue up multiple users and have the mailbox imports have unique names for each user?  I noticed they are always called MailboxImport and MailboxImport1 and then it starts over as MailboxImport
    again for additional users. So, if more than one user's PSTs are being imported at the same time, we will have multiple identically named imports running.
    We would like multiple users' PST imports to queue up and start automatically when the previous users' imports complete.

    Please try like this. Rename folder name same as alias.  i.e. \\server\share\<alias>. below are examples.
    "\\server\share\jsmith"
    "\\server\share\tjones"
    "\\server\share\rsmith"
    "\\server\share\bspears"
    "\\server\share\mmouse"
    And run below command to take PST from the corresponding
    foreach ($i in (Get-Mailbox)) { New-MailboxImportRequest -Mailbox $i -FilePath "\\Server\share\$($i.Alias)\$($i.Alias).pst" -baditemlimit 50 -acceptlargedataloss ;while ((Get-MailboxImportRequest -mailbox $i | ? {$_.Status -eq "Queued" -or $_.Status -eq "InProgress"})) { sleep 180 } }
    If a folder missing with the alias you will see an error similar to this.I think this will work for you. You just keep only the required PST folders to import in the "\\Server\share" folder. 
    "Unable to open PST file '\\server\share\mmouse\mmouse.pst'.
    Error details: Could
     not find a part of the path '\\server\share\mmouse\mmouse.pst'.
        + CategoryInfo          : NotSpecified: (0:Int32) [New-MailboxImportRequest], RemotePermanentException
        + FullyQualifiedErrorId : 27802833,Microsoft.Exchange.Management.RecipientTasks.NewMailboxImportRequest"
    Thanks, MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • I am a Windows Vista User. I updated my iTunes Version 10.3. Then, when I re-opened my iTunes, all files were gone! Good thing I consolidated the files and just imported the files again. But, this happens every time I close and open my iTunes. Help?

    I am a Windows Vista User. I updated my iTunes Version 10.3. Then, when I re-opened my iTunes, all files were gone! Good thing I consolidated the files and just imported the files again. But, this happens every time I close and open my iTunes. Help?

    In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"

  • Data import from ASCII file : javasript to determine correct account

    Hi,
    I am importing data from an ASCII file and need to use a conversion file with javascript to determine the correct account depending on the amount I am importing.
    As an example:
    If external account B4711 carries an amount of 1000 it needs to be imported into internal account A890, if it carries an amount of -1000 it needs to be imported into internal account B890.
    I have the VB script to do this in the MS version but am struggling with the javascript for the NW version.
    In the transformation file, the account is the amount from the load file, the string | and the account from the load file. In my example I would get either 1000|B4711 or -1000|B4711. This part works fine.
    The conversion file looks like this:
    external                  internal                                                                     formula
    *|B4711                 *IF(js:%external%.substring(0,1)=- then B890; A890)      
    The idea is, that if the first character is the minus sign, the conversion will return account B890, if it is any other character the conversionwill return A890. The actual result is that all data is imported into the account A890 irrespective of the amount (both positive and negative amounts).
    Can anyone help me with this?
    Thanks,
    Arnold

    Hi Arnold,
    Oh no! I thought this was going in the Formula column. I don't know how I got that idea.
    So, I reviewed the documentation ([http://help.sap.com/saphelp_bpc75_nw/helpdata/en/81/94a8a5febd40268d5c59b4fc31be37/frameset.htm]) and you are correct that you should be able to use JS with the *IF statement - I was incorrect about that, at least according to the docs. In your original JS you probably just needed to use == instead of = and then put the minus sign in double-quotes
    They also give an example of how to do it without JS, which I guess would look like
    *If(%external%=-* then 242000; 128000)
    So, that might work as well, though I'm not sure about how it's going to handle that minus sign.
    Ethan

  • Error in importing data from multiple ASCii files, Concatenat​e

    I am trying to use the "Importing Data From Multiple ASCII FIles.VBS" and the "Concatenate Groups.VBS" scripts downloaded from here, http://zone.ni.com/devzone/cda/epd/p/id/3870. When I run the importing data script and test it by highlighting the example data that comes with the download I get an error. "Error in <Importing Data From Multiple ASCII Files.VBS> (Line:60, Column: 11):  Variabls is undefined: 'AscIIAssocSet'  "
    The offending line of code is "  Call AsciiAssocSet(FilePaths(i), StpFilePath) ' assign STP file    "
    Screenshots of the error are attached.
    Can anyone tell me what this error is?  Am I just doing something wrong? Getting quite frustrated.
    Thanks in advance.
    Attachments:
    concactenate1.png ‏261 KB
    concactenate2.png ‏243 KB

    Please have a look at the DIAdem Example to concanate channels. Its delivered with DIAdem.
    Examples > Creating Scripts > Scripts > Appending Channels to Each Other
    Please use a dataplugin (File -> Text DataPlugin Wizard...) or the csv plugin to load your data.
    Greetings
    Andreas
    P.S.: The one you have downloaded needs the old Ascii Wizard that is not activated by default in newer DIAdem versions.
    If you want to use it anyway:
    Settings -> Options -> Extensions -> GPI Extensions ...
    Add gfsasci.dll

  • Import txt file into user dictionary

    How to import text file into user dictionary through javascript? I can manually import txt file into user dictionary thru "Edit=>Spelling=>User dictionary...". But I don't know how to do it using javascript. Please advise.

    Advice? See in some version of the object-model reference under userDictionary. There you'll find a method called addWord(), which looks promising.
    Peter

  • Used Migration Assistant to import PC files. It created second user account that won't sync with iPad.  How do I merge accounts?

    Used Migration Assistant to import PC files. It created second user account that won't sync with iPad.  How do I merge accounts?

    It's next to impossible to fully merge two accounts on a Mac easily.
    This being said, though, please take a look at "The Great Pondini's" site where this specific issue is addressed.  There should be information here you can use to get things sorted out.
    http://pondini.org/OSX/Transfer.html

  • Input ascii file to diadem with ascii-import filter

    Hello,
    i want to import an ascii-file to diadem7.02 and want to save it as an .DAT-File.
    i do this with Fileload and with the ascii-import filter. My problem is, when i want to record a autosequence, and i open the ascii-import filter und push the Ctrl-A key, it doesn´t record this window in the autosequence.
    Is this unpossible in DIAdem or have anyone a solution for it.

    Thank you Brad for your help,
    but this solution is only for Diadem 8 and i have version 7.02.
    I have hardly experience in Diadem 8 and nothing in vbs-programming so i had to solve this problem in Diadem 7.
    Attachments:
    BZE_fb2_001_3.zip ‏1 KB
    asciidef.stp ‏1 KB

  • Directory created in UCCX server \Program Files\wfavvid\Prompts\user\en_US\ disappears

    Hello,
    Has anyone experienced this before?  In my UCCX server, I have some sub-directories in the folder \Program Files\wfavvid\Prompts\user\en_US\ with prompts.  I just restarted the Cisco Unified CCX Engine  service, and the directory and prompt files disappeared!  I did it again just to make sure (created directory in that path and restarted the service again, and that directory is gone after the service comes back.)
    I'm running UCCX Premium 7.0(1)SR05_Build504
    Thanks,
    -Dave

    That's not a bug, it's a feature.
    You cannot just go to the Prompts folder on the CCX filesystem and place your prompts there in whatever directory structure you'd like to. CCX will always restore the directory structure which is stored in its database after engine restarts.
    You need to use the CCX administrative interface to create prompts dir structure, and upload the prompts there.
    If you don't want to go over this hassle, you can also create a directory structure on the file system OFF the CCX Prompts folder, but you'll have to make sure in the scripts you'll have to reference your prompts a little bit differently. Instead of saying P[somedir\someprompt.wav] in the Play Prompt step, you'll have to first do a Create File Document with the full pathname and filename of the prompt file, and then do the Play Prompt step referencing the document created by the previous step. Here is what I use:

  • Error handling for importing a file

    Hi, I have only been doing java for 1 semester, and have got terribly stuck on my final assg. I have to import a txt file, and catch any exceptions. I know I am not using the correct method to read the file, but am not sure what the alternatives are. I am getting a compile time..illegal character msg for my Mydata.txt file. Here is my code.
    PS I do have a CatalogueItem class and a bit more to the main class, I have not attached it as I do not want this to be too long.
    /The program reads 10 sets of catalogue data from the Mydata.txt file
    //it prompts the user to use one of the 5 menu options displayed on the screen
    //depending on which option is selected the program displays the data
    //back on the screen.
    import java.awt.*;
    import java.lang.*;
    import java .io.*;
    import java.util.StringTokenizer;
    import java.text.NumberFormat;
    import java.util.Locale;
    //set up a class to call on the constructors from the catalogueitem class
    public class Myassg5
         private static final int MAX = 10; //sets the length to 10(for most exp products)
         private static CatalogueItem[] prodlist; //sets array for product list
         NumberFormat cash = NumberFormat.getCurrencyInstance(new Locale("en","AU"));
         public static void main(String[] args) throws IOException
         CatalogueItem prodlist = new CatalogueItem[10];//sets the length to 10
         {//create Buffered FileStream and initialise to zero
         //use bufferedReader to read in data my Mydata.txt file.
         BufferedReader inFile = null;
         BufferedReader inFile = new BufferedReader(new FileReader(C:\Mydata.txt);
         //print a msg stating the file is loading
         System.out.println("Loading file data from Mydata.txt...10 item(s) OK");
         //initialise the array elments to zero
         for( int a = 0; a < prodlist.length; a++)
         prodlist[a] = 0;
         //if incorrect command lines were passed in display
         //usage msg and quit program
         if(prodlist.length != 1)
              System.out.println("Usage: java assg <Mydata.txt>");
              System.exit(0);
         try
              inFile = new BufferedReader(new FileReader(args[0]));
         //display the error and quit if the file is not found
         catch(FileNotFoundException e)
              System.err.println("File not found--program will terminate");
              System.exit(1);
         //display error msg and quit if there is a problem
         //when opening the file
         catch(IOException e)
              System.err.println("Error opening file--program will terminate")
              System.exit(1);
         //repeat this error handling process as often as neccessary
         boolean go = true;
         while (go)
         //get a line of data from the file
         boolean valid = false;
         CatalogueItem prodlist =-1;
         while(!valid)
         //read the line of text from the file
         String temp = null;
         try
              temp = inFile.readLine();
         //display error msg and quit if there is a problem
         //reading from the file
         catch (IOException e)
              System.err.println("error reading from the file--program will terminate");
         System.exit(1);
         //if the string is null the EOF has been reached
         if(temp ==null)
              valid = true;
              go = false;
         //close the file stream
         try
              inFile.close();
         //display error if there was a problem closing the file
         catch (IOException e)
              System.err.println("error closing data file")
         

    I think the problem is the "\M" in "C:\Mydata.txt". It is trying to make that into an escape character. Use "C:\\Mydata.txt" or "C:/Mydata.txt" instead.
    The logic here is odd. You open a BufferedReader for Mydata.txt, then you trash it without closing it and create another BufferedReader for whatever command line argument the user passes in. Which reader do you want to keep?

  • Save a character mode report to ascii file after previewing?

    Question:
    why isn't there a way to say generate a character mode report into an ascii file form the Previewer, am I missing somethig?
    I know you can choose print and then print to file or choose generate to Postscript file, but it is not as clean as it is with bitmaps that you can preview and then save as: html, pdf, htmlcss, rtf etc.
    very many thanks in advance,
    ER.
    null

    I am really glad someone tried to help me. Truly thanks.
    However, I am even more confused now because once I see my character mode report in the previewer and try to generate into an html file the message is:
    rep-1920: Character mode runtime incompatible with desformat of pdf, html, htmlcss or rtf,
    There is no such error with bitmap reports so why would it be a problem for the character report since you say it is converted to bitmap?
    Other than that, even more important question is using this same report to be displayed on web: since there is no convinient storing in the local users space
    in that case.
    Thanks,
    ER.

  • Regarding Import .dmp files to Oracle

    I have GosalesDw.dmp files. I need to import these files to Oracle database.
    I am loging to system/admin . Then I issues 'host cmd' and then i am using ' imp' command for import. But i am unable to import.
    I think I am giving wrong information for path . so suggested me how i will give the path.
    can you please explain me with Example.
    Thanks,
    MohanaKrishna K

    Post Operating System (OS) name & version for DB server system.
    Post results of
    SELECT * from v$version
    I am loging to system/admin why
    imp help=yes
    Import: Release 10.2.0.1.0 - Production on Wed Mar 3 09:47:46 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    You can let Import prompt you for parameters by entering the IMP
    command followed by your username/password:
         Example: IMP SCOTT/TIGER
    Or, you can control how Import runs by entering the IMP command followed
    by various arguments. To specify parameters, you use keywords:
         Format:  IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
         Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
                   or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    USERID must be the first parameter on the command line.
    Keyword  Description (Default)       Keyword      Description (Default)
    USERID   username/password           FULL         import entire file (N)
    BUFFER   size of data buffer         FROMUSER     list of owner usernames
    FILE     input files (EXPDAT.DMP)    TOUSER       list of usernames
    SHOW     just list file contents (N) TABLES       list of table names
    IGNORE   ignore create errors (N)    RECORDLENGTH length of IO record
    GRANTS   import grants (Y)           INCTYPE      incremental import type
    INDEXES  import indexes (Y)          COMMIT       commit array insert (N)
    ROWS     import data rows (Y)        PARFILE      parameter filename
    LOG      log file of screen output   CONSTRAINTS  import constraints (Y)
    DESTROY                overwrite tablespace data file (N)
    INDEXFILE              write table/index info to specified file
    SKIP_UNUSABLE_INDEXES  skip maintenance of unusable indexes (N)
    FEEDBACK               display progress every x rows(0)
    TOID_NOVALIDATE        skip validation of specified type ids
    FILESIZE               maximum size of each dump file
    STATISTICS             import precomputed statistics (always)
    RESUMABLE              suspend when a space related error is encountered(N)
    RESUMABLE_NAME         text string used to identify resumable statement
    RESUMABLE_TIMEOUT      wait time for RESUMABLE
    COMPILE                compile procedures, packages, and functions (Y)
    STREAMS_CONFIGURATION  import streams general metadata (Y)
    STREAMS_INSTANTIATION  import streams instantiation metadata (N)
    VOLSIZE                number of bytes in file on each volume of a file on tape
    The following keywords only apply to transportable tablespaces
    TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
    TABLESPACES tablespaces to be transported into database
    DATAFILES datafiles to be transported into database
    TTS_OWNERS users that own data in the transportable tablespace set
    Import terminated successfully without warnings.

  • How to include preset in RTF import option while importing RTF files?

    Dear all,
    I created a script which will place text from rtf files present in a folder to an active document on different page based on match. I am using a preset name "myRTF" which i will use when i import rtf files without script.
    Is there a way to include this preset in script?
    I have checked many places....... but did not found.
    #target Indesign
    var myDoc = app.documents.item(0);
    var sourceFolder = Folder("/Users/admin4/Desktop/ec_txt");
    myFiles = sourceFolder.getFiles("*.rtf");
    var myFrame1 = myDoc.pageItems.itemByID(111076);  // switerland
    var myFrame2 = myDoc.pageItems.itemByID(111114);  // eurozone
    var myFrame3 = myDoc.pageItems.itemByID(111146);  // germany
    for (var i=0; i < myFiles.length; i++)
        switch (myFiles[i].name.slice (6, myFiles[i].name.lastIndexOf("_")))
            case "Switzerland_en":
            myFrame1.parentStory.insertionPoints.item(-1).place(File (sourceFolder + "/" + myFiles[i].name))
            break;
            case "Eurozone_en":
            myFrame2.parentStory.insertionPoints.item(-1).place(File (sourceFolder + "/" + myFiles[i].name))
            break;
            case "Germany_en":
            myFrame3.parentStory.insertionPoints.item(-1).place(File (sourceFolder + "/" + myFiles[i].name))
            break;

    Hi Dave, Peter,
    thanks for your reply. In that case i will check WordRTFImportPreference but not sure if customize style import can be done for paragraph style sheets.
    for example: word has "normal" and "head1" style but i want to map to indesign Body_light and H1 styles respectively.
    Virender

Maybe you are looking for