Change TAG controlfile

Hello guys,.

How can I change the tag name in the AutoSave?

quick glance:

RMAN > list backup;

Backup list

===============

S LV TY Device Type delay #Pieces compressed #Copies Tag key

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

3202 B 0 A 3 JANUARY 16 4 DISC 1 YES BKP_FULL

3203 B 0 A DISC 3 JANUARY 16 1 1 YES BKP_FULL

3204 DISC 3 JANUARY 16 1 1 YES BKP_ARC

3205 a DISC 3 January 16 1 1 no TAG20160103T121745

3206 a DISC 3 January 16 1 1 YES TAG20160103T122034

3207 a DISC 3 January 16 1 1 no TAG20160103T122036

3208 DISC 3 JANUARY 16 1 1 YES BKP_ARC

3209 a DISC 3 January 16 1 1 no TAG20160103T124507

3210 DISC 3 JANUARY 16 1 1 YES BKP_ARC

3211 a DISC 3 January 16 1 1 no TAG20160103T134508

RMAN > show all.

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / u05/control_BD_%F.ctf';

Time of accomplishment BS key Type LV size device Type elapsed time

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

3247 full 13.42 M DISK 00:00:01 January 4, 16

BP key: 3280 situation: AVAILABLE Tablet: No. Tag: TAG20160104T074506

Part name: /u05/control_BD_c-25577065-20160104-07.ctf

SPFILE included: Modification Date: 3 January 16

SPFILE db_unique_name: BD

Control file included: cash SNA: 95833764 cash time: 4 January 16

Hello

1 direct the response is not possible (as you want to edit it - existing tag name) you must ensure that you can then give him only by using backup taken tag keyword followed by the name of tag

2. Secondly, provided the demo below, if you try and look at the syntax of the catalog and uncatalog change - you can not able to do because the option is not out with parts backupsets/backup and (its only available with datafilecopy) controlfilecopy

Demo

RMAN > list backup;

List of backup sets

===================

Time of accomplishment BS key Type LV size device Type elapsed time

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

17 full 9.92 M DISK 00:00:01 5 January 16

BP key: 159 status: AVAILABLE Tablet: No. Tag: TAG20160105T144704

Part name: /u04/test_backup/0hqqk7f8_1_1.set

Control file included: cash SNA: 2899792 cash time: 5 January 16

RMAN > 159 change backuppiece uncatalog;

backup not catalogued piece

handle=/u04/test_backup/0hqqk7f8_1_1.set backup RECID piece = 159 STAMP = 900341225

1 the objects not catalogued

RMAN > catalogue backuppiece ' / u04/test_backup/0hqqk7f8_1_1.set';

backup item catalogued

handle=/u04/test_backup/0hqqk7f8_1_1.set element of backup RECID = 161 STAMP = 900342448

Again, we will have the same tagname

RMAN > backup as copy current controlfile;     -lets see controlfile copy

From backup 5 January 16

using channel ORA_DISK_1

channel ORA_DISK_1: from data file copy

copy the current control file

tag name=/u04/test_backup/cf_D-DEMO1_id-3897516396_0iqqk8m2.set output file = RECID = 1 STAMP = 900342467 TAG20160105T150746

channel ORA_DISK_1: datafile copy complete, duration: 00:00:01

Backup finished on 5 January 16

RMAN > list a copy of the controlfile;

List of Copies of control files

===========================

S time delay key cash YVERT cash

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

1. A 5 JANUARY 16 2901078 5 JANUARY 16

Name: /u04/test_backup/cf_D-DEMO1_id-3897516396_0iqqk8m2.set

Tag: TAG20160105T150746

RMAN > change controlfilecopy 1 uncatalog;

copy of control files not catalogued

control file RECID = 1 STAMP = 900342467 name=/u04/test_backup/cf_D-DEMO1_id-3897516396_0iqqk8m2.set copy

1 the objects not catalogued

Catalogue controlfilecopy ' / u04/test_backup/cf_D-DEMO1_id-3897516396_0iqqk8m2.set' we can provide any tag... more here


If you are debugging, you can see his inspect right and we have no setting for proc send the tagname attribute


ENTRY krmzlog [15:18:59.576]
control file RECID = TONE 2 = 90034313 name=/u04/test_backup/cf_D-DEMO1_id-3897516396_0iqqk8m2.set copy 9

Elapsed time LEFT krmzlog [15:18:59.576] [00:00:00:00.000]

krmxrpc - channel kpurpc2 err = 0 db = default target proc =SYS. DBMS_BACKUP_RESTORE. SETRMANSTATUSROWID off: 0

krmxr - default channel returned by peicnt

krmxr - default channel finished step

Krmqgns ENTRIES

failure to complete channel step 1 (krmqgns)

   krmqgns: job search for failure to channel (krmqgns)
krmqgns: commands to be executed: (krmqgns)
krmqgns: no work not found for default channel (krmqgns)
(krmqgns)

Krmqgns WHOLE with status 1

Krmqgns ENTRIES

krmqgns: job search for failure to channel (krmqgns)
krmqgns: commands to be executed: (krmqgns)
krmqgns: no work not found for default channel (krmqgns)
(krmqgns)

Krmqgns WHOLE with status 1

krmxr - everything is done

krmxr - out with 0

Krmiexe COMPLETED with status 0 [15:18:59.577] out of time [00:00:00:00.010]

But for datafilecopy you can do

COPYDATAFILECOPY

Name of default input/output argument type?

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

NUMBER OF COPY_RECID IN

NUMBER OF COPY_STAMP IN

VARCHAR2 FULL_NAME OUT

NUMBER OF OUT RECID

NUMBER OF STAMP OUT

FNAME VARCHAR2 IN DEFAULT

MAX_CORRUPT DIRECTORY BY DEFAULT

TAG VARCHAR2 IN by DEFAULT - you have tagname with which

DEFAULT TO BOOLEAN NOCHECKSUM

ISBACKUP IN BOOLEAN DEFAULT

It may be useful

-Pavan Kumar N

Tags: Database

Similar Questions

  • Change {tag-browsepanel}

    Anyone where you can change the navigation panel? I used the tags navigation panel in my online store for better navigation of the customer but the prices are average to high... Prices range up to $ 1,000, but the thing is more expensive I have 250 so the first 750 values are wasted and will never be used... I want to do is change the highest value is 250 and thus spread my products much more in the navigation panel... Thanks for any help

    In e-commerce, go to your catalog. Under "more options" Bit you will see some of the parameters that define what varies the navigation panel will be. You will need to do this for each catalog.

  • Changing tags?

    I have a Coldfusion site that pulls all of the MS Access database content. I have a backend administration site to allow website administrators to new/upgrade update zip code and submit it to the database. The administrator puts the new code in a text area box and click on send. The problem is that some tags such as "Script, Object or Embed" are all changed to "InvalidTag" when submitted to the database. If < script > < / script > turns into < InvalidTag > < / script >

    I have this site on my Coldfusion server with no problems, but now that I have moved to a new host, it will not work. Of course, they say it my code and I say it's theirs. For me its seems to be a safety feature side Server preventing that some tags are displayed. Any ideas? Thanks for any light you can contribute on this!

    Kapman78 wrote:
    > Then transforms into
    >
    > I have this site on my Coldfusion server with no problem, but now that
    > I transferred to a new host it won't work.

    Your new host probably has Global Script protection enabled. Ask them to
    Clear to you.

    Jochem

    --
    Jochem van Dieten
    Adobe Community Expert for ColdFusion

  • How to customize the bookmark window? Change "tags" for "keyworkds.

    I usually use the keys ctrl + d for bookmarks, but when I hit him open the popup with 'Name', 'Folder' and 'Tags '. I wan't to know if it is possible to add the "Keywork" here too.

    The simple question is: is possible to customize the bookmark popup box?

    With Add Bookmark Here extension 2, you can choose what shows the Bookmark dialog box. After having added ABH2 and restart Firefox, tools > Modules > Extensions, click ABH2, click Options, click the 'Panel' tab and check the items that you want in the dialog box. The dialog box is also greater than the default, Firefox bookmark dialog box. In my opinion, it's how the Firefox bookmark dialog box should be.

    Add bookmark here 2: https://addons.mozilla.org/en-US/firefox/addon/3880

    Other issues requiring your attention

    The information provided with your question indicates you have outdated plugins with known security and stability issues that need to be updated. To see the plugins submitted with your question, click on "+ system details...". "to the right of your original message of the question. You can also see your plugins in the Firefox menu Tools > Modules > Plugins.

    1. Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/

      • Note: plugin check page lacks information about all versions of the plugin
    2. Update of Adobe Reader (PDF plugin):
      • Within your existing Adobe (If you have already installed) drive:

    • Open the Adobe Reader program in your list of programs
    • Click Help > check for updates
    • Follow the instructions to update
    • If this method works for you, go to the section "download full installer ' below and go to"after the installation"below
  • Download the full installer (If you have NOT installed Adobe Reader):
    • "Use the links below in order to avoid the painful' getplus" Adobe Download Manager and other 'extras' you do not want
    • Use Firefox to download and SAVE the installer to your hard drive for the appropriate link below
    • Click "save to file"; Save to your desktop (so you can find it)
    • Once the download is complete, close Firefox
    • Click on the installation program, you just downloaded and allow installation to continue
      • Note: Vista and Win7 users need to right click on the installer and choose "Run as Administrator"
    • Download link: ftp://ftp.adobe.com/pub/adobe/reader/
      • Choose your operating system
      • Choose the latest version of # .x (example 9.x for version 9)
      • Choose the version the most recent number
        • NOTE: 10.x is the new Adobe Reader X (Windows and Mac only from this announcement)
      • Choose your language
      • Download the file, save it to your hard drive, when finished, close Firefox, click on the installation program you just downloaded and let it install.
      • Windows: click on the .exe file. Mac: click on the .dmg file
  • Using one of the links below will force you to install the "getPlus" Adobe Download Manager. Also don't forget to uncheck the McAfee scanner if you do not want the link force installed on your desktop computer
  • After installation, launch Firefox and recheck your version.
  • Update the plugin
  • Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java platform: download JRE)
  • See also "Manual Update" in this article for update from the Java Control Panel in Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
  • Removal of older versions (if required): http://www.java.com/en/download/faq/remove_olderversions.xml
  • Remove several extensions of Console Java (if required): http://kb.mozillazine.org
  • Java test: http://www.java.com/en/download/help/testvm.xml
  • change snapshot controlfile name

    We use CARS.

    When I try to display the place of location of snapshot controlfile to catalog database and the target (as a sys) in a locaton shared the instance to help

    RMAN > configure snapshot controlfile name to ' / oracle/test_flash/ASYST/backupset/p1/snapcf_ASYST.f';

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command configure at 01/09/2013 02:23:12
    RMAN-03014: implicit recovery catalog Resync failed
    RMAN-03009: resync command failed full to the default channel to 01/09/2013 02:23:12
    ORA-01580: error creating control file backup /f37back/oradata/flash_recovery_area/EDBT/backupset/p1/snapcf_EDBT.f
    ORA-27040: create file error, cannot create the file
    Linux-x86_64 error: 2: no such file or directory

    But when I connect to the target system database and run the below, the location of the controlfile bud


    Sys@ASYST1 > RUN SYS. DBMS_BACKUP_RESTORE. CFILESETSNAPSHOTNAME('/Oracle/test_flash/ASYST/backupset/P1/snapcf_ASYST.) F') ;

    PL/SQL procedure successfully completed.

    What is the difference between the two?

    It seems that the * supported * the RMAN command line method tries to create the snapshot controlfile while the * not taken in charge * the PLSQL API method does not attempt to do so.

    Who do you prefer to use, one that is taken in charge or one that is not documented, not supported?

    Hemant K Collette

  • Error when you try to change the MP3 tags: 0x8007000D

    MP3 change tags error: 0x8007000D

    When I try to change the brand of some MP3s like "Album Artist" in windows 7 (Ultimate 6.1.7600 build 7600 and updated updated to 2010-01-04)
    It shows me this error:

    Apply the properties file
    An unexpected error you cannot apply the properties of the file.if that you continue to receive this error, you can use the error code to search for
    help with this problem.
    Error 0x8007000D: the data are incorrect.

    But I can change the label of these files without problem on windows XP. (This problem takes place only in files MP3, not all the MP3 files.)

    Hi Farhad2161,

    Welcome to the Microsoft answers site.

    I see one of your son was answered by the user of the community on the TechNet forums. Please take a look at the following link:
    http://social.technet.Microsoft.com/forums/en-us/w7itpromedia/thread/7b612d36-4f25-4265-981C-bad12e923e6b

    Do you have, do as suggested by Vivian Xing, please follow the steps and see if the problem is resolved.
    Get back to us if you have any additional questions.

    Swathi B - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • RMAN - restoring Controlfile

    I'm trying to restore a controlfile from an earlier date.

    RMAN > backup controlfile list

    Full 146395371.50 MSBT_TAPE00:00:2614 DECEMBER 14 19:27:11
    BP key: 1463956 status: EXPIRED Tablet: NO Tag: TAG20141214T192638
    Handle: ctrl_uaipq5s3l_s54610_p1_t866316405 Media: D05771

    Control file included: cash SNA: 32882311416 cash time: 14 December 14 19:26:45

    The following works:

    Run {}

    allocate channel ch10 device type sbt parms = "ENV = (NB_ORA_CLIENT = myhost)"; "

    Restore controlfile to ' / tmp/test03.ctl ' to 'ctrl_uaipq5s3l_s54610_p1_t866316405 ';

    }

    Yet, using the syntax date breaks down

    RMAN > run {}

    2 > allocate channel ch10 device type sbt parms = "ENV = (NB_ORA_CLIENT = myhost)"; "

    3 > set up to that time ' TO_DATE (December 14, 2014 19:26:45 ',' dd/mm/yyyy hh24:mi:ss') ";

    4 > restore controlfile to ' / tmp/test04.ctl ';

    {5 >}

    allocated channel: ch10

    channel ch10: sid = 976 devtype = SBT_TAPE

    channel ch10: Veritas NetBackup for Oracle - version 7.1 (2011020313)

    executing command: SET until clause

    From restoration to February 26, 15 14:41:34

    output channel: ch10

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the restore command at 26/02/2015 14:41:35

    RMAN-06026: some targets not found - abandonment of restoration

    RMAN-06101: no channel to restore a backup or a copy of the control file

    I'm set the same channel on tape, but the 2nd syntax fails.

    Anyone has any idea why?

    Change the status of your backup controlfile AVAILABLE with this command:

    BACKUP OF CONTROLFILE CHANGE TAG "TAG20141214T192638" AVAILABLE;

  • Change the information in the Xbox music song

    Hi all.

    I'm trying to find out if someone has found a reliable way to update or change songs in the music library of the Xbox. For example, some songs are listed under a kind I would change. I was curious to know if anyone has found a reliable way to change this information. It seems that no matter what I change in Windows Explorer metatag information or changed by using iTunes, some information of the song persists stubbornly.

    In addition, any who have stumbled on why only a selection of a few song refuses to display album art?

    Any help would be greatly appreciated.

    Bill

    Sorry I couldn't be more helpful. I offer a solution to last however. Try to change tags using mp3tag (http://www.mp3tag.de/en/index.html) and see if it works. I had audio tags that are corrupt or in wrong format. Some programs have read tags bad/corrupted while others were not able to. Same just selection of all your file and save it again in format of mp3tag can do the trick. It's free and compatible with Windows 8, but no support for the RT. Worth.

    Wishing you luck, Dan

  • Use of custom in Veristand files

    Hi all

    Have not been able to find a lot of documentation related to the use of "Personal files" in Veristand.  I would like to know some examples of the types of files users have set up.  Specifically, I would like to know if you can "call" some types of models or devices personalized (i.e. for databases or configuration settings).

    Thank you very much

    GSinMN

    Hi GSinMN,

    It has custom there some documentation in the help of VeriStand, which deals specifically with files.

    Adding custom files

    http://zone.NI.com/reference/en-XX/help/372846D-01/VeriStand/add_custom_files/

    Although aid is not quite fully reveal the capabilities of this feature. There are two distinct use cases that I could identify for the custom in VeriStand files option. I'm going to the list of people the more detail and show you an example.

    Make easily accessible to the driver files in the development environment.

    When a file is added in the custom files in the project section, it will have its own icon in the project and is included in the project dependencies. Having the file to display in the project is useful if there is a picture of troubleshooting or a specific document (calibration sheet, how to run a test, etc.) that you would like as your operator to have access to. For example, in the sample project, I realized, there is an added file called "TestA1_PreTestSetup.txt". Of the project (on the toolbar), the operator has the option "Open a file" (to view) or "export...". "to investigate his path on the computer of the operator.

    Please note that the file is now added to the dependencies of the project.

    If you start to investigate the project file and lets say you do a right click on it and notice that there is a Properties option. You may notice that the Description of this file is empty. In fact, it can be filled by modifying the XML source of the .nivsproj. It also leads in the second case of the use of custom files.

    Transferring files to the aim of RT which can be used by the VeriStand engine.

    If you were to investigate the .nivsproj XML, you could first find the section of the custom files, then the tags of the element that you configured.

    Here are the relevant tags and a jump down,

    -It points to the source of the custom file. In this case, I added the file in the directory "C:\Users\Public\Documents\National Instruments\NI VeriStand 2011\Test procédures". He is able to solve the first component 'In common Doc Dir' because it's the common directory for VeriStand, and he added then the folder of the test procedures and the name of the file that I created.

    -Fill this tag gives us the opportunity to complete the description information that occurs when we right click on the file in the project.

    -Fill this tag gives you the ability to also send the file to the target deployment. Your VeriStand engine can then access this file during the operation. With respect to the types of files that you want to use, the link in the post above should help guide only.

    Please Note: change the XML of the project offers more customization and functionality of your project, but these changes should not be made whole. An incorrect change tags in the XML file can lead to results and poor execution. Then move forward with caution and only make minor changes at the same time.

    I hope this helps. Have a nice day, GSinMN

  • Importer of Media FAQ

    Hello

    This is my first post here but I am a regular user for some time.

    After a thorough examination and search, I was unable to find info about my experience importing media, so here I am looking for an answer...

    First of all, what I know so far:

    (1) this is a smart tool, it monitors any change in the files and copy those to the media center automatically...

    (2) everything that is copied is indexed on the file to import in the hub, and indexing itself can be very well set by entering the friendly name and: 9000 to go directly to the twonky media server in any browser... Although it does not move the files indexed to its respective folders ('sighs') there is also no harm done myself...

    (3) starting at page twonky I can also set individual 'who' my custom folders will accept "what" type of files, reduced to music/videos/images or files.

    Therefore, my questions are simple...

    (1) is the importer to monitor changes in the tags to change and replace these files because there are updates of the music files? or that he's just looking new files and deleted copy/delete? for example, my iTunes library is in evolution/growth/change constantly, so I fail to notice these updates on the server after the import process, requiring a manual crash by a third-party software to apply these changes in the already copied files...

    (2) is it possible to automate the import process on which the extensions go to folders? or to determine a unique to be also monitored and copied file extension?

    (3) if I move the files imported into their respective places in the hub, the indexing will keep intact, so just copy what has been changed?

    All for now and thanks in advance for any given idea

    Sincerely,

    VonKarajan

    And the word of the day is looking...

    Some considerations about what I gathered after your post...

    (1) what I could say, Yes, it monitors metadata and changes made to the files, but not files, and here's where starts the pain... I could understand this once I have imported all my library, each change little (probably monitored by file size) is rearranged immediately, and it includes the artist/genre/year etc as well... The problem is, when I reorganize all file, change the folders where they are subject, the tool important the new folder and KEEP OLD FILES it cause me a HUGE headache that I have over 60,000 songs in my PC...

    (2) bad to write a whole paragraph about the NTI, keep reading

    (3) if I move a file in the import folder in the music folder for example, guess what? The file that I moved is copied from my PC... It's crazy and totally against an importer of what should be... This tool is supposed to keep my structure of music from the PC to the intact NAS without forcing me to do it manually, because to do this, the Explorer windows will be enough, savvy? So I do not understand the meaning of this tool to all the...

    and here is the full price... Hi NTI Shadow...

    Let me be honest with you, I didn't have to comply with this program I have a large suite backup running in my PC full time and it does the job with exceptional quality, but I tried it after u suggested me to do this and Mr President, I was not disappointed... For all other consumers out there who want a solution like I did, please heed my advice: FORGET the IMPORTER TOOL! NTI is the way to go... It is not as user-friendly as point-click-do, but with a minor modification it can meet your needs. A brief tutorial to make it work as the best import tool EVER: (sorry if options and the names of the keys are not too accurate, as my software is in Portuguese, and if I can translate them evil never know for sure the original name the developers placed in the English version and also found no option to restore NTI interface to mother tongue I rather...)

    -Create a new backup job

    -Click options, and then select the audio files in the first step and "include only" in the 2nd. Press OK

    -now always on the same page, select your folder music as my music in the users directory. Ahead of the press.

    -the next page will ask you to write down your backup destination. My NAS is recognized by my PC as a player affected as Y so I chose "Y:\. "and nothing else. Do not select the music NAS as file its will write a new folder named 'music' inside the music, one... On the calendar, see "backup every time that the archives be changed in your PC"... Go to the next page...

    -"Check not to save old versions of the same archive" and click on options. Check ONLY 'remove those backups are deleted from your computer "press OK and go to the next page...

    -Create a friendly name to your business and click "done" and here, the media importer best and smartest ever to grace on the outskirts of wonderland windows!

    Here's what you get... Remove a file from itunes and its removed from the NAS automatically... Change tags and 10 seconds later, that files are being updated in the server... reorganize files in NMS records, rename folders or even re-create full-trees and the 'old' are deleted and replaced by the new in seconds... I guess that's the end of the media nightmare, I hope, for a lot of people willing to make the most of their hard earned cash...

    and afterwards... Why in the name of Almighty God we tool import if NTI does work 100 times better? and I miserably failed don't understand why linksys does not include these explanations in the user manual... If the company aims to be the center of my living room it would not hurt to at least try a little explanation on how to explore the features that will make me a believer...

    but as the ill keep buying from them (the quality and reliability speak for themselves) as I've done so long, my complaints probably won't be weight too after all...

    and thank you again my friend for the insight... It was the Sin Equa Non solve my problem...

    Sincerely,

    VonKarajan

  • How can I erase my Xbox library?

    So Xbox Music pretty much truncated my large collection of music, change tags, reallocation of songs from different albums and others. I would like to erase it, difficulty my music library and then stay away from Xbox Music until the fix it. However, it seems to be in any way in the App XBox music to clear the library (and the songs he equalled in the 'cloud') without selecting delete, which actually removes the files from my local library. Now, I have a backup, so I can just delete all, but why it should work this way? EVERY music app I've ever used has an option to remove the commands of the library without touching the actual music files.

    Large. I've already found the solution: return to iTunes and the iPhone. Everything works. And better quality.

  • Question of paragraph style

    I seem to be having a weird problem with paragraph styles.

    I have a heading style linked to the h1 in big orange text (Tenso Black, pt 24) tag.

    I also have a paragraph style related to the p tag for my body to the black text (Cantarell, 14pt,).

    My question so that, despite the h1 style definition and subsection of style that are obviously not to be completely different, the text always in style h1.  In fact, the image, I enclose below I have removed the completely normal h1 style and the style of tag p (and you can see the style settings clearly Mbbls, black, 14 PT...) but if I highlight text and apply this style turns into orange text (as you can see to the right of the image).

    If I delete the paragraph style (so I have no style), and then type the text in Cantarell, black 14pt, etc., as soon as I save the style to the p, the orange text changes tag.  If I copy the text of the paragraph Canterell in a new text box, it always sticks orange...

    Is this a bug or am I doing something stupid?

    textissue.png

    Hello

    Well, I think I've sorted it.  You mentioned character styles, and Yes, there is a defined character style (the text in orange).  It is this style of character that would repeal all paragraph styles.  I deleted the character style and now I can apply and implement paragraph styles.  That said, I've not really (knowingly) implemented this style of character.

    See you soon.

  • How to read labels and labels in a file XML in SQL and PL/SQL?

    I have a few steps in Oracle to select the contents of an xml file, which works very well if all the labels and tags in the xml file is what I want.
    My problem is that sometimes someone will change tags in an xml file and not tell me. If it happened, my select statement
    does not return an error. If the XMLTABLE ('/ tblCageDuns/CageDuns ' part does not match the xml file (ex: instead of CageDuns, the xml file can))
    have CageDun), I get no return lines. If one of the 'columns' does not match (ex: instead of "cage" the xml file can have "cages"), I get a null value
    the value of the column. Is there a way to read what all the labels and the labels are in the xml file, so I can check them before I try to query the data?

    Here are my basic steps:

    1 create a table with an XML column:

    create table cagexml_col)
    xmlfile_id number primary key,
    xmlfile_doc XMLType);

    2. Insert the xml document:

    insert into cagexml_col values (1,
    XMLType (bfilename ('ING_FEED', 'CAGEDUNS.xml'),
    nls_charset_id ('AL32UTF8')));

    3. reading data:

    Select xmlfile_id,
    a.CAGE,
    a.DUNS,
    a.SRCFLAG
    OF cagexml_col.
    XMLTABLE ('/ tblCageDuns/CageDuns ')
    PASSAGE cagexml_col.xmlfile_doc
    COLUMNS
    CAGE VARCHAR2 (5) Path "cage."
    Path of VARCHAR2 (9) "duns, DUNS
    SRCFLAG number Path 'SrcFlag '.
    ) a
    where xmlfile_id = 1;



    Here is an example of file CAGEDUNS.xml.

    < tblCageDuns > < CageDuns > < cage > AAA87 < / cage > < duns > 111149236 < / duns > < SrcFlag > 0 < / SrcFlag > < / CageDuns > < CageDuns > < cage > BBB95 < / cage > < duns > 222245890 < / duns > < SrcFlag > 4099 < / SrcFlag > < / CageDuns > < CageDuns > < cage > CCC90 < / cage > < duns > 333368885 < / duns > < SrcFlag > 3 < / SrcFlag > < / CageDuns > < CageDuns > < cage > DDD14 < / cage > < duns > 444437379 < / duns > < SrcFlag > 3 < / SrcFlag > < / CageDuns > < CageDuns > < cage > EEE77 < / cage > < duns > 555597063 < / duns > < SrcFlag > 4097 < / SrcFlag > < / CageDuns > < CageDuns > < cage > FFF56 < / cage > < duns > 666639159 < / duns > < SrcFlag > 3 < /. SrcFlag > < / CageDuns > < CageDuns > < cage > GGG95 < / cage > < duns > 777745890 < / duns > < SrcFlag > 4097 < / SrcFlag > < / CageDuns > < CageDuns > < cage > HHH16 < / cage > < duns > 888882310 < / duns > < SrcFlag > 3 < / SrcFlag > < / CageDuns > < CageDuns > < cage > III50 < / cage > < duns > 999987789 < / duns > < SrcFlag > 3 < / SrcFlag > < / CageDuns > < CageDuns > < cage > JJJ69 < / cage > < duns > 000073027 < / duns > < SrcFlag > 3 < / SrcFlag > < / CageDuns > < CageDuns > < cage > KKK77 < / cage > < duns > 121297063 < / duns > < SrcFlag > 4099 < / SrcFlag > < / CageDuns > < CageDuns > < cage > LLL68 < / cage > < duns > 232300000 < / duns > < SrcFlag > 3 < / SrcFlag > < / CageDuns > < / tblCageDuns >


    Here is the version information:

    **********************************************************************************
    SQL * more: Release 10.2.0.1.0 - Production on Mon 3 Oct 16:30:40 2011

    Copyright (c) 1982, 2005, Oracle. All rights reserved.


    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    MAX_INTF@romsprd SQL > select * from V$ VERSION
    2.

    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    **********************************************************************************

    Is there a way to read what all the labels and the labels are in the xml file, so I can check them before I try to query the data?

    You can try the following, it will return all of tag names in the order of the document:

    select x.tagname
    from cagexml_col t,
         xmltable('/descendant::*'
           passing t.xmlfile_doc
           columns tagname varchar2(30) path 'local-name(.)'
         ) x
    ;
    

    If you want information on the hierarchy, perhaps something like described here: {: identifier of the thread = 2210708}

  • standby and primary

    On my primary database
    When I archive log list, it gives me

    Database log mode Archive Mode
    Active AutoArchive
    Archive destination/u04/oradata/arch/Prod.
    More old sequence of journal online 29627
    Log sequence archive 29629
    Current log sequence 29629

    On my database of relief, when I archive journal list, it gives me

    SQL > archive logs list;
    Database log mode Archive Mode
    Active AutoArchive
    Archive destination/u04/oradata/arch/STNBY /.
    More old sequence of journal online 29627
    Log sequence to archive 0
    Current log sequence 29629

    But in the main hotback, it appears with these errors

    RMAN-08137: WARNING: log archiving not deleted because it is still necessary
    Archive newspaper filename=/u04/oradata/arch/PROD/PROD_0001_749397572_0000028449.arc thread = 1 sequence = 28449
    RMAN-08137: WARNING: log archiving not deleted because it is still necessary
    Archive newspaper filename=/u04/oradata/arch/PROD/PROD_0001_749397572_0000028450.arc thread = 1 sequence = 28450
    RMAN-08137: WARNING: log archiving not deleted because it is still necessary

    I don't know to sleep is not synchronized with the primary.
    Can someone explain in detail how to solve this problem.
    Any help is greatly appreciated.

    Thank you

    As I said in a previous post, I think you should be able to stop production by referring to the expectation, by disabling the indicated parameters of such Production.

    EG (do on prod)
    The "n" is only for those destinations that are the the eve of production - do not remove check-in local destination own submissions of prod.
    ALTER system set log_archive_dest_state_N = "DAVID";
    ALTER system set log_archive_dest_N = "; (two apostrophes)
    ALTER system set log_archive_dest_state_N = 'enable '.
    ALTER system set fal_client = ";
    ALTER system set fal_server = ";
    ALTER system set log_archive_config = ";
    ALTER system set remote_listener = ";

    alter system switch logfile;

    Confirm that only the remaining archive log destinations (local production) receive an archived redo log.

    Check the log of alerts for error messages.

    Perform an incremental backup of level zero on the primary, or however you make a FULL backup of the production.
    After that is completed successfully, you should be able to cross-check of Rman & remove obsolete. To delete all old backups and archived redo logs, which is no longer necessary.

    There is no need to change the controlfile to Prod at any time during the creation of a facility of DataGuard.
    The controlfile 'sleep' created on the host Prod during standby configuration steps - is NOT used on the production host, but transferred and used on the host of the previous day only.

    The installation manual, maintenance and monitoring of a Dataguard configuration is a very technical proposal.
    You must be very familiar with the machinery and used commands. RMAN backup and configuration strategies are also considerations.
    I maintain my own, 'playDB' primary and physical DataGuard configuration of Eve, linking a Test and Dev hosts, where I practice switch-overs and PSU patch again and again, without affecting the 'development', the test (QAT) or production programs.

    You use spfile - NOT pfile.
    If your production is currently using a pfile file, you will need to have a failure at some point to implement using spfile, before a successful DG configuration is possible. Use this same feature to define primary school "db_unique_name" to something a little supposed EG: name of host or first, ready for a future scenario DG.

    Good luck.

  • SQLLoader: what clause fails

    Hello
    I'm working on a
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    With partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options

    I have to load a file into 2 different tables and I am tring to do this using sqlloader and file of a single order.
    This source file (part of):
    "1","20110228155443","21970","671","3","","LISSETTE CAROLIN","MORALES COBO","","","V11283202","UBICAR123","","",""
    "1","20110228160121","21971","671","3","","RAFAEL GREGORIO","BRIÃEZ ZAMBRANO","","0","","","","",""
    "1","20110228160505","21972","14782","3","","Noelia","Parrales","","","RRHH","rrhh123","","",""
    "1","20110228163120","21973","671","3","","JOSE GREGORIO","PEREZ","","0","","","","",""
    "1","20110228165534","21974","671","3","","CARMEN","ARAUJO","","","V15753282","UBICAR123","","",""
    "2","20110228044646","12005","1","0","","","Cellocator Test","4","0","COMPACT 268852","","","","","","","","",
    "2","20110228084454","22012","1","3","","","POLO","22","0","EG727SV","20110223000000","MASSIMO","PAMELA","WVWZZZ6RZBY201299","","","","",
    "2","20110228085219","20378","1","22","","","ASTRA","4","0","EF774ND","20110120000000","ER3497","X","WOLPF6EN3BG059489","","","","",
    "2","20110228091127","22122","1","3","","","GOLF","4","0","EG766SV","20110224000000","BALGARION","VETURIA","WVWZZZ1KZBW215645","","","","",
    And it's the control file:
    OPTIONS ( DIRECT=FALSE,PARALLEL=TRUE, ERRORS=0, BINDSIZE=50000, ROWS=1000, READSIZE=65536)
    LOAD DATA
    CHARACTERSET UTF8
    TRUNCATE
    
     INTO TABLE "STG_ITALY"."STG_USER"
      WHEN TYPE_ = "1"
     FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
      (
       "TYPE_" INTEGER EXTERNAL,
       "DATE_MODIFY" "TO_DATE(:DATE_MODIFY, 'YYYYMMDDHH24MISS')",
       "ID_USER" INTEGER EXTERNAL,
       "ID_USER_PARENT" INTEGER EXTERNAL,
       "I_TYPE_USER" INTEGER EXTERNAL,
       "COMPANY_NAME" CHAR,
       "FIRST_NAME" CHAR,
       "LAST_NAME" CHAR,
       "MIDDLE_NAME" CHAR,
       "I_NATIONALITY" INTEGER EXTERNAL,
       "LOGIN_NAME" CHAR,
       "LOGIN_PASSWORD" CHAR,
       "NOTE" CHAR,
       "DATE_VALID_TO" "TO_DATE(:DATE_VALID_TO, 'YYYYMMDDHH24MISS')",
       "ID_USER_VALID_TO" INTEGER EXTERNAL
      )
    
     INTO TABLE "STG_ITALY"."STG_VEHICLE"
      WHEN TYPE_ = "2"
     FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
      (
       "TYPE_" INTEGER EXTERNAL,
       "DATE_MODIFY" "TO_DATE(:DATE_MODIFY, 'YYYYMMDDHH24MISS')",
       "ID_VEHICLE" INTEGER EXTERNAL,
       "I_TYPE_VEHICLE" INTEGER EXTERNAL,
       "ID_BRAND_VEHICLE" INTEGER EXTERNAL,
       "ID_MODEL_VEHICLE" INTEGER EXTERNAL,
       "ID_FUEL_TYPE" INTEGER EXTERNAL,
       "MODEL" CHAR,
       "I_COLOUR" INTEGER EXTERNAL,
       "METALIC" INTEGER EXTERNAL,
       "PLATE_NUMBER" CHAR,
       "MATRICULATION" "TO_DATE(:MATRICULATION, 'YYYYMMDDHH24MISS')",
       "VOCAL_STD_PASSWORD" CHAR,
       "VOCAL_EMR_PASSWORD" CHAR,
       "FRAME_NUMBER" CHAR,
       "ENGINE_NUMBER" CHAR,
       "NOTE" CHAR,
       "DATE_VALID_TO" "TO_DATE(:DATE_VALID_TO, 'YYYYMMDDHH24MISS')",
       "ID_USER_VALID_TO" INTEGER EXTERNAL
      )
    The problem is that I can fill just first table.
    Once the clause of the second table always fails and no lines are written.

    This is the log:
    Table "STG_ITALY"."STG_USER":
      68 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      680 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    
    
    Table "STG_ITALY"."STG_VEHICLE":
      0 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      748 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    What I am doing wrong?

    Thanks in advance

    Try changing your controlfile to

    OPTIONS ( DIRECT=FALSE,PARALLEL=TRUE, ERRORS=0, BINDSIZE=50000, ROWS=1000, READSIZE=65536)
    LOAD DATA
    CHARACTERSET UTF8
    TRUNCATE
    
     INTO TABLE "STG_ITALY"."STG_USER"
      WHEN TYPE_ = "1"
     FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
      (
       "TYPE_" INTEGER EXTERNAL,
       "DATE_MODIFY" "TO_DATE(:DATE_MODIFY, 'YYYYMMDDHH24MISS')",
       "ID_USER" INTEGER EXTERNAL,
       "ID_USER_PARENT" INTEGER EXTERNAL,
       "I_TYPE_USER" INTEGER EXTERNAL,
       "COMPANY_NAME" CHAR,
       "FIRST_NAME" CHAR,
       "LAST_NAME" CHAR,
       "MIDDLE_NAME" CHAR,
       "I_NATIONALITY" INTEGER EXTERNAL,
       "LOGIN_NAME" CHAR,
       "LOGIN_PASSWORD" CHAR,
       "NOTE" CHAR,
       "DATE_VALID_TO" "TO_DATE(:DATE_VALID_TO, 'YYYYMMDDHH24MISS')",
       "ID_USER_VALID_TO" INTEGER EXTERNAL
      )
    
     INTO TABLE "STG_ITALY"."STG_VEHICLE"
      WHEN TYPE_ = "2"
     FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
      (
       "TYPE_" POSITION(1) INTEGER EXTERNAL,
       "DATE_MODIFY" "TO_DATE(:DATE_MODIFY, 'YYYYMMDDHH24MISS')",
       "ID_VEHICLE" INTEGER EXTERNAL,
       "I_TYPE_VEHICLE" INTEGER EXTERNAL,
       "ID_BRAND_VEHICLE" INTEGER EXTERNAL,
       "ID_MODEL_VEHICLE" INTEGER EXTERNAL,
       "ID_FUEL_TYPE" INTEGER EXTERNAL,
       "MODEL" CHAR,
       "I_COLOUR" INTEGER EXTERNAL,
       "METALIC" INTEGER EXTERNAL,
       "PLATE_NUMBER" CHAR,
       "MATRICULATION" "TO_DATE(:MATRICULATION, 'YYYYMMDDHH24MISS')",
       "VOCAL_STD_PASSWORD" CHAR,
       "VOCAL_EMR_PASSWORD" CHAR,
       "FRAME_NUMBER" CHAR,
       "ENGINE_NUMBER" CHAR,
       "NOTE" CHAR,
       "DATE_VALID_TO" "TO_DATE(:DATE_VALID_TO, 'YYYYMMDDHH24MISS')",
       "ID_USER_VALID_TO" INTEGER EXTERNAL
      )
    

    (just add a keyword POSITION (1) by the second table)

    Best regards

    Maxim

  • Maybe you are looking for