Grep command to achieve the following - Almost got it

Hi
I have been on here before and received great help with grep styles but have one that I can't find a solution for from online resources
I am using the following grep command to add a descriptor to a event.
My text looks like this
9.00     Football
Grep command is
(\d+\.\d+\t)(Football)(.*\r.+\r)
$1$2$3Play football.\r
Which acheives...
9.00     Football
            Play football
Problem is
Some of the titles are
9.00   Sunday Football
9.00   Junior Football
9.00   Junior 5 a side Football
I ideally need a grep command that will do exactly the same but ignore Sunday, Junior, Junior 5 a side (but leave it in) I can't add extra greps as there are too many
Is there a command that will find the digits (ignore everthing until football) and add the descriptor
Hopefuly it is just a little addition to the grep but I can't find a solution
Any help much appreciated

I'm a little unclear
when starting with:
9.00   Sunday Football
9.00   Junior Football
9.00   Junior 5 a side Football
what do you want the result to be? This, or something else--
9.00   Sunday Football
          Play Football
9.00   Junior Football
          Play Football
9.00   Junior 5 a side Football
          Play Football

Similar Messages

  • To achieve the following custom template

    Hi all,
    I am trying to achieve the following layout for my word report with substantial amount of accompanying images. Pardon me that my enquiry looks like a book. ;-]
    1.
    - I need a LANDSCAPE orientation with two vertical columns. The columns are of different width, LEFT column takes 3 quarter of page; RIGHT column 1 quarter of page. I wish for this setting to run through out the whole document. [I know how to do this.]
    - However, i only intend the LEFT/ 3 quarter column to carry the BODY TEXT, leaving the RIGHT/1 quarter column to carry accompanying IMAGES (they relate to body text next to them, and should MOVE with the body text). Read on and you will know why INLINE in INSPECTOR does not work.
    - This means, all my RIGHT column through out the doc is only to be filled with images ONLY IF required by the body text next to them. If there is NO accompanying IMAGE on a page, the RIGHT column is intended to be EMPTY.
    - To achieve the above, i tried [BREAK COLUMN]. If i understand correctly, it means after my body text fill up the LEFT column on each page, this setting help me to SKIP the NEXT column, which is always the right column. Correct me if i am wrong because in fact i dont quite get the DIFFERENCES of LAYOUT BREAK, SECTION BREAK, COLUMN BREAK etc.
    - But the complicacy came in when my right column is intended for images. The [column break] will push my image to the next column. Or sometimes, to my confusion, it jumble up the whole thing into a mess.
    2.
    - I then tried an ALTERNATIVE setting. Instead of the above setting, could the following alternative be easier: that i set the right MARGIN to be taking up 1 quarter of the page width, hence leaving the body text to occupy 3 quarter of page.
    - I then, drag drop image along the 1 quarter MARGIN? But aren't margin created to be EMPTY ZONE? I have tried dropping images in the margin area and it works, but i am afraid in the end teh whole doc will jumbled up? The images jumps to a random chaos because nothing is supposed to occupy MARGIN?
    - In all, i need the body text to flow continuously ONLY on the LEFT column of all pages. And inserted images on right column should move with body text. The above two solutions does not seem correct. And i skim thru the ready-made templates Mac offers, none of them seem to fit either.
    What is the best way to do this?
    _Y

    I think the second solution, with the graphics displayed in the margin, will work better. This way you don't have to keep track of column breaks. The graphics are not actually IN the margin, they are just displaying there. Every graphic is 'anchored' to some point in the text. If it is an 'in-line' graphic the graphic will move along with the anchor point just like a character of text. If it is a 'floating' graphic, it is supposed to keep its relative position on the page regardless of whether the text moves or not.
    If your graphics move or jump when you insert a graphic with the the column format, it is probably because you are inserting the column break BEFORE its anchor position. If you turn on "Show Invisibles" you can more easily track where your paragraphs and anchors are.
    BTW, the differences among the 'BREAKS' are these:
    Layout Break - starts a new SECTION on the same page. It is known in other applications as a Continuous Section Break
    Section Break - starts a new SECTION on a new page.
    Column Break - ends the current column and starts a new column.
    The difference between a new SECTION and a PAGE or COLUMN is that a Section can contain different headers, footers, columns and other layout options than the previous or subsequent sections. A new Page or Column uses the same layout settings as the current Page or Column.
    As for why your graphics jump around - I notice many complaints here about graphics moving about whether they are place in-line or as floating objects. I don't use them often enough to offer a solution, but someone else may.
    Good luck,
    Terry

  • Processing data for a remote command failed with the following error message: Error occurred during the Kerberos reponse.

    Hi!
    We have 5 Exchange 2013 servers and when I’m trying to run a script that includes the cmd-let Get-MessageTrackinglog with StartDate = the first of the month and with EndDate = the end of the month I get the following error message after
    a couple of hours. The script is run on the server SERVER01 and goes through the Message Tracking logs of all Exchange servers. I have tried the script on other servers and get the same result.
    Processing data for a remote command failed with the following error message: Error occurred during the Kerberos reponse.
    [Server=SERVER01, TimeStamp = 918/2014 19:32:34]
    For more information, see the about_Remote_Troubleshooting Help topic.
        + CategoryInfo         
    : OperationStopped: (server01.domain.com:String) [], PSRemotingTransportException
        + FullyQualifiedErrorId : JobFailure
        + PSComputerName       
    : server01.domain.com
    I have gone through “about_Remote_Troubleshooting Help topic”, but can’t find anything related to my issue. There is nothing in the Application or the Windows PowerShell log either.
    /Henrik

    Hi Henado 
    Check the time on your Exchange server(s) relative to the DCs and ensure they are in correct sync
    Use another account which is assigned the Organization Management permission and log to to the server run the command in shell and see the results
    Run 
    Add-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.E2010
    Set-Adserversettings -ViewEntireForest $True and then run message tracking command and see the results
    If none of the above helps you may need to remove and re-install the WinRM and see the results
    Good Luck :)
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • Grep command has lost the "-P" option

    The grep command has lost the "-P" option.  It now supports a non-standard "-p" option that doesn't work on previous versions of OS X or Linux.  It also doesn't support the long form version of "--perl-regexp".  Any portable solutions? 
    In addition, the command line usage still shows "-P" as an option, but the man page doesn't list it.

    The grep command has lost the "-P" option.  It now supports a non-standard "-p" option that doesn't work on previous versions of OS X or Linux.  It also doesn't support the long form version of "--perl-regexp".  Any portable solutions? 
    In addition, the command line usage still shows "-P" as an option, but the man page doesn't list it.

  • How to achieve the following logic

    I have a target and a source table.
    CREATE TABLE scd_tgt(
    col1 VARCHAR2(10) not null,
    col2 VARCHAR2(10) not null,
    start_date DATE not null,
    end_date DATEnot null
    INSERT INTO scd_tgt VALUES('100','AKS','1-JAN-2010','9-SEP-9999');
    INSERT INTO scd_tgt VALUES('101','Singh','1-JAN-2010','9-SEP-9999');
    CREATE TABLE scd_src(
    col1 VARCHAR2(10) not null,
    col2 VARCHAR2(10) not null
    INSERT INTO scd_src VALUES('99','Kumar');
    INSERT INTO scd_src VALUES('100','Abhijit');
    INSERT INTO scd_src VALUES('101','Singh');
    Now, I have to perform update/insert data in scd_tgt using source data in scd_src based on the following rules:
    1) INSERT any records from the SOURCE that aren't already in the TARGET, based on a col1.
    2) If the TARGET has a record present in SOURCE (based on col1) and col2 of TARGET does not match with col2 of SOURCE then UPDATE the end_date to SYSDATE - 1. Proceed to Step 3.
    3) INSERT the record from #2 into TARGET. Set start_Date as SYSDATE and end_date as '9-sep-9999'
    Can this be achieved using MERGE? I am using 10.2g
    After executing the steps scd_tgt should have the following data
    99     Kumar     18-JUN-10     09-SEP-99
    100     AKS     01-JAN-10     17-JUN-10
    100     Abhijit     18-JUN-10     09-SEP-99
    101 Singh 01-JAN-10     09-SEP-99

    Hi,
    With a merge it's not possible if you want to to update and insert (or insert/update) at the same time within the same condition (when matched or when not matched parts of the stement), what's authorizzed with a merge is:
    an update + a delete in the "when matched" clause
    an insert in the "when not matched" clause
    So one solution could be that you use two differents DML op:
    UPDATE scd_tgt
       SET end_date =   TRUNC(SYSDATE)
                      - 1
    WHERE col1 IN(SELECT col1
                   FROM   scd_src)
    INSERT INTO scd_tgt
       SELECT col1,
              col2,
              TRUNC(SYSDATE),
              TO_DATE('09-sep-9999', 'dd-mon-yyyy')
       FROM   scd_srcIf the number of rows generally updated by the 1st statement is low (comparing to the volume of the scd_tgt table) an index on col1 in(scd_tgt table) would probably be benifical...
    If you never delete from scd_tgt and if the performance goal is qiete important, then consider an /*+ APPEND */ hint with the insert ..
    (depends on how many rows are inserted each time this code is ran).
    As often this is not the only one solution but this the most simple one
    -> In development always remind this addage: the most is simple the code is the better is (for everyone!) ..

  • Using RegEx to achieve the following

    Here is what I want to achieve:
    INPUT:
    access-list 99 permit 172.0.0.0 0.255.255.255
    access-list 99 permit 192.168.0.0 0.0.255.255
    access-list 99 deny any
    snmp-server community Cust1 RO 99
    snmp-server community Cust1-RW RW 99
    snmp-server community Cust1-RW RW 100
    The intent is to find the any snmp-server line that has a number at the end which is not defined in the above set of lines. In the above example we should be able to find the last line.
    How can we do this in pure java regex.
    I highly appreciate any response on this.
    Thanks
    Sanjeev

    Hi,
    I don't know what you mean by "pure java regex". But you could try it with something like this:
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.regex.Pattern;
    import java.util.regex.Matcher;
    class RegEx {
        public static void main(String[] args) throws Exception {
            BufferedReader br = new BufferedReader(new FileReader("file.txt"));
            String line;
            HashSet set = new HashSet();
            Pattern p1 = Pattern.compile("access-list (\\d*) .*");
            while ((line=br.readLine()) != null) {
                Matcher m = p1.matcher(line);
                if (m.find()) {
                    String number = m.group(1);
                    if (!set.contains(number)) {
                        set.add(number);
            br.close();
            br = new BufferedReader(new FileReader("file.txt"));
            StringBuffer sb = new StringBuffer();
            Iterator iter = set.iterator();
            if (iter.hasNext()) {
                sb.append(iter.next().toString());
            for ( ; iter.hasNext(); ) {
                sb.append("|");
                sb.append(iter.next().toString());
            String regex = "snmp-server.* " + sb.toString() + "$";
            Pattern p = Pattern.compile(regex);
            while ((line=br.readLine()) != null) {
                if (line.startsWith("snmp-server")) {
                    Matcher m = p.matcher(line);
                    if (!m.find()) {
                        System.out.println(line);
    }Stefan

  • Q: Can Oracle Access Manage achieve the following? WS-Fed(RP) - SAML2(IdP)

    Can Oracle Access Manager do protocol translation and act as a gateway for multiple SAML2 IdP's talking back to a WS-Fed (RP/SP) ?
    <-> SAML2 (IdP) (multiple namespaces)
    WS-Fed (RP) <-> SAML2 (IdP) (multiple namespaces)
    <-> SAML2 (IdP)
    Sincerely,
    Adam

    Can Oracle Access Manager do protocol translation and act as a gateway for multiple SAML2 IdP's talking back to a WS-Fed (RP/SP) ?
    <-> SAML2 (IdP) (multiple namespaces)
    WS-Fed (RP) <-> SAML2 (IdP) (multiple namespaces)
    <-> SAML2 (IdP)
    Sincerely,
    Adam

  • Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in

    Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in the associated meta data file with the "Control S" command) are not applied to the opened PS file.  HELP!

    If you are working with a file you modified in Lightroom, you should go to the Lightroom Photo menu and choose Edit in... and the version of Photoshop you want to open it in.
    There a dialog will ask if you want to transfer the LR settings you made to your photo when you open in Photoshop.
    Gene

  • I received the following message while i was on my macbook air "you do not have enough space in your start up disk - you must delete some files"-restarted; only got startup noise then blank screen.  turned off tried to turn on no noise no screen load. thx

    i received the following message while i was on my macbook air "you do not have enough space in your start up disk - you must delete some files"-restarted; only got startup noise then blank screen. i waited for a few minutes to see if it would load - nothing just the lit up screen but nothing loaded - held power button it asked did i really want to turn off - i selected shutdown -turned off and left it off for awhile tried to turn on no noise no screen load. the same lit up screen but nothing loading.  please help thx in advance if anyone can offer some suggestions

    You can get there from here (booting normally); it just may take you a few steps to do it.
    If the disk is almost full and the system won't boot then sometimes it will boot in Safe Mode.
    http://support.apple.com/kb/HT1564?viewlocale=en_US
    Empty the trash after it boots.
    Then for hints on how to free disk/SSD storage see https://discussions.apple.com/thread/5872318?tstart=0
    If the Safe Mode boot does not do the trick then you can install OS X on an external hard disk, boot from that, and then delete files.  You can also reach the disk via Target Mode.  A third option is to take it to an Apple store where they can do a network boot and help you remove some files.

  • Multiple expressions on the grep command

    I am trying to grep for an IP and result code (TCP_DENIED), but I'm not having any luck. My command line is as follws:
    grep -e x.x.x.x*TCP_DENIED -i -t accesslogs
    I've tried different variations such as leaving a space between the IP and TCP_DENIED and adding an * between the variables, but nu lick.
    Can someone please provide the correct command for this?
    Thx,
    Jeff

    Grep is "menuy"....
    Just type "grep", hit enter, follow the prompts...  I have seen reference to escaping out the periods in an IP address in the regex... (eg 192\.168\.0\.10)
    Enter the number of the log you wish to grep.
    []> 1
    Enter the regular expression to grep.
    []> 172.168.151.1
    Do you want this search to be case insensitive? [Y]>
    Do you want to search for non-matching lines? [N]>
    Do you want to tail the logs? [N]> y
    Do you want to paginate the output? [N]> y
    Hope that helps.
    Ken

  • Got the following reply from db-kernel: SQL-Code :-903

    Dear Experts,
    I am having a problem running MaxDB Data backup on Netbackup.... Please se log below and suggest.
    2011-04-11 13:30:38
    Using environment variable 'TEMP' with value 'C:\Windows\TEMP' as directory for temporary files and pipes.
    Using connection to Backint for MaxDB Interface.
    2011-04-11 13:30:39
    Checking existence and configuration of Backint for MaxDB.
        Using configuration variable 'BSI_ENV' = 'C:\Netbackup_Script\bsi_backint_daily.env' as path of the configuration file of Backint for MaxDB.
        Setting environment variable 'BSI_ENV' for the path of the configuration file of Backint for MaxDB to configuration value 'C:\Netbackup_Script\bsi_backint_daily.env'.
        Reading the Backint for MaxDB configuration file 'C:\Netbackup_Script\bsi_backint_daily.env'.
            Found keyword 'BACKINT' with value 'D:\sapdb\KGP\db\bin\backint.exe'.
            Found keyword 'INPUT' with value 'E:\sapdb\data\wrk\KGP\backint.input'.
            Found keyword 'OUTPUT' with value 'E:\sapdb\data\wrk\KGP\backint.output'.
            Found keyword 'ERROROUTPUT' with value 'E:\sapdb\data\wrk\KGP\backint.error'.
            Found keyword 'PARAMETERFILE' with value 'C:\Netbackup_Script\backint_parameter_daily.txt'.
        Finished reading of the Backint for MaxDB configuration file.
        Using 'D:\sapdb\KGP\db\bin\backint.exe' as Backint for MaxDB program.
        Using 'E:\sapdb\data\wrk\KGP\backint.input' as input file for Backint for MaxDB.
        Using 'E:\sapdb\data\wrk\KGP\backint.output' as output file for Backint for MaxDB.
        Using 'E:\sapdb\data\wrk\KGP\backint.error' as error output file for Backint for MaxDB.
        Using 'C:\Netbackup_Script\backint_parameter_daily.txt' as parameter file for Backint for MaxDB.
        Using '300' seconds as timeout for Backint for MaxDB in the case of success.
        Using '300' seconds as timeout for Backint for MaxDB in the case of failure.
        Using 'E:\sapdb\data\wrk\KGP\dbm.knl' as backup history of a database to migrate.
        Using 'E:\sapdb\data\wrk\KGP\dbm.ebf' as external backup history of a database to migrate.
        Checking availability of backups using backint's inquire function.
    Check passed successful.
    2011-04-11 13:30:39
    Checking medium.
    Check passed successfully.
    2011-04-11 13:30:39
    Preparing backup.
        The environment variable 'BSI_ENV' has already the value 'C:\Netbackup_Script\bsi_backint_daily.env'.
        Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
        Setting environment variable 'BI_REQUEST' to value 'NEW'.
        Setting environment variable 'BI_BACKUP' to value 'FULL'.
        Constructed Backint for MaxDB call 'D:\sapdb\KGP\db\bin\backint.exe -u KGP -f backup -t file -p C:\Netbackup_Script\backint_parameter_daily.txt -i E:\sapdb\data\wrk\KGP\backint.input -c'.
        Created temporary file 'E:\sapdb\data\wrk\KGP\backint.output' as output for Backint for MaxDB.
        Created temporary file 'E:\sapdb\data\wrk\KGP\backint.error' as error output for Backint for MaxDB.
        Writing 'D:\sapdb\pipe2 #PIPE' to the input file.
    Prepare passed successfully.
    2011-04-11 13:30:39
    Starting database action for the backup.
        Requesting 'SAVE DATA QUICK TO 'D:\sapdb\pipe2' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BACKDBFULL'' from db-kernel.The database is working on the request.
    2011-04-11 13:30:39
    Waiting until database has prepared the backup.
        Asking for state of database.
        2011-04-11 13:30:39 Database is still preparing the backup.
        Waiting 1 second ... Done.
        Asking for state of database.
        2011-04-11 13:30:41 Database has finished preparation of the backup.
    The database has prepared the backup successfully.
    2011-04-11 13:30:41
    Starting Backint for MaxDB.
        Starting Backint for MaxDB process 'D:\sapdb\KGP\db\bin\backint.exe -u KGP -f backup -t file -p C:\Netbackup_Script\backint_parameter_daily.txt -i E:\sapdb\data\wrk\KGP\backint.input -c >>E:\sapdb\data\wrk\KGP\backint.output 2>>E:\sapdb\data\wrk\KGP\backint.error'.
        Process was started successfully.
    Backint for MaxDB has been started successfully.
    2011-04-11 13:30:41
    Waiting for end of the backup operation.
        2011-04-11 13:30:41 The backup tool is running.
        2011-04-11 13:30:41 The database is working on the request.
        2011-04-11 13:30:43 The database has finished work on the request.
        Receiving a reply from the database kernel.
        Got the following reply from db-kernel:
            SQL-Code              :-903
        2011-04-11 13:30:43 The backup tool is running.
        2011-04-11 13:30:44 The backup tool process has finished work with return code 2.
    The backup operation has ended.
    2011-04-11 13:30:44
    Filling reply buffer.
        Have encountered error -24920:
            The backup tool failed with 2 as sum of exit codes. The database request failed with error -903.
        Constructed the following reply:
            ERR
            -24920,ERR_BACKUPOP: backup operation was unsuccessful
            The backup tool failed with 2 as sum of exit codes. The database request failed with error -903.
    Reply buffer filled.
    2011-04-11 13:30:44
    Cleaning up.
        Copying output of Backint for MaxDB to this file.
    Begin of output of Backint for MaxDB (E:\sapdb\data\wrk\KGP\backint.output)----
            Reading parameter file C:\Netbackup_Script\backint_parameter_daily.txt.
            Using D:\sapdb\KGP\db\bin\backint.exe as Backint for Oracle.
            Using C:\Netbackup_Script\nt_initKGPdaily.utl as parameterfile of Backint for Oracle.
            Using E:\sapdb\data\wrk\KGP\backinthistory.log as history file.
            Using E:\sapdb\data\wrk\KGP\backintoracle.in as input of Backint for Oracle.
            Using E:\sapdb\data\wrk\KGP\backintoracle.out as output of Backint for Oracle.
            Using E:\sapdb\data\wrk\KGP\backintoracle.err as error output of Backint for Oracle.
            Using staging area D:\sapdb\Stage1 with a size of 2147483648 bytes.
            Reading input file E:\sapdb\data\wrk\KGP\backint.input.
            Backing up pipe D:\sapdb\pipe2.
            Found 1 entry in the input file.
            Starting the backup.
            Starting pipe2file program(s).
            Waiting for creation of temporary files.
            1 temporary file is available for backup.
            Calling Backint for Oracle at 2011-04-11 13:30:43.
            Calling 'D:\sapdb\KGP\db\bin\backint.exe -u KGP -f backup -t file -p C:\Netbackup_Script\nt_initKGPdaily.utl -i E:\sapdb\data\wrk\KGP\backintoracle.in -c' .
            Backint for Oracle ended at 2011-04-11 13:30:43 with return code 2.
            Backint for Oracle output: Reading parameter file C:\Netbackup_Script\nt_initKGPdaily.utl.
            Backint for Oracle output: Using E:\sapdb\data\wrk\KGP\backint4oracle.in as input of Backint for Oracle.
            Backint for Oracle output: Using E:\sapdb\data\wrk\KGP\backint4oracle.out as output of Backint for Oracle.
            Backint for Oracle output: Using E:\sapdb\data\wrk\KGP\backint4oracle.err as error output of Backint for Oracle.
            Backint for Oracle output: Using staging area D:\sapdb\Stage1 with a size of 2147483648 bytes.
            Backint for Oracle output: Using E:\sapdb\data\wrk\KGP\backinthistory.log as history file.
            Backint for Oracle output: Using D:\sapdb\KGP\db\bin\backint.exe as Backint for Oracle.
            Backint for Oracle output:
            Backint for Oracle output: Reading input file E:\sapdb\data\wrk\KGP\backintoracle.in.
            Backint for Oracle output: Backing up file D:\sapdb\Stage1.0.
            Backint for Oracle output: Found 1 entry in the input file.
            Backint for Oracle output:
            Backint for Oracle output: Starting the backup.
            Backint for Oracle output: Starting pipe2file program(s).
            Backint for Oracle output:
            Backint for Oracle output: Calling Backint for Oracle at 2011-04-11 13:30:43.
            Backint for Oracle output: Calling 'D:\sapdb\KGP\db\bin\backint.exe -u KGP -f backup -t file -i E:\sapdb\data\wrk\KGP\backint4oracle.in -c' .
            Backint for Oracle output: Backint for Oracle ended at 2011-04-11 13:30:43 with return code 2.
            Backint for Oracle output: Backint for Oracle output: Reading parameter file .
            Backint for Oracle output: Backint for Oracle output:
            Backint for Oracle output: Backint for Oracle output:
            Backint for Oracle output: Backint for Oracle error output: No staging area is defined in the parameter file.
            Backint for Oracle output: Backint for Oracle error output: The path of Backint for Oracle is not defined in the parameter file.
            Backint for Oracle output: Backint for Oracle error output: The name of the history file is not defined in the parameter file.
            Backint for Oracle output: Backint for Oracle error output: The name of the input file of Backint for Oracle is not defined in the parameter file.
            Backint for Oracle output: Backint for Oracle error output: The name of the output file of Backint for Oracle is not defined in the parameter file.
            Backint for Oracle output: Backint for Oracle error output: The name of the error output file of Backint for Oracle is not defined in the parameter file.
            Backint for Oracle output: Backint for Oracle error output:
            Backint for Oracle output:
            Backint for Oracle output: Finished the backup unsuccessfully.
            Backint for Oracle output:
            Backint for Oracle output: #ERROR D:\sapdb\Stage1.0
            Backint for Oracle output:
            Backint for Oracle error output: Backint for Oracle was unsuccessful.
            Backint for Oracle error output:
            Finished the backup unsuccessfully.
            #ERROR D:\sapdb\pipe2
    End of output of Backint for MaxDB (E:\sapdb\data\wrk\KGP\backint.output)----
        Removed Backint for MaxDB's temporary output file 'E:\sapdb\data\wrk\KGP\backint.output'.
        Copying error output of Backint for MaxDB to this file.
    Begin of error output of Backint for MaxDB (E:\sapdb\data\wrk\KGP\backint.error)----
            Backint for Oracle was unsuccessful.
    End of error output of Backint for MaxDB (E:\sapdb\data\wrk\KGP\backint.error)----
        Removed Backint for MaxDB's temporary error output file 'E:\sapdb\data\wrk\KGP\backint.error'.
        Removed the Backint for MaxDB input file 'E:\sapdb\data\wrk\KGP\backint.input'.
    Have finished clean up successfully.

    >     Requesting 'SAVE DATA QUICK TO 'D:\sapdb\pipe2' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BACKDBFULL'' from db-kernel.The database is working on the request.
    This seems to be your problem, the pipe is wrongly defined. On Windows it looks like
    \\.\pipe1
    see
    http://msdn.microsoft.com/en-us/library/aa365783.aspx
    Markus

  • TS4036 I've got a new iPad I'm trying to do an iCloud back up but keep being given the following message: no iCloud backups are compatible with the version of iOS (6.1.3) on this iPad. How do I restore I cloud on my new device?

    I've got a new iPad and am trying to do an iCloud backup but keep getting the following message: no iCloud backups are compatible with the version of iOS (6.1.3) on this iPad.
    How do I restore info from iCloud onto my new device?

    You would have to update your device first, before you can restore your iPad from your backup. Resolution: set it up as anew device, then update your device to the latest version "Settings > General > Updates", then reset your device again "Settings > General > Reset > Erase All Content and Settings" and then after the iPad restarts again, choose to restore your device from your backup.

  • Trying to implement a VPD policy but got the following error ORA-20001

    hey good day,
    I'm trying to implement a VPD policy to my application. After I have performed the below task (Label 1) in oracle 10g database. When I'm about to access my application page in ApEx 3.2.1 I got the following error
    ORA-20001: get_dbms_sql_cursor error ORA-28110: policy function or package CHARLES.VPD_PREDICATE has error
    any form of assistance will be greatly appreciated.
    thanks in advance
    Label 1
    USER is "VPD_ADMIN"
    SQL> create or replace context empnum_ctx using set_empnum_ctx_pkg;
    Context created.
    SQL> CREATE OR REPLACE PACKAGE set_empnum_ctx_pkg IS
      2    PROCEDURE set_empnum;
      3  END;
      4  /
    Package created.
    SQL> CREATE OR REPLACE PACKAGE BODY set_empnum_ctx_pkg IS
      2    PROCEDURE set_empnum IS
      3     emp_id NUMBER;
      4    BEGIN
      5     SELECT EMPNUM INTO emp_id FROM CHARLES.INSTRUCTOR
      6     WHERE upper(username) = nvl(v('APP_USER'), USER);
      7     DBMS_SESSION.SET_CONTEXT('empnum_ctx', 'empnum', emp_id);
      8
      9    EXCEPTION
    10      WHEN NO_DATA_FOUND THEN NULL;
    11    END;
    12  END;
    13  /
    Package body created.
    SQL> create or replace package vpd_policy as
      2    function vpd_predicate(object_schema in varchar2 default null, object_name in varchar2 default null)
      3     return varchar2;
      4  end;
      5  /
    Package created.
    SQL> create or replace package body vpd_policy as  function vpd_predicate(
      2   object_schema in varchar2 default null, object_name in varchar2 default null)
      3     return varchar2 as
      4
      5      BEGIN
      6     if (USER = 'ADMIN') and (v('APP_USER') is null) or
      7        (USER = 'MICHAEL.GRAY') and (v('APP_USER') is NULL) then
      8       return '';
      9     else
    10       return '(
    11             exists (
    12                     select  "INSTRUCTOR"."EMPNUM" as "EMPNUM",
    13                             "INSTRUCTOR"."FIRSTNAME" as "FIRSTNAME",
    14                             "INSTRUCTOR"."LASTNAME" as "LASTNAME",
    15                             "LOAD"."COURSEID" as "COURSEID",
    16                             "COURSE"."CREDIT" as "CREDIT",
    17                             "COURSE"."HPW" as "HPW",
    18                             "LOAD"."CAMPID" as "CAMPID",
    19                             "LOAD"."YR" as "YR",
    20                             "INSTRUCTOR"."POS" as "POS",
    21                             "INSTRUCTOR"."USERNAME" as "USERNAME",
    22                             "INSTRUCTOR"."DEPARTMENT_NAME" as "DEPARTMENT_NAME",
    23                             "LOAD"."SEMESTER" as "SEMESTER"
    24                     from    "COURSE" "COURSE",
    25                             "INSTRUCTOR" "INSTRUCTOR",
    26                             "LOAD" "LOAD"
    27                     where   "INSTRUCTOR"."EMPNUM"="LOAD"."EMPNUM"
    28                     and     "LOAD"."COURSEID"="COURSE"."COURSEID"
    29                     and     department_name = (
    30                                     select department_name from departments
    31                                     where upper (assigned_to) = nvl(v(''APP_USER''),USER) )
    32                                     )
    33
    34                     or upper(username) = nvl(v(''APP_USER''), USER)
    35                                                ) ';
    36
    37     END IF;
    38  END vpd_predicate;
    39  END vpd_policy;
    40  /
    Package body created.
    SQL> begin
      2  dbms_rls.add_policy(
      3  object_schema => 'charles',
      4  object_name => 'load',
      5  policy_name => 'Loading Policy',
      6  function_schema => 'charles',
      7  policy_function => 'vpd_predicate',
      8  statement_types => 'select, update, insert, delete');
      9  end;
    10  /
    PL/SQL procedure successfully completed.

    ORA-20001 isn't an Oracle error message it was coded into your application by a developer: Look it up.
    Consider too the following:
    EXCEPTION
       WHEN NO_DATA_FOUND THEN NULL;so if the employee identifier is not found ... is this really what you want? If an employee isn't valid shouldn't you know it?

  • Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.

    Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.
    If a shortcut is used while Firefox is already open the error does not occur.

    As reported in earlier replies, the annoyance disappeared after I upgraded to Roboform 7.5.6, from 7.5.4.
    Regards, Steve

  • When opening itunes i got the following message:  "Apple Application Support was not found.  Apple Application Support is required to run itunes. please uninstall itunes, then install itunes again." if i do this will i lose my music library?

    when opening itunes i got the following message:  "Apple Application Support was not found.  Apple Application Support is required to run itunes. please uninstall itunes, then install itunes again   Error 2 (Windows Error 2)." if i do this will i lose my music library?

    Hi texasslagle,
    It sounds like you are having issues installing iTunes on your Windows 7 PC, a frustrating situation I am sure.
    There is an article that you may want to use to try to complete your install here -
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/ts5376
    Thanks for using Apple Support Communities.
    Best,
    Brett L

Maybe you are looking for