Too many lines in my log file

Hy every body,
I've made a Tomcat project under Eclipse and I'm using log4j.
I've configured my log4j in "log4j-config.xml" file.
I've made one file per level (DEBUG, INFO, WARN and ERROR), but I'm receiving too many lines in my "debug.log" file.
Example:
17:52:39 - [main] [DEBUG] org.apache.commons.beanutils.BeanUtils : BeanUtils.populate(org.apache.struts.tiles.TilesPlugin@14d556e, {definitions-parser-validate=true, definitions-parser-details=2, definitions-debug=2, moduleAware=true, definitions-config=/WEB-INF/struts/struts-tiles-defs.xml})
17:52:39 - [main] [DEBUG] org.apache.commons.beanutils.BeanUtils : setProperty(org.apache.struts.tiles.TilesPlugin@14d556e, definitions-parser-validate, true)
17:52:39 - [main] [DEBUG] org.apache.commons.beanutils.BeanUtils : setProperty(org.apache.struts.tiles.TilesPlugin@14d556e, definitions-parser-details, 2)
Can some one tell me how to filter my logs.
Here is a part of my "log4j-config.xml" file:
<appender name="DEBUG" class="org.apache.log4j.FileAppender">
          <param name="File" value="${log.path}/debug.log" />
<param name="Threshold" value="DEBUG" />
<param name="Append" value="false" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{HH:mm:ss} - [%t] [%-5p] %c : %m%n" />
</layout>
     </appender>
Thanks in advance.

Hy every body,
I've made a Tomcat project under Eclipse and I'm
using log4j.
I've configured my log4j in "log4j-config.xml" file.
I've made one file per level (DEBUG, INFO, WARN and
ERROR), but I'm receiving too many lines in my
"debug.log" file.Then don't use that level. The whole point of the various levels is to be able to trade off level of detail for volume of output. Debug is meant to be very verbose.
You can set various classes or packages to log at different levels, overriding the default for that logger. So if you don't want debug output for com.acme.whatever, then in log4j.properties or log4j.xml or whatever, you can configure that package and all "subpackages" for info, warn, or error. See log4j's docs for details.

Similar Messages

  • Huge Conversion File - Too many lines

    Hi Experts,
    Is there any way to split a Conversion File?
    I have a Conversión file with too many lines, so when I save it, it takes a lot of time, (11.000 rows, more than half an hour) and sometimes the Excel hand up (froze).
    It is becaming a problem, because everytime I save the Conversion file, I can not use the excel for a while.
    Any idea?
    Thanks in advance.
    Iria

    Iria and Patrick,
    I want to give an information about this.
    BPC transformation file can be multiple steps in one file.
    For example,
    *Options
    *Transformation
    *Conversion
    *Options
    *Transformation
    *Conversion
    *Options
    *Transformation
    *Conversion
    Therefore, If you only has a problem with conversion, you can do it as below
    *Options
    *Transformation
    *Conversion
           conversion part1    
    *Options
    *Transformation
    *Conversion
           conversion part2    
    *Options
    *Transformation
    *Conversion
           conversion part3    
    Note 1 :  If you don't need multiple transformation, you only need to specifiy it in the first transformation.
    Note 2 :  Conversion file can have multiple Tabs in one conversion excel workbook but I am not sure about the performance
                  when you do that. So please try two things.
                       1. Split it into multiple worksheet
                       2. Split it into multiple workbooks.
                  Please update your result for others.
    Note3 : You don't need multiple Convert task, it will be executed in a convert task.
    I hope it will help you
    Thank you.
    James Lim
    Edited by: James Lim on Mar 4, 2010 4:31 PM

  • Too many lines

    When opening an excel file I received as an attachment, and I want to open in Numbers, I either get major lag in viewing the workbook and editing it, Or I receive a message that an error occurred because there are "too many lines" and the workbook won't even import to Numbers
    I have a "New" IPad 3rd gen.
    Apple told me it is because I only have 512ram, but I understood that the new iPad had 1gb?
    Is numbers just not strong enough?
    Also, when I do get files to import, fonts, formulas and formats are commonly not supported and it negates being able to use the ipad to work on a workbook remotely and send it forward.
    Are ther any fixes?

    this is the oracle forms forum. your chances increase going to the right forum.
    Gerd

  • Too many lines for CO-PA assessment postings in KSB1

    Hi Experts,
    I created an assessment cycle in KEU1, with one segment, using an PA transfer structure (several cost elements to several value fields), and I´m using one single secondary cost element (category 42) to credit the cost centers.
    When I execute the assessment via KEU5, the credits in the cost centers for the cost element category 42 generates too many lines (for example, I had 3 postings to 3 primary cost elements and in KSB1 I have 9 lines of "credits" - operation KSPA.):
    Primary Cost Elements:
    4110201004  ==> 3.000,00
    4110209009  ==> 2.000,00
    4110209013  ==> 1.000,00
    Secondary cost element (after settlement through KEU5):
    6519999999 ==> 134,36-
                                198,92-
                                190,49-
                                291,54-
                                548,27-
                                311,88-
                                2.659,89-
                                1.268,02-
                                396,63-
    Do you know how can I summarize this postings to have only 3 (ore one) line for the secondary cost element? I cannot identify what was the criteria used by SAP to generate 9 lines.
    Kind Regards
    Mayumi

    the number of line item crediting the cost centre, shall be the same of the line item required in the COPA posting. So the more receiver you have in COPA , the more line item are created.
    Paolo

  • Too Many Line Items While Creating a PO

    Dear All,
    Here we have a scenario:
    We are creating a PO which is having around 10000(ten thousand) line items, and while saving system is showing error message "Too Many PO Line Items" Message No: FI899. and not able to save it.
    Kindly Let me know is there any limit for line item creation in a PO.
    Regards,
    Ravi B

    Limitations are limitations, you need a workaround or pay SAP for an extra developement. Probably worth, if you have such POs everyday.
    ( I cannot even imagine for what reason a PO should have more than 10000 items. Manual maintenance is impossible, the person would sit for a week and more to finish one PO. the CSR at your vendor is as well not able to put the items from your PO into their Sales order within a reasonable time frame - order entry should be ready before delivery date is arrived.
    This sounds like you want buy a company and want create just one purchase order to buy any single material they have on stock. But for that purpose the PO is certainly not designed.
    Can you give more background that makes my mind open ?   )

  • Best way to extract lines from a log file in Linux

    My query is that I have a log file which is around 7 GB and I want to extract lines between a certain time range which should total up to half of the size to 3.5 GB. The lines start with a time range like                        “2014-03-11 17:35:00”. I want to extract the lines between “2014-03-11 17:35:00” to “2014-03-11 18:05:00”. What should be the best way as there may be a grep command or a sed command to do it.
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    How about the following:
    awk '/2014-03-11 17:35:00/, /2014-03-11 18:05:00/' infile > outfile

  • Large and Many Replication Manager Database Log Files

    Hi All,
    I've recently added replication manager support to our database systems. After enabling the replication manager I end up with many log.* files of many gigabytes a piece on the master. This makes backing up the database difficult. Is there a way to purge the log files more often?
    It also seems that the replication slave never finishes syncronizing with the master.
    Thank you,
    Rob

    So, I setup a debug env on test machines, with a snapshot of the db. We now set rep_set_limit to 5mb.
    Now its failing to sync, so I recompiled with --enable-diagnostic and enabled DB_VERB_REPLICATION.
    On the master we see this:
    2007-06-06 18:40:26.646768500 DBMSG: ERROR:: sendpages: 2257, page lsn [293276][4069284]
    2007-06-06 18:40:26.646775500 DBMSG: ERROR:: bulk_msg: Copying LSN [640947][6755391] of 4152 bytes to 0x2afb35e370
    2007-06-06 18:40:26.646782500 DBMSG: ERROR:: sendpages: 2257, lsn [640947][6755391]
    2007-06-06 18:40:26.646794500 DBMSG: ERROR:: sendpages: 2258, page lsn [309305][9487507]
    2007-06-06 18:40:26.646801500 DBMSG: ERROR:: bulk_msg: Copying LSN [640947][6755391] of 4152 bytes to 0x2afb35f3b4
    2007-06-06 18:40:26.646803500 DBMSG: ERROR:: sendpages: 2258, lsn [640947][6755391]
    2007-06-06 18:40:26.646809500 DBMSG: ERROR:: send_bulk: Send 562140 (0x893dc) bulk buffer bytes
    2007-06-06 18:40:26.646816500 DBMSG: ERROR:: /ask/bloglines/db/sitedb rep_send_message: msgv = 3 logv 12 gen = 12 eid 0, type bulk_page, LSN [640947][6755391] nobuf
    2007-06-06 18:40:26.647064500 DBMSG: ERROR:: wrote only 147456 bytes to site 10.0.3.235:9003
    2007-06-06 18:40:26.648559500 DBMSG: ERROR:: /ask/bloglines/db/sitedb rep_process_message: msgv = 3 logv 12 gen = 12 eid 0, type page_req, LSN [0][0]
    2007-06-06 18:40:26.648561500 DBMSG: ERROR:: page_req: file 0 page 2124 to 2124
    2007-06-06 18:40:26.648562500 DBMSG: ERROR:: page_req: Open 0 via mpf_open
    2007-06-06 18:40:26.648563500 DBMSG: ERROR:: sendpages: file 0 page 2124 to 2124
    2007-06-06 18:40:26.649966500 DBMSG: ERROR:: /ask/bloglines/db/sitedb rep_process_message: msgv = 3 logv 12 gen = 12 eid 0, type page_req, LSN [0][0]
    2007-06-06 18:40:26.649968500 DBMSG: ERROR:: page_req: file 0 page 2124 to 2124
    2007-06-06 18:40:26.649970500 DBMSG: ERROR:: page_req: Open 0 via mpf_open
    2007-06-06 18:40:26.649971500 DBMSG: ERROR:: sendpages: file 0 page 2124 to 2124
    2007-06-06 18:40:26.651699500 DBMSG: ERROR:: sendpages: 2124, page lsn [516423][7302945]
    2007-06-06 18:40:26.651702500 DBMSG: ERROR:: bulk_msg: Copying LSN [640947][6755391] of 4152 bytes to 0x2afb3d801c
    2007-06-06 18:40:26.651704500 DBMSG: ERROR:: sendpages: 2124, lsn [640947][6755391]
    2007-06-06 18:40:26.651705500 DBMSG: ERROR:: send_bulk: Send 4164 (0x1044) bulk buffer bytes
    2007-06-06 18:40:26.651706500 DBMSG: ERROR:: /ask/bloglines/db/sitedb rep_send_message: msgv = 3 logv 12 gen = 12 eid 0, type bulk_page, LSN [640947][6755391] nobuf
    2007-06-06 18:40:26.652858500 DBMSG: ERROR:: sendpages: 2124, page lsn [516423][7302945]
    2007-06-06 18:40:26.652860500 DBMSG: ERROR:: bulk_msg: Copying LSN [640947][6755391] of 4152 bytes to 0x2afb2d701c
    2007-06-06 18:40:26.652861500 DBMSG: ERROR:: sendpages: 2124, lsn [640947][6755391]
    2007-06-06 18:40:26.652862500 DBMSG: ERROR:: send_bulk: Send 4164 (0x1044) bulk buffer bytes
    2007-06-06 18:40:26.652864500 DBMSG: ERROR:: /ask/bloglines/db/sitedb rep_send_message: msgv = 3 logv 12 gen = 12 eid 0, type bulk_page, LSN [640947][6755391] nobuf
    2007-06-06 18:40:38.951290500 1 28888 dbnet: 0,0: MSG: ** checkpoint start **
    2007-06-06 18:40:38.951321500 1 28888 dbnet: 0,0: MSG: ** checkpoint end **
    On the slave, we see this:
    2007-06-06 18:40:26.668636500 DBMSG: ERROR:: rep_bulk_page: rep_page ret 0
    2007-06-06 18:40:26.668637500 DBMSG: ERROR:: rep_bulk_page: Processing LSN [640947][6755391]
    2007-06-06 18:40:26.668644500 DBMSG: ERROR:: rep_bulk_page: p 0x2afb66c1fc ep 0x2afb671344 pgrec data 0x2afb66c1fc, size 4152 (0x1038)
    2007-06-06 18:40:26.668645500 DBMSG: ERROR:: PAGE: Received page 2254 from file 0
    2007-06-06 18:40:26.668658500 DBMSG: ERROR:: PAGE: Received duplicate page 2254 from file 0
    2007-06-06 18:40:26.668664500 DBMSG: ERROR:: rep_bulk_page: rep_page ret 0
    2007-06-06 18:40:26.668666500 DBMSG: ERROR:: rep_bulk_page: Processing LSN [640947][6755391]
    2007-06-06 18:40:26.668672500 DBMSG: ERROR:: rep_bulk_page: p 0x2afb66d240 ep 0x2afb671344 pgrec data 0x2afb66d240, size 4152 (0x1038)
    2007-06-06 18:40:26.668674500 DBMSG: ERROR:: PAGE: Received page 2255 from file 0
    2007-06-06 18:40:26.668686500 DBMSG: ERROR:: PAGE: Received duplicate page 2255 from file 0
    2007-06-06 18:40:26.668703500 DBMSG: ERROR:: rep_bulk_page: rep_page ret 0
    2007-06-06 18:40:26.668704500 DBMSG: ERROR:: rep_bulk_page: Processing LSN [640947][6755391]
    2007-06-06 18:40:26.668706500 DBMSG: ERROR:: rep_bulk_page: p 0x2afb66e284 ep 0x2afb671344 pgrec data 0x2afb66e284, size 4152 (0x1038)
    2007-06-06 18:40:26.668707500 DBMSG: ERROR:: PAGE: Received page 2256 from file 0
    2007-06-06 18:40:26.668714500 DBMSG: ERROR:: PAGE: Received duplicate page 2256 from file 0
    2007-06-06 18:40:26.668715500 DBMSG: ERROR:: rep_bulk_page: rep_page ret 0
    2007-06-06 18:40:26.668722500 DBMSG: ERROR:: rep_bulk_page: Processing LSN [640947][6755391]
    2007-06-06 18:40:26.668723500 DBMSG: ERROR:: rep_bulk_page: p 0x2afb66f2c8 ep 0x2afb671344 pgrec data 0x2afb66f2c8, size 4152 (0x1038)
    2007-06-06 18:40:26.668730500 DBMSG: ERROR:: PAGE: Received page 2257 from file 0
    2007-06-06 18:40:26.668743500 DBMSG: ERROR:: PAGE: Received duplicate page 2257 from file 0
    2007-06-06 18:40:26.668750500 DBMSG: ERROR:: rep_bulk_page: rep_page ret 0
    2007-06-06 18:40:26.668752500 DBMSG: ERROR:: rep_bulk_page: Processing LSN [640947][6755391]
    2007-06-06 18:40:26.668758500 DBMSG: ERROR:: rep_bulk_page: p 0x2afb67030c ep 0x2afb671344 pgrec data 0x2afb67030c, size 4152 (0x1038)
    2007-06-06 18:40:26.668760500 DBMSG: ERROR:: PAGE: Received page 2258 from file 0
    2007-06-06 18:40:26.668772500 DBMSG: ERROR:: PAGE: Received duplicate page 2258 from file 0
    2007-06-06 18:40:26.668779500 DBMSG: ERROR:: rep_bulk_page: rep_page ret 0
    2007-06-06 18:40:26.690980500 DBMSG: ERROR:: /ask/bloglines/db/sitedb-slave rep_process_message: msgv = 3 logv 12 gen = 12 eid 0, type bulk_page, LSN [640947][6755391]
    2007-06-06 18:40:26.690982500 DBMSG: ERROR:: rep_bulk_page: Processing LSN [640947][6755391]
    2007-06-06 18:40:26.690983500 DBMSG: ERROR:: rep_bulk_page: p 0x736584 ep 0x7375bc pgrec data 0x736584, size 4152 (0x1038)
    2007-06-06 18:40:26.690985500 DBMSG: ERROR:: PAGE: Received page 2124 from file 0
    2007-06-06 18:40:26.690986500 DBMSG: ERROR:: PAGE: Received duplicate page 2124 from file 0
    2007-06-06 18:40:26.690992500 DBMSG: ERROR:: rep_bulk_page: rep_page ret 0
    2007-06-06 18:40:36.289310500 DBMSG: ERROR:: election thread is exiting
    I have full log files if that could help, these are just the end of those.
    Any ideas? Thanks...
    -Paul

  • Essbase 7.1 no line separation on log files

    We have recently upgraded to Essbase 7.1We have the DELIMITEDMSG TRUE entry in our essbase.cfg file.Since the upgrade to 7.1 the log files for each application no longer have a CR/LF at the end of each entry.They are just run together into an extremely long line.However, when we look at the application window on the Essbase server the messages appear on separate lines.Has anyone else run into this problem?Is there a new essbase.cfg setting that we need to use?We take the log file for each application and load it into a logfile cube each month and this becomes very difficult if each message is not on it's own line in the file.Any help would be appreciated.

    You could create a maxl script that replaces the filters, when you call the maxl script you could pass in a variable such as YR08 and use that variable in the script.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can I write my Adobe AIR application tracing lines into a log file

    I Have a question about log files for AIR application
    How can I make my application writing all tracing and exceptions into a log file?

    I think if you pubish a -debug SWF it will log to flashlog.txt

  • CO 1SRJ-001: Too many line items selected via report interface

    Report group/report 1SRJ/1SRJ-001 (CCentres: Rolling Year):  provides an overview for the last 12 periods of actual and plan data.
    When you access line item report RKAEP000 (KSB1 or KSBP) from report Cost Centres Rolling Year (1SRJ-001) using the report/report interface, too much data is selected.
    For example, you enter fiscal year 2009 and month 8 in selection parameters, the report generates results for the last 12 periods:  2008/9 to 2009/8.  But the line item report accessed via report interface selected ALL data for the fiscal years 2008 and 2009.
    I searched and found Note 127643 that described a similar but not exactly the same situation.  Have anyone have any problems with this report?  Any suggestion is appreicated.
    Regards,

    Issue with report 1SRJ-001 (S_ALR_87013631) has been resolved.  The interfaced line item report selects all data records for fiscal years 2008 and 2009, instead of just for the selected last 12 months.  The problem is due to missing restrictions for a characteristic, in this case, the from-period and to-period fields.
    SAP has corrected the problem by issuing an updated version (1999) and the one we were using was the 1995 version.  I imported the updated version of report from client 000 and now it works fine.

  • PL/SQL problem with too many lines - can not apply changes

    I have a complex PL/SQL that requires checking 90 check boxes and the query works to a certain point then it just stops being able to be saved (apply changes) after a high no. of lines has been typed in. (The PL/SQL query is to check against a file, that the file has all the check boxes as yes. If there is only 1 or 2 boxes checked, then the sql created only checks those 2 fields for yes.) Is there a way to increase the coding space (or number of lines) that APEX can save/use.

    This is the whole PL/SQL coding. At this point, we cannot add any more lines or it will come up with "web page cannot be found" message.
    declare
    q varchar2(32767); -- query
    new varchar2(1):='Y'; -- first one
    begin
    q := 'select a."CONTR_ID", a."NAME", b."PHONE_NO", b."EMAIL_ADDR" FROM contractor a, contacts b where a.contr_id = b.contr_id and a.contr_id not in (Select unique a."CONTR_ID" from contractor a, contractor_competency b where a."CONTR_ID" = b."CONTR_ID" ';
    -------------------Start ENV
    if :P33_AIR_QUALITY_TESTING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Air Quality Testing'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_ASBESTOS_REMOVAL_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Asbestos Removal De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_ASBESTOS_REMOVAL_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Asbestos Removal Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_BUILDING_ASBESTOS_REMOVAL = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Building Asbestos Removal'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_ENVIRONMENTAL_CONSULTING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Environmental Consulting'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_MANHOLE_ASBESTOS_REM_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Asbestos Removal De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_MANHOLE_ASBESTOS_REM_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Asbestos Removal Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_OIL_FILTERING = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Oil Filtering'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_OIL_SAMPLING = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Oil Sampling'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_OIL_SPILL_CLEANUP = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Oil Spill Cleanup'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_PUMPING_OUT_MANHOLES = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Pumping Out Manholes'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_SIGNED_ENVIRO_DOCS = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Signed Enviro Docs PRO-MS-008'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TRANSPORTATION_OF_D_GOODS = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Transportation of Dangerous Goods'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TRANSPORTATION_OF_PCB = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Transportation of PCB'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_WASTE_PICK_UP = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Waste Pick-Up'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    -------------------- start OCM
    if :P33_GREENFIELD_POLELINE_CONST = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Greenfield Poleline Construction'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_HV_OVERHEAD_MAINTENANCE = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''HV Overhead Maintenance'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_INSULATOR_WARNING = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Insulator Warning'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_LV_OVERHEAD_MAINTENANCE = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''LV Overhead Maintenance'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_OVERHEAD_INFRARED_SCAN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Overhead Infrared Scanning'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_POLEHOLES_AND_ANCHORS = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Poleholes and Anchors'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_POLELINE_INSPECTION = 'YES' then
    if new = 'Y' then q := q || ' and( '; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Poleline Inspection'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_POLELINE_WORK_TO_35KV = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Poleline Work to 35KV'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_POLELINE_TO_44KV = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Poleline to 44KV'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_ROCK_DRILLING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Rock Drilling'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TENSION_STRINGING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Tension Stringing'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TREE_TRIMMING_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Tree Trimming (De-Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TREE_TRIMMING_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Tree Trimming (Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_WOOD_POLE_TESTING_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Wood Pole Testing De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_WOOD_POLE_TESTING_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Wood Pole Testing Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    ------------------ start UCM
    if :P33_CO2_CLEANING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''CO2 Cleaning'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CABLE_PULLING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Cable Pulling'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CABLE_TESTING_DEENERGIZED = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Cable Testing De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CABLE_TESTING_ENERGIZED = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Cable Testing Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CONC_DUCT_MAN_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Conc. Duct & Manhole (De-Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CONC_DUCT_MAN_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Conc. Duct & Manhole (Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_DIR_BURIED_DUCT_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Direct Buried (De-Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_DIR_BURIED_DUCT_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Direct Buried (Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_DIRECTIONAL_BORING_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Directional Boring De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_DIRECTIONAL_BORING_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Directional Boring Energized'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_GENERAL_EXCAVATION = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''General Excavation Around Plant'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_HV_UG_MAINTENANCE = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''HV Underground Maintenance'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_LV_UG_MAINTENANCE = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''LV Underground Maintenance'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_MANHOLE_CLEANING_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Cleaning De-Energized'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_MANHOLE_CLEANING_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Cleaning Energized'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_MANHOLE_INSPECTION = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Inspection'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_UG_EQUIPMENT_INSPECTIONS = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''UG Equipment Inspections'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_UG_INFRA_RED_SCANNING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''UG Infra Red Scanning'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_UG_CABLE_LOCATES = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Underground Cable Locates'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    ------------------------ start SCM
    if :P33_FENCING_AROUND_SUBSTATION = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Fencing Around Substation'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_FENCING_GREENFIELD = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Fencing Greenfield'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_INSPECTION_AND_TESTING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Inspection And Testing'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATION_CIVIL_WORK = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Station Civil Work'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATION_CONST_DEENERGIZED = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Station Construction (De'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATION_CONST_ENERGIZED = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Station Construction (E'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATION_INFRARED_SCANNING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Station Infrared Scanning'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATIONS_ASBESTOS_REMOVAL = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Stations Asbestos Removal'')) > 0) and
    (instr(upper(b."SET_YES_NO"),''NO'') > 0) ';
    end if;
    if new = 'N' then q := q || ' ) ';
    end if;
    q := q || ' ) ';
    return q;
    end;

  • A real task..( to search and display few lines from a log file)

    have a look at the following link
    http://computing.unn.ac.uk/staff/cgpb2/public_html/log.html
    i need to display to the users only the Hourly Transmission Statistics (Bytes Sent Requests Time) on a tabular format from the above mentioned link.
    t
    his is not easy
    can any one write down the code please..
    thank you very much.

    What have you done so far?
    What kind of approach are you going to take (aside from asking others to do it all for you)?
    Have you written the algorithm in psuedo-code? If so, can we see it? We might be able to give you a few pointers.

  • Compound trigger returns too many lines

    Hi all.
    I have created a compound trigger which executes a procedure. Although the trigger now runs (I was getting a mutating table error before), it returns multiple lines where I am expecting only one line. When I run the procedure by itself, without the trigger, it runs as expected. Truth is, I created the trigger based on an example I found online, and I am not sure how to modify it to my needs. I don't need the data I am generating in the AFTER EACH ROW section. It exists because the trigger doesn't seem to run otherwise. Any help would be highly appreciated.
    create or replace trigger test.requisitions_trigger
      FOR INSERT OR UPDATE ON test.supply_items
    COMPOUND TRIGGER
    TYPE t_change_tab IS TABLE OF test.tab1_audit%ROWTYPE; g_change_tab t_change_tab := t_change_tab();
    AFTER EACH ROW IS
    BEGIN
      g_change_tab.extend;
      IF INSERTING THEN
        g_change_tab(g_change_tab.last).action := 'INSERT';
      ELSE
        g_change_tab(g_change_tab.last).action := 'UPDATE';
      END IF;
      g_change_tab(g_change_tab.last).created_time := SYSTIMESTAMP;
    END AFTER EACH ROW;
    AFTER STATEMENT IS
    BEGIN
      test.Requisitions;
    END AFTER STATEMENT;
    END requisitions_trigger;

    In your Re: Mutating Table error - Compound Trigger, the REQUISITIONS procedure was taking an argument that was taken from the row being inserted or updated. In this version, there is no argument. If the REQUISITIONS procedure takes no arguments (and just to harp on it, I'll reiterate that having a table and a procedure with the same name is more than a bit confusing), then you just need a statement level trigger. A statement level trigger is free to query the table being modified all it likes without raising any mutating table concerns (because the current statements changes are either guaranteed to have not been applied or to have been completely applied, there is no risk of seeing data in an inconsistent state).
    Justin

  • Too Many Lines of Code in Record Selection Formula....

    I'm trying to run a crystal rpt. w/ over 2000 lines of code/conditions in Record Selection Formula, but the report bombs out after typing a little over 1065 lines of code.
    I get the following error message:
    Failed to open rowset.
    Details: ADO Error Code: 0x80040e14
    Source: OraOLEDB
    Description: ROW-00001: Cannot allocate memoryD
    Native Error: 1
    Does anyone have any suggestions or possible solutions??

    this is the oracle forms forum. your chances increase going to the right forum.
    Gerd

  • Getting Log File Pattern Matched Line Count metric to work ?

    Hi
    has anyone been able to get this to work with more complex Perl expressions ?
    Basically I can get simple, single expressions to match.
    EG *(does not exist)* will match the text *"does not exist"* anywhere in a file.
    However, if I want to match either does not exist OR file not found I should be able to do something like
    *(does not exist)|(file not found)* OR *(does not exist|file not found)* but this just doesn't work.
    I want to be able to do more complex expressions, using *\i* (ignore case), and *^* (start of line) *$* (end of line) expressions too.
    I can test the matching functionality using a simple perl program, and I know the expression works in Perl.
    Oracle is supposed to be using a perl pattern match but seems to fail unless it is a single simple expression.
    Anyone been able to use this functionality at all.
    Many thanks.

    I have a chance to look into the parse-log1.pl script which is responsible for monitoring the log files and generating the alerts for EMGC. I am just pasting the comments given in this file
    # This script is used in EMD to parse log files for critical and
    # warning patterns. The script holds the last line number searched
    # for each file in a state file for each time the script is run. The
    # next run of the script starts from the next line. The state file name
    # is read from the environment variable $EM_STATE_FILE, which must
    # be set for the script to run.
    but in my case this is not happending according to log files it is storing the lst read line of the log file but it is not using that info in its next run. The file will be scanned from the begining again but this is not the case with emagent.log file monitoring its working fine as expected and explained in the script file.
    According to my observation this is becasue of the script is rotating my log file for each run i dont know how stop it. I just want to scan my log file I dont want to rotate my log file for each run of the script. Could any one please help me to solve this problem
    Thanks
    Ashok Chava.

Maybe you are looking for

  • How to cast a column of a derived column in a view to NULL

    I have a derived column in my view and this column by default is picked up as not null. I want to cast it to null how can i do it ? Actual column column1 varchar(3) not null Expected column column1 varchar(3)  null Mudassar

  • How to upload images into database.

    I have a employee table. I want to upload the image of the corresponding employee. How can we achieve this ?? Edited by: Manjunath CN on Oct 14, 2008 2:15 PM

  • Using queries from another universe in Webi; Functionality currently works in Deski

    Post Author: ck1938 CA Forum: WebIntelligence Reporting I have a report in deski that was built using 2 queries and 2 universes.  One query is from a calendar universe since there is no calendar information in the reporting universe.  In deski I have

  • Set up account for mail

    Hello, I have a new ipowerbook and it is my first mac. I love it and I am already familiar with with the other features, BUT today I wanted to setup "mail". It is writing me "The .Mac server "mail.mac.com" rejected the password..." Where can I setup

  • Types of testing performed in different projects

    Hi SAP Guru's Please tell me Types of sap testing performed in sequence in different projects Implement projects==> support projects==> roll-out projects==> migration projects==> migration projects==> thanks Naresh