Generate a Control File at Random

hi gurus,
Can anyone let me know how can I create a control file dynamically.
i.e. I have to generate the conteol file for any table if I just pass the parameter to a procedure which will be the table name.
Do anyone have code snippet for this?
Thanks,

If you are planning to load to a specific table at the database, and if this set of tables have the same structure I suggest you the following procedure:
Manually generate one controlfile for a table which will serve just a an stage table. Once you have your control file, use the:
external_table GENERATE_ONLY
This will generate a sql file used to create an external table, check it and run it, this will create an external table which will be able to read your outside file just as if this was inside the database.
Once created, then you can create a sql script which will perform a CTAS or Insert As Select from the external table to the target table.
~ Madrid

Similar Messages

  • Generating control files

    hi
    i want to generate a control file that contains the column names in it.
    the file should pick the column name from the table.
    actually i want to move a table through sql loader. for that i require control file.

    I had done something similar. Take a look, you may need to amend to suit your requirement -
    -- Dynamic CONTROL FILE created on table ->  TEST
    SQL> desc test
    Name                                      Null?    Type
    COL1                                               NUMBER
    COL2                                               VARCHAR2(25)
    COL3                                               DATE
    COL4                                               VARCHAR2(100)
    ---  DDL scipts to read Table level definition and prepare CONTROL file dymanically
    Drop Table Ops_Meta_Data;
    Create Table Ops_Meta_Data
       opn_module           Varchar2(10)
      ,opn_step_id          Number(2)
      ,Opn_Type             Varchar2(100)
      ,opn_sub_rtns         Number(2)
    Insert Into Ops_Meta_Data Values ('MY_SYS', 1, 'SQL-TRUNCATE STAGE', 8);
    Insert Into Ops_Meta_Data Values ('MY_SYS', 3, 'Loader', 8);
    Drop Index Ops_Meta_Data_SRtns1;
    Drop table Ops_Meta_Data_sub_Rtns;
    Create Table Ops_Meta_Data_sub_Rtns
      opn_module           varchar2(10)
    ,opn_step_id          Number(2)
    ,opn_type             varchar2(20)
    ,opn_type_dtl_1       varchar2(20)
    ,opn_type_dtl_2       varchar2(20)
    ,rtn_sub_id           Number(2)
    ,Tgt_Tbl_Nm           Varchar2(30)
    ,Src_Nm               Varchar2(255)
    ,Num_Cols             Number(4)
    CREATE INDEX Ops_Meta_Data_SRtns1 On Ops_Meta_Data_sub_Rtns (opn_module, opn_type)
    Insert Into Ops_Meta_Data_sub_Rtns Values ('MY_SYS', 3, 'Loader', 'DELIMITED', ',', 1,
    'TEST','/users/shailender/CTL/MY_SYS/METADATA/data_a.dat', 4);
    Drop Index Ops_Meta_Data_colmap_1;
    Drop Table Ops_Meta_Data_sub_Rtn_Col_Map;
    Create Table Ops_Meta_Data_sub_Rtn_Col_Map
      opn_module           varchar2(10)
    ,opn_step_id          Number(2)
    ,opn_type             varchar2(20)
    ,rtn_sub_id           Number(2)
    ,col_id               Number(4)
    ,col_seq              Number(4)
    ,col_pos_fm           Number
    ,col_pos_to           Number
    ,col_name             Varchar2(30)
    ,col_data_type        varchar2(30)
    ,col_function         varchar2(255)
    CREATE INDEX Ops_Meta_Data_colmap_1 On Ops_Meta_Data_sub_Rtn_Col_Map (opn_module, opn_type, rtn_sub_id)
    Insert Into Ops_Meta_Data_sub_Rtn_Col_Map Values ('MY_SYS', 3, 'Loader', 1, 1, 1, Null, Null, 'COL1', NULL, '"TRIM(:COL1)"');
    Insert Into Ops_Meta_Data_sub_Rtn_Col_Map Values ('MY_SYS', 3, 'Loader', 1, 2, 2, Null, Null, 'COL2', NULL, '"TRIM(:COL2)"');
    Insert Into Ops_Meta_Data_sub_Rtn_Col_Map Values ('MY_SYS', 3, 'Loader', 1, 3, 3, Null, Null, 'COL3', 'DATE', 'DATE(14) ' ||
    '''' || 'YYYYMMDDHH24MISS' || '''');
    Insert Into Ops_Meta_Data_sub_Rtn_Col_Map Values ('MY_SYS', 3, 'Loader', 1, 4, 4, Null, Null, 'COL4', NULL, '"TRIM(:COL4)"');
    ----   Run script to dynamically generate the CONTROL (.ctl) file based on data set up in tables
    clear screen
    set serveroutput on size 999999
    Declare
    PROCEDURE PR_EXEC_METADATA (pTransId In Varchar2 ) IS
       CURSOR c1 Is
           Select opn_module
                 ,opn_step_id
                 ,opn_type
                 ,opn_sub_rtns
           From   Ops_Meta_Data
           Where  opn_module   = pTransId
           Order By 2;
       TYPE MyTab  Is TABLE of VARCHAR2(255) INDEX By Binary_Integer;
       MyTabCol    MyTab;
       pix         Binary_Integer   := 0;
       iCtrPos     Number           := 0;
       iHead       Number(1)        := 0;
    Begin
       pix           := 0;
       iCtrPos       := 1;
       For x In c1 LOOP
              Declare
                CURSOR c2 Is
                 Select a.Tgt_Tbl_Nm
                       ,a.Src_Nm
                       ,a.Num_Cols
                       ,b.*
                 From   Ops_Meta_Data_sub_Rtns        a
                       ,Ops_Meta_Data_sub_Rtn_Col_Map b
                 Where  a.opn_module         = x.opn_module
                   And  a.opn_step_id        = x.opn_step_id
                   And  a.opn_type           = x.opn_type
                   And  b.opn_module         = a.opn_module
                   And  b.opn_step_id        = a.opn_step_id
                   And  b.opn_type           = a.opn_type
                   And  b.rtn_sub_id         = a.rtn_sub_id
                 Order By a.opn_type, a.rtn_sub_id, b.col_seq;
              Begin
                 pix               := pix + 1;
                 For x2 In c2 LOOP
                   If ( x.opn_type = 'Loader' ) Then
                      If ( iHead = 0 ) Then
                          MyTabCol(pix) := '         ';
                          pix           := pix + 1;
                          MyTabCol(pix) := 'Load Data';
                          pix           := pix + 1;
                          MyTabCol(pix) := 'INFILE ' || chr(39) || x2.src_nm || chr(39);
                          pix           := pix + 1;
                          MyTabCol(pix) := 'Into Table ' || x2.Tgt_Tbl_Nm;
                          pix           := pix + 1;
                          MyTabCol(pix) := 'Append ';
                          pix           := pix + 1;
                          MyTabCol(pix) := ' Fields Terminated By ' ||  chr(39) || ',' || chr(39) || ' Optionally Enclosed By '
    ||
    chr(39) || '"' || chr(39);
                          pix           := pix + 1;
                          MyTabCol(pix) := 'Trailing NullCols ';
                          pix           := pix + 1;
                          MyTabCol(pix) := '( ';
                          pix           := pix + 1;
                          iHead         := 1;
                      End If;
                     If ( iCtrPos   != x2.Num_Cols ) Then
                        MyTabCol(pix) := x2.col_name || '    ' ||  x2.col_function || ',';
                     Else
                        MyTabCol(pix) := x2.col_name || '    ' ||  x2.col_function;
                        pix      := pix     + 1;
                        MyTabCol(pix) := ') ';
                        iHead         := 0;
                        iCtrPos       := 0;
                     End If;
                     pix      := pix     + 1;
                     iCtrPos  := iCtrPos + 1;
                   Else
                      If ( x.opn_type = 'SQL-TRUNCATE STAGE' ) Then
                        EXECUTE IMMEDIATE x2.col_function;
                      End If;
                   End If;
                End Loop;
                If ( x.opn_type = 'Loader' ) Then
                    iCtrPos   := 0;
                   For i In MyTabCol.FIRST..MyTabCol.LAST LOOP
                      Dbms_Output.Put_Line (MyTabCol(i));
                   End Loop;
                End If;
              End;
       End Loop;
    End PR_EXEC_METADATA;
    Begin
      PR_EXEC_METADATA ('MY_SYS');
    End;
    ---- OUTPUT of the SCRIPT
    Load Data
    INFILE '/users/shailender/CTL/MY_SYS/METADATA/data_a.dat'
    Into Table TEST
    Append
    Fields Terminated By ',' Optionally Enclosed By '"'
    Trailing NullCols
    COL1    "TRIM(:COL1)",
    COL2    "TRIM(:COL2)",
    COL4    "TRIM(:COL4)",                                              <----   Last ',' not required + Closing ")"  missing
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.16
    SQL>
    Shailender Mehta

  • How to get the  bursting control file in xml publisher

    Hi All
    I am using oracle Apps r12 and Bi publisher 10g.
    I have followed these steps for Xml Bursting reports
    http://apps2fusion.com/apps/21-technical/251-xmlp-concurrent-program-revisited-with-bursting.
    I have created Data definition and now i need to attach the Bursting Control file.
    Whether the system will generate Burst control file after creating data definition or we need to create a control file.
    Thanks & Regards
    Srikkanth.M

    You need to create a control file and upload it.
    You can also refer this blog for detailed steps http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html

  • SQL Loader Username in control file

    Hi,
    Im using SQL Loader to load data. Im going to execute this from a UNIX shell script.
    Here, I have to pass UNIX user name and Oracle user name in the control file.
    How and I do it?.
    Thanks,
    Kannan

    Prashant Tejwani wrote:
    Yup.
    Now i get it.
    You want to load the username of the person who is executing sql loader to load the data in table.
    Right?
    Well, for Oracle Username you can use:
    EMP_ID CHAR(10),
    EMP_NAME CHAR(40),
    UPD_DATE "SYSDATE",
    ORACLE_USER_NAME "user",
    UNIX_USER_NAME "????????"
    I am not sure if we can pass UNIX username because once we execute SQL loader, control file will be executed in Database environment and i dont think any unix syntaxes will hold good there.To achieve the unix username would require the unix script to generate the control file on-the-fly providing the unix username as a fixed value in the control file before it calls sql*loader with that generated control file.

  • Trace file and control files !!

    hi,
    I have created trace file of the control files by using 'alter database backup controlfile to trace' command. i have two questions..where can i find this trace file and how can i use this trace file to generate the control files.
    Waiting for the replies...
    Regards,
    Saad Bin Khalid

    1. You can fine the trace in the udump folder ... you can check the file time stamp to check when you created the file as it may be possible that here are other user trace files too
    $ sqlplus / as sysdba
    SQL> alter database backup controlfile to trace;
    Database altered.
    SQL> show parameter USER_DUMP_DEST
    NAME TYPE VALUE
    user_dump_dest string /PROD/udump
    SQL> exit
    $ cd /PROD/udump
    $ mv PROD_ora_30823.trc cr_ctl.sql
    $ vi cr_ctl.sql
    edit the control file script
    Now you have a new control file script to re-create your control file.
    2. You can edit the same and execute at nomount stage to generate new controlfiles ... remember controlfiles should be removed before creating the new ones

  • Workshop 10.0.1 - Generating service control from a WSDL file

    Hi!
    I've been familiarising myself with Workshop (version 10.0.1).
    There is a feature that allows the generation of a web service control by right-clicking a WSDL file (Web Services > Generate Service Control).
    This process creates a jar file containing the WSDL's complex type.
    My only problem with this is that the jar uses the namespaces as package names (for example: www.openuri.org will be converted into an org.openuri package).
    I've been searching for a way to customize the package names, but I've been unable to find it. We previously used Axis to generate a web service client, and we ran an Ant task that could map namespaces to packages.
    Would there be a way to achieve this in Workshop?
    Thank you!

    Hi
    This is a known issue and a limitation. Service controls doesn't honor xsdconfig files when generated from wsdl file.
    We have an enhancement request CR307698 pending to address this issue. It looks like it's a big change in code to get this working so it is being looked at in the next release.
    Also, you can call BEA support / create a case in future and request status on this CR anytime.
    Vimala-

  • Add "Trailing Nullcolls" to sql loader control files generated by OWB

    Hi gurus,
    I've got a problem loading data with SQL Loader. I need to add the parameter "trailing nullcols" into the SQL Loader control file generated by OWB. I don't want to do this by saving the skript on my hard disk and run it manually, so any ideas where I can put this parameter? I am using OWB 10.1 on a windows 2000 machine.
    Thanks
    Stephan

    Hi,
    I found the solution to problem.
    1; Select the mapping where you map your source flat file to a table.
    2; Right click on the mapping and select "configure"
    3; Go Sources and Targets -&gt; YOUR_TABLE_NAME -&gt; SQL*Loader Parameters
    4; Set Trailing Nullcols = true :-)
    Thank you to anyone looking at this problem.
    Greetings
    Stephan

  • Generate file names randomly

    are there anyways to generate file names randomly? if there are, are there any reference codes i could refer to? thanks.
    heard that using random characters from ascii code (generating random numbers and translating them into chars) could do the job but i am rather new to it. can anybody advise me on how to go about it? thanks.

    There is a method called createTempFile in the java.io.File class for this purpose. I suggest you use that one.

  • OWB 10g: how control files are generated?

    We are using OWB 10g within a 10g Database. We want to know how control files are generated by OWB in the file system. The reason we need to know is because our DBAs do not want to create directory objects pointing to NAS devices, their policy states that all directory objects should be on SAN shares. We rather use NAS shares since it simplifies our batch (too long to explain here). OWB has the "CREATE ANY DIRECTORY" privilege granted. Is it using this privilege to create a directory object for the path we specify the control file in the mapping or is it writing directly to this path? We checked the directory objects created (SELECT * FROM DBA_DIRECTORIES) after deploying a control file and it didn't seem to have created any new ones. Anyone knows how OWB creates these control files?

    Yes, indeed that's what we were after. We basically wanted to be sure we are not breaking an internal policy that says that "Oracle directory objects can not be located on NAS shares". The reasoning behind this policy is that NAS shares are not deemed highly available or high I/O devices hence our Oracle DBAs will not allow us to create any Oracle directory objects in NAS shares. The policy states that all database data should be stored in SAN shares which are directly attached to the servers and are therefore high I/O devices. It is arguable if the OWB data we want to load is really part of a database, we believe it is not. There are other implications in our environment about using NAS instead of SAN (NAS can run in active-active mode across different data centres, whereas SAN requires replication since it doesn't usually work well in an active-active mode across different data centres). So based on your answer we should be fine since OWB reads and writes directly to the files without using Oracle Directory Objects which supports our theory that these are not DB specific files and are only "OWB App" files which can then sit on a NAS without breaking the above stated policy.

  • Control file in sapmnt is not generated

    Hi
    In usr/sap<SID>/SYS/Global/sapmnt control file size 1 mb is not generating.
    can any one help me why this file is not generating ..how can we fix this issue.
    regards
    Indshree

    Dear  Indshree,
    What is the SAP Product, OS and DB?
    this file is generating of file size 1 mb ..this is for CI and SCS.
    You mean to say control file for SAP CI ...I never heard about that.
    More over what is the error and where you are getting this error text?
    Regards,

  • RenderPDFForm is generating big pdf files

    hi,
    In a workbench process Im generating a xdp file that I convert to a PDF file using the renderPDFForm component. This is working, however, the generated PDF document is not being compressed. In the renderPDFForm properties I can´t find any property to compress the pdf file.
    My guess is that the component is generating the pdf with fonts included...
    What can I control this?
    thank you

    Embedding the font shouldn't make your file size too large.  To answer about XCI URI question, I have no idea.  I've not done any work with that functionality.  Some things you can check though:
    1.  If you have images anywhere in your XDP/PDF, make sure they are NOT embedded.  This can be checked in LiveCycle Designer in the properties for each individual image.  Images really crank up file size.
    2.  Make sure your form is only a dynamic PDF form if you need it to be.
    3.  Make sure ONLY the fonts that you need are embedded.  Say you only need to show Courier to the user.  It may be possible that other fonts are embedded in weird places too.  Sometimes captions that have no text, but are in a different font, will cause that font to also be embedded.  Sometimes an empty "" part of a text field somewhere is set to a different font.  It's a pain, but Ctrl + F through the XML view of your form to try to find any random places an extra font could be set.
    As far as the compression goes, I was unaware that FormsService even compressed the PDF by default, but that doesn't mean it shouldn't.  It's possible I've just never investigated it.  But if you have a pretty complex form with a lot of XML data, it's not uncommon for a PDF to end up a couple MBs in size, especially if there are a lot of repeatable subforms/table rows in the form.

  • Drop a datafile from physical standby's control file

    Hi,
    I am trying to create a physical standby database for my production...
    1) I have taken cold backup of my primary database on 18-Nov-2013...
    2) I added a datafile on 19-nov-2013 ( 'O:\ORADATA\SFMS\SFMS_DATA4.DBF' )
    3) Standby control file was generated on 20-ov-2013 (today) after shutting down and then mounting the primary database...
    When i try to recover the newly setup standby using archive files, i am getting the following error (datafile added on 19th Nov is missing)
    SQL> recover standby database;
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ORA-01157: cannot identify/lock data file 39 - see DBWR trace file
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    How to overcome this situation...
    Can i delete the entry for the newly added datafile from the backup control file ?
    When i tried to delete datafile using "alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF';", it is showing that database should be  open..
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      AUTO
    SQL> alter system set STANDBY_FILE_MANAGEMENT=manual;
    System altered.
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      MANUAL
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    Regards,
    Jibu

    Jibu wrote:
    Hi,
    I am trying to create a physical standby database for my production...
    1) I have taken cold backup of my primary database on 18-Nov-2013...
    2) I added a datafile on 19-nov-2013 ( 'O:\ORADATA\SFMS\SFMS_DATA4.DBF' )
    3) Standby control file was generated on 20-ov-2013 (today) after shutting down and then mounting the primary database..
    Hi,
    What is your version?
    If you added new datafile or created new tablespace, take backup again for restore new created standby database.
    If your standby  database running well, DG configuration success, then this datafile will create on standby side, too.
    Set STANDBY_FILE_MANAGEMENT=AUTO best practice.
    When i try to recover the newly setup standby using archive files, i am getting the following error (datafile added on 19th Nov is missing)
    SQL> recover standby database;
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ORA-01157: cannot identify/lock data file 39 - see DBWR trace file
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    How to overcome this situation...
    Can i delete the entry for the newly added datafile from the backup control file ?
    Not need any delete datafile from standby side, you must recreate standby database, or you can  take RMAN backup and restore to standby  side again.
    When i tried to delete datafile using "alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF';", it is showing that database should be  open..
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      AUTO
    SQL> alter system set STANDBY_FILE_MANAGEMENT=manual;
    System altered.
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      MANUAL
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    It is not logical, Physical  standby must be bit-for-bit same with Primary  database.
    Regards
    Mahir M. Quluzade

  • Regarding RESETLOG and NORESETLOG option while creating a control file

    Hi,
    I dont understand the need for resetlogs option while creating a controlfile for a db in NOARCHIVELOGMODE. I assume that reset logs clears all the redo log contents.
    While taking a cold backup what I did was:
    1. Shutdown instance
    2. Copy all the files
    3. Startup
    Now I tried recovering the same database on a new machine (with different path btw.) coz of which i had to create a new control file. My question is: while restoring the database, do I need to create the control file with NORESETLOG or RESETLOG option?
    When I tried using the NORESETLOG (NOARCHIVELOG) option I was able to recover the instance without any hassles.
    ie
    1. STARTUP NOMOUNT
    2. CREATE NEW CONTROL FILE USING NORESETLOG (NOARCHIVELOG)
    3. RECOVER DATABASE
    4. ALTER DATABASE OPEN;
    While the same thing with NORESETLOG (NOARCHIVELOG) option:
    1. STARTUP NOMOUNT
    2. CREATE NEW CONTROL FILE USING RESETLOG (NOARCHIVELOG)
    3. RECOVER DATABASE USING BACKUP CONTROLFILE
    This step asked me for some archivelogs which were not generated since the db is in NOARCHIVELOG mode.
    I wonder why we require the RESETLOG OPTION SINCE A NORMAL SHUTDOWN PERFORMED BEFORE COLD BACKUP would have ensured that there is no redo information left in the redo logs.
    Please let me know if I am thinking the incorrect way.
    Regards and Thanx in Advance,
    Raj

    If you had a db running in noarchivelog mode and had to clone the db and rename it, the create controlfile stmt:
    create controlfile reuse <db_name> needs to be changed to: create controlfile SET <db_name>, in which case the db can only be opened with resetlogs. Hope this answers your question

  • Generation of Control file in OWB Mapping.

    Hi All,
    OWB config details is as follows:
    OWB 9i :9.2.0.2.8
    OWB Repository: 9.2.0.2.0
    OWB 9i Client OS: Windows XP Environment
    Oracle DB 9i Enterprise Edition 9.2.0.1.0-64 bit Production on IBM AIX machine.
    I developed mapping which involved a source file (CSV) & oracle table as target.
    Validated & Generated mapping. No error displayed.
    Configured mapping set Data File Location, Bad File Location, Log File Location (All these parameters were set to point to different directories in unix.)
    Registered all the above location in Deployment Manager.
    Deployed the mapping & executed mapping.
    I was expecting control file generated by mapping to create on unix partition, however many times it did save on my local machine on Windows XP rather than on unix. The control file created in the local directory where OWB client is installed.
    When the same mapping is executed from another machine still the file was created on my local machine.
    This was observed after I created file location for Bad file & Log file from OWB.
    Why does control file is created on local machine rather than Unix Server?
    Can someone please let me know more on this?
    Thanks in Advance.
    Regards,
    Vidyanand

    Hi Vidyanand
    You may try to register physical file location under one logical location. Then register the location with physical datafile lication. It worked for us.
    Cheers, Bana

  • Lost all Control files (Want to Recover)

    Hi
    I have a database in archive log mode and we take a rman hot backup everyday. We are not using the recovery catalog. I lost all the control files
    few days ago. I have a control file to trace and that was generated 20 days ago. This is our test database. I want to recover it. I don't know if we have
    done any physical changes or not after the creation of this text file to create a control file. Database is still up and running.
    Any help will be appreciated?
    Thanks in Advance

    If the control is restored from the rman backup lets say it is 3 days old, then how to update the same control file with the current database statistics.
    --Luckys.                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Verity unstable and permissions errors

    Our scheduled task to purge/reindex stopped working. Verity deleted the collections that it was supposed to index. The ws folder filled up. I followed the instructions in the TechNote below to clear the ws. After recreating collections that Verity de

  • My macbook Pro doesn't see my bluetooth headphones

    Hi, I got a new macbook pro and I am using Sony DR-BT21G headphones, these are bluetooth indeed. The problem is that my macbook does not see my headphones when I am trying to set it on my Mac. The headphone does not work more if I enter the IP of my

  • How to open nw browser?

    Is it possible to open a new Internet Explorer and pass it a URL to display from within a Java applet dialog?

  • Recovered Files from iWeb

    Each time, after making minor changes to a web page and uploading it to my .mac account, there will appear in my trash, the next time I log on, a "Recovered files" folder with anywhere from five to one-hundred and fifty recovered files, each related

  • Checking html:errors collection for its size before calling a javascript

    Hi all The problem that i am facing is that i to check html:errors collection whether it contains any validation messages .Than based on this result i have to call a javascript function from inside a javascript function.This is all happening in the j