Problem with data saving into text file

Hi,
The problem I am facing wihile saving the data into text file is that everytime when I am slecting the path from front panel, the data which is being saved is appended with the previous data, i.e. not only in the new text file, the new set of data is saved but also, if there is any previuos run for the program, the corresponding data is also present in that text file.
However, when I change the same 'control'(file path) to 'constant' in the block diagram, and add the file path, there is no such problem. Basically, changing the "File path" from constant in the block diagram to control (so that it is displayed in the front panel) is causing the problem.
Please help!
Thanks 
Solved!
Go to Solution.
Attachments:
front panel.JPG ‏222 KB
Block Diagram.JPG ‏70 KB
Block diagram with File Path as Constant.JPG ‏74 KB

Your shift register on the For loop is not initialized. It will retain the value of the string from the last time it executed. Initialize that and it should solve your problem.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • Problem with pasting table into text file as text. 09 is different from 08?

    Okay, here's what I'm doing. I've got a table in Numbers which I want to make into a table on a web page. Here's what used to work with Numbers '08 and OS 10.5:
    Select cells. Copy.
    Open TextEdit.
    Paste and Match Style.
    Make Plain Text
    Save As (filename)
    Open PageSpinner
    Go to Table Assistant and Insert File (filename)
    Now I have a new computer, running 10.6 and Numbers '09. And when I insert the file as a table into PageSpinner, I've got a special character littered throughout. Specifically, line breaks seem to be replaced with delete characters (the right-pointing pentagon with an x in it).
    So what has changed, and how can I cope?
    --Dave

    Hi Dave,
    You can try reporting your own post and asking the moderator to delete it for you. Click the link in the lower right corner.
    Jerry

  • Problem with importing saved .json backup file in fresh installed firefox 3.6.8? Message "unable to process the backup file", when i choosed option "Restore" from menu "organize your bookmarks" !?

    Hello,
    my problem is with importing saved .json backup file in fresh installed firefox 3.6.8? Message "unable to process the backup file", when i choosed option "Restore" from menu "organize your bookmarks" !?
    Normally that i followed all instructions from your support site, and that i tried many things, but nothing helped :( !?
    my .json file isn't corrupted cause it was saved on another partition before formatting my OS.
    Please don't tell me that my bookmarks are lost :( cause i had many important things in that bookmarks, on 100.s pages :( ....
    Thanks in advance!
    Sincerely,
    hoho33

    "
    Can you restore that JSON backup in a new profile?
    Did you make sure that it is really a JSON backup and that there is no missing or hidden other file extension?
    A JSON backup starts with: {"title":"","id":1,"dateAdded"
    A HTML backup starts with: <!DOCTYPE NETSCAPE-Bookmark-file-1>
    You can try if you can restore that JSON backup in a new profile.
    Create a new profile as a test to check if your current profile is causing the problems
    See Basic Troubleshooting: Make a new profile
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Please for administration of this support site, make possibility to quote someone's answer, on this way is dificult to answer somebody who wrote some suggestion!
    No, i can't restore JSON backup in new profile, even on fresh installed OS XP SP3, with fresh installation of latest version of firefox!
    MAN I TOLD YOU 10X IT'S 200 % JSON BACKUP FILE!!! I'M NOT IN IT FROM YESTERDAY, I WORK IN IT 12 YEARS!!!
    I tried restoring json backup in new profile, but nothing, i couldn't restore, cause that stupid error from screen shot which i posted again appears !
    Man i'm not totally noob i repeat 2nd time here, and normally that i know to create new profile, and that i tried that, but that didn't help!
    I can't believe that FIREFOX has not good support team, and doesn't care for yours users, this will not give me more reason to use in future firefox
    like borwser, if i don't have good support, and when i have problem like this, to loose all my very important bookmarks and passwords on them, and
    firefox support won't to help me to solve my problem!
    If somebody from firefox support team read this, i can give you Remote desktop access to my computer to try solve this problem, like other serious company
    like HP, Dell , etc. give remote desktop support to their users!
    Corel are you from firefox support team? Please don't write same suggestions, cause i know to read, and i understand well if you write once some suggestion!
    Greetzz

  • PROBLEM LOADING DATA FROM A TEXT FILE.

    Hi,
    Im having a problem in loading my csv file to the database. Im using Oracle Database 10g for Linux. Im in p. 228 in the book. This is my csv file look.
    db_name     db_version     host_id
    db10     9.2.0.7     1
    db11     10.2.0.1     1
    db12     10.2.0.1     1
    db13     9.2.0.7     1
    db14     10.2.0.1     1
    db15     9.2.0.7     1
    I loaded this data to an existing table called DATABASES loaded from tab delimited. FILE CHARACTER SET is UNICODE UTF-8. Then I browsed the name of the csv file to be uploaded. It looked like this.
    File Name      F23757437/db2.csv     Reupload File      
    Separator      
    Optionally Enclosed By      
         First row contains column names.
    File Character Set      
    I CLICKED NEXT, THIS IS WHAT IT LOOKED LIKE.
    Schema:      HANDSONXE06
    Table Name:      DATABASES
    Define Column Mapping      
    Column Names     %
    Format     
    Upload     yes
    Row 1     "db10" "9.2.0.7" 1
    Row 2     "db11" "10.2.0.1" 1
    Row 3     "db12" "10.2.0.1" 1
    Row 4     "db13" "9.2.0.7" 1
    Row 5     "db14" "10.2.0.1" 1
    Row 6     "db15" "9.2.0.7" 1
    I CLICKED LOAD AND THIS WAS THE RESULT.
    * There are NOT NULL columns in HANDSONXE06.DATABASES. Select to upload the data without an error.
    Schema
    Down
    Table Name
    Down
    File Details
    Down
    Column Mapping
    Load Data      
    Schema:      HANDSONXE06
    Table Name:      DATABASES
    Define Column Mapping      
    Column Names     COLUMN_NAMES
    Format     FORMAT
    Upload     UPLOAD
    Row 1     "db10" "9.2.0.7" 1
    Row 2     "db11" "10.2.0.1" 1
    Row 3     "db12" "10.2.0.1" 1
    Row 4     "db13" "9.2.0.7" 1
    Row 5     "db14" "10.2.0.1" 1
    Row 6     "db15" "9.2.0.7" 1
    I WAS REALLY WONDERING WHAT WAS REALLY WRONG. AN ERROR MESSAGE SAID, THERE ARE NOT NULL COLUMNS IN THE HANDSONXE06.DATABASES. I DIDN'T KNOW HOW TO FIX IT. WHAT DO I NEED TO CHANGE TO LOAD THE DATA WITHOUT AN ERROR? IT REALLY CONFUSED ME A LOT AND HOW COME I HAVE AN ERROR? PLEASE HELP ME. I NEED AND ANSWER TO MY PROBLEM PLEASE. I CANNOT GO FORWARD BECAUSE OF THIS.
    THANKS,
    JOCELYN

    I'm not certain of the utility you are using to load the data, however, I completed the following test using SQL Loader to insert the data into my table. Your process should work similar if the trigger and sequence are created for the table you are loading.
    SQL> create table load_tbl
      2  (db_id number(3) not null,
      3   db_name varchar2(100) not null,
      4   db_version varchar2(25),
      5   host_id number(3) not null)
      6  /
    Table created.
    SQL> desc load_tbl
    Name                                      Null?    Type
    DB_ID                                     NOT NULL NUMBER(3)
    DB_NAME                                   NOT NULL VARCHAR2(100)
    DB_VERSION                                         VARCHAR2(25)
    HOST_ID                                   NOT NULL NUMBER(3)
    SQL> create sequence db_id_seq;
    Sequence created.
    SQL> create or replace trigger db_id_trig
      2  before insert on load_tbl
      3  for each row
      4  when (new.db_id is null)
      5  begin
      6    select db_id_seq.nextval into :new.db_id from dual;
      7  end;
      8  /
    Trigger created.
    The contents of the data file, control file and log file are below for the load into load_tbl.
    C:\>sqlldr userid=username/password@db control=db_id_load.ctl log=db_id_load.log
    SQL*Loader: Release 9.2.0.6.0 - Production on Thu Jan 18 17:21:47 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Commit point reached - logical record count 6
    C:\>
    SQL> select * from load_tbl
      2  /
         DB_ID DB_NAME              DB_VERSION                   HOST_ID
             1 db10                 9.2.0.7                            1
             2 db11                 10.2.0.1                           1
             3 db12                 10.2.0.1                           1
             4 db13                 9.2.0.7                            1
             5 db14                 10.2.0.1                           1
             6 db15                 9.2.0.7                            1
    6 rows selected.
    SQL>
    Data File"db10" "9.2.0.7" 1
    "db11" "10.2.0.1" 1
    "db12" "10.2.0.1" 1
    "db13" "9.2.0.7" 1
    "db14" "10.2.0.1" 1
    "db15" "9.2.0.7" 1
    Control FileLOAD DATA
    INFILE "C:\db_id_load.dat"
    APPEND INTO TABLE load_tbl
    FIELDS TERMINATED BY WHITESPACE OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (db_name CHAR,
    db_version CHAR,
    host_id "TO_NUMBER(:host_id,'99999999999')"
    Log FileSQL*Loader: Release 9.2.0.6.0 - Production on Thu Jan 18 17:21:47 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Control File:   db_id_load.ctl
    Data File:      C:\db_id_load.dat
      Bad File:     db_id_load.bad
      Discard File:  none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table LOAD_TBL, loaded from every logical record.
    Insert option in effect for this table: APPEND
    TRAILING NULLCOLS option in effect
       Column Name                  Position   Len  Term Encl Datatype
    DB_NAME                             FIRST     *  WHT O(") CHARACTER           
    DB_VERSION                           NEXT     *  WHT O(") CHARACTER           
    HOST_ID                              NEXT     *  WHT O(") CHARACTER           
        SQL string for column : "TO_NUMBER(:host_id,'99999999999')"
    Table LOAD_TBL:
      6 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    Space allocated for bind array:                  49536 bytes(64 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:             6
    Total logical records rejected:         0
    Total logical records discarded:        0
    Run began on Thu Jan 18 17:21:47 2007
    Run ended on Thu Jan 18 17:21:47 2007
    Elapsed time was:     00:00:00.39
    CPU time was:         00:00:00.13

  • How to save data results into text file

    I want to solve an equation of degree 2 for example, and results are displayed in a text file

    Like many other software coding forums, we don't want to give hand outs.  We are more than happy to give hand ups.  Show that you've tried to figure out the problem and show us where you are stuck.  Then we will be glad to help you get you unstuck.  If we just give you an answer, you will learn nothing.
    As far as writing to a text file, look in the File I/O palette for the Write to Text File primitive.  Also, if you go to Help->Find Examples... and do a search for "text file" you will get some examples of how to use it.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • PE 13 crashes due to incompatible video driver detected. Running on Win 7 SP1 with ATI 540v video card/driver.  Deleting bad driver file in adobe program data does not fix the problem,  it simply replaces the text file and crashes again.  My video driver

    PE 13 crashes due to incompatible video driver detected. Running on Win 7 SP1 with ATI 540v video card/driver.  Deleting bad driver file in adobe program data does not fix the problem,  it simply replaces the text file and crashes again.  My video driver is just fine.  Any help out there?

    rb
    Your video card driver may be fine for something, but just not compatible with Premiere Elements 13/13.1.
    For those with the display card error, the answers include
    a. assure your video card/graphics card driver version is up to date according to the web site of the manufacturer of the card -
    if necessary consider a driver roll back.
    b. determine in Device Manager/Display Adapters if the computer is using 2 cards instead of 1
    c. delete the BadDrivers.txt file
    the rationale for that deletion is found in post 10 of the following older post...principle applies to 13 as well as 9.
    Re: Premiere Elements 9 Tryout Serious Display Problem
    Have you looked for computer ATI card settings that might be more compatible with Premiere Elements 13/13.1?
    When is the program crashing - just opening a new project or rather crashing if editing a particular video format at the Timeline level?
    ATR

  • Problem with Date - Text File Source and Oracle Target

    Hi All,
    I have a source data (text file) with date column in the format of 'MM/DD/YYYY'. My target is oracle. I am using the LKM FILE TO SQL and IKM SQL Control Append. When i execute this interface, i am getting an error as
    7000 : null : com.sunopsis.jdbc.driver.file.b.i
    com.sunopsis.jdbc.driver.file.b.i
    at com.sunopsis.jdbc.driver.file.b.f.getColumnClassName(f.java)
    at the Load Data step.
    How to load date columns from text file to oracle tables? Please help me in resolving this...
    Thanks in Advance,
    Ram Mohan T

    The worst solution is to define for your text file the date as a string and then to rebuild your date type in Oracle.
    something like
    convert(Substr(myfield,4,2)||Substr(myfield,1,2)||Substr(myfield,7,4) ,'MMDDYYYY')
    this is maybe the worst solution but it should work.
    Regards
    Brice

  • Timestamp when saved in text file and reloaded does not give correct dates

    Hello
    I am struggling with time stamp. I have almost corrected the problem but it is not as good as I expect it to be.
    I have data in the main vi which logs into text file with time stamp for everyday results logs.
    I then pull all this data to display on waveform graph with the performance data on y axis and time stamp on x axis.
    I convert the time stamp data from string back to time stamp using scan from function in string pallette. When I run the waveform graph vi. The time stamp data is not correct one. I see year values beginning 1974 etc. I change these values to 2011 and the correct dates and then could see the accurate logged data from data logger but I would like to have the starting date in my logged file the left most date on x-axis. I try modify dates in display format section of waveform graph but I think it gives the values in seconds which doesn't make much sense to me. Is it possible to automatically set the starting value of the graph as the first date in the logged file? I am new with using time stamps. Any feedback will be appreciated.
    Kind Regards
    Austin

    Hi Austin,
    "Is it possible to automatically set the starting value of the graph as the first date in the logged file?"
    Sure: Use autoscaling, format x-axis as time and use waveforms with correct t0 value...
    For all other questions you should attach a VI to show your current state of programming!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do you read data from a text file into a JTextArea?

    I'm working on a blogging program and I need to add data from a text file named messages.txt into a JTextArea named messages. How do I go about doing this?

    Student_Coder wrote:
    1) Read the file messages.txt into a String
    2) Initialize messages with the String as the textSwing text components are designed to use Unix-style linefeeds (\n) as line separators. If the text file happens to use a different style, like DOS's carriage-return+linefeed (\r\n), it needs to be converted. The read() method does that, and it saves the info about the line separator style in the Document so the write() method can re-convert it.
    lethalwire wrote:
    They have 2 different ways of importing documents in this link:
    http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html
    Neither of those methods applies to JTextAreas.

  • Spool SQl data into text file using dynamic sql

    Hi,
    I am spooling output data into text file using command
    select 'select t.mxname,bo.lxtype,t.mxrev'||chr(10)||'from mx_1234567'||chr(10)||
    'where <condition>';
    here mxname varchar(128),lxtype(128),mxrev(128) all are of varchar type.I want the output in format
    e.g Part|1211121313|A
    but due to column width the output,I am getting is with spaces.
    "Part then blank spaces |1211121313 then blank spaces |A"
    how can I remove these spaces between columns.I used set space 0 but not working.
    Thanks in advance.
    Your help will be appreciated.

    Hi Frank,
    I have seen your reply for SET LINE SIZE function. But, I could not be able to understand it.
    I am facing similar kind of issue in my present project.
    I am trying spool more than 50 columns from a table into flat file. Because of more column lengths in few columns, i am getting space. There are so many columns with the same issue. I want to remove that space.so that, data can fit perfectly in one line in .txt file without any wrap text.
    Below is my sample query.sql. Please let me know the syntax. My mail id : [email protected]
    --Created : Sep 22,2008, Created By : Srinivasa Bojja
    --Export all Fulfillments
    --Scheduled daily after 1:00am and should complete before 3:30am
    WHENEVER SQLERROR EXIT SQL.SQLCODE
    SET LINESIZE 800
    SET WRAP OFF
    SET PAGESIZE 800
    SET FEEDBACK OFF
    SET HEADING ON
    SET ECHO OFF
    SET CONCAT OFF
    SET COLSEP '|'
    SET UNDERLINE OFF
    SPOOL C:\Fulfillment.txt;
    SELECT SRV.COMM_METHOD_CD AS Method,
    SRV.SR_NUM AS "Fulfillment Row_Id",
    CON.LAST_NAME AS "Filled By"
    SRV.SR_TITLE AS Notes,
    SRVXM.ATTRIB_04 AS "Form Description"
    FROM SIEBEL.S_SRV_REQ SRV,
    SIEBEL.S_SRV_REQ_XM SRVXM,
    SIEBEL.S_USER USR,
    SIEBEL.S_CONTACT CON
    WHERE SRV.ROW_ID = SRVXM.PAR_ROW_ID AND
    SRV.OWNER_EMP_ID = USR.ROW_ID AND
    CON.ROW_ID= SRV.CST_CON_ID;
    SPOOL OFF;
    EXIT;

  • Adding data from a text file into a JTextArea

    I'm working on a blogging program and I need to add data from a text file named messages.txt into a JTextArea named messages. How do I go about doing this?

    then you need to be more specific in what you need help with because those are two commonly used options for reading data in from a file. what have you tried? where is your code failing? what kind of errors are you getting? of course it looks like others in the forum have already reprimanded you for failing to post properly.
    i have used both FileReader and the nio package for cfg and ini files which are both just txt files as well as massive data files. so tell me how they dont help you?

  • How to parse data from a text file with no convenient delimiters?

    I need to read data from a text file.  This file contains one line of data with the repeating pattern "time 00 ADVar2: ___ Height: ____ time 01 ADVar2: ___ Height: ___ ..."  I need LabView to parse out the "time" and "height" values, build an array with the values, and graph the correlation on an X&Y plot.  Does Labview have an automated way to read to the input data file and parse out the correct values, even without convenient delimiters?  Thank you.

    You actually do have a convenient delimiter: "time". Thus, you can make an array using that as the delimiter. Only caveat is that the first array element will be empty. Then you can conveniently use the Scan From String function in a for-loop. Something like this:
    Message Edited by smercurio_fc on 11-21-2008 03:13 PM
    Attachments:
    Example_VI.png ‏9 KB

  • How to do import data from the text file into the mathscript window?

    Could anyone tell me how to do import data from text file into mathscript window for labview 8?
    MathScript Window openned, File, Load Data - it has options: custom pattern (*.mlv) or all files. 
    Thanks

    Hi Milan,
    Prior to loading data in Mathscript Window , you have to save the data from the Mathscript window (the default extension of the file is .mlv but you can choose any extension). This means that you cannot load data from a text file  that was not created using the Mathscript window.
    Please let me know if you have any further questions regarding this issue.
    Regards,
    Ankita

  • I have one problem with Data Guard. My archive log files are not applied.

    I have one problem with Data Guard. My archive log files are not applied. However I have received all archive log files to my physical Standby db
    I have created a Physical Standby database on Oracle 10gR2 (Windows XP professional). Primary database is on another computer.
    In Enterprise Manager on Primary database it looks ok. I get the following message “Data Guard status Normal”
    But as I wrote above ”the archive log files are not applied”
    After I created the Physical Standby database, I have also done:
    1. I connected to the Physical Standby database instance.
    CONNECT SYS/SYS@luda AS SYSDBA
    2. I started the Oracle instance at the Physical Standby database without mounting the database.
    STARTUP NOMOUNT PFILE=C:\oracle\product\10.2.0\db_1\database\initluda.ora
    3. I mounted the Physical Standby database:
    ALTER DATABASE MOUNT STANDBY DATABASE
    4. I started redo apply on Physical Standby database
    alter database recover managed standby database disconnect from session
    5. I switched the log files on Physical Standby database
    alter system switch logfile
    6. I verified the redo data was received and archived on Physical Standby database
    select sequence#, first_time, next_time from v$archived_log order by sequence#
    SEQUENCE# FIRST_TIME NEXT_TIME
    3 2006-06-27 2006-06-27
    4 2006-06-27 2006-06-27
    5 2006-06-27 2006-06-27
    6 2006-06-27 2006-06-27
    7 2006-06-27 2006-06-27
    8 2006-06-27 2006-06-27
    7. I verified the archived redo log files were applied on Physical Standby database
    select sequence#,applied from v$archived_log;
    SEQUENCE# APP
    4 NO
    3 NO
    5 NO
    6 NO
    7 NO
    8 NO
    8. on Physical Standby database
    select * from v$archive_gap;
    No rows
    9. on Physical Standby database
    SELECT MESSAGE FROM V$DATAGUARD_STATUS;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    ARC1: Becoming the heartbeat ARCH
    Attempt to start background Managed Standby Recovery process
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery not using Real Time Apply
    MRP0: Background Media Recovery terminated with error 1110
    MRP0: Background Media Recovery process shutdown
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 2148
    RFS[1]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 2384
    RFS[2]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[3]: Assigned to RFS process 3188
    RFS[3]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[4]: Assigned to RFS process 3168
    RFS[4]: Identified database type as 'physical standby'
    RFS[4]: No standby redo logfiles created
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    10. on Physical Standby database
    SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
    PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 1 9 13664 2
    RFS IDLE 0 0 0 0
    10) on Primary database:
    select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    ARCm: Becoming the 'no FAL' ARCH
    ARCm: Becoming the 'no SRL' ARCH
    ARCd: Becoming the heartbeat ARCH
    Error 1034 received logging on to the standby
    Error 1034 received logging on to the standby
    LGWR: Error 1034 creating archivelog file 'luda'
    LNS: Failed to archive log 3 thread 1 sequence 7 (1034)
    FAL[server, ARCh]: Error 1034 creating remote archivelog file 'luda'
    11)on primary db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00004_0594204176.001 4 NO
    Luda 4 NO
    Luda 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00005_0594204176.001 5 NO
    Luda 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00006_0594204176.001 6 NO
    Luda 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00007_0594204176.001 7 NO
    Luda 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00008_0594204176.001 8 NO
    Luda 8 NO
    12) on standby db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00004_0594204176.001 4 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00005_0594204176.001 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00006_0594204176.001 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00007_0594204176.001 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00008_0594204176.001 8 NO
    13) my init.ora files
    On standby db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\luda\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\luda\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\luda\luda.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\luda\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_unique_name='luda'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='luda'
    *.fal_server='irina'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/luda/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_2='SERVICE=irina LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/irina/','C:/oracle/product/10.2.0/oradata/luda/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\luda\udump'
    On primary db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/irina/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/irina/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\irina\control01.ctl','C:\oracle\product\10.2.0\oradata\irina\control02.ctl','C:\oracle\product\10.2.0\oradata\irina\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/irina/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='irina'
    *.fal_server='luda'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/irina/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_2='SERVICE=luda LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/luda/','C:/oracle/product/10.2.0/oradata/irina/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/irina/udump'
    Please help me!!!!

    Hi,
    After several tries my redo logs are applied now. I think in my case it had to do with the tnsnames.ora. At this moment I have both database in both tnsnames.ora files using the SID and not the SERVICE_NAME.
    Now I want to use DGMGRL. Adding a configuration and a stand-by database is working fine, but when I try to enable the configuration DGMGRL gives no feedback and it looks like it is hanging. The log, although says that it succeeded.
    In another session 'show configuration' results in the following, confirming that the enable succeeded.
    DGMGRL> show configuration
    Configuration
    Name: avhtest
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    avhtest - Primary database
    avhtestls53 - Physical standby database
    Current status for "avhtest":
    Warning: ORA-16610: command 'ENABLE CONFIGURATION' in progress
    It there anybody that experienced the same problem and/or knows the solution to this?
    With kind regards,
    Martin Schaap

  • Saving data retrieved from text file to JDBC table

    Hi,
    I would like to save data, loaded from a text file to a dataset, into an existing JDBC table.
    The documentation I found on this subject is very brief, and no matter how I tried, I couldn't succeed.
    I would appreciate any help.
    Thank you in advance

    Hi there,
    Here is an example of reading a String and a date from a text file. Once you have what you need in the Strings (or whatever) it should be easy to insert them into and SQL statement. Let me know if you need an example of this as well and I'll post it in the morning. Right now I'm off to bed :o)
    Cheers
    Mark
    import java.io.*;
    import java.util.*;
    import java.text.*;
    public class WriteTest {
    public static void main(String [] arg) throws Exception {          
       Date today = new Date();          
       String name = "";          
       SimpleDateFormat formatter = new SimpleDateFormat("ddMMyyyy");          
       File myfile = new File("hello.txt");               
       // how to input     
       BufferedReader in = new BufferedReader(new FileReader(myfile));          
       String name="",
       date="";          
       boolean eof = false;          
       do {
          name = in.readLine();               
          date = in.readLine();               
          if(!(eof = (name==null || date==null)))                    
          System.out.println(name+" "+formatter.parse(date));
       while(!eof);     
    }

Maybe you are looking for

  • ITunes changes my ID3 tags... more info please.

    Hello, I'm in the process of setting up a podcast on iTunes for my church. Here is the feed. http://www.christcommunity.org.au/feed/?post_type=sermons Now, when I subscribe to the feed in iTunes and download a file, I notice that two important ID3 ta

  • PGP Encryption support in SOA Suite 11g

    Hi, Looking for PGP encryption support in SOA Suite 11g as we have a requirement to encrypt the file using PGP encryption and send over SFTP. I already went through some of the forums posts but they are date back to 2007, so just wanted to confirm if

  • HT201272 What if the app is not listed in the purchased section?

    I was trying to remove some trivia packs on the scene it 2 movie app by deleting and restoring (as suggested in the app) and now I can't find it in my purchased apps list in the app store so I can restore it.  It's not even listed as an app to purcha

  • Random Backups failing on DPM

    Multiple Backups are failing on SCDPM 2012 SP1, with errors like  DPM failed to communicate with the protection agent on dpmserver.xyz.com because the agent is not responding. (ID 43 Details: Internal error code: 0x8099090E) The protection agent on c

  • Supplier Query

    Hi, I am trying to generate a report for Suppliers which captures various fields in the supplier registration page. I wrote the query (pasted below) Select          <%RESULTS%> From         <%SCHEMA%>.FCI_MAS_VENDOR T1 LEFT OUTER JOIN         <%SCHEM