Open .dbf files

Here i've read:
strings command in Linux prints all printable characters in a binary file to the screen. We will use grep with strings to verify our sensitive data is visible or not.
$ strings ts_tde01.dbf | grep sensitive
This is very sensitive data
$I'm testing the TDE approach.
How about Windows? How can i open a .dbf file to see what contains?

You can certainly open a DBF file in Windows in your favorite text editor. You'll see a bunch of binary data in addition to human-readable strings.
I am not aware of a command line utility like the Unix "strings" command that would run on Windows and isolate out just the printable characters. Obviously, you could certainly write such a program in whatever text processing language you prefer. Or you could install cygwin to get the unix tools on Windows.
Justin

Similar Messages

  • ORACLE 9i startup problems. Try to open dbf file which doesn't exist

    Hi all,
    I'm trying to startup one oracle instance from sqlplus.
    I can mount the database but i can't open it because try to open one dbf file incorrect.
    Anyone know where i can indicate wich files should use? Perhps it's in the init.ora file?
    Regards

    I am not sure which method rdomene used but I would think he probably used the alter database backup control file to trace command (since he could mount the db)to create a text version that he could look at.
    I have head about people who did not know Oracle provided a means of dumping a text version of the control file to trace who used UNIX strings or a binary editor to see the contents.
    It is unfortunat that the text version, which can be used to reconstruct the control file, does not preserve the rman data.
    HTH -- Mark D Powell --

  • Any Mac software for opening DBF files?

    I have a mac that is not running Windows.
    I would like to at least view the contents of a dbf file. I have tried without success to find (google) such a program.
    Is there anything out there that will help me?
    Thanks.
    -- Jillaine

    Try V.K.'s suggestion first - NeoOffice is free and though its database section is extremely clunky you might be able to get it to work with your file.
    Apple's now unsupported office program AppleWorks can import DBF files: Apple no longer sell it but you might be able to find a copy; ask for advice in the AppleWorks Forum - you might even be able to find someone who will convert it for you if you ask nicely. (You would still have to open it yourself, so you would need to ask them to export it as text).
    FileMaker Pro can import XML and ODBC files but I can't see any evidence that it will import DBF files - you would need to contact their Support on this.
    You only other option would be to try to find someone with Windows and a suitable program who can open the file and convert it to text, either tab or comma delimited, and then open that in (for example) Bento which is art least cheap, or NeoOffice.

  • How to open .dbf Files (xBase) in Crystal Report V14?

    Hey,
    I try to open a .DBF File (XBASE) with SAP Crystal Report V14. As result an error message appears: "Datenbank-Connector-Fehler: " followed by a lot of chinese signs. What can I do? Opening the same File with Crystal Report V10 worked fine. --> File Attached
    Thanks for your help,
    Harry

    Hey,
    thanks for your fast response.
    I don't know which driver it's using. I just try to open it the same type as in the V10.
    If I open the .dbf file through the 'database expert' dialogue - "database file" this error appears:
    to translate it for you to englisch, there's written: Error during opening the database information. Details: No database connector is specified.
    Regards,
    Harry

  • Uploading DBF file

    Dear friends,
       I'm trying to upload DBF file.
       I can easily convert DBF to CSV in excel and upload the CSV file by standard FM. But client wants to upload directly from DBF, no conversion in between.
       I resoted to following techniques:-
       1. Tried WS_UPLOAD, UPLOAD, GUI_UPLOAD without any successful results.
       2. Convert DBF to DAT using include ole2incl but no conversion happening.
       The above mentioned ways were of no help. Please suggest a way to crack this problem.
    Regards,
    Deva Jyothi Singh.

    Hi Deva Jyothi Singh,
    Try the below code...
    This form does is: opens .dbf in Excel,saves it as .dat file ,uploads .dat file into internal table,deletes .dat file.
    *&      Form  load_dbf_file
          text
    -->  p1        text
    <--  p2        text
    FORM load_dbf_file TABLES input_table
                       USING value(t_filename) LIKE rlgrap-filename.
      DATA: application TYPE ole2_object,
            workbooks TYPE ole2_object,
            fworkbook TYPE ole2_object,
            fsheets TYPE ole2_object,
            fsheet TYPE ole2_object,
            dsheet TYPE ole2_object,
            frange TYPE ole2_object,
            frow TYPE ole2_object.
      DATA: return,
          filename(128)   TYPE c,
          l_filename TYPE string.
    Filename conversion
      MOVE t_filename TO filename.
      TRANSLATE t_filename TO UPPER CASE.
      REPLACE '.DBF' WITH '.DAT' INTO t_filename.
      IF sy-subrc NE 0.
    error - filename extension is not DBF "TODO
        MESSAGE w899(f5) WITH 'Error - filename extension is not DBF'.
        EXIT.
      ENDIF.
    check file existence
      CALL FUNCTION 'WS_QUERY'
           EXPORTING
                filename       = filename
                query          = 'FE'
           IMPORTING
                return         = return
           EXCEPTIONS
                inv_query      = 1
                no_batch       = 2
                frontend_error = 3
                OTHERS         = 4.
      IF ( sy-subrc NE 0 ) OR ( return EQ 0 ).
    error - file does not exist "TODO
        MESSAGE w899(f5) WITH 'Error - file does not exist'.
        EXIT.
      ENDIF.
    Working through OLE (MS Excel) *****
    OLE initialization
      CREATE OBJECT dsheet 'Excel.Sheet'.
      IF sy-subrc NE 0.
    error - OLE initialization of MS Excel "TODO
        MESSAGE e899(f5) WITH 'Error - OLE initialization of MS Excel'.
        EXIT.
      ENDIF.
    supress messages from MS Excel
      CALL METHOD OF dsheet 'Application' = application.
      SET PROPERTY OF application 'DisplayAlerts' = 0.
    opening DBF-file
      CALL METHOD OF application 'Workbooks' = workbooks.
      CALL METHOD OF workbooks 'Open' EXPORTING #1 = filename
      #2 = 0
      #3 = 1.
    remove header line from DBF data
      GET PROPERTY OF application 'ActiveWorkbook' = fworkbook.
      CALL METHOD OF fworkbook 'Sheets' = fsheets.
      CALL METHOD OF fsheets 'Item' = fsheet EXPORTING #1 = 1.
      GET PROPERTY OF fsheet 'Rows' = frange.
      CALL METHOD OF frange 'Item' = frow EXPORTING #1 = 1.
      CALL METHOD OF frow 'Delete'.
    save as DAT file
      CALL METHOD OF fworkbook 'SaveAs' EXPORTING #1 = t_filename
      #2 = 20.
    close the book without saving
      CALL METHOD OF fworkbook 'Close' EXPORTING #1 = 0.
    &#1086;&#1095;&#1080;&#1089;&#1090;&#1082;&#1072; &#1089;&#1089;&#1099;&#1083;&#1082;&#1080; &#1085;&#1072; OLE-&#1086;&#1073;&#1098;&#1077;&#1082;&#1090;
      FREE OBJECT dsheet.
    Filling internal table with data *****
      REFRESH input_table.
      l_filename = t_filename.
      CALL FUNCTION 'GUI_UPLOAD'
           EXPORTING
                filename                = l_filename
                has_field_separator     = 'X'
           TABLES
                data_tab                = input_table
           EXCEPTIONS
                file_open_error         = 1
                file_read_error         = 2
                no_batch                = 3
                gui_refuse_filetransfer = 4
                invalid_type            = 5
                no_authority            = 6
                unknown_error           = 7
                bad_data_format         = 8
                header_not_allowed      = 9
                separator_not_allowed   = 10
                header_too_long         = 11
                unknown_dp_error        = 12
                access_denied           = 13
                dp_out_of_memory        = 14
                disk_full               = 15
                dp_timeout              = 16
                OTHERS                  = 17.
      IF sy-subrc NE 0.
    error - loading DAT file "TODO
        MESSAGE w899(f5) WITH 'Error - loading DAT file'.
        EXIT.
      ELSE.
    the loading was successfull "TODO
      ENDIF.
    Delete temporary DAT-file *****
      CALL FUNCTION 'GUI_DELETE_FILE'
           EXPORTING
                file_name = t_filename
           EXCEPTIONS
                OTHERS    = 1.
      IF sy-subrc <> 0.
        CALL FUNCTION 'WS_QUERY'
             EXPORTING
                  filename       = t_filename
                  query          = 'FE'
             IMPORTING
                  return         = return
             EXCEPTIONS
                  inv_query      = 1
                  no_batch       = 2
                  frontend_error = 3
                  OTHERS         = 4.
        IF ( sy-subrc NE 0 ) OR ( return EQ 0 ).
          EXIT.
        ELSE.
    error - deleting temporary file "TODO
        ENDIF.
      ENDIF.
    ENDFORM.                    " load_dbf_file
    You can even try this...Foxpro can be output in comma delimetered mode, so why not use it ?
    There's a standard foxpro (DBF) export tool for this.
    Regards,
    Raj

  • How to view and redact DBF file?

    Is there anybody who knows how to open DBF file on Mac OS Lion 10.7?

    Hi,
    In SharePoint Designer 2010, we could not save the workflow as a template directly except the reusable workflow.
    However, in SharePoint Designer 2013, we can just save all the types workflow as a template, then you can import the workflow into the new environment.
    http://blogs.msdn.com/b/workflows_for_product_catalogs/archive/2012/11/02/deploying-a-workflow-on-a-different-server.aspx
    In SharePoint Designer 2013, every time we publish the workflow, we would get a newer version workflow, and the old workflow version would be overwritten.
    So, when you deploy the workflow in the environment, the workflow would the newer version.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Open dbf

      Hi all,
    I'm trying to open dbf file, please look at my steps and tell me what is wrong (if possible).
    1. I've created package
    dbase_pkg
    using Tom's guide
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:711825134415
    2. Found full path of datafile:
    select name from V$datafile
    R:\ORCLAA7\ORCLAA7\SYSTEM01.DBF
    R:\ORCLAA7\ORCLAA7\SYSAUX01.DBF
    R:\ORCLAA7\ORCLAA7\UNDOTBS01.DBF
    R:\ORCLAA7\ORCLAA7\USERS01.DBF
    R:\ORCLAA7\ORCLAA7\RSACOREDATA.DBF
    R:\ORCLAA7\ORCLAA7\RSACOREINDEX.DBF
    R:\ORCLAA7\ORCLAA7\RSABODATA.DBF
    R:\ORCLAA7\ORCLAA7\RSABOINDEX.DBF
    R:\ORCLAA7\ORCLAA7\RSACMDATA.DBF
    R:\ORCLAA7\ORCLAA7\RSACMINDEX.DBF
    R:\ORCLAA7\ORCLAA7\RSACOREBLOB.DBF
    3. Created directory for this purpose:
    create or replace directory dbf_files3 as 'R:\ORCLAA7\ORCLAA7\';
    4. Tried to load table:
    begin
        dbase_pkg.load_table( 'DBF_FILES3',
                              'RSACMDATA.dbf',
                              'tt3',
                              p_show => TRUE );
        end;
    anonymous block completed
    Sizeof DBASE File: 104865792
    DBASE Header Information:
      Version = 0
      Year    = 2062
      Month   = 0
      Day     = 0
      #Recs   = 4290772992
      Hdr Len = 0
      Rec Len = 0
      #Fields = -1
    Data Fields:
    Insert We would use:
    insert into tt3() values ()
    Table that could be created to hold data:
    create table tt3
    As far as I can see from Tom's guide my last code should return types of columns from my dbf, like this:
    Data Fields: Field(1) Name = "CHARACTER", Type = C, Len  = 100, Scale= 0 Field(2) Name = "NUMERIC", Type = N, Len  = 19, Scale= 15 Field(3) Name = "DATE", Type = D, Len  = 8, Scale= 0 Field(4) Name = "LOGICAL", Type = L, Len  = 1, Scale= 0  Insert We would use: insert into t1("CHARACTER","NUMERIC","DATE","LOGICAL") values (:bv1,:bv2,to_date(:bv3,'yyyymmdd' ),:bv4)  Table that could be created to hold data: create table t1 ( "CHARACTER"   varchar2(100), "NUMERIC"   number(19,15), "DATE"   date, "LOGICAL"   varchar2(1)) /
    But is doesn't happen.
    What is wrong here?

    thomaso wrote:
    What are you trying to do?
    T.
    Perhaps trying to open an old Oracle 7 database without having Oracle 7 rdbms s/w?
    Or maybe I'm clutching at straws trying to put some semblance of sanity onto something that is beyond insane...

  • Oracle XE 11g x64 does not run. No *DBF files inside of the XE folder. Windows 7 Pro x64.

    Hello everyone!
    I hope you are doing well all. In my case I have some troubles by installing Oracle XE 11g on my PC. My OS is Windows 7 Pro x64.
    1. I activated the Administrator mode on my PC (net user Administrator /active:yes)
    2. Started the setup as Administrator. The setup process was finished successfully with no errors showed.
    3. Started the Database, OracleServiceXE, OracleXETNListener and other services.
    4. Tried to connect using sqlplus-> connect system ->password, what in result gave me ORA-01034 Oracle not available and ORA-27101 Shared memory realm does not exist errors.
    5. Then I recognized that my C:\oraclexe\app\oracle\oradata\XE folder is empty when it should be usually full with 6 DBF file.
    6. I opened the cloneDBCreation.log and it contains these data:
    SQL> Create controlfile reuse set database "XE"
      2  MAXINSTANCES 8
      3  MAXLOGHISTORY 1
      4  MAXLOGFILES 16
      5  MAXLOGMEMBERS 3
      6  MAXDATAFILES 100
      7  Datafile
      8  'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
      9  'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
    10  'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
    11  'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
    12  LOGFILE
    13  GROUP 1 SIZE 51200K,
    14  GROUP 2 SIZE 51200K,
    15  RESETLOGS;
    SP2-0640: Not connected
    SQL> exec dbms_backup_restore.zerodbid(0);
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SQL> shutdown immediate;
    ORA-12560: TNS:protocol adapter error
    SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora";
    ORA-12560: TNS:protocol adapter error
    SQL> Create controlfile reuse set database "XE"
      2  MAXINSTANCES 8
      3  MAXLOGHISTORY 1
      4  MAXLOGFILES 16
      5  MAXLOGMEMBERS 3
      6  MAXDATAFILES 100
      7  Datafile
      8  'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
      9  'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
    10  'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
    11  'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
    12  LOGFILE
    13  GROUP 1 SIZE 51200K,
    14  GROUP 2 SIZE 51200K,
    15  RESETLOGS;
    SP2-0640: Not connected
    SQL> alter system enable restricted session;
    SP2-0640: Not connected
    SQL> alter database "XE" open resetlogs;
    SP2-0640: Not connected
    SQL> alter database rename global_name to "XE";
    SP2-0640: Not connected
    SQL> alter system switch logfile;
    SP2-0640: Not connected
    SQL> alter system checkpoint;
    SP2-0640: Not connected
    SQL> alter database drop logfile group 3;
    SP2-0640: Not connected
    SQL> ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oraclexe\app\oracle\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
    SP2-0640: Not connected
    SQL> select tablespace_name from dba_tablespaces where tablespace_name='USERS';
    SP2-0640: Not connected
    SQL> select sid, program, serial#, username from v$session;
    SP2-0640: Not connected
    SQL> alter user sys identified by "&&sysPassword";
    SP2-0640: Not connected
    SQL> alter user system identified by "&&systemPassword";
    SP2-0640: Not connected
    SQL> alter system disable restricted session;
    SP2-0640: Not connected
    SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\postScripts.sql
    SQL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL> set echo on
    SQL> spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\postScripts.log
    I spent around 2 days to come to this reason and now I do not know what to do next.
    My actions to resolve this problem:
    1. Checked if my user has administrative rights and belongs to ora_dba. It does!
    2. Turned Microsoft UAC off.
    3. Set the system and local variables of ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, TNS-ADMIN to the appropriate values in Enivornment Variables:
         - ORACLE_BASE -> C:\oraclexe
         - ORACLE_HOME -> %ORACLE_BASE%\app\oracle\product\11.2.0\server
         - ORACLE_SID -> XE
         - Added to PATH -> C:\oraclexe\app\oracle\product\11.2.0\server\bin;
         - TNS_ADMIN -> %ORACLE_HOME%\network\admin
    4. Removed Oracle XE 11g and reinstalled to another drive. No sense!
    Some more errors:
    1. C:\oraclexe\app\oracle\product\11.2.0\server\config\log\XE.bat.log
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1387) Ein Mitglied konnte in der lokalen Gruppe nicht hinzugefugt oder entfernt werden, da das Mitglied nicht vorhanden ist.
    It means -> O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
    I understand that I need to logon as batch job. I added me to this policy in User Rights Assignments, but still I get these "DIM-00019: create service error" and "O/S-Error: (OS 1387)". And I guess just therefore my database is not starting well.
    2. 127.0.0.1:8080/apex/f?p=4950 is not starting in browser. It is probably because the database is not running appropriately. For this issue have already seen one topic in Google that the HTTP Properties inside the Listener Status must be set to 8080 to make this link work. But in my case I do not see this line in my Listener Status:
    Some other information relevant to the issue:
    1)  echo %USERNAME% - Administrator
         echo %USERDOMAIN% - ildar-PC
    2) Listener.log:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    3) Tnsnames.log
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    4) Sqlnet.log:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    5) While connecting by sqlplus, I get this errors/messages:
    6) Confirmation that I've got admin rights and I am in ORA_DBA:
    If u need some more information from me, please let me know!!
    Guys please help me to solve this issue, 'cause I've almost got frustrated to find out the solution of this problem. Thank you beforehand!!
    Kind regards,
    ildar

    I have tried to install both of them lots of times but in each case I receive the same in my XE.bat file:
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
    Have checked OS 1387 error at Microsoft Support and as possible cause of the problem they give as follows:
    This issue can occur if the environment has a disjointed namespace (i.e. the domain has different NetBIOS and DNS names). For example, assume that the domain has a NetBIOS name of "domain.com" and a DNS name of "domain-old.com." When users are added in the Windows UI, they are displayed in the format of domain\ComputerName. However, you notice in the error log that there was an attempt to add a computer account in the format of domain-old\ComputerName. (System Center 2012 R2 Data Protection Manager install fails and generates ID: 4323: "A member could not be added")
    Tried to find out my DNS name, but it is impossible because I don't have any domain installed and my machine is not connected to it. Some other blog (Install Oracle 11gR2 on Windows) advices to work with adding my computer account to some non-real windows domain (just for the purpose of resolving the network) as well and reinstall the database then. If I undestand it right I need minimum 2 machines for this. But I own just one, where the server is based and thought that is enough to run the database... no idea ..

  • Crystal Report Performance for dbf files.

    We have a report which was designed 5 -6 years ago. This report has 4 linked word doc and dbf file as datasource. This report also as 3 subreports. The size of field in dbf is 80 chars and couple of field are memo field. The report performance was excellent before we migrated the crystall report to 2008. After CR2008 the system changed and it is suddenly really slow. We have not change our reports so much it should have an influence on performance. When the user presses the preview button on printing tool window the control is transferred to Crystal. Something has happened inside black box of Crystal ( IMO ).   the dll we have are crdb_p2bxbse.dll 12.00.0000.0549 . The issues seems to be of xbase driver (not possible to use latest version of crdb_p2bxbse.dll and dbase files with memo fields).

    Hi Kamlesh,
    Odd that the word doc is opened before the RPT, I would think that the RPT would need to be opened first so it sees that the doc also needs to be opened. Once it's been loaded then the connection can be closed, CR embeds the DOC in the RPT so the original is no longer required.
    Also, you should upgrade to Service Pack 3, it appears you are still using the original release. SP1 is required first but then you should be able to skip SP2 and install SP3.
    You did not say what earlier version of Cr you were using? After CR 8.5 we went to full UNICODE support at which time they completely re-built the report designer and removed the database engines from the EXE and made them separate dll's now. OLE objecting also changed, you can use a formula and database field to point to linked objects now so they can be refreshed any time. Previously they were only refreshed when the report was opened.
    You may want to see if linking them using a database field would speed up the process. Other than that I can't suggest anything else as a work around.
    Thank you
    Don

  • Can't open ALERT file error in 10G

    We just converted to 10G 2 weeks ago. The alter file was where it was suppposed to be until a couple of days ago. Now I am getting this message and have no alert file. I have tried shutting down the db and restarting, to no avail. Archiving is working normally as is everything else that I can see. The bdump location in the pfile shows correct, bit doesn't match what the error message is saying. This error message comes from the lgwtr trace log.
    Cannot open alert file "/u01/app/oracle/admin/PROD/bdump//home/oracle/alert_PROD.log"; errno = 2
    I am also getting these dbverify logs in 10G, during startup. Any insight would be helpful. Thanks.
    root@hccaix3: /u01/app/oracle/admin/PROD/bdump #cat dbv_file25_062600.log
    DBVERIFY: Release 10.2.0.4.0 - Production on Fri Sep 19 00:50:02 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    DBVERIFY - Verification starting : FILE = /u02/oradata/PROD/indx_PROD_09.dbf
    DBVERIFY - Verification complete
    Total Pages Examined : 128000
    Total Pages Processed (Data) : 0
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 61172
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 2601
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 64227
    Total Pages Marked Corrupt : 0
    Total Pages Influx : 0
    Highest block SCN : 1048904582 (0.1048904582)

    user10278327 wrote:
    Cannot open alert file "/u01/app/oracle/admin/PROD/bdump//home/oracle/alert_PROD.log"; errno = 2As you can see the bdump location is different in these two messages. above and below
    root@hccaix3: /u01/app/oracle/admin/PROD/bdump #cat dbv_file25_062600.log
    Which one is correct?
    Since you are on 10g you are most likely using spfile instead of pfile, so login to database
    sqlplus / as sysdba
    do
    show parameter spfile
    show parameter background_dump_dest

  • Error in opening zip file

    i'm trying to download a zip file through my java program and extract a .dbf file from the downloaded file.
    i'm getting java.util.zip.ZipException: error in opening zip file at:
    ZipFile zf=new ZipFile("c:\\tomcat\\webapps\\project\\PR.zip");
    can anyone tell me what the problem is?
    ========================================================================
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    import java.util.*;
    import java.util.zip.*;
    public class BhavMod
    public static void main(String arr[])
    System.out.println("Downloading file PR.ZIP from location http://nseindia.com/content/equities/PR.zip...");
         try
              URL u = new URL("http://nseindia.com/content/equities/PR.zip");
              InputStream ip = u.openStream();
              int af;
              byte b[] = new byte[256];
         File fp = new File("c:\\tomcat\\webapps\\project\\PR.zip");
              FileOutputStream fos = new FileOutputStream(fp);
              af=1;
              for(int i=0;af>0;i++)
                   af=ip.read(b);
                   if(af>0) {
                        fos.write(b);     
                        System.out.print(".");
              ip.close();
              fos.close();
    System.out.println("\n\nDownloaded file PR.Zip to location c:\\tomcat\\webapps\\project\\PR.zip");
    catch(Exception e3)
    System.out.println("<b>DOWNLOAD FAILED.</b><BR>");
    System.out.println(e3);
         try{
              System.out.println("entered");
         ZipFile zf=new ZipFile("c:\\tomcat\\webapps\\project\\PR.zip");
              System.out.println("opened");
         Enumeration e=zf.entries();
         System.out.println("connected"+zf.size());
         ZipEntry a=new ZipEntry("dbasefile");
         while(e.hasMoreElements())
              a=(ZipEntry)e.nextElement();
         if(a.getName().startsWith("pr"))
         InputStream is=zf.getInputStream(a);
         int nw;
         File f=new File("c:\\tomcat\\webapps\\project\\bhav.dbf");
         FileOutputStream os=new FileOutputStream(f);
         while(is.available()>0)
         nw=is.read();
         os.write(nw);
    System.out.println(a);
              zf.close();
    }catch(Exception e2)
    System.out.println(e2);
    try{
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              String DBUrl = "jdbc:mysql:///portdb";
              Class.forName("com.mysql.jdbc.Driver").newInstance();
    Connection cn=DriverManager.getConnection("jdbc:odbc:dbf");
    Statement st=cn.createStatement();
    ResultSet rs=st.executeQuery("select * from bhav WHERE MKT='Y' OR MKT='y' OR MKT='N' or MKT='n'");
    String str=new String();
    Connection cndb=DriverManager.getConnection(DBUrl);
              System.out.println("Connected!!!");
    Statement stdb=cndb.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    int rsdb=stdb.executeUpdate("delete from script");
    System.out.println("UPDATED RATES...\n\nScript-----------------------------------Price");
    while(rs.next())
    str=rs.getString("SECURITY");
    str=str.replace('\'','_');
              str=str.trim();
    str=str.replace(' ','_');
              // to remove blank spaces from script id
              String s1=new String(str);
              StringBuffer s2=new StringBuffer(s1);
              int f;
              while((s1.indexOf(' '))!=-1)
                   f=s1.indexOf(' ');
                   s2=new StringBuffer(s1);
                   s2=s2.deleteCharAt(f);
                   s1=s2.toString();                         
    // so now insert s1 as script id and str as script name....
    float price=rs.getFloat("CLOSE_PRIC");
    rsdb=stdb.executeUpdate("insert into script values ('"+s1+"','"+str+"','N',"+price+",now())");
    System.out.println(str+"\t\t\t\t\t"+price);
         catch(Exception eupd)
              System.out.println("UPDATION FAILED."+eupd);
    =======================================================================
    Output:
    Downloading file PR.ZIP from location http://nseindia.com/content/equities/PR.zip...
    Downloaded file PR.Zip to location c:\tomcat\webapps\project\PR.zip
    entered
    java.util.zip.ZipException: error in opening zip file
    Connected!!!
    UPDATED RATES...
    Script-----------------------------------Price
    S&P_CNX_Nifty                         1017.1
    CNX_Nifty_Junior                         1336.75
    S&P_CNX_Defty                         739.9
    S&P_CNX_500                         729.75
    CNX_Midcap_200                         708.8
    ASEA_BROWN_BOVERI_LTD                         302.3
    ASSOCIATED_CEMENT_CO_LTD                         144.9
    BAJAJ_AUTO_LTD                         499.0
    BHEL                         206.55
    BHARAT_PETROLEUM_CORP__LT                         215.1

    the file is at its location....... not password protected.... and i've thought of all the "half-a-dozen things" u haven't thought of...
    thanks anyway for taking the pain to reply.
    u needn't have replied if it was bugging u so.
    Maybe the zip file isn't at that location. Maybe it
    didn't get completely downloaded. Maybe downloading it
    puts permissions on it that don't allow you to open
    it. Maybe it's password-protected. Maybe half-a-dozen
    things I haven't thought of yet. Did you check any of
    those obvious things? Can you open the file yourself
    with a zip utility?

  • Sending DBF file as an email attachment

    Hi,
    I have a requirement to extract data from database table then send it as a DBF file in an external e-mail. By browsing the threads, i was able to create a DBF file using FM DOWNLOAD, I know this is obsolete but GUI_DOWNLOAD does not support DBF file type. This is currently stored in my local drive. This is working fine. I can view the file using FoxPro. My problem here is how to automatically send that DBF file in an email as an attachment.
    I learned that FM SO_DOCUMENT_SEND_API1 can be used but I think it doesn’t support a DBF filetype. I am receiving a message something like it is not a table when I open the file in FoxPro.
    Any help will be greatly appreciated. Thanks!

    Change in requirement. Only store DBF in the shared folder.
    Closing this thread.

  • [urgent] deleted dbf.file

    Hello!
    I have deleted the .dbf file.
    now oracle cannot start anymore.
    I do not want to restore the datbase.
    the data ist not important.
    how can i make oracle run again.
    please mail me.
    thanks in advance
    mario

    Hi Mario Meisenberger
    If you have drop the system tablespace's .dbf then I cannot help U. And if it is other than system tablespace's .dbf then here is a small example. Just try it out.
    Lets say U have drop myuser.dbf file of myuser tablespace then do the following in the server manager (svrmgrl) prompt:
    shutdown abort
    startup mount
    alter database datafile 'myuser.dbf' offline drop;
    alter database open;
    drop tablespace myuser including contents;
    shutdown normal
    After shutting down U can now login normally and may re-create the delete tablespace's datafile.
    edwin
    null

  • WHAT IF I DELETE THE SYSTEM06.DBF FILE FROM DATABASE /U01/DB/apps_ sid / system06.dbf and how to recover it in apps

    WHAT IF I DELETE THE SYSTEM06.DBF FILE FROM DATABASE /U01/DB/apps_<sid>/ system06.dbf and how to recover it in apps

    Hi,
    First of all you must Open a ticket with oracle Support and explore the options
    You can use this note to fix it:
    RECOVERING FROM A LOST DATAFILE IN A UNDO TABLESPACE [ID 1013221.6]
    If you is Unable to Drop Undo tablespace Since Undo Segment is in Needs Recovery
    You can Upload the following trace file while opening the ticket
    SQL>Alter session set tracefile_identifier='corrupt';
    SQL>Alter system dump undo header "<new of undo segment in recover status>";
    Go to udump
    ls -lrt *corrupt*
    Upload this trace file
    Also upload the alert log fileRegards,
    Levi Pereira
    Edited by: Levi Pereira on Nov 29, 2011 1:58 PM

  • Re-build Database from .DBF Files

    I have the set of .dbf files which Veritas backed up daily in my production environment. Can any body tell me the steps how I can rebuild my database from these .dbf files.
    i) ACCT.BAK
    ii)ISACCTB_01.DBF
    iii)RBS1ACCT.DBF
    iii)RBS2ACCT.DBF
    iv)SYSTEM1.DBF
    v)TEMPACCT.DBF
    vi) TSACCT_01.DBF
    suppose the db name is ACCT.
    I'm gettign the following error while restoring.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

    It's seem like you have one backupfile and rest of all are data files.the next thing you mention here that you are unable to open the database.It seems to me that you perform incomptele recovery, which forcing you to open the database in noresetlogs.the workaround of this is..
    sql > alter database open resetlogs ;
    You can also restore ctlfile from your backupset if it is available and then perform recovery if all the datafiles are intact in their place.
    hare krishna
    Alok

Maybe you are looking for

  • Location Heuristics-diff of results in background and foreground

    Hi, We have this weekly bacth job of location heu.. just one program. nothing preceding  and succeeding it. I find the results in background and foreground different. This is partcularly wrt the receipts being created before the lead time of the loc-

  • Jsf headache, please help, thank you.

    Dear everyone, I have made this customized jsf component. In the following, I have shown the code of the UIComponentTag codes and in the bold part, I would like to set the component id to be dojoid, which is unique id. I would like to apply component

  • BI Authorization

    Hi All, Can any body please give me the pointers/links/docs related to BI authorization. Thanks Puneet Edited by: Puneet Chawla on Dec 19, 2008 2:15 PM

  • Error in DAC during build the execution plan !

    MESSAGE::: MERGE GRAPH EXCEPTION: Happens when two execution graphs are merged. Cannot merge graphs as they contain common nodes.REGULAR, POST_ETL EXCEPTION CLASS::: com.siebel.analytics.etl.graph.MergeGraphException com.siebel.analytics.etl.graph.Gr

  • Cost/revenue rate E_MOE_DEC, 00000000: unit of measure PDA does not exist

    Dear community, I am still working on SAP PPM FICO & CATS integration. I can't replicate my cost/revenue rate in the ECC system. There is the error message : Cost/revenue rate (name of the cost/revenue rate) : unit of measure PDA does not exist Does