Run RMAN using UTL_FILE

Hi
With regards to RMAN, Should we run the RMAN program via UTL_FILE .
If so, please inform how to do that.
Regards
Kumar

I think you are confused regarding what UTL_FILE does.
UTL_FILE
With the UTL_FILE package, your PL/SQL programs can read and write operating system text files. UTL_FILE provides a restricted version of operating system stream file I/O.
UTL_FILE I/O capabilities are similar to standard operating system stream file I/O (OPEN, GET, PUT, CLOSE) capabilities, but with some limitations. For example, you call the FOPEN function to return a file handle, which you use in subsequent calls to GET_LINE or PUT to perform stream I/O to a file. When file I/O is done, you call FCLOSE to complete any output and free resources associated with the file.
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/u_file.htm#ARPLS069
Clarify better what you want to do please.
Joel Pérez
http://otn.oracle.com/experts

Similar Messages

  • CSV file reading using UTL_FILE at run time

    Hi,
    I have to read CSV file using UTL_FILE.
    but Folder contains Many CSV files.
    I dont know there name.So i have to read csv file at run time.
    Please let me know how should we achieve this?
    Thanks

    place the following in a shell script, say "list_my_files.ksh"
    ls -l > my_file_list.datthen run the shell script using dbms_scheduler;
    begin
    dbms_scheduler.create_program (program_name   => 'a_test_proc'
                                  ,program_type   => 'EXECUTABLE'
                                  ,program_action => '/home/bluefrog/list_my_files.ksh'
                                  ,number_of_arguments => 0
                                  ,enabled => true);
    end;
    /then open "my_file_list.dat" using UTL_FILE, read all file names and choose the one you require.
    P;

  • How do I use UTL_FILE to insert a large number of fields to a file?

    Hi
    I am trying to use UTL_FILE for the first time in a Stored Procedure. I need to run a complex query to select 50 fields from various tables. I need these to be inserted into one line in the output file for all rows. Is this possible? My procedure so far is like the following
    CREATE OR REPLACE PROCEDURE PROC_TEST IS
    output_file UTL_FILE.FILE_TYPE;
    BEGIN
    FOR query in (SELECT FIELD1, FIELD2, ..........FIELD50)
    FROM TABLE A, TABLE B
    WHERE A.ID = B.ID
    ETC
    LOOP
    UTL_FILE.PUT_LINE(output_file, <put all 50 fields for all records into file> );
    END LOOP;               
    UTL_FILE.FCLOSE (output_file);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHEN OTHERS THEN
         UTL_FILE.FCLOSE_ALL;
    RAISE;
    END PROC_TEST;
    Do I need to define 'query' (after the FOR) anywhere, also please advise with how I put all of the fields into the file.
    Thanks
    GB

    Thanks Steve,
    I have the UTL_FILE working fine now.
    I have other queries to run and conditions to apply in the same procedure, and I need to schedule via Enterprise Manager, therefore using UTL_FILE in a procedure seemed the best option. I looked up Data-pump but this seems to be an 11g feature, and we are still on 10g therefore I will not be able to use it.
    Thanks for your help.
    GB

  • Unable to read the file using UTL_FILE Dir

    I need to read/write a file from/to the operating system through PLSQL Package. I used UTL_FILE package to do the same. In the application server the utl_file_dir(/usr/tmp in my system) is created as a softlink to database server.
    oI want to run this package through the application server. However I am unable to read and write the file to the operating system.
    I just wondering it is not reading/opening the file from the server. Please suggest me how to modify my code.

    Hi,
    How to check if it is end of file or not? I have the following function which is working fine in my win2003 server std 32bit and Oracle10g Database R2 Standard Edition one 32bit. HOwever, when I deploy to production server which is 64bit OS and database, it gives error at UTL_FILE.GET_LINE(fptr, tmp);
    Any idea why it behaves like that?
         FUNCTION readFile (
              inHTML OUT CLOB,
              path IN VARCHAR2,
              htmlFile IN VARCHAR2
         ) RETURN BOOLEAN IS
         fptr utl_file.file_type;
         tmp VARCHAR2(5023);
         bufferlen BINARY_INTEGER;
         BEGIN
              fptr := UTL_FILE.FOPEN(path, htmlFile, 'r');
              DBMS_LOB.CREATETEMPORARY(inHTML, TRUE);
              DBMS_LOB.OPEN(inHTML, DBMS_LOB.LOB_READWRITE);
              LOOP
                   UTL_FILE.GET_LINE(fptr, tmp);
                   if tmp is not null then
                        tmp := tmp || CHR(10);
                        bufferlen := LENGTH(tmp);
                        DBMS_LOB.WRITEAPPEND(inHTML, bufferlen, tmp);
                   end if;
              END LOOP;
              WHEN NO_DATA_FOUND THEN
              DBMS_LOB.CLOSE(inHTML);
                   UTL_FILE.FCLOSE(fptr);
                   RETURN TRUE;
              WHEN OTHERS THEN
                   DBMS_LOB.CLOSE(inHTML);
                   DBMS_LOB.FREETEMPORARY(inHTML);
                   RETURN FALSE;
         END readFile;

  • Creating Error log files using UTL_FILE package on a remote machine

    Database Version: 10g Release2
    OS Platform: Sun Solaris
    I have been asked to log errors to OS files rather than tables. So, i wanted to use UTL_FILE package. But the client doesn't want to store these files on the same server where the database is running(as specified in UTL_FILE_DIR). Is there a way i could get these files created on a remote machine(client).

    I believe what others are suggesting is that your stored procedure continues to log to a table and a separate process be created that runs on the machine you want the file to be created on which reads the log table and writes to a log file.
    If that is not an option, can you expose the directory on the remote machine you want to write the file to as a file share that can be mounted by the database server? If you can, you could write errors there using UTL_FILE. However, it would probably be a bad idea. If you're logging an error already, that implies that something has gone wrong. Making an error logging process dependent on a remote server being available and properly mounted with appropriate privileges at the instant the error occurs just creates more sources of failure that would prevent you from logging an error, which would prevent you from being able to debug the problem or even know it existed without a report from a user.
    Justin

  • UTL_FILE error when using UTL_FILE.PUT instead of UTL_FILE.PUT_LINE?

    We need to export a large amount of data from some Oracle tables to be uploaded into a Sybase database using BCP. I had no issues exporting the data using the PUT_LINE command using the open command below.
    l_file := utl_file.fopen( l_dir, l_name, 'W',32767);
    The problem is, we do not want to use system's default line terminators because our data may contain embedded line terminators; We want to defined our own line terminators. But when we changed from UTL_FILE.PUT_LINE to UTL_FILE.PUT the application will run for a few seconds and then produce the following errors:
    ORA-29285: file write error
    ORA-06512: at "SYS.UTL_FILE", line 77
    ORA-06512: at "SYS.UTL_FILE", line 690
    ORA-06512: at "ADVCONV.P_WRITE", line 244
    ORA-06512: at line 2.
    If I use UTL_FILE.PUT to export smaller tables these errors do not occur so it looks like our data is larger then some limit. Does anyone have any suggestions/solutions? Thanks

    893730 wrote:
    We need to export a large amount of data from some Oracle tables to be uploaded into a Sybase database using BCP. I had no issues exporting the data using the PUT_LINE command using the open command below.
    l_file := utl_file.fopen( l_dir, l_name, 'W',32767);
    The problem is, we do not want to use system's default line terminators because our data may contain embedded line terminators; We want to defined our own line terminators. But when we changed from UTL_FILE.PUT_LINE to UTL_FILE.PUT the application will run for a few seconds and then produce the following errors:
    ORA-29285: file write error
    ORA-06512: at "SYS.UTL_FILE", line 77
    ORA-06512: at "SYS.UTL_FILE", line 690
    ORA-06512: at "ADVCONV.P_WRITE", line 244
    ORA-06512: at line 2.
    If I use UTL_FILE.PUT to export smaller tables these errors do not occur so it looks like our data is larger then some limit. Does anyone have any suggestions/solutions? Thanks
    >We need to export a large amount of data from some Oracle tables to be uploaded into a Sybase database using BCP. I had no issues exporting the data using the PUT_LINE command using the open command below.
    l_file := utl_file.fopen( l_dir, l_name, 'W',32767);
    The problem is, we do not want to use system's default line terminators because our data may contain embedded line terminators; We want to defined our own line terminators. But when we changed from UTL_FILE.PUT_LINE to UTL_FILE.PUT the application will run for a few seconds and then produce the following errors:
    ORA-29285: file write error
    ORA-06512: at "SYS.UTL_FILE", line 77
    ORA-06512: at "SYS.UTL_FILE", line 690
    ORA-06512: at "ADVCONV.P_WRITE", line 244
    ORA-06512: at line 2.
    If I use UTL_FILE.PUT to export smaller tables these errors do not occur so it looks like our data is larger then some limit. Does anyone have any suggestions/solutions? Thanks
    consider using PUT_RAW instead of PUT_LINE

  • Archiving files generated by PL/SQL program using UTL_FILE package

    Dear All,
    We have on PL/SQL package that is generating some data files using UTL_FILE package in one specific directory.
    I am working on concurrent program of type host(unix script) to move generated file to some archive folder.
    Now the problem is owner of the files generated by PL/SQL is oracle and file permissions of the generated files are 644(Only read permission for group and others).
    Concurrent program is using an another os user applmgr to execute the script attached with concurrent program.
    Because applmgr is not having write permission on the files, hence mv command is failing.
    Please suggest me how to resolve this issue.
    Regards
    Devender Yadav

    Hi;
    I just think that, you can create one sh which is chancing permission of related path owner for applmgr user and put it on crontab and it can run every 1 min.
    Regard
    Helios

  • How to use UTL_FILE

    Hi ,
    Would like to know how i can use UTL_FILE :
    This is an sample from the web :
    declare
    f utl_file.file_type;
    s varchar2(200) := 'this is some info';
    begin
    f := utl_file.fopen('SAMPLEDATA','sample2.txt','W');
    utl_file.put_line(f,s);
    utl_file.fclose(f);
    end;
    where does SAMPLEDATA i.e the location points to ? if i have a pl/sql program running on my PC is it refering to the path in my PC on in the database's SERVER ?
    pls advise
    tks & rgds

    Hi!
    Pls go through the following document.
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/x/Utl_File/start.htm .
    Regards.
    Satyaki De.

  • Problem with access rights by using UTL_FILE

    Hi all,
    Could you please help me with the following problem. A search on this forum did not result in the final solution:
    - We are using an Oracle XE database on an Oracle VM instance
    - I want to export a lot of data to the filesystem, by using UTL_FILE.
    - The package that calls UTL_FILE, should be installed in the database schema 'XXCUST'.
    - I have created a folder '/home/oracle/XX_EXPORT_FOLDER' on the filesystem
    - I have created a database directory 'XX_EXPORT', which links to this folder
    - I have granted read and write to public for this folder
    - I use the following script to export the files:
    DECLARE
    l_file_handle UTL_FILE.FILE_TYPE;
    BEGIN
    l_file_handle := UTL_FILE.FOPEN( location => 'XX_EXPORT', filename => 'test.txt',open_mode => 'W', max_linesize => 100);
    UTL_FILE.PUT_LINE(l_file_handle, 'TEST');
    UTL_FILE.FCLOSE(l_file_handle);
    END;
    When I run this script with the user 'XXCUST' I get the following error:
    ORA-06521: PL/SQL: Error mapping function
    ORA-06512: at "SYSTEM.UTL_FILE", line 41
    ORA-06512: at "SYSTEM.UTL_FILE", line 478
    ORA-06512: at line 15
    06521. 00000 - "PL/SQL: Error mapping function"
    *Cause:    An error was detected by PL/SQL trying to map the mentioned
    function dynamically.
    *Action:   Check the stacked error (if any) for more details.
    When I run this script with the user 'sys as sysdba', I don't get any errors. My testfile is created successfully.
    What should I do to use this script with user XXCUST?

    What are the permissions on this folder:
    /home/oracle/XX_EXPORT_FOLDER

  • Is it possible to install and run RMAN remotely ?

    Is it possible to install and run RMAN on a separate remote network-connected platform from the platform of the Oracle DB instance with which RMAN was initially installed without any additional licensing ?
    I.e. is it possible to copy the RMAN executable and any required libraries to the remote platform and successfully run RMAN on the remote platform to backup the Oracle DB instance with which RMAN was initially installed without any additional licensing ?
    This is using RMAN with a recovery catalogue in the target database control file.
    Thanks,
    Brett.

    Hi Kostya,
    Depends on what you mean. Default the SOA Suite installs a Oracle Lite database to use for hydration storage. So default there is no real database and therefore you can not install ApEx. But you can configure the SOA Suite to use a "normal" database, and then you can use ApEx.
    Regards Pete

  • Spooling large data using UTL_FILE

    Hi Everybody!
    While spooling out data into a file using UTL_FILE package I am unable spool the data The column data has a size of 2531 characters
    The column 'source_where_clause_text' has very large data.
    Its not giving any error but the external table is not returning and data
    Following is the code.
    CREATE OR REPLACE PROCEDURE transformation_utl_file AS
    CURSOR c1 IS
    select transformation_nme,source_where_clause_text
    from utility.data_transformation where transformation_nme='product_closing';
    v_fh UTL_FILE.file_type;
    BEGIN
    v_fh := UTL_FILE.fopen('UTLFILELOAD', 'transformation_data.dat', 'w', 32000);--132767
    FOR ci IN c1
    LOOP
    UTL_FILE.put_line( v_fh, ci.transformation_nme ||'~'|| ci.source_where_clause_text);
    -- UTL_FILE.put_line( v_fh, ci.system_id ||'~'||ci.system_nme ||'~'|| ci.system_desc ||'~'|| ci.date_stamp);
    END LOOP;
    UTL_FILE.fclose( v_fh );
    exception
    when utl_file.invalid_path then dbms_output.put_line('Invalid Path');
    END;
    select length(
    '(select to_char(b.system_id) || to_date(a.period_start_date,''dd-mon-yyyy'') view_key, b.system_id, to_date(a.period_start_date,''dd-mon-yyyy'') period_start_date, to_date(a.period_end_date,''dd-mon-yyyy'') period_end_date, to_date(a.clos
    ing_date,''dd-mon-yyyy'') closing_date from ((select decode(certification_type_code, ''A'', ''IDESK_PRODUCTS_PIPELINE'',''C'', ''IDESK_PRODUCTS_COMMITMENT_LINKAGE'') system_nme, to_char(to_date(''01'' || lpad(trim(to_char(certification_as_of_month_yr)),6,''0''),''ddmmyy
    yy''),''dd-mon-yyyy'') period_start_date, to_char(last_day(to_date(''12'' || lpad(trim(to_char(certification_as_of_month_yr)),6,''0''),''ddmmyyyy'')),''dd-mon-yyyy'') period_end_date, to_char(trunc(certification_datetime_stamp), ''dd-mon-yyyy'') closing_date from odsu
    pload.prod_monthly_certification where certification_type_code in (''A'',''C'') minus select trim(system_nme), to_char(period_start_date, ''dd-mon-yyyy''), to_char(period_end_date, ''dd-mon-yyyy''), to_char(closing_date, ''dd-mon-yyyy'') from utility.system_closing
    statusv where system_nme in (''IDESK_PRODUCTS_PIPELINE'', ''IDESK_PRODUCTS_COMMITMENT_LINKAGE'')) union all (select ''BMS Commitment Link'' system_nme, to_char(to_date(''01'' || lpad(trim(to_char(certification_as_of_month_yr)),6,''0''),''ddmmyyyy''),''dd-mon-yyyy'')
    period_start_date, to_char(last_day(to_date(''12'' || lpad(trim(to_char(certification_as_of_month_yr)),6,''0''),''ddmmyyyy'')),''dd-mon-yyyy'') period_end_date, to_char(trunc(certification_datetime_stamp), ''dd-mon-yyyy'') closing_date from odsupload.prod_monthly_c
    ertification where certification_type_code = ''C'' minus select trim(system_nme), to_char(period_start_date, ''dd-mon-yyyy''), to_char(period_end_date, ''dd-mon-yyyy''), to_char(closing_date, ''dd-mon-yyyy'') from utility.system_closing_status_v where system_nme
    = ''BMS Commitment Link'') union all (select ''BMS'' system_nme, to_char(to_date(''01'' || lpad(trim(to_char(certification_as_of_month_yr)),6,''0''),''ddmmyyyy''),''dd-mon-yyyy'') period_start_date, to_char(last_day(to_date(''12'' || lpad(trim(to_char(certification_as_
    of_month_yr)),6,''0''),''ddmmyyyy'')),''dd-mon-yyyy'') period_end_date, to_char(trunc(certification_datetime_stamp), ''dd-mon-yyyy'') closing_date from odsupload.prod_monthly_certification where certification_type_code = ''A'' minus select trim(system_nme), to_char
    (period_start_date, ''dd-mon-yyyy''), to_char(period_end_date, ''dd-mon-yyyy''), to_char(closing_date, ''dd-mon-yyyy'') from utility.system_closing_status_v where system_nme = ''BMS'')) a, utility.system_v b where a.system_nme = b.system_nme)') length1
    from dual
    --2531
    begin
    SSUBRAMANIAN.transformation_utl_file;
    end;
    create table transformation_utl
    TRANSFORMATION_NME VARCHAR2(40),
    SOURCE_WHERE_CLAUSE_TEXT VARCHAR2(4000)
    ORGANIZATION external
    type oracle_loader
    default directory UTLFILELOAD
    ACCESS PARAMETERS
    records delimited by newline CHARACTERSET US7ASCII
    BADFILE UTLFILELOAD:'transformation.bad'
    LOGFILE UTLFILELOAD:'transformation.log'
    fields TERMINATED by "~"
    LOCATION ('transformation_data.dat')
    ) REJECT LIMIT UNLIMITED
    select * from transformation_utl

    after running the procedure, did you verify that the file 'transformation_data.dat' has data? open it, make sure it's correct. maybe it has no data, and that's why the external table doesn't show anything.
    also, check the LOG and BAD files after selecting from the external table. maybe they have ERRORS in them (or all the data is going to BAD because you defined something wrong).

  • Write data using utl_file

    hi , i am using oracle 10g.
    i am writing this job which runs every day and writes into file.
    first time i has to put upto 700,000 records into file and from next run it will be around 5000.
    please let me know what ever i am doing is correct or not. i never used utl_file , since this is my first time using utl_file i really need help from you guys.
    CREATE OR REPLACE PROCEDURE pr_cpe_dashboard
    IS
       CURSOR c1
       IS
          SELECT /*+ parallel ( qdm 8) index(sdm INDX_RPRE_MART_SITE_QREV) index(odm INDX_RPRE_MART_ORD_QSITE) */
                    qdm.quote_id
                 || '||'
                 || qdm.quote_revision
                 || '||'
                 || qdm.quote_status
                 || '||'
                 || qdm.last_modified_date
                 || '||'
                 || qdm.billing_method
                 || '||'
                 || qdm.quote_total
                 || '||'
                 || CASE
                       WHEN sdm.project_number IS NULL
                          THEN 'NULL'
                       ELSE sdm.project_number
                    END
                 || '||'
                 || CASE
                       WHEN odm.order_number IS NULL
                          THEN 'NULL'
                       ELSE odm.order_number
                    END
                 || '||'
                 || CASE
                       WHEN odm.order_type IS NULL
                          THEN 'NULL'
                       ELSE odm.order_type
                    END
                 || '||'
                 || CASE
                       WHEN odm.release_timestamp IS NULL
                          THEN 'NULL'
                       ELSE TO_CHAR (odm.release_timestamp, 'mm/dd/yyyy hh:mi:ss')
                    END
                 || '||'
                 || CASE
                       WHEN sdm.account_name IS NULL
                          THEN 'NULL'
                       ELSE sdm.account_name
                    END
                 || '||'
                 || qdm.nasp_id
            FROM r_premisys_quote_detail_mart qdm,
                 r_premisys_site_detail_mart sdm,
                 r_premisys_order_detail_mart odm
           WHERE qdm.quote_id = sdm.quote_id(+)
             AND qdm.quote_revision = sdm.quote_revision(+)
             AND qdm.quote_id = odm.quote_id(+)
             AND qdm.quote_revision = odm.quote_revision(+)
             AND qdm.last_modified_date >= (SELECT last_used_date
                                              FROM job_audit_date);
       output_file   UTL_FILE.file_type;
       l_dir         VARCHAR2 (10)      := 'c:/orders';
       l_filename    VARCHAR2 (25)      := 'cpe.txt';
       v_array       t_array            := t_array ();
    BEGIN
       output_file := UTL_FILE.fopen (l_dir, l_filename, 'W');
       OPEN c1;
       LOOP
          FETCH employees_cur
          BULK COLLECT INTO v_array LIMIT 1000;
          FOR i IN 1 .. v_array.COUNT
          LOOP
             UTL_FILE.put_line (output_file, v_array (i));
          END LOOP;
          EXIT WHEN v_array.COUNT = 0;
       END LOOP;
       UTL_FILE.fclose (output_file);
    END pr_cpe_dashboard;

    A couple of things.
    This is wrong:
    l_dir VARCHAR2 (10) := 'c:/orders';It must be the name of a directory object, created via the "+CREATE DIRECTORY+" command. Dir objects are (database) aliases for physical paths. Like any other db object, it provides a security layer that allows one to control access to it. You do not want any and all db sessions to access the root drive on that server.
    Not necessary:
    v_array t_array := t_array ();You are calling the constructor to create an empty array. Not needed as the bulk collect does that for you. Simply define the variable - the bulk collect takes the responsibility for initialising and populating it.
    Review:
    parallel ( qdm 8) Personally I dislike such hints, hints forcing indexes and so on. Reason is that the developer is second guessing the CBO. Yes, you may have the right values for the development db and its data set. It may even work for production for a while. But production is very seldom static. Process loads varies. Data volumes increases. Even the database model changes (e.g. new columns, new indexes, etc). H/w changes (e.g. more CPUs, more memory, etc).
    By second guessing the CBO, the developer makes it very hard for the DBA and CBO properly manage performance and scalability on the server.
    Also, keep in mind that UTL_FILE (and PL/SQL code) is a serialised process (only exception is specially crafted pipeline table functions). So despite using/requesting 8 parallel query processes (PQ) in the hint, a single PL process has to write that data to file. Be sure that you identify the appropriate bottleneck when dealing with I/O and wanting to use PQ to address it.

  • Error while run rman backu plus archivelog to tape

    hi all,
    am trying to run rman backup plus archivelog TO tape disk
    my rman configuration settings are as seen below
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/dev/nst0/%u';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/Ora10R2/Orahome/dbs/snapcf_dse.f
    '; # default
    get the following error when i do this,
    RMAN-03009: failure of backup command on C3 channel at 01/03/2013 11:33:45
    ORA-00600: internal error code, arguments: [ksfdfetch1], [], [], [], [], [], [],
    Can any one tell why am getting this error?
    Thanks

    Hi,
    ora-600s are very strange errors, and most times difficult to understand.
    there are however some useful notes.
    ORA-600/ORA-7445/ORA-700 Error Look-up Tool          [Article ID 153788.1]
    Master Note for Diagnosing ORA-600          [Article ID 1092832.1]
    besides that, you could inform us of the platform, OS, DB version that you are using.
    br,
    jpinela.

  • How to Run Rman in silent mode

    when i run rman command to connect with the database then I get the following information message,
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Mar 26 15:38:45 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: MYDB (DBID=2563653631)
    Can i avoid this message and run it in silent mode ?

    On Windows, I am able to use this command :
    rman < rman_backup_script.rmn > rman_backup.Logwhere the script file rman_backup_script.rmn contains
    connect target /
    backup database plus archivelog;The backup does run. It creates backupsets. It also creates rman_backup.Log which
    contains these output lines :
    Recovery Manager: Release 10.2.0.3.0 - Production on Sat Mar 29 23:11:28 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    RMAN>
    connected to target database: OR10G2DB (DBID=138573118)
    RMAN>
    Starting backup at 29-MAR-08
    current log archivedand do so on.
    No screen output at all.

  • Data generation in excel format using utl_file

    Hi,
    I am exporting table data into excel files by using utl_file. But it is getting generated in the server
    directory where database is running? So, how can i get the file at client machine (As in toad or sql navigator
    we can query a table and store the data in client machine in excel format).
    What are the options:- As per my thinking
    I will have to ftp those files back to client machine using shell script?
    Is there any direct way to generate these files in client machine?
    Edited by: want_to_be_a_dba on Jan 17, 2010 1:17 AM

    want_to_be_a_dba wrote:
    But i have to give the data to clients. So I will have to take it?I understand the limitations you face, but shouldn't the data be kept in the database and let the clients use a database application to manipulate the data?
    Anyway, I think you need to test to see which methods works for you. To me it sounds like your clients need a database application, not an Excel sheet.

Maybe you are looking for

  • Difference between RAC and MySQL Cluster !

    Difference between RAC and MySQL Cluster Please write me in well explanation , with examples , needed useful link and all other stuffs. (1)Italian dealers/distributors for MySQL (2)Difference between RAC and MySQL Cluster (3)Pricing about MySQL and P

  • Dell U2711 black screen when connected to Mac via DisplayPort

    I currently have a Dell U2711 27" monitor connected to my Mac Mini through DVI (it uses a DVI to mini-DVI adapter at the PC end). However, I cannot get the full resolution of the monitor 1920 x 1080 maximum is offered were the monitors maximum resolu

  • CO40 batch input sessions

    Hi Gurus, We schedule background jobs to convert Planned order to a Production order using program PPBICO40. This program/job is generating batch input sessions, weekly we go to SM35 and delete these sessions manually. This is becoming a weekly maint

  • Problem with downloading imovieHD

    ok so recently i went to an apple retail store because i was having problems with my computer, and they gave me a leopard disk to install on my computer, so i install it and it has imovie 08 iphoto 08 etc. on it but i like imovie hd better so i downl

  • Dynamic interface with ip 0.0.0.0

    Hi gusy, what happens if i set yhe ip address of a dyn interface to 0.0.0.0 and associate this interface to a WLAN? will WLAN+this dynamic interface work as a layer 2 VLAN? thx.... Ale.