Determine if the end date is after the start date

I have 2 date fields in a form.  When I click the button submit, that I'm trying to ensure that the end date is after the start date.

Here is the code I use:

var sDate = Date.parse (BackgroundInformation.Background.CheckingDateStart.rawValue);

var eDate = Date.parse (BackgroundInformation.Background.CheckingDateEnd.rawValue);

xfa.host.messageBox ("Start Date:"+ BackgroundInformation.Background.CheckingDateStart.rawValue ");

xfa.host.messageBox ("eDate: sDate" + eDate + ":" + sDate);

if(sDate > eDate)

{
valid = false;
fieldName += "Start Date is greater than the end Date."
}

The message box displays the start date 2014-10-30 but sDate is Nan.

I tried:

var eDate = new Date (BackgroundInformation.Background.CheckingDateEnd.rawValue);

sDate var = new Date (BackgroundInformation.Background.CheckingDateStart.rawValue);

and when I display sDate says 'Invalid Date '.

Any ideas?

It should work...

var sDate = BackgroundInformation.Background.CheckingDateStart.value.date.value;

var eDate = BackgroundInformation.Background.CheckingDateEnd.value.date.value;

xfa.host.messageBox ("eDate: sDate" + eDate + ":" + sDate);

if(sDate > eDate)

{
   valid = false;
   fieldName += "Start Date is greater than the end Date."
}

Tags: Adobe LiveCycle

Similar Questions

  • a notification is sent after the creation of the VM to a specific group does In addition, an end date can be specified in the creation of the VM at the time of its creation?

    (1) can a notification after the creation of the virtual machine to a person or a specific group?

    (2) during the creation of VM., can an end date being specified with regard to long the virtual machine would be required for?

    Hello

    There are two of them:

    (1) use the workflow of "notification" of the library-> just Mail and build a group (comma seperated or e-mail, Distributor)

    (2) you can program it or build a timer on hold until the date is reached

    Hope this helps

    Christian

  • How to make the default end date

    Hi friends,

    I need like

    Planted in the page (/ oracle/apps/by/self-service/absence/webui/AbsenceCreatePG)

    We have message choice field (type of absence). In this user can select type of leave-> hadj/sick/maternity leave.

    and

    We have categorized start date.  In this user will give start date.

    and

    We filed to end date end date must here be missed.

    After having these two values the end date should be missed, having the corresponding calculation. According to the type of the leave is

    If Hajj leave selected... .end date should be start date + 21 days

    If the sick leave selected... .end date should be the date of departure + 1 days

    If the selected maternity leave... .end date should be start date + 60 days

    For other types of date field leaves .end should be entrable only.

    How to get there. Help, please.

    Let me know for any clarification.

    Thank you

    Aravinda.

    I FOUND THE SOLUTION

    If a need for this type of req., try this

    ' public void processRequest (OAPageContext oapagecontext, OAWebBean oawebbean)

    {

    super.processRequest (oapagecontext, oawebbean);

    OAMessageDateFieldBean oamessagedatefieldbean = (OAMessageDateFieldBean) oawebbean.findIndexedChildRecursive ("HrAbsenceStartDate");

    oamessagedatefieldbean.getHelper () .setFireActionForSubmit (oamessagedatefieldbean, "HrAbsenceStartDate", null, null, true, true);

    }

    ' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)

    {

    super.processFormRequest (oapagecontext, oawebbean);

    OAApplicationModule am = oapagecontext.getApplicationModule (oawebbean);

    OAViewObject vo = (OAViewObject) am.findViewObject ("AbsenceVO");

    String sHrAbsenceType = oapagecontext.getParameter("HrAbsenceType").toString ();

    OAException message = new OAException ("HrAbsenceType is" + sHrAbsenceType, OAException.INFORMATION);

    oapagecontext.putDialogMessage (message);

    String s = oapagecontext.getParameter ("event");

    If ("HrAbsenceStartDate". Equals (oapagecontext. GetParameter (EVENT_PARAM)).  "absenceTypeChange".equals (s)) / / ' | HrAbsenceType".equals (oapagecontext.getParameter (EVENT_PARAM)))

    {

    If (oapagecontext. GetParameter ("HrAbsenceType")! null = &! » ». Equals (oapagecontext. GetParameter ("HrAbsenceType")))

    {

    If (sHrAbsenceType.Equals("61") | sHrAbsenceType.equals("62") | sHrAbsenceType.equals("65") | sHrAbsenceType.equals("1070") | sHrAbsenceType.equals("66") | sHrAbsenceType.equals("67") | sHrAbsenceType.equals("2069"))

    {

    vo.getCurrentRow (.setAttribute("EndDate",""));

    }

    on the other

    {

    If (oapagecontext.getParameter ("HrAbsenceStartDate")! = null &!) » ». Equals (oapagecontext. GetParameter ("HrAbsenceStartDate")))

    {

    days int = 0;

    If (sHrAbsenceType! = null & sHrAbsenceType.equals("63"))

    {

    days = 20;

    }

    ElseIf (sHrAbsenceType! = null & sHrAbsenceType.equals("1069"))

    {

    days = 0;

    }

    ElseIf (sHrAbsenceType! = null & sHrAbsenceType.equals("64"))

    {

    days = 55;

    }

    String sStartDate = oapagecontext.getParameter("HrAbsenceStartDate").toString ();

    If (null! = sStartDate &!) "". Equals (sStartDate)) / / & oapagecontext! = null)

    {

    SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy");

    Calendar c = Calendar.GetInstance ();

    String finDate = null;

    Date sdate = new Date();

    Date udate = new Date();

    Try

    {

    sdate = sdf.parse (sStartDate);

    java.util.Date utilDate = (java.util.Date) sdate;

    java.sql.Date sqlDate = new java.sql.Date (utilDate.getTime ());

    oracle.jbo.domain.Date jboDate = new oracle.jbo.domain.Date (sqlDate);

    jboDate.addJulianDays(days,0);

    vo.getCurrentRow () .setAttribute ("EndDate", jboDate);

    }

    catch (ParseException exception) e

    {

    throw new OAException ("xxxxxx... » + e) ;

    }

    }

    }

    }

    }

    }

    }

    }

  • The end or the end Date with a user role

    Hi Experts,

    Is there a way I can assign roles to users of the database with expiration date or end date with roles.

    My requirement is to assign a role to the users and the role should be deleted/removed after one week. Same user should continue to work with other assigned roles.

    My database is 11g.

    Thanks in advance,

    David

    Hi Santosh,

    such a device does not exist, so you will need to do this manually or to schedule a task to do it programmatically.

    Greetings,

    Damage ten Monkshood

  • Search based on the start date and end date

    Hello

    I added two fields "Start Date" and "End Date" on a search page.
    I did the VO extension also.
    Now, I have to implement the logic of the search to get all records created between' start' and 'End Date' after pressing the "GO" button on this page.

    Can someone please provide advice to extend the controller.

    Thanks in advance.


    Gaurav.

    I think that the path would be

    Import oracle.apps.per.common.webui.PerTransactionTopCOImpl;

    Thank you
    -Anil
    http://oracleanil.blogspot.com/

  • Asterisk on the end dates - unconstrained assigned

    I have 2 subprojects in P6: engineering and Construction. I got the update in English and downloaded using check-in option.
    Two problems occurred:
    (1) certain activities have end dates displayed with asterisks, even if no constraint not assigned, and
    (2) Float Total at least one activity in English is not calculated correctly: activity in English is open, TF = 10 days, what is wrong (should be: end of Eng + Construction = 100 days).

    Thanks to you all.

    Kind regards

    PNN

    Hi, PNN,.

    Control external in the beginning start first, then finish later than external. Here are the constraints created by P6 when subprojects are imported separately. This feature is intended to preserve the calculations for dates between networks. In your case, because the way you work (separate files) after that you receive al subprojects, you must re-create the relationships between them, and then remove the external dates. To remove external dates, display these columns (section Dates) on the layout. Then click the cell to change or remove it by using the BACKSPACE key.

    I suggest you to encode activities between projects and record any changes in ms Excel (gal changes, reason, etc.). Another suggestion is that a single date of data for all subprojects if possible because of the impact on the calculations for dates at the earliest of several dates. Finally, if you use 6.2 or later, it is also possible to calculate float Total based on the last end of all subprojects open dates.

    I hope this helps.

    Hugo

  • IOM disables the user on the end date

    Hello

    We have inherited the IOM system therefore needs to check the default IOM. When we enter the current date as the end date, IOM automatically disables the user. This custom behavior or it's the default?

    I ask this question because the new requirement is that the user must be turned off at 18:00 the end day immediately after the reconciliations.


    Thanks in advance

    It is on the behavior of the box.

    Thank you
    Suren

  • Windows startup is not full, and then after a few seconds that the starting ends.

    windows startup is not full, and then after a few seconds that the starting ends.

    Original title: boot of win7

    Yes, it's the way it happens. All the other stuff are load - computer office, drivers, anti-virus, etc.
    It takes longer is that you have a lot of programs that load with Windows.
    and is faster if you have Windows on a SSD instead of a disk hard standard tray.
    Win7 also much faster than XP load, anything.

  • Filter to display the end date in the next 30 days

    Hello

    In OBIEE 11 g I have an attribute for the date of end of contract, how can I filter to show only the contract which will end only in the next 30 days - I need a filter to have like SQL

    Assuming that your LC End Date is indexed, you can get much better performance if you create a filter LC end date and place it between two Expressions, SQL: current_date AND TIMESTAMPADD (SQL_TSI_DAY, + 30, current_date)

  • Breaking a year in coming weeks of beginning and end Dates (parameters) and first and last day of the month

    Hello people:

    I have currently a query that picks up all the weeks between a date range where my week starts on Thursday and ends on Wednesday. The following query works fine except that I need the week of beginning and end, from beginning and end Dates of months and the beginning and the Dates of end of the values of the settings, I'm passing. In this case, I chose January 1, 2013 to 31 December 2013.

    Any help or pointers would be great!

    Thank you!

    Problem: I am picking up days of December 2012 as the first week began on December 27, 2012. In addition, in December, I'm pretty much lost last week as well (26 December - 31 December).

    The request in hand:

    SELECT first_thursday + (7 * (LEVEL - 1))   AS week_start_date,
                     first_thursday + (7 * LEVEL) - 1    AS  week_end_date
    FROM
    (
      SELECT TRUNC(p_from_date + 4, 'IW') - 4   AS first_thursday, -- Week should start the pre ceeding THURSDAY based on the Start Date
                      TRUNC( p_to_date + 4,  'IW') - 5     AS last_wednesday
      FROM
      (
        SELECT to_date('01-JAN-2013') AS p_from_date,
                        NVL(to_date('31-DEC-2013'), SYSDATE) AS p_to_date
        FROM     dual
      ) parms
    ) end_points
    CONNECT BY LEVEL <= ( last_wednesday + 1 - first_thursday)/7;
    

    Currently, this is the result I get (I'm only including the months of January and December here).

    Week_Start_Date     Week_End_Date
    27-DEC-12                02-JAN-13
    03-JAN-13                 09-JAN-13
    10-JAN-13                 16-JAN-13
    17-JAN-13                 23-JAN-13
    24-JAN-13                 30-JAN-13
    31-JAN-13                 06-FEB-13
    

    December:

    28-NOV-13               04-DEC-13
    05-DEC-13              11-DEC-13
    12-DEC-13              18-DEC-13
    19-DEC-13              25-DEC-13
    

    What I would really like is based on start and end Dates, as well as the first and the last day of the month is similarly try nicely. I have provided and then gently break at the end of the month:

    January:

    01-JAN-13              02-JAN-13
    03-JAN-13              09-JAN-13
    10-JAN-13             16-JAN-13
    17-JAN-13             23-JAN-13
    24-JAN-13             30-JAN-13
    31-JAN-13             31-JAN-13
    

    February:

    01-FEB-13    06-FEB-13
    07-FEB-13    13-FEB-13
    14-FEB-13    20-FEB-13
    21-FEB-13    27-FEB-13
    28-FEB-13    28-FEB-13
    

    November:

    31-OCT-13    06-NOV-13
    07-NOV-13    13-NOV-13
    14-NOV-13    20-NOV-13
    21-NOV-13    27-NOV-13
    28-NOV-13    04-DEC-13
    

    December:

    01-DEC-13           04-DEC-13
    05-DEC-13           11-DEC-13
    12-DEC-13          18-DEC-13
    19-DEC-13          25-DEC-13
    26-DEC-13          31-DEC-13
    

    Hello

    Roxyrollers wrote:

    Hello people:

    I have currently a query that picks up all the weeks between a date range where my week starts on Thursday and ends on Wednesday. The following query works fine except that I need the week of beginning and end, from beginning and end Dates of months and the beginning and the Dates of end of the values of the settings, I'm passing. In this case, I chose January 1, 2013 to 31 December 2013.

    Any help or pointers would be great!

    Thank you!

    Problem: I am picking up days of December 2012 as the first week began on December 27, 2012. In addition, in December, I'm pretty much lost last week as well (26 December - 31 December).

    The request in hand:

    1. First_thursday SELECT + (7 * (LEVEL - 1)) AS week_start_date,
    2. first_thursday + (7 * LEVEL)-1 AS week_end_date
    3. Of
    4. (
    5. SELECT TRUNC (p_from_date + 4, 'IW') - 4 AS first_thursday,-week should start to perform the pre-mounted THURSDAY based on the Start Date
    6. TRUNC (p_to_date + 4, 'IW') - 5 AS last_wednesday
    7. Of
    8. (
    9. SELECT to_date('01-JAN-2013') AS p_from_date,
    10. NVL (to_date('31-Dec-2013'), SYSDATE) AS p_to_date
    11. OF the double
    12. ) parms
    13. ) end_points
    14. CONNECT BY LEVEL<= (="" last_wednesday="" +="" 1="" -="">

    Currently, this is the result I get (I'm only including the months of January and December here).

    1. Week_Start_Date Week_End_Date
    2. DECEMBER 27, 12 2 JANUARY 13
    3. JANUARY 3, 13 JANUARY 9, 13
    4. 10 JANUARY 13 JANUARY 16, 13
    5. 17 JANUARY 13 23 JANUARY 13
    6. 24 JANUARY 13 30 JANUARY 13
    7. 31 JANUARY 13 FEBRUARY 6, 13

    December:

    1. NOVEMBER 28, 13 4 DECEMBER 13
    2. 5 DECEMBER 13 DECEMBER 11, 13
    3. 12 DECEMBER 13 18 DECEMBER 13
    4. 19 DECEMBER 13 DECEMBER 25, 13

    What I would really like is based on start and end Dates, as well as the first and the last day of the month is similarly try nicely. I have provided and then gently break at the end of the month:

    January:

    1. JANUARY 1, 13 2 JANUARY 13
    2. JANUARY 3, 13 JANUARY 9, 13
    3. 10 JANUARY 13 JANUARY 16, 13
    4. 17 JANUARY 13 23 JANUARY 13
    5. 24 JANUARY 13 30 JANUARY 13
    6. 31 JANUARY 13 JANUARY 31, 13

    February:

    1. 1ST FEBRUARY 13 FEBRUARY 6, 13
    2. 7 FEBRUARY 13 FEBRUARY 13, 13
    3. 14 FEBRUARY 13 FEBRUARY 20, 13
    4. 21 FEBRUARY 13 FEBRUARY 27, 13
    5. 28 FEBRUARY 13 FEBRUARY 28, 13

    November:

    1. 31 OCTOBER 13 NOVEMBER 6, 13
    2. 7 NOVEMBER 13 NOVEMBER 13, 13
    3. 14 NOVEMBER 13 NOVEMBER 20, 13
    4. 21 NOVEMBER 13 NOVEMBER 27, 13
    5. NOVEMBER 28, 13 4 DECEMBER 13

    December:

    1. 1ST DECEMBER 13 DECEMBER 4, 13
    2. 5 DECEMBER 13 DECEMBER 11, 13
    3. 12 DECEMBER 13 18 DECEMBER 13
    4. 19 DECEMBER 13 DECEMBER 25, 13
    5. 26 DECEMBER 13 DECEMBER 31, 13

    Why the "weeks" in November, have all 7 days, while the "weeks" in the first or the last week in the other month usually have less?  (For example, February 28 is a 'week' alone.)

    The following works for the other months:

    WITH all_days AS

    (

    SELECT DATE "2013-01-01' + LEVEL - AS a_date 1

    OF the double

    CONNECT BY LEVEL<=>

    )

    SELECT DISTINCT

    More GRAND (TRUNC (a_date + 4, 'IW') - 4)

    , TRUNC (a_date, 'MONTH')

    ) AS week_begin

    , The LEAST (TRUNC (a_date + 4, 'IW') + 2

    TRUNC (LAST_DAY (a_date))

    ), Week_end

    Of all_days

    ORDER BY week_begin

    ;

    Output:

    WEEK_BEGIN WEEK_END

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

    January 1, 2013 January 2, 2013

    January 3, 2013 January 9, 2013

    January 10, 2013 January 16, 2013

    January 17, 2013 January 23, 2013

    January 24, 2013 January 30, 2013

    January 31, 2013 January 31, 2013

    February 1, 2013 February 6, 2013

    February 7, 2013 February 13, 2013

    February 14, 2013 February 20, 2013

    February 21, 2013 February 27, 2013

    February 28, 2013 February 28, 2013

    ...

    November 1, 2013 November 6, 2013

    November 7, 2013 November 13, 2013

    November 14, 2013 November 20, 2013

    November 21, 2013 November 27, 2013

    November 28, 2013 November 30, 2013

    December 1, 2013 December 4, 2013

    December 5, 2013 December 11, 2013

    December 12, 2013 December 18, 2013

    December 19, 2013 December 25, 2013

    26 December 2013 31 December 2013

  • Primavera P6 API - start and end dates of the activity in the secondary reference scenario

    How to seek early and dates of activity in the secondary database or tertiary reference end? There are areas of activities and methods provided in planning extraction and primary base line project (active class getBaseline1StartDate(), getBaseline1FinishDate) but can't find any secondary data or tertiary basis even if we show them in details the activity in the Primavera. I use Primavera integration API version 8.2.

    Use the BaselineProjectHelper class to get a list of all the base lines for a given project.  Go through the list looking for basic lines you are interested in.

    Once you have basic interest projects, pull a list of ongoing project activities.

    Browse the list of activities tearing you start and end dates.

    Call the method on each of you loadBaselineActivity of reference projects for the departure of the referenced activity and end dates.

    For performance, seek assistance loadBaselineActivities to reduce database queries.

    V/r,

    Gene

  • Simple validation on the start and end dates

    Apex 4.2

    I'm trying to create a script of validation on my start date and end date. A simple validation indicating the start date must be less than the end date. Because apex deals my fields of date as a string, using an expression of pl/sql as P101_START_DATE < = P101_END_DATE does not work. This may seem like an easy question, but I'm unable to create this simple validation. Any help would be greatly appreciated. Thanks in advance!

    Take a look how the TO_DATE plsql function works... ie... to_date(:P101_START_DATE,'mm-DD-yyyy')<=to_date(:P101_END_DATE,'mm-dd-yyyy'),>

  • vmplayer - 5.0.0 ends immediately after the start

    Hello

    I'm under fedora 17 with 3.5.2 - 3.fc17.x86_64 kernel and VMware-Workstation-full-version 9.0.0 - 812388.x86_64.bundle.
    vmplayer - 5.0.0 ends immediately after the start.

    vmplayer - 5.0.0 runs only with kernel - 3.4.0 - 1.fc17.x 86_6 4

    The content of the vmware-modconfig - 5653.log file looks as follows:

    2012-08-23 T 20: 00:54.506 + 01:00 | vthread-3 | I120: Log for VMware Workstation pid = 5653 version = version 9.0.0 Build = build-812388 option = output
    2012-08-23 T 20: 00:54.506 + 01:00 | vthread-3 | I120: The process is 64-bit.
    2012-08-23 T 20: 00:54.506 + 01:00 | vthread-3 | I120: Host codepage = UTF-8 encoding = UTF-8
    2012-08-23 T 20: 00:54.506 + 01:00 | vthread-3 | I120: Host is the version of Fedora Linux 3.5.2 - 3.fc17.x86_64 17 (Beefy Miracle)
    2012-08-23 T 20: 00:54.505 + 01:00 | vthread-3 | I120: Msg_Reset:
    2012-08-23 T 20: 00:54.505 + 01:00 | vthread-3 | I120: [msg.dictionary.load.openFailed] cannot open the file ' / usr/lib/vmware/settings ': Datei oder Verzeichnis nicht found.
    2012-08-23 T 20: 00:54.505 + 01:00 | vthread-3 | I120: —————————————-
    2012-08-23 T 20: 00:54.505 + 01:00 | vthread-3 | I120: Preferences file of the option PREFS not found in/usr/lib/vmware/settings. Using the default values.
    2012-08-23 T 20: 00:54.506 + 01:00 | vthread-3 | I120: Msg_Reset:
    2012-08-23 T 20: 00:54.506 + 01:00 | vthread-3 | I120: [msg.dictionary.load.openFailed] cannot open the file ' / home/martin/.vmware/config ': Datei oder Verzeichnis nicht found.
    2012-08-23 T 20: 00:54.506 + 01:00 | vthread-3 | I120: —————————————-
    2012-08-23 T 20: 00:54.506 + 01:00 | vthread-3 | I120: Optional preferences PREFS not found in home/martin/.vmware/config file. Using the default values.
    2012-08-23 T 20: 00:54.506 + 01:00 | vthread-3 | W110: Connecting to /tmp/vmware-martin/vmware-modconfig-5653.log
    2012-08-23 T 20: 00:54.511 + 01:00 | vthread-3 | I120: Reading in info for the vmmon module.
    2012-08-23 T 20: 00:54.511 + 01:00 | vthread-3 | I120: Reading in info for module vmnet.
    2012-08-23 T 20: 00:54.511 + 01:00 | vthread-3 | I120: Reading in info for the vmblock module.
    2012-08-23 T 20: 00:54.511 + 01:00 | vthread-3 | I120: Reading in info for vmci module.
    2012-08-23 T 20: 00:54.511 + 01:00 | vthread-3 | I120: Reading in info for the vsock module.
    2012-08-23 T 20: 00:54.511 + 01:00 | vthread-3 | I120: Definition of vsock to depend on vmci.
    2012-08-23 T 20: 00:54.511 + 01:00 | vthread-3 | I120: Created new pathsHash.
    2012-08-23 T 20: 00:54.511 + 01:00 | vthread-3 | I120: Modinfo calling over 'vmmon.
    2012-08-23 T 20: 00:54.513 + 01:00 | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.
    2012-08-23 T 20: 00:54.513 + 01:00 | vthread-3 | I120: Modinfo invoking on "vmnet".
    2012-08-23 T 20: 00:54.516 + 01:00 | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.
    2012-08-23 T 20: 00:54.516 + 01:00 | vthread-3 | I120: Modinfo invoking on 'vmblock '.
    2012-08-23 T 20: 00:54.519 + 01:00 | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.
    2012-08-23 T 20: 00:54.519 + 01:00 | vthread-3 | I120: Modinfo calling over 'vmci.
    2012-08-23 T 20: 00:54.521 + 01:00 | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.
    2012-08-23 T 20: 00:54.521 + 01:00 | vthread-3 | I120: Modinfo calling over 'vsock.
    2012-08-23 T 20: 00:54.523 + 01:00 | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.

    The content of the file looks like kernel.log as follows:

    August 23 at 20:01:01 localhost kernel: [710.974813] general protection fault: 0000 [#5] SMP
    August 23 at 20:01:01 localhost kernel: [710.974818] CPU 1
    August 23 at 20:01:01 localhost kernel: [710.974819] Modules related to the: stv0299 ves1x93 dvb_ttpci ttpci_eeprom saa7146_vv saa7146 dvb_core videobuf_dma_sg videobuf_core v4l2_common videodev media exactly bluetooth rfkill vmnet (O) (O) vsock vmci (O) (O) vmmon fuse snd_hda_codec_hdmi ppdev coretemp lpc_ich mfd_core nvidia (IN.) snd_rme96 snd_hda_codec_analog serio_raw parport_pc parport skge sky2 nfsd lockd sunrpc kvm_intel i2c_ auth_rpcgss nfs_acl i2c_i801 shpchp core KVM snd_hda_intel snd_hda_codec snd_hwdep snd_pcm asus_atk0110 uinput microcode snd_page_alloc snd_timer snd soundcore binfmt_misc firewire_ohci firewire_core crc_itu_t edac_core i82975x_edac [last unloaded: scsi_wait_scan]
    August 23 at 20:01:01 localhost kernel: [710.974851]
    August 23 at 20:01:01 localhost kernel: [710.974853] Pid: 6227, comm: vmware-vmx Tainted: manufacturer of P D O 3.5.2 - 3.fc17.x86_64 #1 rod system product name/P5WDG2 WS PRO
    August 23 at 20:01:01 localhost kernel: [710.974855] RIP: 0010: [] [] HostIF_SafeRDMSR + 0xf/0 × 30 [vmmon]
    August 23 at 20:01:01 localhost kernel: [710.974863] RSP: 0018:ffff88016e7e5b88 EFLAGS: 00010246
    August 23 at 20:01:01 localhost kernel: [710.974864] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 000000000000048b
    August 23 at 20:01:01 localhost kernel: [710.974866] RDX: 0000000000000000 RSI: ffff88016e7f2590 RDI: 000000000000048b
    August 23 at 20:01:01 localhost kernel: [710.974867] RTB: ffff88016e7e5b88 R08: R09 ffff8801bfc96610: ffffffffa0d46672
    August 23 at 20:01:01 localhost kernel: [710.974868] R10: 0000000000000038 R11: 0000000000003246 R12: 0000000000000000
    August 23 at 20:01:01 localhost kernel: [710.974869] R13: ffff88016e7f2580 R14: ffff88016e7f2580 R15: 00007fffdfd66850
    August 23 at 20:01:01 localhost kernel: [710.974871] FS: 00007ff5cd372740 (0000) GS:ffff8801bfc80000 (0000) knlGS:0000000000000000
    August 23 at 20:01:01 localhost kernel: [710.974872] CS: 0010 DS: 0000: 0000 CR0: 0000000080050033
    August 23 at 20:01:01 localhost kernel: [710.974874] CR2: 000000000099ca 10: 00000001446 d 5000 CR4 CR3: 00000000000007e0
    August 23 at 20:01:01 localhost kernel: [710.974875] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    August 23 at 20:01:01 localhost kernel: [710.974876] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    August 23 at 20:01:01 localhost kernel: [710.974878] vmware-vmx process (pid: 6227, threadinfo ffff88016e7e4000, task ffff8801b2699710)
    August 23 at 20:01:01 localhost kernel: stack [710.974879]:
    August 23 at 20:01:01 localhost kernel: [710.974880] ffff88016e7e5bb8 ffffffffa0d48e23 ffffffffa0d48da0 ffff88016e7e5be8
    August 23 at 20:01:01 localhost kernel: [710.974883] ffff88016e7f2580 ffff88016e7e5bd8 0000000000000000 ffffffffa0d47780
    August 23 at 20:01:01 localhost kernel: [710.974885] ffff88016e7f2580 00000000fffffff4 ffff88016e7e5c08 ffffffffa0d4ac1c
    August 23 at 20:01:01 localhost kernel: [710.974888] Scout:
    August 23 at 20:01:01 localhost kernel: [710.974892] [Vmx86GetMSR] + 0 × 83/0xd0 [vmmon]
    August 23 at 20:01:01 localhost kernel: [710.974896] []? Vmx86GetUnavailPerfCtrsOnCPU + 0 × 0 × 150/150 [vmmon]
    August 23 at 20:01:01 localhost kernel: [710.974900] [HostIF_CallOnEachCPU] + 0 × 0 × 20/40 [vmmon]
    August 23 at 20:01:01 localhost kernel: [710.974904] [] Vmx86_GetAllMSRs + 0x2c/0 × 50 [vmmon]
    August 23 at 20:01:01 localhost kernel: [710.974907] [] LinuxDriver_Ioctl + 0x70f/0xd40 [vmmon]
    August 23 at 20:01:01 localhost kernel: [710.974911] []? unlock_page + 0 × 0 × 31/50
    August 23 at 20:01:01 localhost kernel: [710.974914] []? __do_fault + 0x3f9/0 × 560
    August 23 at 20:01:01 localhost kernel: [710.974916] []? handle_pte_fault + 0 × 95/0xb10
    August 23 at 20:01:01 localhost kernel: [710.974920] []? ext4_file_write + 0xbf/0 × 260
    August 23 at 20:01:01 localhost kernel: [710.974922] []? free_pages_and_swap_cache + 0xad/0xd0
    August 23 at 20:01:01 localhost kernel: [710.974924] []? handle_mm_fault + 0 × 259/0 × 320
    August 23 at 20:01:01 localhost kernel: [710.974927] []? do_page_fault + 0x1bc/0x4b0
    August 23 at 20:01:01 localhost kernel: [710.974930] [LinuxDriver_UnlockedIoctl] + 0 × 0 × 18/20 [vmmon]
    August 23 at 20:01:01 localhost kernel: [710.974933] [do_vfs_ioctl] + 0 99/0 × 580 ×
    August 23 at 20:01:01 localhost kernel: [710.974935] [sys_ioctl] + 0 × 99/0xa0
    August 23 at 20:01:01 localhost kernel: [710.974937] [system_call_fastpath] + 0 × 16/0x1b
    August 23 at 20:01:01 localhost kernel: [710.974938] Code: 83 c4 e8 a6 01 84 3rd e0 44 89 e0 48 3 b 43 08 and 72 e9 48 89 df e8 33 b4 42 e0 eb 9th 90 55 48 89 e5 66 66 66 66 90 31 c0 89 89 32 31 f9 c2 ff 41 89 c0 48 e2 20 89 f8 4 c 09 48 89 16 5 c2 c1 d c3
    August 23 at 20:01:01 localhost kernel: [710.974962] RIP [] HostIF_SafeRDMSR + 0xf/0 × 30 [vmmon]
    August 23 at 20:01:01 localhost kernel: [710.974966] RSP
    August 23 at 20:01:01 localhost kernel: [710.974968] - [end trace 04aa45b3d8c2dbda].

    VMware kernel modules compiles well

    [root@fc17 tmp]# vmware-modconfig --console --install-all
    Stopping vmware (via systemctl):                           [  OK  ]
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/modconfig-C4tvy7/vmmon-only'
    /bin/make -C /lib/modules/3.5.2-3.fc17.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/linux/hostif.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/linux/driver.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/linux/driverLog.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/common/apic.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/common/memtrack.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/common/hashFunc.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/common/vmx86.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/common/cpuid.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/common/task.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/common/comport.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/common/phystrack.o
      CC [M]  /tmp/modconfig-C4tvy7/vmmon-only/vmcore/moduleloop.o
      LD [M]  /tmp/modconfig-C4tvy7/vmmon-only/vmmon.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/modconfig-C4tvy7/vmmon-only/vmmon.mod.o
      LD [M]  /tmp/modconfig-C4tvy7/vmmon-only/vmmon.ko
    make[1]: Leaving directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
    /bin/make -C $PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/modconfig-C4tvy7/vmmon-only'
    make[1]: »postbuild« ist bereits aktualisiert.
    make[1]: Leaving directory `/tmp/modconfig-C4tvy7/vmmon-only'
    cp -f vmmon.ko ./../vmmon.o
    make: Leaving directory `/tmp/modconfig-C4tvy7/vmmon-only'
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/modconfig-C4tvy7/vmnet-only'
    /bin/make -C /lib/modules/3.5.2-3.fc17.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/driver.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/hub.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/userif.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/netif.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/bridge.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/filter.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/procfs.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/smac_compat.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/smac.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/vnetEvent.o
      CC [M]  /tmp/modconfig-C4tvy7/vmnet-only/vnetUserListener.o
      LD [M]  /tmp/modconfig-C4tvy7/vmnet-only/vmnet.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/modconfig-C4tvy7/vmnet-only/vmnet.mod.o
      LD [M]  /tmp/modconfig-C4tvy7/vmnet-only/vmnet.ko
    make[1]: Leaving directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
    /bin/make -C $PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/modconfig-C4tvy7/vmnet-only'
    make[1]: »postbuild« ist bereits aktualisiert.
    make[1]: Leaving directory `/tmp/modconfig-C4tvy7/vmnet-only'
    cp -f vmnet.ko ./../vmnet.o
    make: Leaving directory `/tmp/modconfig-C4tvy7/vmnet-only'
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/modconfig-C4tvy7/vmblock-only'
    /bin/make -C /lib/modules/3.5.2-3.fc17.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
      CC [M]  /tmp/modconfig-C4tvy7/vmblock-only/linux/filesystem.o
      CC [M]  /tmp/modconfig-C4tvy7/vmblock-only/linux/file.o
      CC [M]  /tmp/modconfig-C4tvy7/vmblock-only/linux/block.o
      CC [M]  /tmp/modconfig-C4tvy7/vmblock-only/linux/module.o
      CC [M]  /tmp/modconfig-C4tvy7/vmblock-only/linux/super.o
      CC [M]  /tmp/modconfig-C4tvy7/vmblock-only/linux/control.o
      CC [M]  /tmp/modconfig-C4tvy7/vmblock-only/linux/stubs.o
      CC [M]  /tmp/modconfig-C4tvy7/vmblock-only/linux/inode.o
      CC [M]  /tmp/modconfig-C4tvy7/vmblock-only/linux/dentry.o
      LD [M]  /tmp/modconfig-C4tvy7/vmblock-only/vmblock.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/modconfig-C4tvy7/vmblock-only/vmblock.mod.o
      LD [M]  /tmp/modconfig-C4tvy7/vmblock-only/vmblock.ko
    make[1]: Leaving directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
    /bin/make -C $PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/modconfig-C4tvy7/vmblock-only'
    make[1]: »postbuild« ist bereits aktualisiert.
    make[1]: Leaving directory `/tmp/modconfig-C4tvy7/vmblock-only'
    cp -f vmblock.ko ./../vmblock.o
    make: Leaving directory `/tmp/modconfig-C4tvy7/vmblock-only'
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/modconfig-C4tvy7/vmci-only'
    /bin/make -C /lib/modules/3.5.2-3.fc17.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/linux/driver.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/linux/vmciKernelIf.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciDriver.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciResource.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciRoute.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciContext.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciDatagram.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciHashtable.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciEvent.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciQueuePair.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciQPair.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/common/vmciDoorbell.o
      CC [M]  /tmp/modconfig-C4tvy7/vmci-only/driverLog.o
      LD [M]  /tmp/modconfig-C4tvy7/vmci-only/vmci.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/modconfig-C4tvy7/vmci-only/vmci.mod.o
      LD [M]  /tmp/modconfig-C4tvy7/vmci-only/vmci.ko
    make[1]: Leaving directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
    /bin/make -C $PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/modconfig-C4tvy7/vmci-only'
    make[1]: »postbuild« ist bereits aktualisiert.
    make[1]: Leaving directory `/tmp/modconfig-C4tvy7/vmci-only'
    cp -f vmci.ko ./../vmci.o
    make: Leaving directory `/tmp/modconfig-C4tvy7/vmci-only'
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/modconfig-C4tvy7/vsock-only'
    /bin/make -C /lib/modules/3.5.2-3.fc17.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
      CC [M]  /tmp/modconfig-C4tvy7/vsock-only/linux/af_vsock.o
      CC [M]  /tmp/modconfig-C4tvy7/vsock-only/linux/vsockAddr.o
      CC [M]  /tmp/modconfig-C4tvy7/vsock-only/linux/notifyQState.o
      CC [M]  /tmp/modconfig-C4tvy7/vsock-only/linux/util.o
      CC [M]  /tmp/modconfig-C4tvy7/vsock-only/linux/stats.o
      CC [M]  /tmp/modconfig-C4tvy7/vsock-only/linux/notify.o
      CC [M]  /tmp/modconfig-C4tvy7/vsock-only/driverLog.o
      LD [M]  /tmp/modconfig-C4tvy7/vsock-only/vsock.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/modconfig-C4tvy7/vsock-only/vsock.mod.o
      LD [M]  /tmp/modconfig-C4tvy7/vsock-only/vsock.ko
    make[1]: Leaving directory `/usr/src/kernels/3.5.2-3.fc17.x86_64'
    /bin/make -C $PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/modconfig-C4tvy7/vsock-only'
    make[1]: »postbuild« ist bereits aktualisiert.
    make[1]: Leaving directory `/tmp/modconfig-C4tvy7/vsock-only'
    cp -f vsock.ko ./../vsock.o
    make: Leaving directory `/tmp/modconfig-C4tvy7/vsock-only'
    Starting vmware (via systemctl):                           [  OK  ]

    The two files "/ usr/lib/vmware/settings ' and ' / home/martin/vmware/config ' do not exist.
    Now the question is, how do I create these files or what files should be removed from the old settings. ?

    Why are there vmplayer immediately after startup. ?

    I had what I think it's the same problem on 9, Fedora-17 64-bit workstation.

    I used the patch vmmon here:

    http://communities.VMware.com/thread/400616?start=15&TSTART=0

    and modifed the patcher created by Artem S. Tashkinov to apply it.

    Solved it for me, I hope for you, too.

  • Stars marks the beginning or the end date without affecting a primary constraint

    I'm working on 4 project consists of some 225 thousands of activities on p6v7 Primavera. All four EPC and supply projects are interconnected. I get the mark of the Star (*) at the start or end date without affecting any primary obligation. These activities are logically follow constraints also gives no relevant dates and negative float. I cannot import excel sheet too make any changes to my projects, it shows memory. Can someone confirm how many activities takes in charge the Primavera? There is no filter at the level of the WBS code, I need to put the filter at the level of the WBS code so that I could see that the activities that fall within these WBS. The UDF, I defined at the level of WBS code also not shown to global, how WBS UDF activity? I want to glue the print screen on this forum but impossible...

    Hello

    In P6 client, there is no filter available for view of WBS, so you play with the filters of activity only according to your needs...

    And change overall WBS UDF feature isn't available in client P6... If you can not any calculation or changes...

    What are all the limitations of primavera P6 customer.

    See you soon...

  • Calculate the start and end date in Connect By - during Hirerchy changes

    / * Formatted 05/20/2013 09:53 (PS5 v5.115.810.9015) * /.



    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    Hello, can you please help me or guide me in the calculation of the dates of beginning and end to the underside of logic

    I want to calculate the Hirerchy Manager to the Agent.
    Then under query works fine and its giving me the expected results
    But when there is a change in the Hirerchy Manager or manager gets promoted
    Then I need to calculate the start date and end date.
    CREATE TABLE PERSON_DTL
    (
      SID                 VARCHAR2(10 BYTE),
      EMP_MGRS_ID         VARCHAR2(10 BYTE),
      START_EFFECTIVE_DT  DATE,
      END_EFFECTIVE_DT    DATE
    );
    
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M100', 'M107', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M101', 'M102', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('A100', 'M100', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M100', 'M101', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M107', 'M102', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M102', 'M103', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M103', 'M104', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('A101', 'M105', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M105', 'M106', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    SELECT   CONNECT_BY_ROOT (b.sid) agent_sid,
                 TRIM (
                    LEADING ',' FROM    SYS_CONNECT_BY_PATH (b.sid, ',')
                                     || ','
                                     || b.emp_mgrs_id
                 )
                    PATH,
                 START_EFFECTIVE_DT Start_dt,
                 END_EFFECTIVE_DT End_dt
          FROM   PERSON_DTL b
         WHERE   CONNECT_BY_ISLEAF = 1
    START WITH   sid IN ('A101', 'A100')
    CONNECT BY   PRIOR b.emp_mgrs_id = b.sid
    This is the results that i am getting now.
    
    AGENT_SID    PATH                       START_DT    END_DT
    
    A100    A100,M100,M101,M102,M103,M104    1/1/2010    12/31/9999
    A100    A100,M100,M107,M102,M103,M104    1/1/2010    12/31/9999
    A101    A101,M105,M106                   1/1/2010    12/31/9999
    Results Required
    
    A100    A100,M100,M101,M102,M103,M104    1/1/2010    5/18/2013
    A100    A100,M100,M107,M102,M103,M104    5/20/2013   12/31/9999
    A101    A101,M105,M106                   1/1/2010    12/31/9999

    WITH the CLAUSE will make it readable

    SQL> with paths as
      2  (
      3        SELECT   CONNECT_BY_ROOT (b.sid) agent_sid,
      4                 TRIM (
      5                    LEADING ',' FROM    SYS_CONNECT_BY_PATH (b.sid, ',')
      6                                     || ','
      7                                     || b.emp_mgrs_id
      8                 )
      9                  PATH,
     10                 START_EFFECTIVE_DT Start_dt,
     11                 END_EFFECTIVE_DT End_dt,rownum rn
     12        FROM   PERSON_DTL b
     13        START WITH   sid IN ('A101', 'A100')
     14        CONNECT BY   PRIOR b.emp_mgrs_id = b.sid
     15  ),
     16  flagged as
     17  (
     18      select agent_sid,
     19             path,
     20             start_dt,
     21             end_dt,rn,
     22             case when path like lag(path) over(order by rn)||'%' then 0 else 1 end flg
     23      from paths
     24  ),
     25  summed as
     26  (
     27      select agent_sid,path,start_dt,end_dt,
     28             sum(flg) over(order by rn) sm
     29      from flagged
     30  )
     31  select agent_sid,max(path) path,max(start_dt) start_dt,
     32         min(end_dt) end_dt
     33  from summed
     34  group by agent_sid,sm
     35  order by agent_sid;
    
    AGENT_SID  PATH                                     START_DT  END_DT
    ---------- ---------------------------------------- --------- ---------
    A100       A100,M100,M101,M102,M103,M104            01-JAN-10 18-MAY-13
    A100       A100,M100,M107,M102,M103,M104            20-MAY-13 31-DEC-99
    A101       A101,M105,M106                           01-JAN-10 31-DEC-99
    

Maybe you are looking for

  • Crasches app notes after update iOS10

    I've just updated to iOS10 on two iPhone 6 and a mini iPad 4 and has problems with the Notes application on one of the phones. On the other two devices it works great so far. But on an iPhone 6 I can open Notes, then he crasches after maybe 3-4 secon

  • Is there a fix for the black photos in iMovie?

    So, I see a ton of questions about it, but not yet a miracle. Anyway I import my photos into iMovie and they do not work. Imovie 11 I and my OS is OS X El Capitan 10.11.15

  • HG 48GX Calculator: transfer of programs from a using Terminal Server hp48GX calculator statistics

    I'm transferring programs from statistics to my Calculator an old computer with Windows Xp hp 48GX using Kermit emulation software. I see that the calculator seeks to receive, but I can't understand how you select the files that I want to transfer fr

  • HP touch smart Office: product key

    My hard drive crashed. I bought a new. I have disks to reinstall the operating system, but she asks for product key. I don't know where it is or how to get it. I called hp tech line and they say that my computer is too old, they can't help me. Anyone

  • His desire X 2 questions

    I just got a X 2 desire and I am experencing a problem with sound. After some time, it will stop working. I tried to play music using a variety of different applications, including Itunes, Windows 8 music etc and nothing comes out. The sound is not m