Newbie: Trying to write PL/SQL that is dynamic based on data

Hi everyone,
I was wondering how I would go about writing a report that outer joins based on data from the main table? Here is what I wanna do in pseudo-sql:
SELECT
     b.po_number,
a.ht_code,
     b.figure_no,
     b.order_number,
     a.supplier_no,
b.cert_date,
b.plant
FROM header b, part_spec a
where ...
begin:
project = '' /* initialize project */
/* The table to get the project value for the report is named ORDER01 or ORDER02 or ... */
/* It is the word ORDER concatenated with the plant value above. */
select project from 'ORDER' || :PLANT;
END;
How would I do this with APEX 2.0?
I've successfully used APEX to generate SQL Query reports (REGION) but never PL/SQL.
Your help is appreciated,
FerrisWheel
Edited by: FerrisWheel on Dec 15, 2009 10:13 AM
Edited by: FerrisWheel on Dec 15, 2009 10:14 AM
Edited by: FerrisWheel on Dec 15, 2009 10:14 AM

OK, Thanks for the quick feedback. Here is a quick generic SQL I wrote up to show my goal using your suggestion. Notice the ERP_ORDERHDR and plant values in each of the SQLs below.
SELECT b.cust_po_no,
a.ht_code,
     b.item_no,
     b.ERP_ORDER_NO,
     a.supplier_code,
b.cert_date,
c.prj
FROM CERT_HDR b, PART_DETL a, ERP_ORDERHDR011 c
WHERE plant = 1
AND a.cert_no = b.cert_no
AND a.cert_no like '%%%' || UPPER(:p1_cert_no) || '%%%'
AND b.cust_po_no like '%%%' || UPPER(:p1_cust_po_no) || '%%%'
AND a.ht_code like '%%%' || UPPER(:p1_ht_code) || '%%%'
AND b.item_no like '%%%' || UPPER(:p1_item_no) || '%%%'
AND b.ERP_ORDER_NO like '%%%' || UPPER(:p1_sales_order) || '%%%'
AND (b.cert_date BETWEEN :P1_DATE_FROM AND :P1_DATE_TO)
AND c.orno (+) = b.ERP_ORDER_NO
AND c.prj like '%%%' || UPPER(:p1_project) || '%%%'
UNION ALL
SELECT      b.cust_po_no,
a.ht_code,
     b.item_no,
     b.ERP_ORDER_NO,
     a.supplier_code,
b.cert_date,
c.prj
FROM CERT_HDR b, PART_DETL a, ERP_ORDERHDR012 c
WHERE plant = 2
AND a.cert_no = b.cert_no
AND a.cert_no like '%%%' || UPPER(:p1_cert_no) || '%%%'
AND b.cust_po_no like '%%%' || UPPER(:p1_cust_po_no) || '%%%'
AND a.ht_code like '%%%' || UPPER(:p1_ht_code) || '%%%'
AND b.item_no like '%%%' || UPPER(:p1_item_no) || '%%%'
AND b.ERP_ORDER_NO like '%%%' || UPPER(:p1_sales_order) || '%%%'
AND (b.cert_date BETWEEN :P1_DATE_FROM AND :P1_DATE_TO)
AND c.orno (+) = b.ERP_ORDER_NO
AND c.prj like '%%%' || UPPER(:p1_project) || '%%%'
UNION ALL
SELECT      b.cust_po_no,
a.ht_code,
     b.item_no,
     b.ERP_ORDER_NO,
     a.supplier_code,
b.cert_date,
c.prj
FROM CERT_HDR b, PART_DETL a, ERP_ORDERHDR014 c
WHERE (plant = 4 or plant = 5 or plant = 8)
AND a.cert_no = b.cert_no
AND a.cert_no like '%%%' || UPPER(:p1_cert_no) || '%%%'
AND b.cust_po_no like '%%%' || UPPER(:p1_cust_po_no) || '%%%'
AND a.ht_code like '%%%' || UPPER(:p1_ht_code) || '%%%'
AND b.item_no like '%%%' || UPPER(:p1_item_no) || '%%%'
AND b.ERP_ORDER_NO like '%%%' || UPPER(:p1_sales_order) || '%%%'
AND (b.cert_date BETWEEN :P1_DATE_FROM AND :P1_DATE_TO)
AND c.orno (+) = b.ERP_ORDER_NO
AND c.prj like '%%%' || UPPER(:p1_project) || '%%%'
and this would go on for up to 4 more unions. Is there a way to use PL/SQL to make it more clean? Another issue I have with the above is that the c.orno field that I try to outer join is not numeric whereas the b.ERP_ORDER_NO is numeric. I can to_char(c.orno) but how do I do that and still have an outer join? If I can use PL/SQL, I hope to be able to better control the output and eliminate the unions.
I hope this is enough information.
Thanks,
FerrisWheel

Similar Messages

  • Trying to write an SQL import script

    Hello All,
    I am trying to write a bulk importer for data for my clients and I am just about there. However I am running into a problem updating records in a second table.
    I want to do all this through the SQL Server for resource purposes.
    The SQL statement will go through the entire temp table (users to be added or updated) and compare it to the main existing table. First it will compare records and determine who are exactly the same (no changes) and then delete those records out of the temp table. Now it will find the records that are in the table (by employee ID), but have changes in their profiles (name, number, etc.).
    This is my problem:
    When I compare the phonenumbers in a separate table, which are connected by a sub_id. Example
    Main Table: (Fields) sub_id, fname, lname, address, groups, subgroups, etc.
    Phonenumbers Table: sub_id, account_id, sub_user_number, active
    Right now, I am performing update statements:
    -- Update sub_user_number
    print('Update sub_user_number');
    print('  -sub_user_number3');
    UPDATE WENS..SUBSCRIPTION
    SET sub_user_number = i.sub_user_number3
      FROM WENS_IMPORT..IMPORT_INSPIRON i INNER JOIN WENS..SUBSCRIPTION s
       ON i.misc1 = s.misc1
      LEFT JOIN WENS..ACCOUNT_USER_GROUPS g
       ON g.sub_id = s.sub_id
      WHERE s.account_id = @account_id
      AND isnull(i.sub_user_number, '') <> isnull(s.sub_user_number, '')
      AND g.group_id IN (@group_id)
    The problem is that if I have three numbers, it updates all three numbers with the same number.
    Ideally what I would like to do is completely delete the numbers and then re-enter them. For example:
    Perform a DELETE of all numbers out of PHONENUMBERS table where maintable.sub_id = temptable.sub_id
    LOOP through numbers found in temptable
    INSERT new number into PHONENUMBERS (sub_id, account_id, active, sub_user_number)
    END LOOP
    Therefore at the end of the loop, we will have entered three numbers (two that were originally in there and one that is new)
    Could someone help me with the SQL syntax that will work in SQL Server Query analyzer?
    Thank you VERY much for anything you all can do.

    LOOP through numbers found in temptable
    I have only skimmed this thread, but I would say do not loop unless it is truly needed.  Databases are designed to work best with "sets" of information. So it is usually more efficient to process a group of records than one record at a time.
    What I usually do with imports is run a series of bulk updates on my #temp table(s) to identify which items are "new" which ones are "changed". When finished I can easily JOIN to the base tables and do a single UPDATE for changed records and INSERT for new records.  Usually a lot more efficient than looping one record at a time.
    I want to do all this through the SQL Server for resource
    purposes.
    BTW: Not to ignore your question, but database questions are usually best answered in a database forum (in your case MS SQL).  Because once you get the information into the #temp table, it is strictly sql from there and any database guru could assist. They do not have to know anything about CF ;-)
    Message was edited by: -==cfSearching==-

  • Trying to find pl/sql that will show you what script is running

    I'm looking for a way, inside sql, to find the name of an executing/running script from inside the script itself.
    For example, I have a master script called run.sql with these contents:
    @@a.sql
    @@b.sql
    exit
    A.sql has these contents:
    spool a.log
    select ora_database_name from dual;
    spool off;
    B.sql has these contents:
    spool b.log
    select sys_context('userenv','current_schema') from dual;
    spool off;
    Is there a way in A.sql and B.sql to (dynamically) find out the name of the script? E.g.
    A.sql:
    select script_name into script from dual;
    spool script.log
    Where "script_name" is the actual code or variable or whatever to find out what the script is called.
    Some variables such as database_name, current_schema, etc can be found dynamically (on-the-fly), but is there a way to do this with the script that's running (short of hunting from v$session and trimming the sql_text, or hard-coding the name in the spool command)?
    Also, if you're in sqlplus and you "get a.sql" (into the buffer) then you can save or list, or whatever, and it implicitly knows what script you're referring to. Is this value stored in some sort of variable anywhere?
    This sort of thing is easy to do in unix shell commands, but is there a way to do this in Oracle?

    The only way to do that is to write better SQL. For example:
    echo off
    INSERT /* script name = myinserts.sql */ INTO t1 SELECT * FROM t2;
    SELECT /* script executing is myscript.sql */ col1, col2, col3
    FROM mytable;with labelled statements.
    Then you can find the answer by looking in numerous places in the dynamic performance views such as V$SQL.
    Another technique is to use calls to DBMS_APPLICATION_INFO.SET_MODULE, SET_ACTION, and SET_CLIENTINFO to poke the information into V$SESSION
    http://www.morganslibrary.org/reference/dbms_applic_info.html

  • Newbie trying to write toplink hello world program

    I am trying to write my first toplink app using POJOs, and I'm having a hard time finding a sample toplink application. In this case, I'd like to run outside of a J2EE container with a stand-alone java application to do some basic CRUD operations. I've already run the mapping workbench on my Java classes and generated the deployment file and sessions.xml file. Where (Oracle docs) can I find source code for a simple stand-alone java main() app that uses the toplink API?
    Thanks in advance.

    TopLink ships with many examples - complete with runtime and workbench componants - in 9.0.4.X Find them here: <TopLink_install_dir>\examples\
    For non app server simple CRUD examples, I suggest you look here first:
    <TopLink_install_dir>\examples\foundation\threetier

  • Trying to write a program that you can enter #s and multiply at the end.

    I' m new to java and trying to write a program
    to choose a number between 1-100
    and another entry choose a number between 2-100
    when numbers are picked then they're multiplyed
    can someone please help me??

    I' m new to java and trying to write a program
    to choose a number between 1-100
    and another entry choose a number between 2-100
    when numbers are picked then they're multiplyed
    can someone please help me??Sure. There are lots of folks around here that would be willing to help you (myself included). What are you having trouble with?

  • I am trying to write an NTService that will run weblogic...

     

    Jeremy Hanna wrote:
    >
    Thanks Chuck,
    A few questions:
    What does the NTServerHelper class do?
    Why are the the java.dll's used?
    Does the weblogic server not like being placed in C++ Process object?
    Jeremy Hanna
    DRUMS Inc.
    [email protected]
    Chuck Karish <[email protected]> wrote in message
    news:[email protected]..
    Jeremy Hanna wrote:
    I need to be able to start Weblogic remotely on an NT box , and for
    various
    reasons, I can't use the weblogic NTservice. So...
    I have written an NTService that starts the jre (passing it in a java
    wrapper class which, in turn ,starts the weblogic server), but I'vebeen
    having problems.
    My service essentially works but the process takes up all available
    resources and is very slow.
    Has anyone tried this or something similar?
    Does the weblogic NT Service (t3config.exe ) use the java.dll ?
    (I'm thinking I should use the java.dll instead of calling the jre.exe)
    Any advice would help :)The WebLogic Windows native startup programs use the DLLs.
    The dll contains the runtime code for the JVM. Its name
    differs in different releases of the JREs and JDKs.
    It's used so we can run a Java application.
    The WebLogic server wants to be run in a Java virtual
    machine. It doesn't care how that JVM is invoked.
    Chuck Karish BEA Systems
    [email protected] San Francisco, CA

  • Trying to write an applet that reads/displays a file from a remote server

    Hey all,
    I'm trying to make a little applet that launches from a browser that allows me to read a file from a server, reads it line by line and displays each line, and continues to read/monitor the file until I get a specific line of text.
    I've tried to do some code and although I can read the file (and display it), I can't seem to detect the end string (the if statement that tests if the line == "--END--" seems to have no effect, i.e. constant false).
    I have a feeling the approach I took is wrong since this seems insecure and just looks bad (I've seen stuff that seems to indicate I need to do something with implements Runnable or something.) Even if anyone doesn't have the time to actually do the framework of this, if they could perhaps outline an approach and any necessary topics I need to look at (such as
    1. Go and read the threads tutorial.
    2. Go and read the X section in the Y tutorial.
    3. Check out this <link>, as they seem to be doing something similar to what you're doing.
    Thanks in advance.
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    import java.awt.*;
    import java.net.*;
    public class FaxTest extends JApplet {
         JTextArea area;
         JScrollPane pane;
         String display;
         String old_display;
         String tmp;
         boolean end = false;
         java.util.Timer FileTimer = new java.util.Timer();
         TimerTask FileReadTask = new readFile();
         public void init() {
              area = new JTextArea();
              area.setWrapStyleWord(true);
              area.setLineWrap(true);
              area.setEditable(false);
              pane = new JScrollPane(area);
              Container c = getContentPane();
              c.add(pane);
              FileTimer.schedule(FileReadTask, 500,5000);
         public void stop()
              FileTimer.stop();
         class readFile extends TimerTask {
              public void run() {
              java.util.Timer timer = new java.util.Timer();
              TimerTask task = new FaxUpdate();
              timer.schedule(task, 1000,1000);
              try {
              display = "";
              String filename = getParameter("FILENAME");
              URL url = new URL(filename);
              InputStreamReader in = new InputStreamReader(url.openStream());
              BufferedReader br = new BufferedReader(in);
              while( (tmp = br.readLine()) != null) {
                   if (tmp == "--END--\n") end = true;
                   display += tmp;
              catch(IOException error) {
              display = "Error" + error;
         class FaxUpdate extends TimerTask {
              public void run() {
              if(end == true) {
                   area.setText("finito");
              else area.setText(display);
    }

    use tmp.equals("--END--\n") instead of tmp == "--END--\n"
    The == means does tmp reference the same object as "--END--\n" which will probably never be true. Using the equals method means does tmp contains the same characters as "--END--\n"

  • I'm trying to write a VI that updates a file each time it is run, but on a new day a new file is created which is updated until a new day begins.

    I have written a VI to create and update a file as many times as needed on any given day. On any subsequent day a new file is created which for that day will be updated each time the VI is run and so on. The problem is that when I run the VI the first time of a new day, ie when the file is created only data is written to the file and not the header data. When the file is appended, header data, and regular data is properly written to the file. Can anyone tell me how to correct this problem? A copy of the VI that I wrote is attached.
    Thanks,
    Chuck M.
    Solved!
    Go to Solution.
    Attachments:
    File - create new on date change.vi ‏15 KB

    You had the header information written when there wasn't an existing file, then you overwrote that file with another file consisting only of the data because you wired the "append to file? (new file:F)" the same for both functions (F causes it to create a new file).  I put the header writing function in a Case structure because you only want it to execute when this is a new file (otherwise it'll overwrite what's there).  Wire the path straight through the False case.  I wired a TRUE to the data writing function to always append (because there will always be a file by the time the program gets there).
    Jim
    PS - a few other observations
    Avoid sequence structures
    You don't need the property node
    Use Path functions (not string)
    Message Edited by jcarmody on 04-13-2009 05:58 PM
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
    Attachments:
    examp.jpg ‏19 KB

  • Trying to alter font on a report row based on data condition

    Hello.
    I have an Apex application with a "classic" SQL report and a corresponding form.
    In the report region I am pulling all items from a table (Select * from TASKS)
    The TASKS table contains many columns including DUE_DATE and COMPLETE_DATE field.
    I am trying to find a way to format the rows in my report based on the condition of those two fields.
    If the record has a complete_date (not null) then I want to change the font for the entire row (each column) to be grey.
    If the record does not have a complete_date (null) and due_date is before today, I want the row to be bold and red.
    Otherwise, the row would display standard black text.
    I can't seem to find a straightforward way to do this in Apex.

    Hi JodyMorin,
    Try looking at this post:
    Conditional item formatting (color)
    You will need to tweak the code a bit for your needs, but I hope it helps.
    -Marc

  • Possible to write a function that takes any type as parameter ?

    I need to write a function that will take 2 parameters ( of any type - VARCHAR etc ) and return a boolean.
    ( Im trying to write a function that will do NULL processing.
    something like..
    if ( P1=P2 OR ( P1 IS NULL AND P2 IS NULL ) ) then
    return true ;
    end if;
    return false ;
    the function simply compares its parameters P1 & P2 and returns true if they are equal - including if both are NULL
    Is this possible to write at all.
    My code looks very ugly without this being wrapped in a function.

    You may be able to use SYS.AnyData for this. However, dealing with the data would be confusing, so overloading the FUNCTION would most likely be a better idea.
    This doesn't work, but it looked like fun, so i tried:
    CREATE OR REPLACE FUNCTION Equal_Or_NULL(A SYS.AnyData, B SYS.AnyData)
    RETURN PLS_INTEGER
    AS
    Local_A     VARCHAR2(4000);
    Local_B     VARCHAR2(4000);
    Junk          PLS_INTEGER;
    BEGIN
    IF A IS NULL AND B IS NULL THEN RETURN 1; END IF;
    CASE A.GetTypeName
      WHEN 'SYS.NUMBER'     THEN Junk := A.GetNumber(Local_A); Junk := B.GetNumber(Local_B);
      WHEN 'SYS.DATE'     THEN Junk := A.GetDate(Local_A); Junk := B.GetDate(Local_B);
      WHEN 'SYS.CHAR'     THEN Junk := A.GetCHAR(Local_A); Junk := B.GetCHAR(Local_B);
      WHEN 'SYS.VARCHAR'     THEN Junk := A.GetVARCHAR(Local_A); Junk := B.GetVARCHAR(Local_B);
      WHEN 'SYS.VARCHAR2'     THEN Junk := A.GetVARCHAR2(Local_A); Junk := B.GetVARCHAR2(Local_B);
    END CASE;
    RETURN CASE WHEN Local_A = Local_B THEN 1 ELSE 0 END;
    END Equal_Or_NULL;
    /Overloading would be much simpler, as the arguments could be directly compared.
    IMO, Do not do this. Hiding logic in a FUNCTION it for cosmetic purposes is a bad idea.

  • How to obtain SQL that don't use bind variables

    Hi,
    I'm trying to identify the SQL that should benefit from using bind variables.
    First, I tried to obtain the common signature from all those sql calls, by using:
    select * from (
    select  force_matching_signature, count(1) from v$sql where force_matching_signature<>0 group by force_matching_signature order by 2 desc
    ) where rownum < 50;Then, I copied those values to clipboard and executed: select sql_text from v$sql where force_matching_signature=<<<copied_signature_value>>>;Now I want to make it automatically, and get just 1 occurrence of each SQL that is similar to others by using a query.
    I've tried this:
    select sql_text from
    select sql_text, force_matching_signature, row_number() over (partition by force_matching_signature order by sql_text desc)rn from v$sql where force_matching_signature <>0
    )where rn <2 and rownum < 10 order by force_matching_signature descBut this is not returning results by attending to the count(1) of the first query I used. How can I modify this so I get the results in order of 'importance'?
    Thanks

    And I said. First use order by, then use rownum. I didn't mention row_number. Also there should be no need to add any more columns.
    Did you try it? Why didn't it work?
    untested example
    select * from (
       select sql_text from (select sql_text, force_matching_signature, row_number() over (partition by force_matching_signature order by sql_text desc) rn from v$sql where force_matching_signature != 0)
       where rn = 1
       order by force_matching_signature desc /* add any ordering you like here */
    where rownum < 10  /* then filter on the first 10 results */If you want to order it in such a way that the statement that is found most times comes first then say so. However I do not see how to group in your case.
    maybe like this
    tested example
    select * from (
       select cnt, sql_text
       from (select sql_text, force_matching_signature, row_number() over (partition by force_matching_signature order by sql_text desc) rn , count(*) over (partition by force_matching_signature) cnt
             from v$sql
             where force_matching_signature != 0)
       where rn = 1
       order by cnt desc, force_matching_signature desc /* add any ordering you like here */
    where rownum < 10  /* then filter on the first 10 results */
    ;Edited by: Sven W. on Oct 11, 2012 2:49 PM
    Edited by: Sven W. on Oct 11, 2012 2:51 PM
    Edited by: Sven W. on Oct 11, 2012 2:56 PM -- added count column to the output

  • I am trying to write a heartbeat program which takes the current time and writes

    I am trying to write a VI that gets the current time and writes it to an XML file in this format.  YYYY-MM-DDThh:mm:ss[.s][Z|(+|-)hh:mm]
    I cant seem to get the operators on the format date/time string vi to work for concatenating the "-" between the year and month
    Anybody know how to do this one?

    You should not need to use special operaors for the format date/time string, the format should simply be"%Y-%m-%d"

  • SQL LOADER , EXTERNAL  TABLE and ODBS DATA SOURCE

    hello
    Can any body help loading data from dbase file .dbt to an oracle 10g table.
    I tried last day with SQL LOADER, EXTERNAL table , and ODBC data source.
    Why all of these utilities still failing to solve my problem ?
    Is there an efficient way to reach this goal ?
    Thanks in advance

    export the dbase data file to text file,
    then you have choice of using either sql loader or external table option to use.
    regards

  • How to configure drop-down that change dynamically in Call Scripts

    Hi,
    Would like to know as how to configure drop-down choices that change dynamically based on customer response in Call Scripts / Assessment Scripts of type "Service Request - Survey".
    I've read the following from CRM OnDemand pdf but was not able to figure out how to do that.
    Call Scripting:
    • Reduces agent training time
    • Provides drop-down choices that change dynamically based on customer response
    • Supports personalized interactions based on existing record data
    • Facilitates up-selling and cross-selling
    • Does not require third-party software
    I don't have a concrete requirement as of now, but was trying to check as how it works. Please guide me if any one has implemented the same.
    Thanks in Advance,
    Cheers!!!
    Deepak Veeravalli.

    Arun,
    If you plan to implement the "Querying the Active Directory" based on my code snippet,
    and if you do not have permission [your account must be the part of domain admin] to do so,
    Then still you can do it in least effort through code,
    string usersInXml = SPContext.Current.Web.AllUsers.Xml;your xml string look like this.
    <Users><User ID="2" Sid="" Name="Administrator"
    LoginName="i:0#.w|murugesan\administrator" Email="" Notes="" IsSiteAdmin="True" IsDomainGroup="False" Flags="0" /><User ID="1" Sid="" Name="Murugesa Pandian" LoginName="i:0#.w|murugesan\murugesan" Email="" Notes="" IsSiteAdmin="True" IsDomainGroup="False" Flags="0" /><User ID="1073741823" Sid="S-1-0-0" Name="System Account" LoginName="SHAREPOINT\system" Email="" Notes="" IsSiteAdmin="False" IsDomainGroup="False" Flags="0" /></Users>
    You can user Linq to XML to filter the "LoginName,Name and Email and then populate your drop down list.
    * User must be logged into the site at least once.
    Murugesa Pandian.,MCTS|App.Devleopment|Configure

  • SQL - Can u print all the dates between two given dates (Without PL/SQL)

    Hi Friends,
    I want to know if u can print all the dates between two given dates without using pl/sql.
    date1,date2 are given
    write a sql statement to display all the dates lying between those two dates.
    An earlier will be appreciated.
    Thanks in Advance
    Sriram
    null

    Sriram,
    Try this....
    select to_date('01-JAN-00')+to_number(rownum)
    from all_tables
    where rownum < to_date('10-JAN-00')-to_date('01-JAN-00')
    TO_DATE('
    02-JAN-00
    03-JAN-00
    04-JAN-00
    05-JAN-00
    06-JAN-00
    07-JAN-00
    08-JAN-00
    09-JAN-00

Maybe you are looking for

  • Spore? Does it work with the Mini?

    I would like to have a game for my Mac mini and I am wondering could Spore work for it? I don't want people to say get this game, I just need to know.

  • Error Log in xl reporter

    Hi, all! when i sig in Xl reporter an error appear. XL Reporter Unable to connect to XL Reporter. Error! User authentication failed! Cause: CheckDbVersion Meta Partner Objects: 1.75 Partner Objects: 1.82 OK   Can you help me!

  • InDesign CS6 not compatible with InCopy CS5?

    Hi, We've recently upgraded our designer to have the latest edition of the creative suite (CS6), but we've left our editors with their versions of InCopy CS5.... and we've run into a problem. We get an error message when the editor is trying to open

  • How can i getback  inbox in my iPad email?

    How can I get back my new messages, in the iPad e-mail ? my inbox has disappear when I was trying to create a new mail box

  • Concurrent processing status down in OAM

    Hi , From OAM->Applications Dashboard ->Overview the status for concurrent processing shows down but infact it is up I also checked from OAM->Hosts->view configuration whereas here the status for concurrent processing is up. thanks all in advance.. a