About C-States and VID

I have some questions about C-States and about this so-called VID.
First, what is that VID ? Core Temp shows me the VID, is the same thing with the vcore ?
I have a 3770k 4.5Ghz 1.2V and if i stress the CPU, in Core Temp VID shows 1.246V
And i had a picture from the past with my CPU and while he was stressed, and i'm using the same BIOS overclock settings, and in that picture under stress test with prime95 the VID was 1.22V, and now is 1.24V, why is that ?
And about C-States, if i put C6 State from BIOS, it will affect my CPU performance and every day usage ?
Because C States brings the CPU when is in idle into a sleeping state, and if the CPU needs to stress he wakes from the C States. This will not affect the CPU ?
So basically, if i use C2 State while already have a Turbo OC, of 4.5Ghz, will affect the CPU, beying in idle in a C2 state, and then if i need the CPU power, releasing from C2 state, then back to C2 state.
I mean is safe if i OC for the CPU to be in a C state ? I didn't have any kind of crashes or BSODS.

Quote from: CalinTM on 23-May-13, 01:53:49
Today i just saw that prime95 was crashing while he finishes 8K test. I am using the turbo OC, with 4.5Ghz, and all the save features on, except C1E. I use c-states, C2.
So, prime95 crashed every time, and i could pass intel burn test on very high, 10 loops, but prime crashes.
So, (i don't use vdroop, its set to auto), for example if i put 1.2V in BIOS and vdroop to 87% prime95 works a bit, but i have in event viewer full of WHEA errors, basically the OS tells that the CPU is unstable.
So, i don't use vdroop because my CPU can't handle at 4.5Ghz low voltages. I use it on Auto, and putted in BIOS vcore of 1.22V
So, then in idle it sets to 1.21V or 1.226V, and in stress test it lowers to 1.2V (due to native vdroop), and i find only at 1.2V in full load prime95 passes the 8K test, and going further on into the tests.
The temps was on the coldest core 67 degrees, and on hottest core (basically the middle cores) 75-78 degrees, but mostly stays at 73-74.
Also, another question, i have in the C-States section, an Auto and No Limit options, so basically if i select Auto C-States it's selecting C2 state, or every state in auto mode ?
EDIT: Also i find, about the VID, if i do a multiplier OC, the VID always stays at 1.246V, idle and load. But if i use the turbo oc (multipliers to 45) the VID drops in idle to 0.8V-0.9V
EDIT 2: BUT, attention in games i can use even lower voltage, and don't have a single problem, crashes or everything, only prime crashes if i dont put his wanted voltage.
Setting Vdroop to 100% will result in higher CPUV than when it is set to "auto".
If you change Intel C-states to "no Limits" you will notice that many options disappear. I think that you are disabling the feature when you do this. When it is set to auto the system will select when and how it is implemented. Otherwise you can make the settings yourself.

Similar Messages

  • Question about synchronize() statement and thread scheduling?

    I have threads accessing a shared LinkedList in the main thread. I made use of the Collections.synchronizedList() to avoid concurrent modifications. one of the threads is a timer thread and it has a priority of 5 and the other threads are message reception threads and i made them of a lower priority just to allow the timer thread to be executed on time. According to the javaAPI, all iterations on the synchronized list should be done using synchronized(synchronizedListRef){} and this is what i do,
    The problem is even after setting the priority of the reception threads lower than the timer thread, the reception threads are sometimes executed more than once and the timer thread is delayed. Lets assume the situation where the timer reaches the point where it has to acquire the lock (the synchronized statement) and it discovers that the lock is already taken and it cant access the list because the other thread (of a lower priority) is iterating over it. shouldnt the higherpriority thread be executed after that the reception thread (that is blocking the timer thread) finishes its execution and release the lock (even if there are other reception thread waiting)??
    does the priority play a role when a thread is blocked?

    Asady wrote:
    I have threads accessing a shared LinkedList in the main thread. I made use of the Collections.synchronizedList() to avoid concurrent modifications. Make sure you explicitly sync around all iterations. Just using Collections.sync is not enough.
    The problem is even after setting the priority of the reception threads lower than the timer thread, the reception threads are sometimes executed more than once and the timer thread is delayed.There's no guarantee as to how priority will be interpreted. The scheduler implementation is free to do pretty much anything.
    As for how to solve your problem, you might want to look at java.util.concurrent.*, e.g. PriorityQueue. If the classes there don't give you just what you need, you may be able to build on them, or at least get ideas from them. Bottom line is that if you want a specific scheduling algorithm, you'll have to implement it yourself, since Threads' priority semantics are only very loosely specified by the JLS.

  • State and StateManager

    hi,
    I am comfused a bit about the state and its maintenance by the state manager. Here is the scenario that I have
    In the evenResult when there is an event fired for the FIRST TIME I am creating a mutable state and setting some values to my state.
    the next time when the even is fired if the state is availabe I am cloning the previous state and make it a mutable state and sending the same state back with some more values being set the second time. I did this some 20 times and then I tried to hit back button.
    By the time I hit back 10 times the queue maintained by the StateManager is null.
    Each time I hit back button the event is fired again becuz the url that is returned has the event appended to it. Thus instead of having the 20 states I have only 10 states......surprisingly the browser is caching the pages and by hitting back button it is, as a matter of fact returning the state of the page at that instance. But in the error log I get the state as NULL after 10 back hits. So is the state available at all?? If "yes" is there a way that I can get that state??
    can we control the event when we hit the back button..logically its not an event invoked by hitting any submit button right!!!
    I 've read the UIX controller section but couldn't extract this information for the notes provided in the guide.
    I have a faint idea of what might be going on but am not quite convinced. Could any body please explain to me what is actually happening with the state and the StateManager.
    regards,
    vasanth

    As I've read a little more and experimented a little, I now see two patterns and two philosophies about dealing with the browser navigation buttons here. Please correct me if my understanding is wrong:
    Using a Struts-style token, if the user submits a form and then hits back, they will get an error page. If the request is re-submitted with the back navigation, the server checks the token and, finding it no longer matches the current session token, redirects to an error page. Here the goal is decidedly not to support back navigation.
    I actually wound up implementing another pattern, where, instead of checking all tokens against a single valid session token that is updated with each request, I put a new token on each page render, and keep a list of which tokens have already been used or not. This way, if the user hits back, the event is re-fired, but the event handler sees that the token has already been used, and doesn't process the event. This prevents the State from being updated again, allows the user to see the page, and even allows them to make new selections and resubmit the page if they like. It will have been rendered with a new token, so the new submit is processed.
    I can see uses for both patterns. Obviously, some submits should only happen once. You only want your credit card charged once. But what if you have a page with several tabs and you're maintaining the state of an object tree that gets updated as the user navigates the tabs? It seems there's no harm in letting the user hit back, which -- using UIX's State object -- acts as a kind of Undo, and allowing them to continue to edit the state from there.
    So now I have three questions:
    1) Is there support for a Synchronizer Token in UIX? If so, how?
    2) If the goal of the State object is to allow using Back as an Undo (which is what the documentation suggests), don't you /need/ some kind of token pattern like I've suggested to keep the event from being handled again and thereby creating a /new/ State, as indicated by Vasanth's original post?
    3) I'm now even more confused about how to manage the state than before. Struts and UIX seem to suggest opposed approaches here. Any comments/opinions/experience on why/when to use one or the other?

  • How to remove "About this Page" and "Privacy Statement" on a OA page

    Hi,
    How do i remove "About this Page" and "Privacy Statement" links at the bottom of an OA page and add "Close Window" link on the top right corner of OA page.
    Please help.
    Advance thank
    Pavan

    Hi,
    1. Select Personalize Page link at top right of page.
    2. Select Choose context button.
    3. In the scope drop down box select OA Footer.
    4. Click on apply.
    5. Expand privacy.
    6. Click on personalize pencil icon.
    7. Set Rendered property to false at required level.
    8. Click on apply.
    9. Click on Return to Application link.
    thanx
    Pratap

  • Question about network statement in OSPF and BGP

    The network statements in OSPF and BGP can be used to advertise networks. But I'm not clear under what circumstances would make more sense to use network statements to advertise a network than by using other methods to have the network learned by other routers.
    Here is an example: assume I'm running BGP on router A. I want to advertise network 10.1.1.0/24 to other BGP peers. I have a OSPF route for this network. I can do 2 things: one is to use "network 10.1.1.0 mask 255.255.255.0", the other is to do "redistribute OSPF ... route-map OSPF-INTO-BGP", and create a prefix list to permit 10.1.1.0/24.
    Both would work to have this network learned by other BGP peers. But which is better for what purpose?
    Thanks a lot
    Gary

    Hi Gary,
    There is one little difference between the use of the two approaches - the route injected into BGP by using a network statement will carry an Origin attribute of IGP, whereas the route injected using redistribution will have an Origin attribute of Incomplete. Now, that is not a huge issue since you can always change that whatever value you desire both with the use of the network statement and redistribution. The important thing, however, is that in the BGP best path selection process, the Origin attribute comparison is fairly high up and will prefer a route with the attribute of IGP.
    Apart from that, there is absolutely no difference between using the network statement and using redistribution with a route-map that matches exactly on the same route that you would have specified with the network statement.
    I guess one advantage of using the redistribute approach is that it does not clutter up the BGP config. If you wish to add more routes, you simply add them to the prefix list so that you don't really touch the BGP config portion at all..
    Hope that helps - pls do remember to rate posts that help.
    Paresh

  • HT3702 I contacted a vendor about an app and they have not returned my email. I want to cancel the purchase.  What should I do?

    contacted a vendor about an app and they have not returned my email. I want to cancel the purchase.  What should I do?

    You probably cannot get a refund, since the terms of sale for the iTunes Store state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
    http://www.apple.com/support/itunes/contact.html
    It's possible they'll make an exception for you, particularly if the app is defective in some way. If you just don't like or no longer need the app, a refund is unlikely.
    Good luck.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • Bind Variable in SELECT statement and get the value  in PL/SQL block

    Hi All,
    I would like  pass bind variable in SELECT statement and get the value of the column in Dynamic SQL
    Please seee below
    I want to get the below value
    Expected result:
    select  distinct empno ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    100, HR
    select  distinct ename ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    TEST, HR
    select  distinct loc ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    NYC, HR
    Using the below block I am getting column names only not the value of the column. I need to pass that value(TEST,NYC..) into l_col_val variable
    Please suggest
    ----- TABLE LIST
    CREATE TABLE EMP(
    EMPNO NUMBER,
    ENAME VARCHAR2(255),
    DEPT VARCHAR2(255),
    LOC    VARCHAR2(255)
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (100,'TEST','HR','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (200,'TEST1','IT','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (300,'TEST2','MR','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (400,'TEST3','HR','DTR');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (500,'TEST4','HR','DAL');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (600,'TEST5','IT','ATL');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (700,'TEST6','IT','BOS');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (800,'TEST7','HR','NYC');
    COMMIT;
    CREATE TABLE COLUMNAMES(
    COLUMNAME VARCHAR2(255)
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('EMPNO');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('ENAME');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('DEPT');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('LOC');
    COMMIT;
    CREATE TABLE DEPT(
    DEPT VARCHAR2(255),
    DNAME VARCHAR2(255)
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('IT','INFORMATION TECH');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('HR','HUMAN RESOURCE');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('MR','MARKETING');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('IT','INFORMATION TECH');
    COMMIT;
    PL/SQL BLOCK
    DECLARE
      TYPE EMPCurTyp  IS REF CURSOR;
      v_EMP_cursor    EMPCurTyp;
      l_col_val           EMP.ENAME%type;
      l_ENAME_val       EMP.ENAME%type;
    l_col_ddl varchar2(4000);
    l_col_name varchar2(60);
    l_tab_name varchar2(60);
    l_empno number ;
    b_l_col_name VARCHAR2(255);
    b_l_empno NUMBER;
    begin
    for rec00 in (
    select EMPNO aa from  EMP
    loop
    l_empno := rec00.aa;
    for rec in (select COLUMNAME as column_name  from  columnames
    loop
    l_col_name := rec.column_name;
    begin
      l_col_val :=null;
       l_col_ddl := 'select  distinct :b_l_col_name ,pr.dept ' ||'  from emp pr, dept ps where   ps.dept like ''%IT'' '||' and pr.empno =:b_l_empno';
       dbms_output.put_line('DDL ...'||l_col_ddl);
       OPEN v_EMP_cursor FOR l_col_ddl USING l_col_name, l_empno;
    LOOP
        l_col_val :=null;
        FETCH v_EMP_cursor INTO l_col_val,l_ename_val;
        EXIT WHEN v_EMP_cursor%NOTFOUND;
          dbms_output.put_line('l_col_name='||l_col_name ||'  empno ='||l_empno);
       END LOOP;
    CLOSE v_EMP_cursor;
    END;
    END LOOP;
    END LOOP;
    END;

    user1758353 wrote:
    Thanks Billy, Would you be able to suggest any other faster method to load the data into table. Thanks,
    As Mark responded - it all depends on the actual data to load, structure and source/origin. On my busiest database, I am loading on average 30,000 rows every second from data in external files.
    However, the data structures are just that - structured. Logical.
    Having a data structure with 100's of fields (columns in a SQL table), raise all kinds of questions about how sane that structure is, and what impact it will have on a physical data model implementation.
    There is a gross misunderstanding by many when it comes to performance and scalability. The prime factor that determines performance is not how well you code, what tools/language you use, the h/w your c ode runs on, or anything like that. The prime factor that determines perform is the design of the data model - as it determines the complexity/ease to use the data model, and the amount of I/O (the slowest of all db operations) needed to effectively use the data model.

  • Object-oriented programming: state and behaivor

    First of all, sorry for my level english.
    In Object-Oriented programming, should an object save always some state?
    What about session stateless bean service? What is the sense?
    These objects have only behaivour and not state.
    Perhaps, the sense is that you can send a message to this object, in oposite of a static methods in utility class?
    Thanks and regards.

    I suppose you could argue that if it doesn't have any state, then it's not really an "object" in the OOP sense, but who cares, really.
    Personally, I use state and behavior as a way to help clarify the responsibilities of various classes in the system, and if I see a codebase with a lot of objects with state but no behavior or behavior but no state, then it's a a red flag that it's a messy, poorly-thought-out design (and it usually turns out to be exactly that). The whole point of OOP (IMHO) is encapsulation, and bundling state and behavior together makes things encapsulated (you can prove that state changes only in certain areas in certain circumstances). Encapsulation makes for more easily maintainable code.
    It's easy to spot the blue squares in a Mondrian. It's difficult to spot the blue bits in a Pollock. The former is well-encapsulated OOP and the latter is poorly-encapsulated spaghetti code.
    That said, it's not the end of the world if you have a static utility class here and there.

  • GET statement and internal table

    Hi community,
    I use the GET statement and I want to use some older code segments.
    I read somewhere that I can use the result of GET like an internal table.
    So I tried to get the content of bsid into my internal table it_bsid. But that doesn't seem to work.
    Do you have any advice in this?
    I wanted to do the following:
    TABLES:
            KNA1,
            BSID,
            BKPF.
    DATA:
          it_bsid TYPE TABLE OF bsid WITH HEADER LINE,
          is_bsid LIKE LINE OF it_bsid,
    GET bsid.
    LOOP AT bsid.
      APPEND it_bsid.
    ENDLOOP.
    -or-
    GET bsid.
    LOOP AT bsid INTO is_bsid.
      APPEND is_bsid TO it_bsid.
    ENDLOOP.
    But in both cases I get an error.
    ' "VERSION ... ." expected after "BSID" '
    Do you know what is the reason for that?
    Regards
    Tobias
    Edited by: Tobias Oelschlaeger on Feb 29, 2008 4:18 PM

    Hi Tobias,
    first you have to assign a logical database which has BSID to your program (in program attributes).
    Then GET is the event triggered by the next BSID record according to your selection. You can not LOOP here but you may append to an internal table. This table may be processed using LOOP in the END-OF-SELECTION event.
    Read some documentation about LDB [Logical Databases|http://help.sap.com/erp2005_ehp_01/helpdata/en/f0/ca4584260211d28a430000e829fbbd/content.htm] - it may help to understand the concept of this obsolete technique.
    Regards,
    Clemens

  • Case statement and Decode function both are not working in Select cursor.

    I have tried both the Case statement and Decode function in Select cursor, but both the things are not working. On the other hand both the things work in just select statement.
    See the first column in select (PAR_FLAG), I need to have this evaluated along with other fields. Can you please suggest some thing to make this work. And also I would like to
    know the reason why decode is not working, I heard some where Case statement do not work with 8i.
    Author : Amit Juneja
    Date : 06/20/2011
    Description:
    Updates the Diamond MEMBER_MASTER table with the values from
    INC.MEM_NJ_HN_MEMBER_XREF table.
    declare
    rec_cnt number(12) := 0;
    commit_cnt number(4) := 0;
    cursor select_cur is
    Select DECODE(1,
    (Select 1
    from hsd_prov_contract R
    where R.seq_prov_id = PM.seq_prov_id
    and R.line_of_business = H.line_of_business
    and R.PCP_FLAG = 'Y'
    and R.participation_flag = 'P'
    and SYSDATE between R.EFFECTIVE_DATE AND
    NVL(R.TERM_DATE,
    TO_DATE('31-DEC-9999', 'DD-MON-YYYY'))),
    'Y',
    'N') PAR_FLAG,
    H.SEQ_ELIG_HIST,
    H.SEQ_MEMB_ID,
    H.SEQ_SUBS_ID,
    H.SUBSCRIBER_ID,
    H.PERSON_NUMBER,
    H.EFFECTIVE_DATE,
    H.TERM_DATE,
    H.TERM_REASON,
    H.RELATIONSHIP_CODE,
    H.SEQ_GROUP_ID,
    H.PLAN_CODE,
    H.LINE_OF_BUSINESS,
    H.RIDER_CODE_1,
    H.RIDER_CODE_2,
    H.RIDER_CODE_3,
    H.RIDER_CODE_4,
    H.RIDER_CODE_5,
    H.RIDER_CODE_6,
    H.RIDER_CODE_7,
    H.RIDER_CODE_8,
    H.MEDICARE_STATUS_FLG,
    H.OTHER_STATUS_FLAG,
    H.HIRE_DATE,
    H.ELIG_STATUS,
    H.PREM_OVERRIDE_STEP,
    H.PREM_OVERRIDE_AMT,
    H.PREM_OVERRIDE_CODE,
    H.SEQ_PROV_ID,
    H.IPA_ID,
    H.PANEL_ID,
    H.SEQ_PROV_2_ID,
    H.SECURITY_CODE,
    H.INSERT_DATETIME,
    H.INSERT_USER,
    H.INSERT_PROCESS,
    H.UPDATE_DATETIME,
    H.UPDATE_USER,
    H.UPDATE_PROCESS,
    H.USER_DEFINED_1,
    H.SALARY,
    H.PEC_END_DATE,
    H.REASON_CODE,
    H.PEC_WAIVED,
    H.BILL_EFFECTIVE_FROM_DATE,
    H.BILLED_THRU_DATE,
    H.PAID_THRU_DATE,
    H.SUBSC_DEPT,
    H.SUBSC_LOCATION,
    H.USE_EFT_FLG,
    H.BENEFIT_START_DATE,
    H.SEQ_ENROLLMENT_RULE,
    H.MCARE_RISK_ACCRETION_DATE,
    H.MCARE_RISK_DELETION_DATE,
    H.MCARE_RISK_REFUSED_DATE,
    H.COMMENTS,
    H.USER_DEFINED_2,
    H.USER_DEFINED_3,
    H.RATE_TYPE,
    H.PCPAA_OCCURRED,
    H.PRIVACY_ON,
    H.PCP_CHANGE_REASON,
    H.SITE_CODE,
    H.SEQ_SITE_ADDRESS_ID,
    PM.seq_prov_id rendered_prov
    from hsd_member_elig_history H,
    INC.PCP_REASSIGN_RPRT_DATA P,
    hsd_prov_master PM
    where P.subscriber_id = H.subscriber_id
    and P.rendered_pcp = PM.provider_ID
    and H.elig_status = 'Y'
    and (H.term_date is NULL or H.term_date >= last_day(sysdate))
    order by H.Seq_memb_id;
    begin
    for C in select_cur loop
    rec_cnt := rec_cnt + 1;
    update hsd_member_elig_history
    set term_date = TRUNC(SYSDATE - 1),
    term_reason = 'PCPTR',
    update_datetime = SYSDATE,
    update_user = USER,
    update_process = 'TD33615'
    where seq_elig_hist = C.seq_elig_hist
    and seq_memb_id = C.seq_memb_id;
    INSERT INTO HSD_MEMBER_ELIG_HISTORY
    (SEQ_ELIG_HIST,
    SEQ_MEMB_ID,
    SEQ_SUBS_ID,
    SUBSCRIBER_ID,
    PERSON_NUMBER,
    EFFECTIVE_DATE,
    TERM_DATE,
    TERM_REASON,
    RELATIONSHIP_CODE,
    SEQ_GROUP_ID,
    PLAN_CODE,
    LINE_OF_BUSINESS,
    RIDER_CODE_1,
    RIDER_CODE_2,
    RIDER_CODE_3,
    RIDER_CODE_4,
    RIDER_CODE_5,
    RIDER_CODE_6,
    RIDER_CODE_7,
    RIDER_CODE_8,
    MEDICARE_STATUS_FLG,
    OTHER_STATUS_FLAG,
    HIRE_DATE,
    ELIG_STATUS,
    PREM_OVERRIDE_STEP,
    PREM_OVERRIDE_AMT,
    PREM_OVERRIDE_CODE,
    SEQ_PROV_ID,
    IPA_ID,
    PANEL_ID,
    SEQ_PROV_2_ID,
    SECURITY_CODE,
    INSERT_DATETIME,
    INSERT_USER,
    INSERT_PROCESS,
    UPDATE_DATETIME,
    UPDATE_USER,
    UPDATE_PROCESS,
    USER_DEFINED_1,
    SALARY,
    PEC_END_DATE,
    REASON_CODE,
    PEC_WAIVED,
    BILL_EFFECTIVE_FROM_DATE,
    BILLED_THRU_DATE,
    PAID_THRU_DATE,
    SUBSC_DEPT,
    SUBSC_LOCATION,
    USE_EFT_FLG,
    BENEFIT_START_DATE,
    SEQ_ENROLLMENT_RULE,
    MCARE_RISK_ACCRETION_DATE,
    MCARE_RISK_DELETION_DATE,
    MCARE_RISK_REFUSED_DATE,
    COMMENTS,
    USER_DEFINED_2,
    USER_DEFINED_3,
    RATE_TYPE,
    PCPAA_OCCURRED,
    PRIVACY_ON,
    PCP_CHANGE_REASON,
    SITE_CODE,
    SEQ_SITE_ADDRESS_ID)
    values
    (hsd_seq_elig_hist.nextval,
    C.SEQ_MEMB_ID,
    C.SEQ_SUBS_ID,
    C.SUBSCRIBER_ID,
    C.PERSON_NUMBER,
    trunc(SYSDATE),
    C.TERM_DATE,
    C.TERM_REASON,
    C.RELATIONSHIP_CODE,
    C.SEQ_GROUP_ID,
    C.PLAN_CODE,
    C.LINE_OF_BUSINESS,
    C.RIDER_CODE_1,
    C.RIDER_CODE_2,
    C.RIDER_CODE_3,
    C.RIDER_CODE_4,
    C.RIDER_CODE_5,
    C.RIDER_CODE_6,
    C.RIDER_CODE_7,
    C.RIDER_CODE_8,
    C.MEDICARE_STATUS_FLG,
    C.OTHER_STATUS_FLAG,
    C.HIRE_DATE,
    C.ELIG_STATUS,
    C.PREM_OVERRIDE_STEP,
    C.PREM_OVERRIDE_AMT,
    C.PREM_OVERRIDE_CODE,
    C.SEQ_PROV_ID,
    C.IPA_ID,
    C.PANEL_ID,
    C.SEQ_PROV_2_ID,
    C.SECURITY_CODE,
    SYSDATE,
    USER,
    'TD33615',
    SYSDATE,
    USER,
    'TD33615',
    C.USER_DEFINED_1,
    C.SALARY,
    C.PEC_END_DATE,
    C.REASON_CODE,
    C.PEC_WAIVED,
    C.BILL_EFFECTIVE_FROM_DATE,
    C.BILLED_THRU_DATE,
    C.PAID_THRU_DATE,
    C.SUBSC_DEPT,
    C.SUBSC_LOCATION,
    C.USE_EFT_FLG,
    C.BENEFIT_START_DATE,
    C.SEQ_ENROLLMENT_RULE,
    C.MCARE_RISK_ACCRETION_DATE,
    C.MCARE_RISK_DELETION_DATE,
    C.MCARE_RISK_REFUSED_DATE,
    C.COMMENTS,
    C.USER_DEFINED_2,
    C.USER_DEFINED_3,
    C.RATE_TYPE,
    C.PCPAA_OCCURRED,
    C.PRIVACY_ON,
    C.PCP_CHANGE_REASON,
    C.SITE_CODE,
    C.SEQ_SITE_ADDRESS_ID);
    commit_cnt := commit_cnt + 1;
    if (commit_cnt = 1000) then
    dbms_output.put_line('Committed updates for 1000 records.');
    commit;
    commit_cnt := 0;
    end if;
    end loop;
    commit;
    dbms_output.put_line('Total number of MEMBER_ELIG_HISTROY records inserted : ' ||
    rec_cnt);
    exception
    when others then
    raise_application_error(-20001,
    'An error was encountered - ' || sqlcode ||
    ' -error- ' || sqlerrm);
    end;

    user10305724 wrote:
    I have tried both the Case statement and Decode function in Select cursor, but both the things are not working. Please define what you mean by not working even if your computer screen is near the internet we can't see it.
    You should also look at the FAQ about how to ask a question
    SQL and PL/SQL FAQ
    Particularly *9) Formatting with {noformat}{noformat} Tags* and posting your version.
    know the reason why decode is not working, I heard some where Case statement do not work with 8i.
    Does this mean you are using 8i? Then scalar sub queries - selects within the select list, are not supported, along with CASE in PL/SQL.
    Select DECODE(1,
    * (Select 1
    from hsd_prov_contract R
    where R.seq_prov_id = PM.seq_prov_id
    and R.line_of_business = H.line_of_business
    and R.PCP_FLAG = 'Y'
    and R.participation_flag = 'P'
    and SYSDATE between R.EFFECTIVE_DATE AND
    NVL(R.TERM_DATE,
    TO_DATE('31-DEC-9999', 'DD-MON-YYYY')))*,
    'Y',
    'N') PAR_FLAG,
    >
    exception
    when others then
    raise_application_error(-20001,
    'An error was encountered - ' || sqlcode ||
    ' -error- ' || sqlerrm);
    http://tkyte.blogspot.com/2008/01/why-do-people-do-this.html                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Regarding case statement and decode function

    Hi Experts,
    I have question.....regarding case statement and decode statement....
    Can you please explain me that which one will be efficient,to place in insert statement...
    insert statement(
    (case when ........then
                         case when ....then
                         else
                         end)
      else
    end)
    or
    insert statement(
    case when.....then
    decode(....)
    else
    end)
    Can you people explain me which one is more efficient method?
    Thanks in advance.......

    The are major differences to talk about in case of CASE vs DECODE, but performance wise both are pretty much the same.
    Have a look at Tom's thread
    Ask Tom "better performance - case or decode"
    I would suggest to use CASE whenever possible. Don't worry about the performance part.

  • Difference in Customer account statement and collections

    Kindly clarify my doubts about customer account steatement and Collections. basically whats the difference in the two and what are the standard T_codes for these two.
    thanks
    anya

    HI ANYA
    T-code:  F.27
    Definition
    An account statement and open item list are two types of correspondence. They differ with respect to the information they contain and the way it is displayed. Unlike an open item list, an account statement displays all items in a specified period along with the balance carried forward. The open item list merely displays the open items for a certain key date.
    Type of correspondence that your company sends to its customers.
    The system includes a SAPscript form that you can use for customer account statements for the Philippines, form F140_CUS_STAT_P1. You can modify this template to meet your company's requirements. To do so, from the SAP Easy Access screen, choose Tools ® Form printout ® SAPscript ® Form.
    Structure
    The following information is displayed in the template for the customer account statement:
    Account balance at the start of the selected period
    Open item list as of the key date, including the total
    It is sorted by transactions with or without special G/L indicators, currency, posting date, and document number.
    Account balance at the end of the selected period
    Cleared item list between selected key dates
    It is sorted by currency, posting date, and cleared item document number.
    Withholding tax list between selected key dates
    It is sorted by withholding tax type, posting date, and document number.
    Aging in 0, 30, 60, 90, and 120 days
    Integration
    You can print the customer account statement.
    Note the following restrictions regarding customer statements:
    You cannot create statements for one-time customers.
    In the case of customer head offices with local branches, customer statements contain the address of the head office and not that of the branch.
    The account statement can be created for your customers or vendors is an extract from the customer account which enables him to check the items there or is merely for information purposes. The account statement displays the balance carried forward, all items in the chosen period and the closing balance of the account.
    The open items list is a special form of account statement. It is also sent to the customer for verification or information purposes. Occasionally, the list is also used as a reminder letter. The open items up to the chosen key date are displayed in this list.
    Both letters contain the document number or reference document number, the document date, the document type, the currency and the amount for every item as well as the balance of the open items at the key date. The account statement may also contain the clearing document number. If branches were included in the letter of a head office, their addresses are listed at the end of the letter.
    The layout of the letter is determined via a form. Depending on the form used, the letter may also contain, for example, the days in arrears per item at the key date or other information. The form must be defined and stored in the system.
    Printing Customer Account Statements
    Use
    Printing of customer account statements is based on correspondence type SAPP3. Correspondence type SAPP3 is preconfigured to run the RFKORDP3 print program, which is delivered with report variant SAP&SAPP3. You can modify SAP&SAPP3 to meet your company's needs. For example, you can change the aging period and the number of the aging column.
    To modify or define a new report variant for the RFKORDP3 print program, in Customizing for Financial Accounting, choose Financial Accounting Global Settings -- Correspondence -- Assign Programs for Correspondence Types. Select correspondence type SAPP3 and choose Environment -- Maintain variants.
    Procedure
    Printing Individual Account Statements:
    Request correspondence type SAPP3 . To do so, from the SAP Easy Access screen, choose Accounting -- Financial Accounting --Accounts Receivable --Account -- Correspondence --Request.
    Issue the correspondence request by choosing Accounting -- Financial Accounting -- Accounts Receivable -- Periodic processing -- Print correspondence -- As per request.
    Print the customer account statement from the spool file by choosing System -- Own spool requests. Select your spool request and choose print.
    COLLECTIONS
    Collection is the settlement of receivables due, in particular, bills of exchange.
    Collection Account
    Definition
    A G/L account that the system uses to record checks receivable that you have presented to banks for collection. It denotes that a check has been sent to a bank and is awaiting clearing
    Reward if useful to u
    narendran vajravelu

  • Messages are in to be delivered state and slows down the message processing

    Hello,
    Messages are in to be delivered state and slows down the message processing.
    this happenens in case of DB2 on some machine where the issue about high load on DB2  is caused by standard programming in SAP XI that executes a statement, where it uses the condition 'where 1<0' prio to the original  SQL statement configured in the channel configuration,
    Can you please help me out in solving this issue?
    Thanks,
    Soorya

    Status: TO_BE_DELIVERED
    Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
    TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
    Solution:
    This is done via the Messaging System receive servlet:
    http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>
    /<PROTOCOL>
    Only if this was executed successfully the Messaging System returns HTTP 200 to the Integration Server and the Status TO_BE_DELIVERED moves to DELIVERING
    1. Try logging into Sap GUI with two users: XIAPPLUSER & XIAFUSER
    to see if they are blocked
    2. We can check the messages:
    AdapterFramework
    com.sap.aii.adapterframework.serviceuser.language
    com.sap.aii.adapterframework.serviceuser.name = XIAFUSER
    com.sap.aii.adapterframework.serviceuser.pwd
    ApplicationSystem
    com.sap.aii.applicationsystem.serviceuser.language
    com.sap.aii.applicationsystem.serviceuser.name = XIAPPLUSER
    com.sap.aii.applicationsystem.serviceuser.pwd
    in the exchange profile to make sure the right passwords

  • N unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    some one can help me please
    i have no idea what i must to do.
    an unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    The Exception Handler gave all the info that you need. No need to print the whole stack trace.
    The exception handler says
    Exception Details: java.lang.IllegalArgumentException
    TABLE1.NAME
    Look in the session bean (assuming that is where your underlying rowset is). Look in the _init() method for statements similar to the following:
    personRowSet.setCommand("SELECT * FROM TRAVEL.PERSON");
    personRowSet.setTableName("PERSON");
    What do you have?

  • Automatically generate thumbnail image icons for all pix and vids...

    hello,
    i've searched around on the forums a bit about making the icons of my pics and vids actual thumbnail images made from the picture or the first frame of the video.
    a lot of responses are mistaking this question for "how do i put the window into icon view?" this infact is not the answer that i suspect a lot of windows converts are looking for.
    windows automatically makes such icons for all pix and vids if you put the window into icon view.
    i notice in at cmd-j or in the window preferences there is a checkbox for "show image preview" or something like that, but despite this being checked, my pix and vids do not show an image preview. i'm gathering that this information does not exist in the resource fork which mac uses to organize photos.
    is there any script or addition i can make to my system to automatically generate icons for pics and vids of all types? how to i suggest to mac that they add this functionality into the next release?
    thanks for your time,
    max

    The Finder will create icons "on the fly" for nearly all graphic type files (jpegs, tiff, psd, and so on) and display them in both icon view and column view, provided the appropriate view preference has been set. Movies will just have the generic movie icon in icon view, and have a "live" preview in column view, ie you can play them in preview mode. If you want to add a permanent thumbnail which will display in all views, and whether or not the preference has been set for a particular folder in Finder, you'll need to add a thumbnail to the file. There are lots of ways to do this for static pictures, even rather clumsy ways to do it for movies, but the easiest thing is to get CocoThumbX:
    http://www.stalkingwolf.net/software/cocothumbx/
    Drag and drop both static pictures and movie files onto the application and a permanent thumbnail is created. Indeed, it will create cool thumbs even for things like PDF and HTML files (code or rendered display). For movies to get a thumb, they must be in a format that QuickTime can read. It has a set of preferences for just how you want the thumb determined (eg random or at a certain time), and you can drop batches of movies or even folders to have it assign thumbs to multiple movies at the same time. It is a way cool piece of shareware.
    Francine
    Francine
    Schwieder

Maybe you are looking for

  • Itunes wont update on windows 7, ipod wont read on itunes

    Hi, itunes wont update on windows7, and after unsuccesfull updates (several) now my ipod wont read on itunes, it does show up on windows as a driver, have researched this a lot ,getting weary now..have deleted affliliated apple files etc , reinstalle

  • Acrobat X Pro No Longer Loads - Win7x64 - working up till c. 2 weeks ago

    Hi Not sure what's happened, but Acrobat X Pro no longer runs. Was installed as part of Web & Design Premium CS6, but it's no longer working. I'm normally pretty up to date with Adobe updates, and Adobe Application Manager is not showing any updates

  • Webutil, ora_ffi and source code

    Hi We use forms 6i, so, of course, we can't use webutil. What we currently do in client/server is use the get_file_name to allow the user to select a file from their drives and then that path and filename are stored in the database. Then, using some

  • Error # 2032 while opening SAP BI Query in Xcelsius using Direct connectivi

    Hi Experts, I have following set up - Xcelsius Enterprise 2008 SP3 SAP BI EHP1 - SP5 Operating System - XP SAP GUI 710. I have two systems - 1. Internal IDES and 2. Client system I open a Xcelsius and try to create a connection "SAP BW NetWeaver conn

  • How to enable disable result status of callable object in Guided Procedures

    hi, Currently we are using guided procedures to handle Life Event changes in ESS. Each process has sequential block with Respective actions and callable object assigned to each action. Most of the callable objects we are using are either standard Jav