syntax of log_file_name_convert in the case of several members to redo

Dear Oracle guru,
I'm doing a script rman duplication.
on the target db I redo 3 groups each have 2 members on the different directory path. On les(different machine), the logs under/U01 will pass to the /ora1
and / U02 will move to the /ora2


/U01/oradata/prod/redo01.log
/U02/oradata/prod/redo01b.log

/U01/oradata/prod/redo02.log
/U02/oradata/prod/redo02b.log


/U01/oradata/prod/redo03.log
/U02/oradata/prod/redo03b.log


I know
DB_FILE_NAME_CONVERT = ' / u01/oradata/prod / "," / ora1/oradata / to the /.

What should be the proper syntax for log_file_name_convert

I am looking for site to oracle but they just be listed in case 1 example

log_file_name_convert = (< source_db_path >, < target_db_path >)

should I use
log_file_name_convert = ' / u01/oradata/prod / "," / ora1/oradata / to the / "," / u02/oradata/prod / "," / ora2/oradata / to the /.


Thanks for your time...

No, you cannot use log_file_name_convert in an RMAN execution block.

But you have not :)

Just put the conversion in the pfile/spfile file, start the auxiliary database in nomount mode and duplicate the database. Your conversion rules for log files are correct. You can collect both the logfile group members in directory a target on the side of the auxiliary.

And Yes, you will get the same number of log files on Test as the Prod.

HTH

Joerg

Tags: Database

Similar Questions

  • GETVPN and regeneration of the keys when several members of the Group leave at the same time

    He did not specify how the key servers respond when several members of the group start simultaneously. For example, if 3 members leave the same group, made the key manager sends three keys (KEK, TEK) and only the last will be available for future connections? Or the key manager optimizes the regeneration of the keys and sends only a single key?

    Thank you

    Stone,

    On himself, he is not uncertain. You can retrieve the session memory keys (not impossible but difficult).

    I guess what you are looking for is a red button to clear the SAs on all devices?

    In this case:

    http://www.Cisco.com/en/us/docs/iOS-XML/iOS/sec_conn_getvpn/configuration/15-2mt/sec-get-VPN.html#GUID-6267F36C-094F-483F-A1CA-735D39484364

    Specifically "clear members ks gdoi crypto now."

    There is a particular risk that you thought?

    M.

  • Change the case on several documents

    Hello!

    I'm very new to scripting, and I have the following script that is "Upper" text and change for real uppercase. I work with ID CS 6 on Windows XP.

    The script works on a single document, if there is an open, if not, it asks for a file and process all INDD files in this folder.

    That's what I have:

    if(app.documents.length != 0){
        processDocument(app.activeDocument);
        alert("Done!");
        }
    else {
        _folder = Folder('~/Desktop').selectDlg("Select folder");
        if(_folder == null) exit();
        _files = _folder.getFiles("*.indd");
        if(_files.length == 0){
                alert("No INDD files in the selected folder!");            
            }
        else {
            for (i=0; i<_files.length; i++){
            app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
            _inddFile = _files[i]
            doc = app.open(_inddFile);
            app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;      
            processDocument(doc);
            app.activeDocument.close(SaveOptions.yes);
            } 
        alert("Done!");
        }
    }
    
    function processDocument(doc) {    
        app.findGrepPreferences = app.changeGrepPreferences = null;
        app.findGrepPreferences.capitalization = Capitalization.allCaps;
        app.findGrepPreferences.appliedCharacterStyle = 'Red';
        var _results = doc.findGrep();
        app.findGrepPreferences = app.changeGrepPreferences = null;    
        _length = _results.length;
        for (i=0; i<_length; i++) {
            _results[i].texts[0].changecase(ChangecaseMode.uppercase);
            _results[i].texts[0].capitalization = Capitalization.normal;
            _results[i].texts[0].appliedCharacterStyle = 'Blue';
        }
    }
    

    The script works well on a single document, but for some reason any that it does not work on several documents. I try the script on 4 files with this content (the colors are added in the text only to help verify the results):

    Whenever the first or the first two documents are processed correctly, the others are not processed at all. But I get no error message. Where is the problem?

    Any help would be greatly appreciated!

    Luca

    I tried to recreate your problem once again and I don't have something similar. I know it's not normal, but mine started when I changed the variable i in the second. I see that they have a different scope, but somehow she made the difference. Could you try it by chance?

    #target indesign
    if(app.documents.length != 0){
        processDocument();
        alert("Done!");
        }
    else {
        _folder = Folder('~/Desktop').selectDlg("Select folder");
        if(_folder == null) exit();
        _files = _folder.getFiles("*.indd");
        if(_files.length == 0){
                alert("No INDD files in the selected folder!");
            }
        else {
            for (i=0; i<_files.length; i++){
            app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
            _inddFile = _files[i] ;
            doc = app.open(_inddFile);
            app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
            processDocument(doc);
            app.activeDocument.close(SaveOptions.yes);
            }
        alert("Done!");
        }
    } 
    
    function processDocument() {
        app.findGrepPreferences = app.changeGrepPreferences = null;
        app.findGrepPreferences.capitalization = Capitalization.allCaps;
        app.findGrepPreferences.appliedCharacterStyle = "Red";
        var _results = app.activeDocument.findGrep();
        $.write(_results);
        app.findGrepPreferences = app.changeGrepPreferences = null;
        _length = _results.length;
        $.write(_length);
        for (s=0; s<_length; s++) {
            _results[s].texts[0].changecase(ChangecaseMode.uppercase);
            _results[s].texts[0].capitalization = Capitalization.normal;
            _results[s].texts[0].appliedCharacterStyle = 'Blue';
        }
    }
    
  • Select the case when several returnvalue? 20 D

    Hello
    I would like to know if there is a solution less than 10g for something like this

    Select case when 'C' = 1
    then
    (select double 1,2,3,4,5)
    on the other
    (select double 6,7,8,9,0)
    end
    of the double.
    (select 1 double 'C')

    What I really need, is the full output of (select double 1,2,3,4,5) or (select double 6,7,8,9,0) If a State due to a different sql query is true or false. No matter if the solution uses 'case when' or anything else.

    Thanks in advance for any help.
    Best regards
    Carsten

    Something like this would work with the example you gave.

    SQL> with test_data as
      2      (select 1 c from dual)
      3  select
      4      1, 2, 3, 4, 5
      5  from
      6      dual,
      7      test_data
      8  where
      9      c = 1
     10  union all
     11  select
     12      6, 7, 8, 9, 0
     13  from
     14      dual,
     15      test_data
     16  where
     17      c != 1;
    
             1          2          3          4          5
    ---------- ---------- ---------- ---------- ----------
             1          2          3          4          5
    
    SQL> edi
    Wrote file afiedt.buf
    
      1  with test_data as
      2      (select 2 c from dual)
      3  select
      4      1, 2, 3, 4, 5
      5  from
      6      dual,
      7      test_data
      8  where
      9      c = 1
     10  union all
     11  select
     12      6, 7, 8, 9, 0
     13  from
     14      dual,
     15      test_data
     16  where
     17*     c != 1
    SQL> /
    
             1          2          3          4          5
    ---------- ---------- ---------- ---------- ----------
             6          7          8          9          0
    
  • Hyperion Financial Reporting burst issue several members.

    Hi all

    I'm trying schdeule EN reports, when I put the option for several members of bursting to create folder for all reports. Is it possible to just get reports without creating files?

    Receive no response.

    Thank you.

    Just remove the labels burst output for the Label of subfolder.

    Cheers, Iain

  • Firefox crashes because as his tent to update the last website I went to have uninstalled and reinstalled several times and always the case. How can I erase this site so it seems not for her? Also happens in safe mode.

    Firefox crashes because as his tent to update the last website I went to have uninstalled and reinstalled several times and always the case. How can I erase this site so it seems not for her? Also happens in safe mode.

    Follow the suggestions mentioned in the following article:

  • On the desktop HP Pavilion p7-1110, are you able to adapt several drive HARD internal inside the case?

    I already know desktop HP has a problem where your were not able to adapt hard drives inside the it (something about a cage, picky HP or any other reason)...

    I went to Staples/Best Buy/Office Max/Office deport and no one seemed to know, I had a couple of even opening the case of the employee, and I see different areas (of 3 total), where it SEEMS that you can, there was even a LABEL that says HARD drive, so I suppose it's possible... but that's the point of sale , so before buying the office tomorrow, I want to confirm that you CAN hold at least 3 hard disks inside.

    Wouldn't buy and undergo a 15% restocking fee.

    Matt, welcome to the forum.

    Yes, there are berries of disc 2-5, 25 "and 2-3, 5" bays of drive.  Now, there may be other readers in some of them, but those that are vacant will hold a reader.  Here is the Product Specifications page for the computer.

    If your problem is solved, please click "accept as a Solution.

  • Syntax of the case statement / WHEN

    The table I use a depreciation per fiscal year and the fiscal period.  I try to have the amount of depreciation to go to 2 different columns based on the fiscal year and the fiscal year.  I'm doing it with a nested case statement. I know that is not correct, because I get the message ORA-00905.  I'm relatively new to sql and it is contribtuing to my problem as well.  Here is the code I have and suggestions / corrections would be appreciated.  Thanks for the help...

    SELECT

    lao PDR. DEPTID as DEPTID,

    lao PDR. ASSET_ID as ASSET_NO,

    PA. Descr as DESCRIPTION,

    lao PDR. ACCOUNT_AD as AD_ACCT,

    PDL. DE_ACCT, to take into ACCOUNT

    lao PDR. ADEATH as AMT_DEPR,

    PDL. JOURNAL_ID as JRNL_ID,

    PDL. JOURNAL_DATE as JRNL_DT,

    lao PDR. FISCAL_YEAR as FY,

    lao PDR. ACCOUNTING_PERIOD AP,

    CASE

    WHEN RDP. FISCAL_YEAR = 2014 THEN

    WHEN RDP. PERIOD ACCOUNTANT = 11 THEN pdr. DEPR

    END AS CURR_MONTH,

    CASE

    WHEN RDP. FISCAL_YEAR <>2014

    WHEN RDP. ACCOUNTING PERIOD <>11 THEN pdr. DEPR

    END AS PRIOR_MONTH

    OF PS_DEPR_RPT pdr

    INNER JOIN PS_DIST_LN pdl

    THE pdl. BOOK = pdr. BOOK

    AND pdl. BUSINESS_UNIT = pdr. BUSINESS_UNIT

    AND pdl. FISCAL_YEAR = pdr. FISCAL_YEAR

    AND pdl. ACCOUNTING_PERIOD = pdr. ACCOUNTING_PERIOD

    AND pdl. ASSET_ID = pdr. ASSET_ID

    AND pdl. CF_SEQNO = pdr. CF_SEQNO

    INNER JOIN PS_ASSET PA

    WE pa. ASSET_ID = pdl. ASSET_ID

    AND pa. BUSINESS_UNIT = pdl. BUSINESS_UNIT

    WHERE

    lao PDR. BUSINESS_UNIT = "A0465.

    AND pdr. BOOK = 'RUN '.

    AND ((pdr. FISCAL_YEAR = 2014 AND pdr. ACCOUNTING_PERIOD = 11) OR (pdr. FISCAL_YEAR = 2014 AND pdr. ACCOUNTING_PERIOD = 10))

    Hello

    2713822 wrote:

    Thank you... I appreciate the information you provide when you answer these questions.  I always try to get the amount (from the same column) for 2 rows in different columns.  I tried the LAST_VALUE and LAG but it took a long time for the queries to run, I'm looking for another way to do the same.  I'm only using SQL to retrieve data.  I don't have the ability to create or insert.

    I looked the information above and the CASE statement to look like this:

    CASE

    WHEN RDP. FISCAL_YEAR = 2014

    AND pdr. ACCOUNTING_PERIOD = 11

    THEN the RDP. ADEATH AS CURR_MONTH

    ON THE OTHER

    lao PDR. ADEATH AS MONTHS PREVIOUS

    END

    But I'm now getting an "ORA-00905: lack of keyword" message.

    What I'm trying to do is to draw 2 lines 1 to 2014 / 11 and another for 2014 / 10.  The amount for the period 2014 / 11 should go in the current column and the amount for the period 2014 / 10 should go in the previous column.

    Before current assets management

    01 AB01 50.01 50.03

    ....

    If you want to give an alias for a column, then you can say "AS nome_alias" after that tell you what that is in this column.

    'AS nome_alias' applies to the entire column.  Cannot use 'alias_name' in the middle of an expression, for example, in the middle of a CASE expression, before the END keyword.

    If you want to have 2 separate output columns, curr_month and prior_month to your output, you must then 2 separate columns in your SELECT clause.  for example:

    SELECT pdr.branch

    pdr.asset

    CASE

    WHEN pdr.fiscal_year = 2014

    AND pdr.accounting_period = 11

    THEN pdr.depr

    END AS curr_month

    CASE

    WHEN...

    THEN...

    END AS prior_month

    PDR

    ;

    If post you some sample data (CREATE TABLE and INSERT statements), the results and explanations, I could show you how to complete the... sections.

    To find out what version of Oracle you have, use

    SELECT *.

    SINCE the release of v$.

    The output can be messy, like this:

    BANNER

    -------------------------------------------------------------------

    CON_ID

    ----------

    12 c Oracle database Release 12.1.0.1.0 - 64 bit Production

    0

    PL/SQL Release 12.1.0.1.0 - Production

    0

    CORE Production 12.1.0.1.0

    0

    AMT for 64-bit Windows: Version 12.1.0.1.0 - Production

    0

    NLSRTL Version 12.1.0.1.0 - Production

    0

    The important thing is the number 5 parts on the first line; 12.1.0.1.0 in the example above.

  • How to open the case or take the panels on a desktop HP A6202

    How to open the case or take the panels on a desktop HP A6202

    Just a manual for the love of God or an image. Now I searched the Net for an hour - no luck

    See this guide HP titled "opening the box" for instructions on how to open the case. Be aware that there are several "HP a6202" computers and your may be different than what I have listed. Please provide the full name of the HP model and/or the product name of the computer in question during a request for assistance.

  • How to stop queuing in the structure of the case

    I'm trying to find the Summit and the Valley of the signal. I'm able to find it, but I don't want to make the zero with the pic. I just want to get the value of Ridge and Valley. Is it possible to stop queuing the values in the structure of the case? As I have a several signals which peak/Valley must be found that I can't use the library functions.

    Kanye wrote:

    I'm trying to find the Summit and the Valley of the signal. I'm able to find it, but I don't want to make the zero with the pic.

    First of all, and more which has been mentioned, there are serious shortcomings, making the Subvi is not very universal.

    • Your Subvi does NOT export the correct value of the Ridge (or Valley), but the value just after (which is more a peak or a Valley!)

    • Your Subvi is only the positive peaks and valleys negative. This seems very restrictive. In general, you could easily have a Valley even if all the data is positive. Right? (With the exception of the Valley of death for example, most of the valleys are above sea level, for example )

    • Your code is extremely complicated, with two sets of structures of the case, each stacked three deep, four change records and tons of comparisons. Here is a simpler version. (To imitate your outings, place a statement select after each comparison and output the value or zero depending on the result of the comparison).

  • Not not not in the Structure of the case

    You want to get suggestions on the best way to do it.  In theory, it will be the best if I can create a structure to deal with condition 'no '.  What I mean, it's the entrance to the structure of matter is 3, and I have a case which, with such condition does not (1, 2, 4, 5), the case would run.

    Another example

    If different x of 1, 2, 4, 5, then

    to do this

    Else If x is not equal to 6, 7, 8, 9, and then

    do this

    End

    Yik

    ^ You can also simply make a table with your constant inside and feed to the comparison table, and who publishes an array of bool.

    Another approach would be to wire the digital directly to the structure of the case and type the desired number of a case to represent.  Several case numbers are separated by commas.  A range of numbers can be represented by "..".  for example 6,7,8,9 = 6.9 in the same way... 0 is the range - inf by 0 and 5... is all values greater than or equal to 5.

  • G6 2221 ev Pavilion: Pavilion low g6 of the case

    My bottom of the case was broken where the hinge of the screen is in. Please note that this problem has been reported on several occasions. I am an electrical engineer and I want to replace my own. I find these cases for the g6 2000 and 2100 series and want to know if it fits on my model of 2221ev g6.

    Hi there @johnny-greece

    Welcome to the Forums of HP Support! It's a good place to find the help you need, so many other users, the HP experts and other members of the support staff.

    I understand that you are looking for compatible parts for your laptop, and I'm happy to help you.

    Please see attachment: HP Pavilion Notebook PC Maintenance and Service Guide of g6

    This guide shows the compatible parts and components, and how to remove and replace.  If the parts you describe are in this document, then it is compatible. Since you describe the steps for laptops that go into this document, they should be compatible as well, but refer to this document to be sure.

  • call the statement box inside the case statement

    I am writing a program which requires me to run a statement box inside another case statement. Although this sounds like a simple thing, I need to be able to call the case statement using a sequence structure, where s1 sends the true value to the case, s2, a fake. Then I need to record the results of this instruction box in a text file. Attatched is a simplified version of what I'm trying to do. Please note that the way my program runs may not call the case statement without using a sequence structure, two nesting box instructions is not feasible. I hope someone out there can help me because I was stuck trying to find this for awhile.

    Thank you

    LVStudent wrote:

    [...] I can't call the case statement without using a sequence structure

    Yes you can.  You just need to be smart.

    LVStudent wrote:

    I don't think I can use a state machine to fix this.

    I think you probably can.

    With respect to your original post. What are these s1 and s2 are you talking about?  My opinion on the matter, it is that you want to select a case based on the values of several controls Boolean.  If this is correct, I do this:

    Build your Boolean controls in a table, convert the table number and insert it into the structure of your business.  No button pressed = 0, s1 = only 1, s2 = only 2 both = 3.   This works for Boolean values as much as you want and is an easy way to make a decision that depends on many entries.

  • Error in the capture of several channels using pre-trigger

    I have problems of acquiring data with pre-trigger samples during the capture of several channels, using hardware NOR-PXI-6071E and Analog Input VIs in Labview (inheritance OR-DAQ).

    My goal is to trigger a signal, while capturing another. Unfortunately, I can't use the PFI0 for external triggering, as our cables/material have already been built, so I have to use an analog input as the trigger channel. I understand that to do this I must capture the two strings and the string I want to trigger outside must be the first string in the list.

    If I trigger and capture on the same channel (I tried 1-4) then it works very well, regardless of the number of samples before relaxation together. If I capture more than one channel (the channel of the relaxation to a first), with no pre-trigger samples, then trigger and capture both work very well. However, if I do the same thing with pre-trigger > 0 sample I get the following error:

    Error-10621 to AI control. Possible reasons:
    NOR-DAQ LV: The specified trigger signal cannot be assigned to the resource for the trigger.

    I don't have to such limitation explained in the user manual, and the forum search, I found a few other people who have had the same problem but they had no solutions. Any ideas?

    Hi Jackson,

    Unfortunately, this is a hardware limitation when you reference analog trigger via one of the lines to HAVE.

    Please see this knowledge base. Particularly the second paragraph says

    The error-10621 appears immediately when the VI running if you try to assign scans of relaxation before while scanning multiple channels and using one of the entries as your trigger channel.

    Details are explained in the third paragraph:

    Because all the entries are multiplexed before being sent for analog triggering circuit, it is possible that the trigger on the trigger channel conditions might miss while the device is multiplexing by another channel. In this case, the trigger will not be detected.

    It is explained in the E-Series user manual page 10-3.  Specifically the second paragraph of the section entitled "Analog Input Channel".

    Eric S.

  • Structure of the case duplicates all the indicators on the user interface.

    I create a true/false case structure that contains several indicators for each of the cases respectively.  These indicators are displayed simultaneously on the user interface.  Is there a way to have indicators or indicators to replace the other as the other case is active or control must be in the user interface at the same time?

    Thank you!

    Is there a reason you want to duplicate the indicators?  The normal practice is to move the indicators outside the structure of the case and the wire coming from each case out through a tunnel.

Maybe you are looking for