• RELEVANCY SCORE 3.82

    DB:3.82:Convert From 9.0 To 7.1 cj





    Can you downconvert the VIs in the attached zip files from 9.0 to 7.1?

    Sincerely,

    Fares







    Solved!
    Go to Solution.

  • RELEVANCY SCORE 3.73

    DB:3.73:Convert From Version 10.0 To 9.0.1 3k





    Thanks in advance...




    Egemen

  • RELEVANCY SCORE 3.62

    DB:3.62:Import Data Changes Formatting f7




    Hi,
    I have a range of cells formatted as 'Text'.
    I use the below code to import data into various columns. The Select Case part just selects the text column to paste, and the XL column to paste into.
    Problem: If any of the import data resembles a date (eg 4/5) the 'Text' formatting in that particular cell is overwritten with a date format, and the data is changed to 4/May. Resetting the formatting to text does not recover the original data, but returns
    the 5-digit XL date code number (as expected)
    I have tried changing the .PreserveFormatting line from True to False, but it makes no difference. Is there a solution to this?
    For i = 1 To 9
    Select Case i
    Case 1: A = Array(1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9): PasteCol = 4
    Case 2: A = Array(9, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9): PasteCol = 8
    Case 3: A = Array(9, 9, 9, 9, 9, 9, 9, 9, 1, 9, 9, 9, 9, 9, 9, 9): PasteCol = 3
    Case 4: A = Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 9, 9, 9, 9, 9): PasteCol = 9
    Case 5: A = Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 9, 9, 9, 9): PasteCol = 10
    Case 6: A = Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 9, 9, 9): PasteCol = 11
    Case 7: A = Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 9, 9): PasteCol = 12
    Case 8: A = Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 9): PasteCol = 13
    Case 9: A = Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1): PasteCol = 14
    End Select
    With Sheets("Materials")
    With .QueryTables.Add(Connection:="TEXT;" myFileName, Destination:=.Cells(ImpRow, PasteCol))
    .FieldNames = True
    .RowNumbers = False
    .FillAdjacentFormulas = False
    .PreserveFormatting = False
    .RefreshOnFileOpen = False
    .RefreshStyle = xlOverwriteCells
    .SavePassword = False
    .SaveData = True
    .AdjustColumnWidth = True
    .RefreshPeriod = 0
    .TextFilePromptOnRefresh = False
    .TextFileStartRow = 3
    .TextFileParseType = xlDelimited
    .TextFileTextQualifier = xlTextQualifierDoubleQuote
    .TextFileConsecutiveDelimiter = True
    .TextFileTabDelimiter = False
    .TextFileSemicolonDelimiter = False
    .TextFileCommaDelimiter = False
    .TextFileSpaceDelimiter = True
    .TextFileColumnDataTypes = Array(A)
    .Refresh BackgroundQuery:=False
    End With
    End With
    Next i
    Regards - Dave.

    DB:3.62:Import Data Changes Formatting f7

    Hi Hans,
    Changing the '1' to a '2' in the .TextFileColumnDataTypes arrays solved the problem.
    Excellent! Thanks.
    Dave

  • RELEVANCY SCORE 3.56

    DB:3.56:Adsl Interface Dropping Connection c3



    Hi

    I have an issue that I cannot seem to work out, wondering if anyone has experienced this before. We have an ADSL2+ line from a WIC in a 1841, everything has been fine for the last few years and then the last few months the connection going down. When checking the interfaces the ATM0/0/0 is up up and the same for the dialer interface we are using, they are both up/up, but this still needs a reload of the router to be functional again, shutting the interfaces does not bring the connection back up.

    I am not an expert on ADSL lines, I have never really had a problem with anything previously. The router was running Netflow to a network monitor wondering if this or logging was causing an issue with entries in the buffer??

    Here is an output of show dsl int, would anyone recommend changing the firmware, it has been fine all this time before though we are running IOS 12.4(24)T1 advseck9-m, as far as I can seen from our ISP the config for ADSL is all correct, completely stumped if anyone has any ideas that would be amazing!!

    Thanks

    ATM0/0/0

    Alcatel 20190 chipset information

                    ATU-R (DS)                      ATU-C (US)

    Modem Status:    Showtime (DMTDSL_SHOWTIME)

    DSL Mode:        ITU G.992.5 (ADSL2+) Annex A

    ITU STD NUM:     0x03                            0x2

    Chip Vendor ID:  'STMI'                          'GSPN'

    Chip Vendor Specific:  0x0000                    0x0010

    Chip Vendor Country:   0x0F                      0xFF

    Modem Vendor ID: 'CSCO'                          'GSPN'

    Modem Vendor Specific: 0x0000                    0x1000

    Modem Vendor Country:  0xB5                      0xFF

    Serial Number Near:    FOC124200TYCISCO73993206

    Serial Number Far:  Chip ID:     C196 (0)

    DFE BOM:         DFE3.0 Annex A (1)

    Capacity Used:   100%                            100%

    Noise Margin:     9.0 dB                         10.0 dB

    Output Power:    19.0 dBm                        12.5 dBm

    Attenuation:     47.0 dB                         26.0 dB

    FEC ES Errors:    0                               0

    ES Errors:        0                               0

    SES Errors:       0                               0

    LOSES Errors:     0                               0

    UES Errors:       0                               0

    Defect Status:   None                            None

    Last Fail Code:  None

    Watchdog Counter: 0x68

    Watchdog Resets: 0

    Selftest Result: 0x00

    Subfunction:     0x00

    Interrupts:      4132 (0 spurious)

    PHY Access Err:  0

    Activations:     1

    LED Status:      OFF

    LED On Time:     0

    LED Off Time:    0

    Init FW:         init_AMR-3.0.014_no_bist.bin

    Operation FW:    AMR-3.0.014.bin

    FW Source:       embedded

    FW Version:      3.0.14

                     DS Channel1      DS Channel0   US Channel1       US Channel0

    Speed (kbps):             0             7021             0               787

    Cells:                    0          7086728             0          10613636

    Reed-Solomon EC:          0                0             0                 0

    CRC Errors:               0              874             0                 2

    Header Errors:            0              586             0                 0

    Total BER:                0E-0           5741E-9

    Leakage Average BER:      0E-0           5602E-9

    Interleave Delay:         0               56             0                51

                            ATU-R (DS)      ATU-C (US)

    Bitswap:               enabled            enabled

    Bitswap success:          0                   0

    Bitswap failure:          0                   0

    LOM Monitoring : Disabled

    DMT Bits Per Bin

    000: 0 0 0 0 0 0 3 5 6 8 8 9 A A A B

    010: A B B B A A A A 9 9 9 8 7 6 6 5

    020: 0 5 7 9 A B B C C C C C C C C D

    030: D D D D D D D D D D D D D D D D

    040: D D D 2 C C C D C C C B B C C C

    050: C C C C C C C C C C C C C C C B

    060: B A A A A A B B B B B B B B B B

    070: B B B B A A 9 9 A A A A A A A A

    080: B B B A A B A A A 9 9 9 8 9 9 9

    090: 9 9 9 9 9 A 9 9 8 8 8 8 8 8 8 8

    0A0: 8 9 9 A 9 9 9 7 9 9 9 9 9 9 9 9

    0B0: A 9 9 9 9 6 7 0 8 7 8 7 7 7 7 8

    0C0: 8 7 8 7 5 7 8 7 7 7 7 7 7 6 6 7

    0D0: 6 6 4 2 5 5 5 5 4 4 4 4 4 4 4 4

    0E0: 4 2 2 4 4 4 3 4 4 2 2 2 2 2 2 0

    0F0: 2 2 2 2 2 2 2 1 0 1 0 0 0 0 0 0

    100: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    110: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    120: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    130: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    140: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    150: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    160: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    170: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    180: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    190: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    1A0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    1B0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    1C0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    1D0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    1E0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    1F0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    DSL: Training log buffer capability is not enabled

    DB:3.56:Adsl Interface Dropping Connection c3


    Many thanks will give this ago our contract will get us access to that firmware.

    Thank you gives me some things to look into!

  • RELEVANCY SCORE 3.55

    DB:3.55:2901 Terminal Server Async ks



    hello,

    I am able to connect all async ports on my bridal 0/0/0-15 via 2003-2018

    I have a second bridal 0/1/0-15 that is not behaving the same way..."connection refused"

    I fugured they would follow 2019,2020, etc.

    Any Ideas?

      Tty Line Typ     Tx/Rx    A Modem  Roty AccO AccI  Uses  Noise Overruns  Int

          0    0 CTY              -    -      -    -    -     0      5    0/757316   -

          1    1 AUX   9600/9600  - inout     -    -    -     1     28    0/0      -

          2    2 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/0/0    3 TTY   9600/9600  -    -      -    -    -     4     10    0/0      -

      0/0/1    4 TTY   9600/9600  -    -      -    -    -     0      6    0/0      -

      0/0/2    5 TTY   9600/9600  -    -      -    -    -     1  18049    0/0      -

      0/0/3    6 TTY   9600/9600  -    -      -    -    -     1      2    0/0      -

    * 0/0/4    7 TTY   9600/9600  -    -      -    -    -     6   1374    0/0      -

      0/0/5    8 TTY   9600/9600  -    -      -    -    -     2    171    0/0      -

      0/0/6    9 TTY   9600/9600  -    -      -    -    -     2      4    0/0      -

    * 0/0/7   10 TTY   9600/9600  -    -      -    -    -     2   4959    0/0      -

      0/0/8   11 TTY   9600/9600  -    -      -    -    -     3   1235    0/0      -

      0/0/9   12 TTY   9600/9600  -    -      -    -    -     1   2978    0/0      -

    0/0/10   13 TTY   9600/9600  -    -      -    -    -     3      0    0/0      -

    0/0/11   14 TTY   9600/9600  -    -      -    -    -     1   2847    0/0      -

    0/0/12   15 TTY   9600/9600  -    -      -    -    -     2    742    0/0      -

    0/0/13   16 TTY   9600/9600  -    -      -    -    -     1   3092    0/0      -

    0/0/14   17 TTY   9600/9600  -    -      -    -    -     2    107    0/0      -

    0/0/15   18 TTY   9600/9600  -    -      -    -    -     0   2768    0/0      -

      0/1/0   19 TTY   9600/9600  -    -      -    -    -     0    146    0/0      -

      0/1/1   20 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/2   21 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/3   22 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/4   23 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/5   24 TTY   9600/9600  -    -      -    -    -     0   4322    0/0      -

      0/1/6   25 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/7   26 TTY   9600/9600  -    -      -    -    -     0      9    0/0      -

      0/1/8   27 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/9   28 TTY   9600/9600  -    -      -    -    -     0   5338    0/0      -

    0/1/10   29 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/11   30 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/12   31 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/13   32 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/14   33 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/15   34 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    DB:3.55:2901 Terminal Server Async ks


    hello,

    I am able to connect all async ports on my bridal 0/0/0-15 via 2003-2018

    I have a second bridal 0/1/0-15 that is not behaving the same way..."connection refused"

    I fugured they would follow 2019,2020, etc.

    Any Ideas?

      Tty Line Typ     Tx/Rx    A Modem  Roty AccO AccI  Uses  Noise Overruns  Int

          0    0 CTY              -    -      -    -    -     0      5    0/757316   -

          1    1 AUX   9600/9600  - inout     -    -    -     1     28    0/0      -

          2    2 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/0/0    3 TTY   9600/9600  -    -      -    -    -     4     10    0/0      -

      0/0/1    4 TTY   9600/9600  -    -      -    -    -     0      6    0/0      -

      0/0/2    5 TTY   9600/9600  -    -      -    -    -     1  18049    0/0      -

      0/0/3    6 TTY   9600/9600  -    -      -    -    -     1      2    0/0      -

    * 0/0/4    7 TTY   9600/9600  -    -      -    -    -     6   1374    0/0      -

      0/0/5    8 TTY   9600/9600  -    -      -    -    -     2    171    0/0      -

      0/0/6    9 TTY   9600/9600  -    -      -    -    -     2      4    0/0      -

    * 0/0/7   10 TTY   9600/9600  -    -      -    -    -     2   4959    0/0      -

      0/0/8   11 TTY   9600/9600  -    -      -    -    -     3   1235    0/0      -

      0/0/9   12 TTY   9600/9600  -    -      -    -    -     1   2978    0/0      -

    0/0/10   13 TTY   9600/9600  -    -      -    -    -     3      0    0/0      -

    0/0/11   14 TTY   9600/9600  -    -      -    -    -     1   2847    0/0      -

    0/0/12   15 TTY   9600/9600  -    -      -    -    -     2    742    0/0      -

    0/0/13   16 TTY   9600/9600  -    -      -    -    -     1   3092    0/0      -

    0/0/14   17 TTY   9600/9600  -    -      -    -    -     2    107    0/0      -

    0/0/15   18 TTY   9600/9600  -    -      -    -    -     0   2768    0/0      -

      0/1/0   19 TTY   9600/9600  -    -      -    -    -     0    146    0/0      -

      0/1/1   20 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/2   21 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/3   22 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/4   23 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/5   24 TTY   9600/9600  -    -      -    -    -     0   4322    0/0      -

      0/1/6   25 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/7   26 TTY   9600/9600  -    -      -    -    -     0      9    0/0      -

      0/1/8   27 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

      0/1/9   28 TTY   9600/9600  -    -      -    -    -     0   5338    0/0      -

    0/1/10   29 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/11   30 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/12   31 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/13   32 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/14   33 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

    0/1/15   34 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -

  • RELEVANCY SCORE 3.50

    DB:3.50:Can't Migrate Virtual Machine Between Esx Hosts In Clustering Group f9


    Dear all

    We have 3 ESX (3.5) Server in Cluster managed by Virtual Center (2.5). We builded 10 Virtual machine in Cluster include: 3 Lunix Server and 7 Windows Server 2003 Enterprise. Yesterday I tested VMotion function but it only is sucessful with Linux Server and 7 Windows servers can't migrated between hosts. We use

    an EMC CLARiiON CX4-120C as shared storage. The ESX Server are

    connected by FC cable directly to the storage. The storage adapters (Emulex LPe-1150). Please note that 3 Linux servers are VMs that we new installed and 7 Windows servers are VMs that we convert from physical server to ESX.

    Below is a screen i captured:

    Unable to migrate from 10.150.50.2 to 10.150.50.1: Currently connected device 'CD/DVD drive 1' uses backing '/dev/hda', which is not accessible

    Unable to migrate from 10.150.50.2 to 10.150.50.1: Currently connected device 'Serial port 1' uses backing '/dev/ttyS0', which is not accessible

    Unable to migrate from 10.150.50.2 to 10.150.50.1: Currently

    connected device 'Serial port 2' uses backing '/dev/ttyS1', which is

    not accessible

    Please help me asap

    thank you and with best regards

    Dupd

    v\:*

    o\:*

    w\:*

    .shape

    /style

    ![endif]![if gte mso 9]![endif]![if gte mso 9]

    !--

    /* Font Definitions */

    @font-face

    {font-family:Batang;

    panose-1:2 3 6 0 0 1 1 1 1 1;

    mso-font-alt:바탕;

    mso-font-charset:129;

    mso-generic-font-family:auto;

    mso-font-format:other;

    mso-font-pitch:fixed;

    mso-font-signature:1 151388160 16 0 524288 0;}

    @font-face

    {font-family:"\@Batang";

    panose-1:0 0 0 0 0 0 0 0 0 0;

    mso-font-charset:129;

    mso-generic-font-family:auto;

    mso-font-format:other;

    mso-font-pitch:fixed;

    mso-font-signature:1 151388160 16 0 524288 0;}

    /* Style Definitions */

    p.MsoNormal, li.MsoNormal, div.MsoNormal

    {mso-style-parent:"";

    margin:0in;

    margin-bottom:.0001pt;

    mso-pagination:widow-orphan;

    font-size:12.0pt;

    font-family:"Times New Roman";

    mso-fareast-font-family:Batang;}

    @page Section1

    div.Section1

    --

    ![endif]![if !mso]

    v\:*

    o\:*

    w\:*

    .shape

    /style

    ![endif]![if gte mso 9]![endif]![if gte mso 9]

    !--

    /* Font Definitions */

    @font-face

    {font-family:Batang;

    panose-1:2 3 6 0 0 1 1 1 1 1;

    mso-font-alt:바탕;

    mso-font-charset:129;

    mso-generic-font-family:auto;

    mso-font-format:other;

    mso-font-pitch:fixed;

    mso-font-signature:1 151388160 16 0 524288 0;}

    @font-face

    {font-family:"\@Batang";

    panose-1:0 0 0 0 0 0 0 0 0 0;

    mso-font-charset:129;

    mso-generic-font-family:auto;

    mso-font-format:other;

    mso-font-pitch:fixed;

    mso-font-signature:1 151388160 16 0 524288 0;}

    /* Style Definitions */

    p.MsoNormal, li.MsoNormal, div.MsoNormal

    {mso-style-parent:"";

    margin:0in;

    margin-bottom:.0001pt;

    mso-pagination:widow-orphan;

    font-size:12.0pt;

    font-family:"Times New Roman";

    mso-fareast-font-family:Batang;}

    @page Section1

    div.Section1

    --

    !--[if gte vml 1]v:shapetype id="_x0000_t75"
    coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
    filled="f" stroked="f"
    v:stroke joinstyle="miter"/
    v:formulas
    v:f eqn="if lineDrawn pixelLineWidth 0"/
    v:f eqn="sum @0 1 0"/
    v:f eqn="sum 0 0 @1"/
    v:f eqn="prod @2 1 2"/
    v:f eqn="prod @3 21600 pixelWidth"/
    v:f eqn="prod @3 21600 pixelHeight"/
    v:f eqn="sum @0 0 1"/
    v:f eqn="prod @6 1 2"/
    v:f eqn="prod @7 21600 pixelWidth"/
    v:f eqn="sum @8 21600 0"/
    v:f eqn="prod @7 21600 pixelHeight"/
    v:f eqn="sum @10 21600 0"/
    /v:formulas
    v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/
    o:lock v:ext="edit" aspectratio="t"/
    /v:shapetypev:shape id="_x0000_i1025" type="#_x0000_t75" style='width:6in;
    height:270pt'
    v:imagedata src="file:///C:\DOCUME1\ADMINI1\LOCALS~1\Temp\msohtml1\01\clip_image001.png"
    o:title=""/
    /v:shape![endif]![if !vml]![endif]--

    DB:3.50:Can't Migrate Virtual Machine Between Esx Hosts In Clustering Group f9


    I am glad you found hte advice useful, now please consider clickig the helpful and correct buttons of those replies you found most informative.

    Tom Howarth

    VMware Communities User Moderator

  • RELEVANCY SCORE 3.49

    DB:3.49:Array xf



    i wnat the count when 0 has occured in these month from jan to jun

    data l;

    input jan feb mar apr may jun;

    cards;

    1 2 3 4 5 0

    9 8 7 0 6 5

    4 5 2 5 0 9

    9 0 9 8 7 6

    run;

    output

    jan feb mar apr may jun tot

    1 2 3 4 5 0 1

    9 8 7 0 6 5 3

    4 5 2 5 0 9 2

    9 0 9 8 7 6 5

    bcuse the 0 has occured in the dofferenct positions in first tot is 1 bcse it has occured in the first postion like that i want.

    DB:3.49:Array xf


    After Patrick'code .

    Re: Array

    data have;

    input jan feb mar apr may jun;

    cards;

    1 2 3 4 5 0

    9 8 7 0 6 5

    4 5 2 5 0 9

    9 0 9 8 7 6

    run;

    data want;

    set have;

    tot=indexc(cats(jan,feb,mar,apr,may,jun),'0',-1);

    run;

    proc print data=want noobs;

    run;

    https://communities.sas.com/pre

    Ksharp

  • RELEVANCY SCORE 3.48

    DB:3.48:Multiple Counts Including Records Where There Is No Data px


    I have two tables:
    Table: datasets

    dataSetID scanDate
    --------- --------
    1 7/1/12
    2 8/1/12
    3 9/1/12

    Table: finding

    dataSetID findingID Severity
    ----------- ----------- --------
    1 1 1
    1 2 1
    1 3 3
    3 6 1
    3 7 3

    I want to get a count, for each dataSetID, for each severity, as well as the total count for each dataSet:

    Date Severity 1 Severity 2 Severity 3 Total
    ------ ----------- ----------- ---------- -----
    7/1/12 2 0 1 3
    8/1/12 0 0 0 0
    9/1/12 1 0 1 2
    Using the following query, I'm able to get records for months that have data, but it won't return any data for the second month (8/1/12), since there is no data for that month.

    SELECT
    CONVERT(VARCHAR(10), ds.scanDate, 101) AS [MM/DD/YYYY],
    SUM(CASE WHEN f.severityID = 3 THEN 1 ELSE 0 END) AS Severity 3,
    SUM(CASE WHEN f.severityID = 2 THEN 1 ELSE 0 END) AS Severity 2,
    SUM(CASE WHEN f.severityID = 1 THEN 1 ELSE 0 END) AS Severity 1,
    SUM(CASE WHEN f.severityID 0 THEN 1 ELSE 0 END) AS Total
    FROM dataSets ds
    INNER JOIN finding f
    ON ds.dataSetID = f.datasetID
    INNER JOIN findingStatus fs
    ON f.findingID = fs.findingID
    INNER JOIN luFindingStatus luFS
    ON fs.statusID = luFS.statusID
    WHERE luFS.statusID = 2
    AND f.activeRecord = 1
    GROUP BY ds.scanDate

    What am I missing in order to get the results I want?

    DB:3.48:Multiple Counts Including Records Where There Is No Data px

    Yes, for the aggregate problem it may be excessive. Only when you have 2 tables in the FROM list you can guarantee the results.For every expert, there is an equal and opposite expert. - Becker's Law

    My blog

  • RELEVANCY SCORE 3.45

    DB:3.45:Is There A Way To Solve This.. sd


    Hi i'm new here and have this issue with my data.. i need to push down (to the next valid record) the values from the current record.
    Here is my data:
    MyIDOutFallout T_In T_OutRN
    1 5 1 6 5
    1
    2 0 2 2 0
    2
    4 2 1 3 2
    3
    5 0 2 2 0
    4
    6 0 3 3 0
    5
    7 0 1 1 0
    6
    8 0 5 5 0
    7
    9 0 7 7 0
    8
    11 30 5 35 30 9
    12 10 1 11 10 10
    from the table above, i need to fallout in ID2 accounted to ID4 and fallout of ID5~ID9 be accounted to ID11.
    I did row_numbering and check if it would help but still was not able to derive what i need.
    This is what it should like after...
    MyIDOut Fallout T_In T_OutRN Final_FalloutFinal_In
    1 5 1 6 5
    1 16
    2 0 2 2 0
    2 2 -
    4 2 1 3 2
    3 3 5
    5 0 2 2 0
    4 2 -
    6 0 3 3 0
    5 3 -
    7 0 1 1 0
    6 1 -
    8 0 5 5 0
    7 5 -
    9 0 7 7 0
    8 7 -
    11 30 5 35 30
    9 23 53
    12 10 1 11 10
    10 1 11
    and finally, i will remove all the nulls in Final_In
    Thanks

    DB:3.45:Is There A Way To Solve This.. sd


    DECLARE @t table (MyID int, [Out] int, Fallout int, T_In int, T_Out int)

    INSERT @t
    SELECT 1, 5, 1, 6, 5
    UNION ALL SELECT 2, 0, 2, 2, 0
    UNION ALL SELECT 4, 2, 1, 3, 2
    UNION ALL SELECT 5, 0, 2, 2, 0
    UNION ALL SELECT 6, 0, 3, 3, 0
    UNION ALL SELECT 7, 0, 1, 1, 0
    UNION ALL SELECT 8, 0, 5, 5, 0
    UNION ALL SELECT 9, 0, 7, 7, 0
    UNION ALL SELECT 11, 30, 5, 35, 30
    UNION ALL SELECT 12, 10, 1, 11, 10

    ;WITH CTE AS (
    SELECT * FROM @t WHERE [Out]0
    ), CTE2 AS (
    SELECT MyID, [Out], Fallout, T_In, T_Out
    ,MaxID=(SELECT ISNULL(MAX(MyID),0) FROM CTE WHERE T.MyIDMyID)
    FROM CTE T
    )
    SELECT MyID, [Out], Fallout, T_In, T_Out, Final_Fallout, Final_In
    FROM CTE2 T CROSS APPLY
    (SELECT Final_Fallout=SUM(Fallout)
    ,Final_In=SUM(T_In)
    FROM @t
    WHERE T.MyID=MyID AND MyIDMaxId
    ) T2
    UNION ALL
    SELECT *, Fallout, NULL
    FROM @t
    WHERE [Out]=0
    ORDER BY MyID

  • RELEVANCY SCORE 3.40

    DB:3.40:Adobe Acrobat 9 Pro Convert To Pdf Access Denied For Users af


    I recently installed IE 9 on my computer (windows 7 ultimate 64 bit). From this moment on I cannot convert web page to pdf. I am getting " permission denied", code 0.
    Can anyone help me?

    DB:3.40:Adobe Acrobat 9 Pro Convert To Pdf Access Denied For Users af


    Fixed this by going into Control panel, then printers, opened the Adobe printer and clicked on properties - then printing preferences and on the Adobe settings tab, I un-clicked "Rely on system fonts only; do not use document fonts." Voila!

    Grrr, Adobe wanted to charge me to fix my problem. Isn't it annoying how software companies won't fix their own problems? And one has to search community forums in order to find fixes among the users? This fix was for a garbled font problem in the forum, but I thought I'd give it a try and it worked!

  • RELEVANCY SCORE 3.37

    DB:3.37:Convert From Labview 7.1 To 6.0 za



    Downconvert from Labview 7.1 to 6.0










    Attachments:







    Continuous Ramp.vi ‏162 KB

    DB:3.37:Convert From Labview 7.1 To 6.0 za


    Downconvert from Labview 7.1 to 6.0










    Attachments:







    Continuous Ramp.vi ‏162 KB

  • RELEVANCY SCORE 3.35

    DB:3.35:Convert Labview .Llb From 4.0.2 To 9.0.1 pa



    Hi there,

    Could sb please convert this lbb? im not sure if this ispossible (im quite new in using labview). There are severalVI's I need to run an ABB gas analyzing system.source: LabView 4.0.2target: LabView 9.0.1Thanks from greenhorn747










    Attachments:







    ao_dde_a.llb ‏1686 KB

    DB:3.35:Convert Labview .Llb From 4.0.2 To 9.0.1 pa


    Thank you ver much, Im able to open it.

    greetz greenhorn747

  • RELEVANCY SCORE 3.34

    DB:3.34:Get Rid Of Special Characters "^@" fk


    hi,
    i used method tostring to convert a double into string and have written in a file,
    while i try to open the file in shell(unix), it shows some special characters as follows,

    ^@0^@.^@0^@4^@3^@7^@4^@0^@7^@
    ^@0^@.^@0^@3^@1^@3^@1^@9^@2^@
    ^@0^@.^@0^@1^@6^@5^@0^@2^@9^@
    ^@0^@.^@0^@0^@3^@1^@8^@5^@5^@1^@

    in between each numbers, when i open the same file in textedit it shows as follows,
    0

    DB:3.34:Get Rid Of Special Characters "^@" fk

    Specify the character encoding used to write the file, and use an editor that can display the file in that same encoding.

  • RELEVANCY SCORE 3.34

    DB:3.34:Downconvert From Labview 9.0 To 7.1 3f



    Hello

    Please convert the attachments to LABVIEWversion 7.1

    source file : version 9.0

    Thanks in advance!










    Attachments:







    trial1_ ACQUIRE.vi ‏82 KB

    DB:3.34:Downconvert From Labview 9.0 To 7.1 3f


    Please do not hijack someone else's thread. This forum is for asking for a conversion of a VI, not for asking general questions. Post your question in the LabVIEW forum.

  • RELEVANCY SCORE 3.34

    DB:3.34:Conversion Failed When Converting Date And/Or Time From Character String. 1z


    When I use the following code in the select statement it works
    CONVERT (DateTime, Substring (Convert (VarChar(8), a.FK_Admit_Date), 1, 4) '/' Substring (Convert (VarChar(8), a.FK_Admit_Date), 5, 2) '/' Substring (Convert (VarChar(8), a.FK_Admit_Date), 7, 2)) AdmitDate
    But when I use the following code in the where clause it gives me an error
    CONVERT (DateTime, Substring (CONVERT (VarChar(8), a.FK_Admit_Date), 1, 4) '/' Substring (CONVERT (VarChar(8), a.FK_Admit_Date), 5, 2) '/' Substring (CONVERT (VarChar(8), a.FK_Admit_Date), 7, 2)) BETWEEN CONVERT (DateTime, '9/28/2011') AND CONVERT
    (DateTime, '10/31/2011 11:59:59PM')

    DB:3.34:Conversion Failed When Converting Date And/Or Time From Character String. 1z

    It seems that just leaving the fk_admit_date as int and just writing it like this worked

    fk_Admit_Date between 20110928 and 20111031

    but converting the int field into a date like a had it before on the where clause it did not worked even with they way you told me, it is weird.

  • RELEVANCY SCORE 3.34

    DB:3.34:Parsing Multiple Values From A Single Field, Sql Server 2008 93


    I've searched the forum and can't find an answer to this question.
    I have a field in my DB that contains a string of numbers, within the text of the field. for example I'm looking for ALL values that meet the following criteria
    callnote like ('%1[0-9][0-9][0-9][0-9]E[0-9][0-9][0-9][0-9][0-9]%')
    I do get a result, but it only returns the first value that meets that criteria, not ALL the values. The field might contain 1 or many values. I need to pull them all.
    Here is my query:
    select
    callerid,
    callnote,
    patINDEX('%1[0-9][0-9][0-9][0-9]E[0-9][0-9][0-9][0-9][0-9]%', callnote),
    SUBSTRING(callnote, (patINDEX('%1[0-9][0-9][0-9][0-9]E[0-9][0-9][0-9][0-9][0-9]%', callnote)),13)
    From
    callnote
    where
    callnote like ('%1[0-9][0-9][0-9][0-9]E[0-9][0-9][0-9][0-9][0-9]%')and
    callerid = 'QMXGR102186'
    So, in the callnote field, there are 2 vlues I need to pull. My query only returns one. How do you continue to search the field until the end of the field is met?
    Mike

    DB:3.34:Parsing Multiple Values From A Single Field, Sql Server 2008 93

    You can use the following recursive CTE as one of the possible solutions:

    DECLARE @Calls TABLE (CallerID VARCHAR(20), CallNote VARCHAR(MAX))
    INSERT INTO @Calls
    ( CallerID, CallNote )
    VALUES ( QMXGR102186, 4/20/2011 4:07:41 PM aprill Call again from Laurie, claims still not paying correctly based on auth/payment approval on auth C0077083...agreement on payment was amount 62.00, and we inconsistanly are paying approved amount 62.00 or 43.40 ....pls review claims for accurate payments dos 10/5/10 10363E03043 as well as dos 9/5/10 cl# 10320000293, 5/5/10 cl# 10320000295,7/5/10 cl# 10320000297,12/5/10 cl 10344E02596 paid incorrectly. (1/5/11,3/5/11) outstanding but need to be processed correctly with info on auth...pls reprocess AAL reversed....thanks AAL 2/9/2011 4:00:18 PM aprill Call from LOri statiing still having issues with units billed and denying incorrctly. 1/13/2011 4:29 PM aprill call from Lori on member dos 10/5/10-10 units pd 1 denied 9..cl#10363E03037...pls reprocess clm...

    -- CallNote - varchar(max)
    )

    ;WITH cte AS (

    select
    callerid,
    callnote AS OriginalNote,
    F.Pos,
    SUBSTRING(callnote, F.Pos,11) AS CaseNumber,
    SUBSTRING(callnote, F.Pos+12, LEN(CallNote)) AS Remainder


    From
    @Calls
    CROSS APPLY (SELECT patINDEX(%1[0-9][0-9][0-9][0-9]E[0-9][0-9][0-9][0-9][0-9]%, callnote) AS Pos) F
    where
    callnote like %1[0-9][0-9][0-9][0-9]E[0-9][0-9][0-9][0-9][0-9]% and
    callerid = QMXGR102186

    UNION ALL
    select
    callerid,
    OriginalNote,
    F.Pos,
    SUBSTRING(Remainder, F.Pos,11) AS CaseNumber,
    SUBSTRING(Remainder, F.Pos+12, LEN(Remainder)) AS Remainder


    From
    cte
    CROSS APPLY (SELECT patINDEX(%1[0-9][0-9][0-9][0-9]E[0-9][0-9][0-9][0-9][0-9]%, Remainder) AS Pos) F
    where
    Remainder like %1[0-9][0-9][0-9][0-9]E[0-9][0-9][0-9][0-9][0-9]%)

    SELECT * FROM cte OPTION (MAXRECURSION 0)

  • RELEVANCY SCORE 3.32

    DB:3.32:Recursive Cte For Start And End Date Of (X) Months js


    Hi All,
    I took many different parts from many different queries to create this. So firstly I thank everyone that contributes to the community. I'd like to know what everyone thinks of this and also can it be broken? (Does this not work for certain circumstances?)
    Notes:

    The recursion is limited by theTOP clause. Change this to the number of months desired.To allow the recursion to pass 100 I have added the MaxRecursion option. This must be at or above the TOP clause limit.I wanted to make this as compact and simple as possible.I couldn't find any queries out there that returned the end of the month accurately for February or in recursion.I use a query which will accurately get the first day ofany month. Using this query I can extract the month and year to use in some further logic.I use a CASE statement to directly input the end day for the selected month.In February's case I have a check to determine if it is a leap year or normal year.Seems 3116 is the limit for number of months. ;)

    ;WITH StartAndEndOfMonths AS
    (
    SELECT MonthFirstDay = DATEADD(MONTH,DATEDIFF(MONTH,0,GETDATE()),0),
    MonthNumber = DATEPART(MONTH,DATEADD(MONTH,DATEDIFF(MONTH,0,GETDATE()),0)),
    MonthYear = DATEPART(YEAR,DATEADD(MONTH,DATEDIFF(MONTH,0,GETDATE()),0))
    UNION ALL
    SELECT DATEADD(MM,-1,MonthFirstDay),DATEPART(MONTH,DATEADD(MM,-1,MonthFirstDay)),DATEPART(YEAR,DATEADD(MM,-1,MonthFirstDay))
    from StartAndEndOfMonths
    )
    SELECT TOP 3116 MonthFirstDay,
    CASE
    WHEN MonthNumber = 1 THEN CONVERT(DATETIME,CONVERT(VARCHAR(2),MonthNumber) '-31-' CONVERT(VARCHAR(4),MonthYear))
    WHEN MonthNumber = 2 THEN
    CASE
    WHEN ISDATE(CONVERT(VARCHAR(4),MonthYear) '0229') = 1
    THEN CONVERT(VARCHAR(2),MonthNumber) '-29-' CONVERT(VARCHAR(4),MonthYear)
    ELSE CONVERT(VARCHAR(2),MonthNumber) '-28-' CONVERT(VARCHAR(4),MonthYear)
    END
    WHEN MonthNumber = 3 THEN CONVERT(VARCHAR(2),MonthNumber) '-31-' CONVERT(VARCHAR(4),MonthYear)
    WHEN MonthNumber = 4 THEN CONVERT(VARCHAR(2),MonthNumber) '-30-' CONVERT(VARCHAR(4),MonthYear)
    WHEN MonthNumber = 5 THEN CONVERT(VARCHAR(2),MonthNumber) '-31-' CONVERT(VARCHAR(4),MonthYear)
    WHEN MonthNumber = 6 THEN CONVERT(VARCHAR(2),MonthNumber) '-30-' CONVERT(VARCHAR(4),MonthYear)
    WHEN MonthNumber = 7 THEN CONVERT(VARCHAR(2),MonthNumber) '-31-' CONVERT(VARCHAR(4),MonthYear)
    WHEN MonthNumber = 8 THEN CONVERT(VARCHAR(2),MonthNumber) '-31-' CONVERT(VARCHAR(4),MonthYear)
    WHEN MonthNumber = 9 THEN CONVERT(VARCHAR(2),MonthNumber) '-30-' CONVERT(VARCHAR(4),MonthYear)
    WHEN MonthNumber = 10 THEN CONVERT(VARCHAR(2),MonthNumber) '-31-' CONVERT(VARCHAR(4),MonthYear)
    WHEN MonthNumber = 11 THEN CONVERT(VARCHAR(2),MonthNumber) '-30-' CONVERT(VARCHAR(4),MonthYear)
    WHEN MonthNumber = 12 THEN CONVERT(VARCHAR(2),MonthNumber) '-31-' CONVERT(VARCHAR(4),MonthYear)
    END [MonthLastDay]
    FROM StartAndEndOfMonths OPTION(MAXRECURSION 5000)

    Pérez

    DB:3.32:Recursive Cte For Start And End Date Of (X) Months js

    Hi SwePeso, This one works great and is my choice... so far. Anyone else have better? ;) A note for those of you whom try to put this into a function. Took me a little while to find the answer but the maxrecursion option will break in a function. Don'y worry
    you can still use it. select * from fn_YourFunction() OPTION(MAXRECURSION 0) Simple explination can't be used in... can be used out. @_@

    The second one...

    Pérez

  • RELEVANCY SCORE 3.30

    DB:3.30:How To Count............. x7



    Dim

     

    number() As Integer = {0, 2, 8, 5, 5, 7, 6, 6, 1, 2, 5, 6, 9, 9, 1, 5, 8, 8, 3, 3, 3, 3, 7, 5, 1, 7, 6, 3, 7, 5, 5, 5, 0, 1, 1, 3, 4, 1, 2, 4, 1, 1, 9, 8, 8, 9, 8, 2, 1, 7, 0, 8, 4, 5, 5, 6, 7, 4, 0, 6, 3, 9, 1, 2, 5, 0, 1, 8, 5, 1, 0, 8, 7, 8, 9, 2, 6, 8, 1, 9, 1, 8, 6, 5, 5, 2, 4, 1, 4, 5, 4, 8}from my array number()i want count how many number 2 in my array number()
     

    Dim x As Integer = 2
    lstbox.Items.Add(number(x).ToString)

     

    why this answer is 8 ?

    DB:3.30:How To Count............. x7

    one question more        TextBox1.Text = 1234        TextBox2.Text = 1252        TextBox3.Text = 2122        TextBox4.Text = 9999        TextBox5.Text = 9876        TextBox6.Text = 1333        TextBox7.Text = 2111        TextBox8.Text = 0000.i want to know the same number between textbox(es) not in the textbox.example:textbox2=122 and text textbox3=212-that mean 3 same numbertextbox1=12 and textbox2=12 and textbox3=21 that mean 2 same number in three textbox.can use For each statement or the other way.help me...........guru

  • RELEVANCY SCORE 3.30

    DB:3.30:I Have To Extract Date From A File See Example 81


    Hello
    I have a file with many pieces like this

    *CELL_ADD EL7457 0 0 0 2050,650 1 0 252
    *TTEXT 0.050in 0 226 0 1 0 0 6 0 0 0 0 Arial 0 0 0 200,-394 0
    *TTEXT 0.050in 0 225 0 1 0 0 6 0 0 0 0 Arial 0 0 0 200,-360 41.55
    *TTEXT 0.050in 0 223 0 1 0 0 6 0 0 0 0 @Japanese Gothic 0 0 0 200,-328 M4
    *TTEXT 0.050in 0 222 0 1 0 0 0 0 0 0 0 Arial 0 0 0 200,-294 3B
    *TTEXT 0.050in 0 183 -1 0 0 0 6 0 0 0 0 VeriBest Gerber 0 0 0 0 50,314 3922 201 00311 P I PREFI
    *TTEXT 0.050in 0 33 0 1 0 0 6 0 0 0 0 Arial 0 0 0 200,-260 0
    *TTEXT 0.050in 0 32 0 1 0 0 6 0 0 0 0 Arial 0 0 0 200,-170 EL7457CLZ 4-LINEDRIVER QFN16
    *TTEXT 0.050in 0 1 0 -1 0 0 6 0 0 0 0 Arial 0 0 0 200,362 XCMP403
    *TTEXT 0.050in 0 10 0 1 0 0 6 0 0 0 0 Arial 0 0 0 200,-137 ISEL7457CLZ
    *TEXT 0.080in 0 224 0 1 0 0 4 DEFAULT 0 201,-204 0
    *TTEXT 0.050in 0 4 -1 -1 1 8 6 0 0 0 0 Arial 0 0 0 363,4 8
    *TTEXT 0.050in 0 4 -1 -1 1 7 6 0 0 0 0 Arial 0 0 0 363,104 9
    *TTEXT 0.050in 0 4 -1 -1 1 4 6 0 0 0 0 Arial 0 0 0 363,204 12
    *TTEXT 0.050in 0 4 -1 -1 1 3 6 0 0 0 0 Arial 0 0 0 363,304 13
    *TTEXT 0.050in 0 4 1 -1 1 6 6 0 0 0 0 Arial 0 0 0 36,4 6
    *TTEXT 0.050in 0 4 1 -1 1 5 6 0 0 0 0 Arial 0 0 0 36,104 5
    *TTEXT 0.050in 0 4 1 -1 1 2 6 0 0 0 0 Arial 0 0 0 36,204 1
    *TTEXT 0.050in 0 4 1 -1 1 1 6 0 0 0 0 Arial 0 0 0 36,304 15
    *TTEXT 0.050in 0 4 -1 -1 1 9 6 0 0 0 0 Arial 0 0 0 216,-125 16
    *TTEXT 0.050in 0 15 -1 -1 1 0 6 0 0 0 0 Arial 0 0 0 46,400 IC354
    *TTEXT 0.050in 0 2 -1 -1 1 0 6 0 0 0 0 Arial 0 0 0 46,357 EL7457
    *PDB_DATE 2007/07/05@09:11:03

    The fourh text in a line like 223 is unique for that line which is a text property
    I need about eleven values from eleven lines whichare always at the end of tke line and is always between
    Can you give me advise how to do this
    Regards
    Mans

    DB:3.30:I Have To Extract Date From A File See Example 81


    I thought that the blank lines were a result of a bad paste into the response, due to the OP stating something about the first 11 lines or so. If there are blanks then, you have a good point.

  • RELEVANCY SCORE 3.29

    DB:3.29:How To Generate Numbers From (0 To 9) 99


    aoa

    hi dear,how we can generate numbers from 0 to 9 with the help of select statements

    like

    Number
    0
    1
    2
    3
    4
    5
    6
    7
    8
    9

    thanks and regards

    usman ali

    DB:3.29:How To Generate Numbers From (0 To 9) 99

    There are several ways to do this.
    Here are a few.

    SELECT
    ROWNUM - 1 "NUMBER"
    FROM
    all_objects --you can use any table with at least 10 rows in your case
    WHERE
    ROWNUM = 10
    /

    NUMBER
    ----------
    0
    1
    2
    3
    4
    5
    6
    7
    8
    9

    10 rows selected.

    SELECT
    ROWNUM - 1 "NUMBER"
    FROM
    (
    SELECT
    1
    FROM
    dual
    GROUP BY
    CUBE(1,2,3.4,5)
    )
    WHERE
    ROWNUM = 10
    /

    NUMBER
    ----------
    0
    1
    2
    3
    4
    5
    6
    7
    8
    9

    10 rows selected.

    --This will work in 9i and above
    CREATE OR REPLACE TYPE num_array AS TABLE OF NUMBER;
    /

    Type created.

    CREATE OR REPLACE FUNCTION get_rows (max_val_in IN NUMBER)
    RETURN num_array
    PIPELINED
    AS
    BEGIN
    FOR i IN 0..max_val_in
    LOOP
    PIPE ROW (i);
    END LOOP;

    RETURN;

    END get_rows;
    /

    Function created.

    SELECT
    column_value "NUMBER"
    FROM
    TABLE(get_rows(9))
    /

    NUMBER
    ----------
    0
    1
    2
    3
    4
    5
    6
    7
    8
    9

    10 rows selected.

  • RELEVANCY SCORE 3.28

    DB:3.28:Uv Map On An Arch/ Color Issue jj




    remove this:


    mesh.RecalculateNormals();


    insert this:


    //normals
    normals[0] = new Vector3(0, 0, 1);
    normals[1] = new Vector3(0, 0, 1);
    normals[2] = new Vector3(0, 0, 1);
    normals[3] = new Vector3(0, 0, 1);
    normals[4] = new Vector3(0, 0, 1);
    normals[5] = new Vector3(0, 0, 1);
    normals[6] = new Vector3(0, 0, 1);
    normals[7] = new Vector3(0, 0, 1);
    normals[8] = new Vector3(0, 0, 1);
    normals[9] = new Vector3(0, 0, 1);
    normals[10] = new Vector3(0, 0, 1);
    normals[11] = new Vector3(0, 0, 1);
    normals[12] = new Vector3(0, 0, 1);
    normals[13] = new Vector3(0, 0, 1);


    important note



    if you want your object can be lighted from both sides you should create two sets of vertices with normals to opposite sides. and be carefull to automatically calc normals on flat objects

    DB:3.28:Uv Map On An Arch/ Color Issue jj


    If you want the exact color, make sure you don't use any shader that contains lighting. Use a self-illum shader. You don't need normals in this case.

  • RELEVANCY SCORE 3.27

    DB:3.27:Convert From Labview 2011 To Labview 9.0 fp



    Please convert from LabVIEW 2011 to LabVIEW 9.0










    Attachments:







    Watlow Vis.zip ‏76 KB

  • RELEVANCY SCORE 3.27

    DB:3.27:Error In Table Join pd


    Hi All,
    I was trying to add tables using join but am getting multiple records.
    I get 7 records for each dayby joining Load_stat table .
    Now I wanted to add another table Audit_stat and I still need to get 7 records for that day.
    Instead of seven am getting many records.
    Can some one help me figureout which join should I use .
    SELECT TOP 20 ls.load_id as LoadID,SJ.[Name],CONVERT(DATE, CONVERT(DATETIME, RTRIM(SJH.run_date))
    (SJH.run_time * 9 SJH.run_time % 10000 * 6 SJH.run_time % 100 * 10) / 216e4) AS RunDate,
    Convert(DATETIME,CONVERT(DATETIME, RTRIM(SJH.run_date)) (SJH.run_time * 9 SJH.run_time % 10000 * 6
    SJH.run_time % 100 * 10) / 216e4) AS StartTime,
    CONVERT(DATETIME,(CONVERT(DATETIME, RTRIM(sjh.run_date)) (sjh.run_time * 9 sjh.run_time % 10000 * 6 SJH.run_time % 100 * 10) / 216e4)
    (SJH.run_duration * 9 SJH.run_duration % 10000 * 6 SJH.run_duration % 100 * 10) / 216e4) AS EndTime,

    SUBSTRING(RIGHT('000000' CONVERT(varchar(6), SJH.run_duration), 6), 1, 2) ':'
    SUBSTRING(RIGHT('000000' CONVERT(varchar(6), SJH.run_duration), 6), 3, 2) ':'
    SUBSTRING(RIGHT('000000' CONVERT(varchar(6), SJH.run_duration), 6), 5, 2) AS Job_Run_Time
    FROM msdb.dbo.[sysjobs] SJ LEFT JOIN
    msdb.dbo.[sysjobhistory] SJH ON SJ.[job_id] = SJH.[job_id] and step_id=0
    join Load_Stat ls on CONVERT(DATE, CONVERT(DATETIME, RTRIM(SJH.run_date))
    (SJH.run_time * 9 SJH.run_time % 10000 * 6 SJH.run_time % 100 * 10) / 216e4)=
    CONVERT(date,ls.process_start_date)
    join audit_stat ast on CONVERT(DATE, CONVERT(DATETIME, RTRIM(SJH.run_date)) (SJH.run_time * 9 SJH.run_time % 10000 * 6 SJH.run_time % 100 * 10) / 216e4)=
    CONVERT(date,ast.create_date)
    where sj.name IN ('LOAD_STAT'
    )
    and CONVERT(DATE, CONVERT(DATETIME, RTRIM(SJH.run_date))
    (SJH.run_time * 9 SJH.run_time % 10000 * 6 SJH.run_time % 100 * 10) / 216e4) ='2013-09-06'
    ORDER BY SJH.[run_date] DESC
    Should I join audit_stat and load_stat based on rundate .
    All the three tables have date as a common column.
    Load_stat and Audit_stat have loadid as common column.

    Please help.

    DB:3.27:Error In Table Join pd

    the joins conditions are awful !!! You should jojn them on common columns not on conditions !!! conditions are meant for WHERE clause..Thanks, hsbal

  • RELEVANCY SCORE 3.25

    DB:3.25:How To Convert The Arraylist Item Object To Int[]? f8


    look following :

    ArrayList al;

    int[] i = new int[2];
    int[] j = new int[2];

    i[0]=3;
    i[1]=4;
    j[0]=9;
    j[1]=0;
    al.add(i);
    al.add(j);

    when 'al.get(0)' to a Object type ,how to convert the "al.get(0)" into a int[]??
    pls help me.

    DB:3.25:How To Convert The Arraylist Item Object To Int[]? f8

    Try rephrasing that question, it does not make any sense.

  • RELEVANCY SCORE 3.24

    DB:3.24:Convert Lv 5.1.2 To Lv 9.0.1 (2009 Sp1) k7



    could you convert this one from 5.1.2 to 2009 please




    Egemen

    DB:3.24:Convert Lv 5.1.2 To Lv 9.0.1 (2009 Sp1) k7

    crossrulz wrote:

    Are you sure you tried to open the right copy? 2009 should have no problems opening 8.2.1.

    You were right. It works. Thank you.




    Egemen

  • RELEVANCY SCORE 3.24

    DB:3.24:High Cpu Utilization Wlc 5508? xf



    Hi all!! There is a problem with wlc 5508. Software version 7.6.120.0; Field Recovery Image Version 7.6.101.1.

    Appear next message logs:

    *osapiReaper: Jul 20 09:53:37.810: #OSAPI-3-CORE_HIGH_CPU_UTILIZATION: osapi_task.c:426 cpu core 9 is above 6% cpu utilization from last 60 sec  *osapiReaper: Jul 20 09:52:37.617: #OSAPI-3-CORE_HIGH_CPU_UTILIZATION: osapi_task.c:426 cpu core 9 is above 6% cpu utilization from last 60 sec  *osapiReaper: Jul 20 09:51:37.425: #OSAPI-3-CORE_HIGH_CPU_UTILIZATION: osapi_task.c:426 cpu core 9 is above 6% cpu utilization from last 60 sec  *osapiReaper: Jul 20 09:50:37.233: #OSAPI-3-CORE_HIGH_CPU_UTILIZATION: osapi_task.c:426 cpu core 9 is above 6% cpu utilization from last 60 sec  *osapiReaper: Jul 20 09:39:15.158: #OSAPI-3-CORE_HIGH_CPU_UTILIZATION: osapi_task.c:426 cpu core 9 is above 6% cpu utilization from last 60 sec  *osapiReaper: Jul 20 09:35:04.358: #OSAPI-3-CORE_HIGH_CPU_UTILIZATION: osapi_task.c:426 cpu core 9 is above 6% cpu utilization from last 60 sec  *osapiReaper: Jul 20 09:26:02.630: #OSAPI-3-CORE_HIGH_CPU_UTILIZATION: osapi_task.c:426 cpu core 7 is above 6% cpu utilization from last 60 sec  *osapiReaper: Jul 20 09:23:02.054: #OSAPI-3-CORE_HIGH_CPU_UTILIZATION: osapi_task.c:426 cpu core 7 is above 6% cpu utilization from last 60 sec

     

    Team results:

    (Cisco Controller) show cpuCurrent CPU(s) load: 9%

    Individual CPU load: 0%/0%, 0%/1%, 0%/1%, 0%/0%, 10%/1%, 44%/1%, 0%/1%, 32%/1%, 12%/2%, 0%/0%

     

    (Cisco Controller) show process cpu

     Name               Priority     CPU Use   (usr/sys)% hwm   CPU   Reaper

     System Reset Task  (240/  7)        0     (  0/  0)%   0    3 reaperWatcher      (  3/ 96)        0     (  0/  0)%   0    8   I osapiReaper        ( 10/ 94)        0     (  0/  0)%   0    6   I TempStatus         (240/  7)        0     (  0/  0)%   0    5   I pktDebugSocketTask (255/  1)        0     (  0/  0)%   0    8 HAPeerToPeerCommTa ( 90/ 64)        0     (  0/  0)%   0    5 webauthRedirect    ( 71/ 71)      100     ( 94/  5)% 100    7   T 300 emWeb              (240/  7)        0     (  0/  0)%  53    1   T 300 Bonjour_Msg_Task   (174/ 32)        0     (  0/  0)%   0    3 Bonjour_Process_Ta (174/ 32)        0     (  0/  0)%   0    2 Bonjour_Socket_Tas (240/  7)        0     (  0/  0)%   0    6 portalMsgTask      (240/  7)        0     (  0/  0)%   0    5 portalMonitorMsgTa (240/  7)        0     (  0/  0)%   0    6 portalSockTask     (240/  7)        0     (  0/  0)%   0    6 PMIPV6 Thread      (240/  7)        0     (  0/  0)%   0    6 PMIPV6 Thread      (240/  7)        0     (  0/  0)%   0    6 PMIPV6 Thread      (240/  7)        0     (  0/  0)%   0    6 PMIPV6 Thread      (240/  7)        0     (  0/  0)%   0    7 hotspotTask        (100/ 60)        0     (  0/  0)%   0    1

    --More-- or (q)uit HAConfigSyncTask   (240/  7)        0     (  0/  0)%   0    8 ipv6SocketTask     (240/  7)        0     (  0/  0)%   0    8 IPv6_Msg_Task      (174/ 32)        0     (  0/  0)%   0    1 SISF Feature Proce (240/  7)        0     (  0/  0)%   0    3 SISF BT Process    (174/ 32)        0     (  0/  0)%   0    2 sisfSwitcherTask   (174/ 32)        0     (  0/  0)%   0    1 alarmMsgTask       (240/  7)        0     (  0/  0)%   0    1 fmcHsTask          (100/ 60)        0     (  0/  0)%   0    7 SXP SOCK           (240/  7)        0     (  0/  0)%   0    6 SXP CORE           (240/  7)        0     (  0/  0)%   0    8 apstatEngineTask   (240/  7)        0     (  0/  0)%   0    5 rrcEngineTask      (240/  7)        0     (  0/  0)%   0    1 wipsTask           (240/  7)        0     (  0/  0)%   0    3 spectrumNMSPTask   (255/  1)        0     (  0/  0)%   0    5 spectrumDataTask   (255/  1)        0     (  0/  0)%   0    1 ethoipOsapiMsgRcv  (240/  7)        0     (  0/  0)%   0    3 ethoipSocketTask   (240/  7)        0     (  0/  0)%   0    3 cids-cl Task       (240/  7)        0     (  0/  0)%   0    3 tsmTask            (255/  1)        0     (  0/  0)%   0    9 envCtrollerStatus  (240/  7)        0     (  0/  0)%   0    3 rfidTask           (240/  7)        0     (  0/  0)%   0    1 idsTrackEventTask  (239/  8)        0     (  0/  0)%   0    2 DHCP Server        (240/  7)        0     (  0/  0)%   0    5

    --More-- or (q)uit ProcessLoggingTask (240/  7)        0     (  0/  0)%   0    3 bcastReceiveTask   (240/  7)        0     (  0/  0)%   0    2 CDP Main           (240/  7)        0     (  0/  0)%   0    4 cdpSocketTask      (240/  7)        0     (  0/  0)%   0    4 sntpMainTask       (240/  7)        0     (  0/  0)%   0    3 sntpReceiveTask    (240/  7)        0     (  0/  0)%   0    3 rrmPeriodicTask    (255/  1)        0     (  0/  0)%   0    2 RRM-MGR-5_0        (255/  1)        0     (  0/  0)%   0    2 RRM-MGR-5_0-GRP    (255/  1)        0     (  0/  0)%   2    6 RRM-MGR-5_0-SOC    (255/  1)        0     (  0/  0)%   0    9 RRM-DCLNT-5_0      (255/  1)        0     (  0/  0)%   0    2 RRM-CLNT-5_0       (255/  1)        0     (  0/  0)%   0    3 RRM-CLNT-5_0-SOC   (255/  1)        0     (  0/  0)%   0    7 RRM-MGR-2_4        (255/  1)        0     (  0/  0)%   0    3 RRM-MGR-2_4-GRP    (255/  1)        0     (  0/  0)%   0    5 RRM-MGR-2_4-SOC    (255/  1)        0     (  0/  0)%   0    3 RRM-DCLNT-2_4      (255/  1)        0     (  0/  0)%   0    4 RRM-CLNT-2_4       (255/  1)        0     (  0/  0)%   0    1 RRM-CLNT-2_4-SOC   (255/  1)        0     (  0/  0)%   0    7 Client Profiler Ta (240/  7)        0     (  0/  0)%   0    1 apf80211vTask      (240/  7)        0     (  0/  0)%   0    9 apf80211KTask      (240/  7)        0     (  0/  0)%   0    9 RLDP Schedule Task (240/  7)        0     (  0/  0)%   0    5

    --More-- or (q)uit apfPmkCacheTimer   (240/  7)        0     (  0/  0)%   0    9 Apf Guest          (240/  7)        0     (  0/  0)%   0    1 apfMsConnTask_7    (175/ 32)        0     (  0/  0)%   0    2 apfMsConnTask_6    ( 85/ 65)        0     (  0/  0)%   0    5 apfMsConnTask_5    (175/ 32)        0     (  0/  0)%   0    5 apfMsConnTask_4    (175/ 32)        0     (  0/  0)%   0    4 apfMsConnTask_3    (175/ 32)        0     (  0/  0)%   1    3 apfMsConnTask_2    (175/ 32)        0     (  0/  0)%   0    3 apfMsConnTask_1    (175/ 32)        0     (  0/  0)%   0    4 apfMsConnTask_0    (175/ 32)        0     (  0/  0)%   0    3 apfLbsTask         (240/  7)        0     (  0/  0)%   0    1 apfRogueTask_3     (240/  7)        0     (  0/  0)%   0    2 apfRogueTask_2     (240/  7)        0     (  0/  0)%   0    2 apfRogueTask_0     (240/  7)        0     (  0/  0)%   0    1 apfRogueTask_1     (240/  7)        0     (  0/  0)%   0    4 apfRogueDetectorTh (175/ 32)        0     (  0/  0)%   0    2 apfOrphanSocketTas (240/  7)        0     (  0/  0)%   0    4 apfProbeThread     ( 73/ 70)        0     (  0/  0)%   0    1 apfOpenDtlSocket   ( 71/ 71)        0     (  0/  0)%   0    2 apfRLDP            (175/ 32)        0     (  0/  0)%   0    9 apfRLDPRecv        (175/ 32)        0     (  0/  0)%   0    9 apfReceiveTask     (175/ 32)        0     (  0/  0)%   0    1 NBAR2_Task         (240/  7)        0     (  0/  0)% 100    4

    --More-- or (q)uit NFV9_Task          (240/  7)        0     (  0/  0)%   0    1 capwapPingOsapiMsg (240/  7)        0     (  0/  0)%   0    9 capwapPingSocketTa (240/  7)        0     (  0/  0)%   0    9 mmMfpTask          (175/ 32)        0     (  0/  0)%   0    6 mmMobility         (240/  7)        0     (  0/  0)%   0    1 mmSSHPeerRegister  (240/  7)        0     (  0/  0)%   0    9 mmListen           (180/ 30)        0     (  0/  0)%   0    9 aaaQueueReader     (225/ 13)        0     (  0/  0)%   0    1 EAP Framework      (240/  7)        0     (  0/  0)%   0    7 wapi daemon        (240/  7)        0     (  0/  0)%   0    7 radiusRFC3576Trans (201/ 22)        0     (  0/  0)%   0    8 tplusTransportThre (201/ 22)        0     (  0/  0)%   0    9 radiusCoASupportTr (201/ 22)        0     (  0/  0)%   0    2 radiusTransportThr (201/ 22)        0     (  0/  0)%   0    9 ewmwebWebauth1     (240/  7)        0     (  0/  0)%   0    3 ccxDiagTask        (240/  7)        0     (  0/  0)%   0    8 pemReceiveTask     (240/  7)        0     (  0/  0)%   0    5 iappSocketTask     (240/  7)        0     (  0/  0)%   0    5 ccxS69Task         (240/  7)        0     (  0/  0)%   0    9 ccxRmTask          (230/ 11)        0     (  0/  0)%   0    1 Dot1x_NW_MsgTask_7 (240/  7)        0     (  0/  0)%   0    1 dot1xSocketTask    (240/  7)        0     (  0/  0)%   0    3 ccxL2RoamTask      (240/  7)        0     (  0/  0)%   0    5

    --More-- or (q)uit Dot1x_NW_MsgTask_6 (240/  7)        0     (  0/  0)%   0    3 Dot1x_NW_MsgTask_5 (240/  7)        0     (  0/  0)%   0    1 Dot1x_NW_MsgTask_4 (240/  7)        0     (  0/  0)%   0    4 Dot1x_NW_MsgTask_3 (240/  7)        0     (  0/  0)%   0    3 Dot1x_NW_MsgTask_2 (240/  7)        0     (  0/  0)%   0    3 Dot1x_NW_MsgTask_1 (240/  7)        0     (  0/  0)%   0    5 Dot1x_NW_MsgTask_0 (240/  7)        0     (  0/  0)%   0    5 dot1xMsgTask       (240/  7)        0     (  0/  0)%   0    3 nmspTxServerTask   ( 15/ 92)        0     (  0/  0)%   0    5 capwapHATask       (100/ 60)        0     (  0/  0)%   0    3 nmspRxServerTask   (200/ 22)        0     (  0/  0)%   0    7 capwapSocketTask   (118/ 53)        0     (  0/  0)%   2    4 spamApTask7        (118/ 53)        0     (  0/  0)%   3    1 spamApTask6        (118/ 53)        0     (  0/  0)%   3    3 spamApTask5        (118/ 53)        0     (  0/  0)%   3    4 spamApTask4        (118/ 53)        0     (  0/  0)%   3    1 spamApTask3        (118/ 53)        0     (  0/  0)%   3    1 spamApTask2        (118/ 53)        0     (  0/  0)%   3    3 spamApTask1        (118/ 53)        0     (  0/  0)%   0    5 spamApTask0        (118/ 53)        0     (  0/  0)%   3    4 spamReceiveTask    (120/ 52)        0     (  0/  0)%   0    2 spamSocketTask     (175/ 32)        0     (  0/  0)%   0    4 IPC Main Thread    (240/  7)        0     (  0/  0)%   0    3   I

    --More-- or (q)uit IPC control Receiv (240/  7)        0     (  0/  0)%   0    4   I License Client Lib (240/  7)        0     (  0/  0)%   0    9   I Dns_Msg_Task       (240/  7)        0     (  0/  0)%   0    9 sshpmLscScepTask   (100/ 60)        0     (  0/  0)%   0    1 sshpmLscTask       (100/ 60)        0     (  0/  0)%   0    1 sshpmReceiveTask   (175/ 32)        0     (  0/  0)%   0    1 sshpmMainTask      ( 75/ 69)        0     (  0/  0)%   0    2 mfpEventTask       (255/  1)        0     (  0/  0)%   0    1 mfpTrapForwardTask (255/  1)        0     (  0/  0)%   0    7 mfpKeyRefreshTask  (255/  1)        0     (  0/  0)%   0    6 clientTroubleShoot (100/ 60)        0     (  0/  0)%   0    9 loggerMainTask     ( 89/ 64)        0     (  0/  0)%   2    3 debugMainTask      (200/ 22)        0     (  0/  0)%   0    3 dot3ad_lac_task    (240/  7)        0     (  0/  0)%   0    9 gccp_t             (240/  7)        0     (  0/  0)%   0    7 dot1dRecv          (250/  3)        0     (  0/  0)%   0    7 dot1dTimer         (240/  7)        0     (  0/  0)%   0    7   T 300 fdbTask            (240/  7)        0     (  0/  0)%   0    7 uart_session       (240/  7)        0     (  0/  0)%   0    4 StatsTask          (240/  7)        0     (  0/  0)%   0    2 broffu_SocketRecei (100/ 60)        0     (  0/  0)%   0    2 snmp_trap_msg_task (100/ 60)        0     (  0/  0)%   0    7 RMONTask           (240/  7)        0     (  0/  0)%   0    8   I

    --More-- or (q)uit SNMPProcMon        (240/  7)        0     (  0/  0)%   0    1   T 300 SNMPTask           ( 95/ 62)        0     (  0/  0)%   2    9 DHCP Socket Task   (  7/ 95)        0     (  0/  0)%   0    5 DHCP Proxy Task    (240/  7)        0     (  0/  0)%   0    5 DHCPv6 Proxy Task  (240/  7)        0     (  0/  0)%   0    9 dhcpClientTimerTas (240/  7)        0     (  0/  0)%   0    7 DHCP Client Task   (240/  7)        0     (  0/  0)%   0    5   T 590 BootP              (240/  7)        0     (  0/  0)%   0    3   T 300 TransferTask       (240/  7)        0     (  0/  0)%   2    3   I osapiTimer         (100/ 60)        0     (  0/  0)%   0    7   T 300 sim_task           (100/ 60)        0     (  0/  0)%   0    3   I nim_t              (100/ 60)        0     (  0/  0)%   0    2 dtlDataLowTask     (  7/ 95)        0     (  0/  0)%   0    3 dtlTask            (100/ 60)        0     (  0/  0)%   0    2 dtlArpTask         (240/  7)        0     (  0/  0)%   2    3 greTask            (100/ 60)        0     (  0/  0)%   0    4 sampStatsTask      (240/  7)        0     (  0/  0)%   0    1 sysapiprintf       (240/  7)        0     (  0/  0)%   0    5 osapiBsnTimer      ( 70/ 71)        0     (  0/  0)%   0    1 fp_main_task       (240/  7)        0     (  0/  0)%   0    4

     

    As can be seen loading process accounts for webauthRedirect.

    Who has any ideas? How to solve this problem?

    DB:3.24:High Cpu Utilization Wlc 5508? xf


    Hi,

     webauthRedirect    ( 71/ 71)      100     ( 94/  5)% 100    7   T 300

    Its a bug: CSCup40557

     

    You have to use 7.6.122.x  - 7.6MR3 Beta version. Its fixed in this new beta version.

    More info:https://supportforums.cisco.com/document/12245186/76mr3-beta-availability

     

    Regards

    Dont forget to rate helpful posts

  • RELEVANCY SCORE 3.24

    DB:3.24:Opendocument Not Working With Sso zf



    I have configured InfoView SSO using Vintela on BO Edge 3.0 and it is working fine. I have reports using openDocument. I have searched this forum and found a reference to SAP note 1248492. Followed the resolution and it is failing with following error.

    HTTP Status 404 - /ull

    -

    type Status report

    message /ull

    description The requested resource (/ull) is not available.

    -

    Apache Tomcat/5.5.20

    The tomcat stdout reads:

    [DEBUG] Fri Feb 20 10:42:04 PST 2009 jcsi.kerberos: decrypted ticket:

    Ticket:

    encryption type: 3 (DECRYPTED OK)

    service principal: HTTP/boedgnvt01.bmrn.com("at")BMRN.COM

    TransitedEncoding:

    client: user"at"BMRN.COM

    session key: [3, 37 31 3b d9 19 23 70 f1 ]

    ticket flags: forwardable renewable ok-as-delegate preauthent

    valid from: Fri Feb 20 10:42:04 PST 2009

    valid till: Fri Feb 20 20:42:04 PST 2009

    valid for:

    all addresses

    auth data:

    [1, 30 82 3 9a 30 82 3 96 a0 4 2 2 0 80 a1 82 3 8c 4 82 3 88 4 0 0 0 0 0 0 0 1 0 0 0 f0 2 0 0 48 0 0 0 0 0 0 0 a 0 0 0 1e 0 0 0 38 3 0 0 0 0 0 0 6 0 0 0 14 0 0 0 58 3 0 0 0 0 0 0 7 0 0 0 14 0 0 0 70 3 0 0 0 0 0 0 1 10 8 0 cc cc cc cc e0 2 0 0 0 0 0 0 0 0 2 0 fe 5 f ed 8a 93 c9 1 ff ff ff ff ff ff ff 7f ff ff ff ff ff ff ff 7f 4a cf 58 28 6c 93 c9 1 4a cf 58 28 6c 93 c9 1 4a 4f 86 11 25 da c9 1 14 0 14 0 4 0 2 0 20 0 20 0 8 0 2 0 12 0 12 0 c 0 2 0 0 0 0 0 10 0 2 0 34 0 34 0 14 0 2 0 4 0 4 0 18 0 2 0 d8 2a 0 0 28 11 0 0 1 2 0 0 17 0 0 0 1c 0 2 0 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 e 0 10 0 20 0 2 0 10 0 12 0 24 0 2 0 28 0 2 0 0 0 0 0 0 0 0 0 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 2c 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 a 0 0 0 0 0 0 0 a 0 0 0 64 0 65 0 73 0 63 0 61 0 6d 0 69 0 6c 0 6c 0 6f 0 10 0 0 0 0 0 0 0 10 0 0 0 44 0 65 0 6e 0 6e 0 69 0 73 0 20 0 45 0 73 0 63 0 61 0 6d 0 69 0 6c 0 6c 0 6f 0 9 0 0 0 0 0 0 0 9 0 0 0 75 0 6e 0 69 0 76 0 33 0 2e 0 62 0 61 0 74 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1a 0 0 0 0 0 0 0 1a 0 0 0 5c 0 5c 0 65 0 6d 0 63 0 6e 0 6f 0 30 0 32 0 5c 0 75 0 73 0 65 0 72 0 73 0 5c 0 64 0 65 0 73 0 63 0 61 0 6d 0 69 0 6c 0 6c 0 6f 0 2 0 0 0 0 0 0 0 2 0 0 0 48 0 3a 0 17 0 0 0 a8 1d 0 0 7 0 0 0 86 e 0 0 7 0 0 0 21 9 0 0 7 0 0 0 4c 17 0 0 7 0 0 0 e2 8 0 0 7 0 0 0 4f 17 0 0 7 0 0 0 7d 28 0 0 7 0 0 0 72 22 0 0 7 0 0 0 1 2 0 0 7 0 0 0 e2 11 0 0 7 0 0 0 71 9 0 0 7 0 0 0 d5 9 0 0 7 0 0 0 86 c 0 0 7 0 0 0 5c 22 0 0 7 0 0 0 df 8 0 0 7 0 0 0 b2 1b 0 0 7 0 0 0 fe 17 0 0 7 0 0 0 5d 1c 0 0 7 0 0 0 c6 e 0 0 7 0 0 0 5e 1d 0 0 7 0 0 0 e6 a 0 0 7 0 0 0 a3 13 0 0 7 0 0 0 9 1b 0 0 7 0 0 0 8 0 0 0 0 0 0 0 7 0 0 0 44 0 43 0 4e 0 56 0 54 0 30 0 31 0 0 0 9 0 0 0 0 0 0 0 8 0 0 0 42 0 49 0 4f 0 4d 0 41 0 52 0 49 0 4e 0 4 0 0 0 1 4 0 0 0 0 0 5 15 0 0 0 3b 23 f5 57 9d 60 3 7b 71 45 54 0 1 0 0 0 30 0 2 0 7 0 0 20 5 0 0 0 1 5 0 0 0 0 0 5 15 0 0 0 3b 23 f5 57 9d 60 3 7b 71 45 54 0 8c 29 0 0 0 e6 89 ec 8a 93 c9 1 14 0 64 0 65 0 73 0 63 0 61 0 6d 0 69 0 6c 0 6c 0 6f 0 0 0 76 ff ff ff d8 ba ab 33 2b f2 af 51 34 b1 ba d8 2a 65 64 6c 0 0 0 0 76 ff ff ff d7 a1 8d 20 5a d3 93 8f 51 92 6 70 3a c9 1 8b 0 0 0 0 ]

    [DEBUG] Fri Feb 20 10:42:04 PST 2009 jcsi.kerberos: Setting context expiry to [1235191324000]

    [DEBUG] Fri Feb 20 10:42:04 PST 2009 jcsi.kerberos: Current wall time is [1235155324924]

    [DEBUG] Fri Feb 20 10:42:04 PST 2009 jcsi.kerberos: ** decrypting application request .. **

    with key

    [3, 37 31 3b d9 19 23 70 f1 ]

    [DEBUG] Fri Feb 20 10:42:04 PST 2009 jcsi.kerberos: decrypted application request:

    ++++ KRB-AP-REQ Message ++++

    encryption type: 3 (DECRYPTED OK)

    ap options: mutual-required

    Ticket:

    encryption type: 3

    service principal: HTTP/boedgnvt01.bmrn.com"at"BMRN.COM

    client: user"at"BMRN.COM

    subkey: [3, 25 b6 52 f2 ba a4 d3 ea ]

    client time: Fri Feb 20 10:42:07 PST 2009

    cusec: 2332

    sequence number: 1759111339

    ++++++++++++++++++++++++++++

    [DEBUG] Fri Feb 20 10:42:04 PST 2009 jcsi.kerberos: ** creating application response .. **

    with key

    [3, 37 31 3b d9 19 23 70 f1 ]

    [DEBUG] Fri Feb 20 10:42:04 PST 2009 jcsi.kerberos: created application response:

    ++++ KRB-AP-REP Message ++++

    encryption type: 3

    sequence number: 47830298

    sub session key: null

    client time: Fri Feb 20 10:42:07 PST 2009

    cusec: 2332

    ++++++++++++++++++++++++++++

    Any clues? It seems to be close!

    DB:3.24:Opendocument Not Working With Sso zf


    The configuration in the opendocument web.xml must match the configuration in the infoview web.xml.

    try note 1251945. If you still can't make it work you may need to open a case with support. I only tested this on XI 3.x not Edge. In theory they are the same but they were released at different times so they have some different code streams.

    Regards,

    Tim

  • RELEVANCY SCORE 3.23

    DB:3.23:Packet Loss mc



    Hello, I'm experiencing high latency and intermittent disconnections (while playing online games). I've run several tests (particularly pointing to the World of Warcraft game servers) and have the results to share here. I really haven't noticed the lag elsewhere in my online activities as World of Warcraft is the only online gaming that I partake in. However, I have also run a pathping test pointing to www.google.com and I am seeing the packet loss there as well. Thanks!

    Pingpath

    Tracing route to 12.168.209.68 over a maximum of 30 hops

    0 JT-PC [192.168.0.101]1 192.168.0.12 50.150.98.13 te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]4 te-1-12-0-12-ar01.sfsutro.ca.sfba.comcast.net [69.139.198.18]5 he-2-5-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.166.141]6 he-0-11-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.238]7 * * *Computing statistics for 150 seconds...Source to Here This Node/LinkHop RTT Lost/Sent = Pct Lost/Sent = Pct Address0 JT-PC [192.168.0.101]0/ 100 = 0% |1 0ms 0/ 100 = 0% 0/ 100 = 0% 192.168.0.13/ 100 = 3% |2 10ms 3/ 100 = 3% 0/ 100 = 0% 50.150.98.12/ 100 = 2% |3 10ms 7/ 100 = 7% 2/ 100 = 2% te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]0/ 100 = 0% |4 11ms 9/ 100 = 9% 4/ 100 = 4% te-1-12-0-12-ar01.sfsutro.ca.sfba.comcast.net [69.139.198.18]0/ 100 = 0% |5 13ms 5/ 100 = 5% 0/ 100 = 0% he-2-5-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.166.141]4/ 100 = 4% |6 12ms 9/ 100 = 9% 0/ 100 = 0% he-0-11-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.238]

    Trace complete.

    Pingpath

    Tracing route to 199.108.62.157 over a maximum of 30 hops

    0 JT-PC [192.168.0.101]1 192.168.0.12 50.150.98.13 te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]4 te-1-12-0-11-ar01.sfsutro.ca.sfba.comcast.net [68.85.154.38]5 he-3-11-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.94.133]6 he-0-10-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.214]7 192.205.37.18 cr1.sffca.ip.att.net [12.122.86.198]9 cr1.la2ca.ip.att.net [12.122.3.122]10 12.122.90.2911 * * *Computing statistics for 250 seconds...Source to Here This Node/LinkHop RTT Lost/Sent = Pct Lost/Sent = Pct Address0 JT-PC [192.168.0.101]0/ 100 = 0% |1 0ms 0/ 100 = 0% 0/ 100 = 0% 192.168.0.11/ 100 = 1% |2 9ms 2/ 100 = 2% 1/ 100 = 1% 50.150.98.10/ 100 = 0% |3 9ms 1/ 100 = 1% 0/ 100 = 0% te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]0/ 100 = 0% |4 12ms 2/ 100 = 2% 1/ 100 = 1% te-1-12-0-11-ar01.sfsutro.ca.sfba.comcast.net [68.85.154.38]0/ 100 = 0% |5 13ms 3/ 100 = 3% 2/ 100 = 2% he-3-11-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.94.133]0/ 100 = 0% |6 13ms 3/ 100 = 3% 2/ 100 = 2% he-0-10-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.214]0/ 100 = 0% |7 16ms 1/ 100 = 1% 0/ 100 = 0% 192.205.37.199/ 100 = 99% |8 --- 100/ 100 =100% 0/ 100 = 0% cr1.sffca.ip.att.net [12.122.86.198]0/ 100 = 0% |9 --- 100/ 100 =100% 0/ 100 = 0% cr1.la2ca.ip.att.net [12.122.3.122]0/ 100 = 0% |10 --- 100/ 100 =100% 0/ 100 = 0% 12.122.90.29

    Trace complete.

    WinMTR|------------------------------------------------------------------------------------------|| WinMTR statistics || Host - % | Sent | Recv | Best | Avrg | Wrst | Last ||------------------------------------------------|------|------|------|------|------|------|| 192.168.0.1 - 0 | 1990 | 1990 | 0 | 0 | 1 | 0 || 50.150.98.1 - 2 | 1876 | 1847 | 7 | 9 | 39 | 8 ||te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net - 2 | 1887 | 1861 | 0 | 11 | 101 | 9 ||te-1-12-0-10-ar01.sfsutro.ca.sfba.comcast.net - 2 | 1867 | 1836 | 8 | 12 | 46 | 10 ||he-2-5-0-0-cr01.sanjose.ca.ibone.comcast.net - 2 | 1895 | 1871 | 9 | 14 | 49 | 12 ||he-0-11-0-0-pe03.11greatoaks.ca.ibone.comcast.net - 2 | 1883 | 1856 | 10 | 13 | 103 | 11 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 |

    Trace Route

    Tracing route to 12.168.209.68 over a maximum of 30 hops

    1 1 ms 1 ms 1 ms 192.168.0.12 * 8 ms 9 ms 50.150.98.13 10 ms 8 ms 10 ms te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]4 9 ms 11 ms 11 ms te-1-12-0-12-ar01.sfsutro.ca.sfba.comcast.net [69.139.198.18]5 22 ms 12 ms 11 ms he-2-5-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.166.141]6 11 ms 11 ms 12 ms he-0-11-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.238]7 * * * Request timed out.8 * * * Request timed out.9 * * * Request timed out.10 * * * Request timed out.11 * * * Request timed out.12 * * * Request timed out.13 * * * Request timed out.14 * * * Request timed out.15 * * * Request timed out.16 * * * Request timed out.17 * * * Request timed out.18 * * * Request timed out.19 * * * Request timed out.20 * * * Request timed out.21 * * * Request timed out.22 * * * Request timed out.23 * * * Request timed out.24 * * * Request timed out.25 * * * Request timed out.26 * * * Request timed out.27 * * * Request timed out.28 * * * Request timed out.29 * * * Request timed out.30 * * * Request timed out.

    Trace complete.

    Trace Route

    Tracing route to 199.108.62.157 over a maximum of 30 hops

    1 1 ms 1 ms 1 ms 192.168.0.12 8 ms 7 ms 16 ms 50.150.98.13 9 ms 9 ms 9 ms te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]4 13 ms 11 ms 11 ms te-1-12-0-12-ar01.sfsutro.ca.sfba.comcast.net [69.139.198.18]5 11 ms 11 ms 11 ms he-3-11-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.94.133]6 11 ms 12 ms 11 ms he-0-10-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.214]7 14 ms 15 ms 12 ms 192.205.37.18 25 ms 27 ms 23 ms cr1.sffca.ip.att.net [12.122.86.198]9 26 ms 27 ms 28 ms cr1.la2ca.ip.att.net [12.122.3.122]10 22 ms 23 ms 28 ms 12.122.90.2911 * * * Request timed out.12 * * * Request timed out.13 * * * Request timed out.14 * * * Request timed out.15 * * * Request timed out.16 * * * Request timed out.17 * * * Request timed out.18 * * * Request timed out.19 * * * Request timed out.20 * * * Request timed out.21 * * * Request timed out.22 * * * Request timed out.23 * * * Request timed out.24 * * * Request timed out.25 * * * Request timed out.26 * * * Request timed out.27 * * * Request timed out.28 * * * Request timed out.29 * * * Request timed out.30 * * * Request timed out.

    Trace complete.

    DB:3.23:Packet Loss mc


    Hello, I'm experiencing high latency and intermittent disconnections (while playing online games). I've run several tests (particularly pointing to the World of Warcraft game servers) and have the results to share here. I really haven't noticed the lag elsewhere in my online activities as World of Warcraft is the only online gaming that I partake in. However, I have also run a pathping test pointing to www.google.com and I am seeing the packet loss there as well. Thanks!

    Pingpath

    Tracing route to 12.168.209.68 over a maximum of 30 hops

    0 JT-PC [192.168.0.101]1 192.168.0.12 50.150.98.13 te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]4 te-1-12-0-12-ar01.sfsutro.ca.sfba.comcast.net [69.139.198.18]5 he-2-5-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.166.141]6 he-0-11-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.238]7 * * *Computing statistics for 150 seconds...Source to Here This Node/LinkHop RTT Lost/Sent = Pct Lost/Sent = Pct Address0 JT-PC [192.168.0.101]0/ 100 = 0% |1 0ms 0/ 100 = 0% 0/ 100 = 0% 192.168.0.13/ 100 = 3% |2 10ms 3/ 100 = 3% 0/ 100 = 0% 50.150.98.12/ 100 = 2% |3 10ms 7/ 100 = 7% 2/ 100 = 2% te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]0/ 100 = 0% |4 11ms 9/ 100 = 9% 4/ 100 = 4% te-1-12-0-12-ar01.sfsutro.ca.sfba.comcast.net [69.139.198.18]0/ 100 = 0% |5 13ms 5/ 100 = 5% 0/ 100 = 0% he-2-5-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.166.141]4/ 100 = 4% |6 12ms 9/ 100 = 9% 0/ 100 = 0% he-0-11-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.238]

    Trace complete.

    Pingpath

    Tracing route to 199.108.62.157 over a maximum of 30 hops

    0 JT-PC [192.168.0.101]1 192.168.0.12 50.150.98.13 te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]4 te-1-12-0-11-ar01.sfsutro.ca.sfba.comcast.net [68.85.154.38]5 he-3-11-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.94.133]6 he-0-10-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.214]7 192.205.37.18 cr1.sffca.ip.att.net [12.122.86.198]9 cr1.la2ca.ip.att.net [12.122.3.122]10 12.122.90.2911 * * *Computing statistics for 250 seconds...Source to Here This Node/LinkHop RTT Lost/Sent = Pct Lost/Sent = Pct Address0 JT-PC [192.168.0.101]0/ 100 = 0% |1 0ms 0/ 100 = 0% 0/ 100 = 0% 192.168.0.11/ 100 = 1% |2 9ms 2/ 100 = 2% 1/ 100 = 1% 50.150.98.10/ 100 = 0% |3 9ms 1/ 100 = 1% 0/ 100 = 0% te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]0/ 100 = 0% |4 12ms 2/ 100 = 2% 1/ 100 = 1% te-1-12-0-11-ar01.sfsutro.ca.sfba.comcast.net [68.85.154.38]0/ 100 = 0% |5 13ms 3/ 100 = 3% 2/ 100 = 2% he-3-11-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.94.133]0/ 100 = 0% |6 13ms 3/ 100 = 3% 2/ 100 = 2% he-0-10-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.214]0/ 100 = 0% |7 16ms 1/ 100 = 1% 0/ 100 = 0% 192.205.37.199/ 100 = 99% |8 --- 100/ 100 =100% 0/ 100 = 0% cr1.sffca.ip.att.net [12.122.86.198]0/ 100 = 0% |9 --- 100/ 100 =100% 0/ 100 = 0% cr1.la2ca.ip.att.net [12.122.3.122]0/ 100 = 0% |10 --- 100/ 100 =100% 0/ 100 = 0% 12.122.90.29

    Trace complete.

    WinMTR|------------------------------------------------------------------------------------------|| WinMTR statistics || Host - % | Sent | Recv | Best | Avrg | Wrst | Last ||------------------------------------------------|------|------|------|------|------|------|| 192.168.0.1 - 0 | 1990 | 1990 | 0 | 0 | 1 | 0 || 50.150.98.1 - 2 | 1876 | 1847 | 7 | 9 | 39 | 8 ||te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net - 2 | 1887 | 1861 | 0 | 11 | 101 | 9 ||te-1-12-0-10-ar01.sfsutro.ca.sfba.comcast.net - 2 | 1867 | 1836 | 8 | 12 | 46 | 10 ||he-2-5-0-0-cr01.sanjose.ca.ibone.comcast.net - 2 | 1895 | 1871 | 9 | 14 | 49 | 12 ||he-0-11-0-0-pe03.11greatoaks.ca.ibone.comcast.net - 2 | 1883 | 1856 | 10 | 13 | 103 | 11 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 || No response from host - 100 | 399 | 0 | 0 | 0 | 0 | 0 |

    Trace Route

    Tracing route to 12.168.209.68 over a maximum of 30 hops

    1 1 ms 1 ms 1 ms 192.168.0.12 * 8 ms 9 ms 50.150.98.13 10 ms 8 ms 10 ms te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]4 9 ms 11 ms 11 ms te-1-12-0-12-ar01.sfsutro.ca.sfba.comcast.net [69.139.198.18]5 22 ms 12 ms 11 ms he-2-5-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.166.141]6 11 ms 11 ms 12 ms he-0-11-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.238]7 * * * Request timed out.8 * * * Request timed out.9 * * * Request timed out.10 * * * Request timed out.11 * * * Request timed out.12 * * * Request timed out.13 * * * Request timed out.14 * * * Request timed out.15 * * * Request timed out.16 * * * Request timed out.17 * * * Request timed out.18 * * * Request timed out.19 * * * Request timed out.20 * * * Request timed out.21 * * * Request timed out.22 * * * Request timed out.23 * * * Request timed out.24 * * * Request timed out.25 * * * Request timed out.26 * * * Request timed out.27 * * * Request timed out.28 * * * Request timed out.29 * * * Request timed out.30 * * * Request timed out.

    Trace complete.

    Trace Route

    Tracing route to 199.108.62.157 over a maximum of 30 hops

    1 1 ms 1 ms 1 ms 192.168.0.12 8 ms 7 ms 16 ms 50.150.98.13 9 ms 9 ms 9 ms te-0-7-0-5-sur03.sfgeary.ca.sfba.comcast.net [68.85.190.173]4 13 ms 11 ms 11 ms te-1-12-0-12-ar01.sfsutro.ca.sfba.comcast.net [69.139.198.18]5 11 ms 11 ms 11 ms he-3-11-0-0-cr01.sanjose.ca.ibone.comcast.net [68.86.94.133]6 11 ms 12 ms 11 ms he-0-10-0-0-pe03.11greatoaks.ca.ibone.comcast.net [68.86.85.214]7 14 ms 15 ms 12 ms 192.205.37.18 25 ms 27 ms 23 ms cr1.sffca.ip.att.net [12.122.86.198]9 26 ms 27 ms 28 ms cr1.la2ca.ip.att.net [12.122.3.122]10 22 ms 23 ms 28 ms 12.122.90.2911 * * * Request timed out.12 * * * Request timed out.13 * * * Request timed out.14 * * * Request timed out.15 * * * Request timed out.16 * * * Request timed out.17 * * * Request timed out.18 * * * Request timed out.19 * * * Request timed out.20 * * * Request timed out.21 * * * Request timed out.22 * * * Request timed out.23 * * * Request timed out.24 * * * Request timed out.25 * * * Request timed out.26 * * * Request timed out.27 * * * Request timed out.28 * * * Request timed out.29 * * * Request timed out.30 * * * Request timed out.

    Trace complete.

  • RELEVANCY SCORE 3.21

    DB:3.21:771 Search For Signal pa



    as of 7/8

    Satellite transponders (32 total at 101)

    [Most of your standard definition channels are beamed from 101W]

    1-8 0 0 0 48 0 64 0 63

    9-16 0 0 0 47 0 68 0 63

    17-24 0 84 0 0 0 68 0 53

    25-32 0 57 0 0 0 67 0 66

    Prior to that I have been down to about 15 channels for several weeks

    DB:3.21:771 Search For Signal pa


    as of 7/8

    Satellite transponders (32 total at 101)

    [Most of your standard definition channels are beamed from 101W]

    1-8 0 0 0 48 0 64 0 63

    9-16 0 0 0 47 0 68 0 63

    17-24 0 84 0 0 0 68 0 53

    25-32 0 57 0 0 0 67 0 66

    Prior to that I have been down to about 15 channels for several weeks

  • RELEVANCY SCORE 3.21

    DB:3.21:Convert From 8.0 To 7.1 97



    Hi everybody!

    Could anyone downconvert those vis?

    Thx







    Solved!
    Go to Solution.

    DB:3.21:Convert From 8.0 To 7.1 97


    Thanks so much Kees.

    That's a good first step to see the arguments of the dll's function.

    Cheers!

  • RELEVANCY SCORE 3.20

    DB:3.20:Help With Flatfile And File Name mp


    Hi,
    I'm working with a flatfile and i have an issue with datetime.
    The last row of this file has the following format:
     
    Movimientos_YYYYMMDDhhmmss.txt
     
    I have this last row with a Data Flow --- OLE DB Source --- sqlcommad with this query:
     
    SELECT 'Movimientos_' + SUBSTRING(CONVERT(varchar(10), GETDATE(), 20), 1, 4) + SUBSTRING(CONVERT(varchar(10), GETDATE(), 20), 6, 2)
    + SUBSTRING(CONVERT(varchar(10), GETDATE(), 20), 9, 2)
    + SUBSTRING(CONVERT(varchar(10), GETDATE(), 108), 1, 2)
    + SUBSTRING(CONVERT(varchar(10), GETDATE(), 108), 4, 2)
    + SUBSTRING(CONVERT(varchar(10), GETDATE(), 108), 7, 2) + '.txt'
    from ITRFZMovimientos
     
    But after that  i have to change the filename from Movimientos.txt to Movimientos_YYYYMMDDhhmmss.txt, i do this with a file system task, operation rename and i use a variable with the following syntax:
     
    @[User:athdestino] + SUBSTRING( @[User::filevalue]  , 1 , FINDSTRING( @[User::filevalue] ,.,1) - 1 ) + _ + (DT_STR, 4, 1252) Year( @[System:tartTime] )+ RIGHT(0 + (DT_STR,4,1252)DATEPART( mm ,  @[System:tartTime]  ), 2)+ RIGHT(0 + (DT_STR,4,1252)DATEPART( dd , @[System:tartTime]   ), 2) +RIGHT(0 + (DT_STR, 4, 1252)DATEPART(hh, @[System::ContainerStartTime]), 2) + RIGHT(0 + (DT_STR, 4, 1252)DATEPART(mi, @[System::ContainerStartTime]), 2) + RIGHT(0 + (DT_STR, 4, 1252)DATEPART(ss, @[System::ContainerStartTime]), 2)+SUBSTRING( @[User::filevalue] , FINDSTRING( @[User::filevalue] ,.,1), LEN( @[User::filevalue] ) ) .
     
    This works but the problem is that i have a diference with the time by at least 8 second between the time of the last row and the time of the filename when i changed it.
    I can't figured out...
     
    Any help plis...
     
    Davidson

    DB:3.20:Help With Flatfile And File Name mp

    Finally i did it.......i resolved by creating new variables and fill it with the data from the query, and using sql command from variable...
     
    Thanks for your help...
     

  • RELEVANCY SCORE 3.19

    DB:3.19:Convert From Labview 2010 To Labview2009 Ver.9.0.1 Sp1 1m



    Please convert to 2009 SP1







    Solved!
    Go to Solution.

    DB:3.19:Convert From Labview 2010 To Labview2009 Ver.9.0.1 Sp1 1m


    The board rules are 1 conversion per thread. Start another thread.




    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • RELEVANCY SCORE 3.19

    DB:3.19:Convert The Vi From Labview 8.0 To 7.1 7s



    Hi

    I want to convert the vi named as transmit example.vi in attached folder to LabVIEW 7.1 from 8.0.

    Thanks in advance










    Attachments:






    Transmit Example.zip ‏408 KB

    DB:3.19:Convert The Vi From Labview 8.0 To 7.1 7s


    Iend up with an error that LV cannot generate a code for a VI. I think it has something to do with the used DLL.

    I will try some more but I don't think I can solve this.

    Kees

  • RELEVANCY SCORE 3.18

    DB:3.18:Convert 9.0 To 8.2.1 pj



    Hello, need vi that is 9.0converted to 8.2.1




    Rulee

    DB:3.18:Convert 9.0 To 8.2.1 pj


    Hi,

    Here they are in LV 8

    Kees










    Attachments:






    LV 8.zip ‏30 KB

  • RELEVANCY SCORE 3.17

    DB:3.17:Unable To Convert Date In Date Format 7j



    Dear All,

    I facing difficulties to convert date from Date column to TranxDate column retrieve from crosstable.

    I had tried use Date# and MakeDate statement but can't resolve.

    In this discussion together I'm attach the file image, script and excel file.

    Please advise.

    Scripting

    Date:

    LOAD @1,

    @2,

    @3,

    @4,

    Date(@5) as @5,

    Date(@6) as @6,

    Date(@7) as @7,

    Date(@8) as @8,

    Date(@9) as @9,

    Date(@10) as @10,

    Date(@11) as @11,

    Date(@12) as @12,

    Date(@13) as @13,

    Date(@14) as @14,

    Date(@15) as @15,

    Date(@16) as @16

    FROM

    [..\..\..\QlikViewSupplyDemandSharedFolder\Yearly\HolticultureBudget\VBU2011.xlsx]

    (ooxml, no labels, header is 7 lines, table is [Produce Variable Cost], filters(

    Remove(Row, RowCnd(CellValue, 2, StrCnd(null)))

    ))

    Where @2='SKU Code';

    //To get the excel file date

    Let Date1 = peek('@5',0,num#('Date'));

    Let Date2 = peek('@6',0,num#('Date'));

    Let Date3 = peek('@7',0,num#('Date'));

    Let Date4 = peek('@8',0,num#('Date'));

    Let Date5 = peek('@9',0,num#('Date'));

    Let Date6 = peek('@10',0,num#('Date'));

    Let Date7 = peek('@11',0,num#('Date'));

    Let Date8 = peek('@12',0,num#('Date'));

    Let Date9 = peek('@13',0,num#('Date'));

    Let Date10 = peek('@14',0,num#('Date'));

    Let Date11 = peek('@15',0,num#('Date'));

    Let Date12 = peek('@16',0,num#('Date'));

    // Let Date12 = peek('@16',0,'Date');

    TempBudgetReset:

    LOAD

    @2 as Item_code,

    if(isnum(@5)=-1,@5,null()) as '$(Date1)',

    if(isnum(@6)=-1,@6,null()) as '$(Date2)',

    if(isnum(@7)=-1,@7,null()) as '$(Date3)',

    if(isnum(@8)=-1,@8,null()) as '$(Date4)',

    if(isnum(@9)=-1,@9,null()) as '$(Date5)',

    if(isnum(@10)=-1,@10,null()) as '$(Date6)',

    if(isnum(@11)=-1,@11,null()) as '$(Date7)',

    if(isnum(@12)=-1,@12,null()) as '$(Date8)',

    if(isnum(@13)=-1,@13,null()) as '$(Date9)',

    if(isnum(@14)=-1,@14,null()) as '$(Date10)',

    if(isnum(@15)=-1,@15,null()) as '$(Date11)',

    if(isnum(@16)=-1,@16,null()) as '$(Date12)'

    FROM

    [..\..\..\QlikViewSupplyDemandSharedFolder\Yearly\HolticultureBudget\VBU2011.xlsx]

    (ooxml, no labels, header is 8 lines, table is [Produce Variable Cost], filters(

    Remove(Row, RowCnd(CellValue, 2, StrCnd(null)))

    ));

    TempCross:

    CrossTable(Date,BudgetQty,1) //change the field name

    Load

    *

    Resident TempBudgetReset;

    BudgetReset:

    Load

    *,

    'Budget' as Flag,

    Makedate(Left(Date,4),Mid(Date,5,2),Right(Date,2)),'MM/DD/YYYY' as TranxDate

    Resident TempCross;

    Drop Table Date;

    Drop Table TempBudgetReset;

    DB:3.17:Unable To Convert Date In Date Format 7j


    Dear Swueh,

    It's working now.

    Thank you very much for your support.

  • RELEVANCY SCORE 3.17

    DB:3.17:Convert 5.1 To 9.0 jc



    Can you convert these programs from 5.1 to 9.0?

    Thanks,

    Ayo.










    Attachments:







    Version 5.1.zip ‏3577 KB

    DB:3.17:Convert 5.1 To 9.0 jc


    attached as 8.2, which you can open.

    NOTE: I did not upconvert the LLBs that are actually part of the LabVIEW distribution, and I even went so far as to remove them since they should not be distributed with the code. You should be linking to the VIs/functions directly from vi.lib.

    Fairly poor code, so you should consider rewriting it. Lots of loops that chew up CPU time like it's candy.










    Attachments:







    Version 8.2.zip ‏1675 KB

  • RELEVANCY SCORE 3.17

    DB:3.17:Multiple Dsp Channels Are Busy Out For Single Call 9k



    Multiple DSP channels are busy out for single call, when inbound call to voice gateway from PBX comes to IP-phones ,, too many voice channesl are being used, during this time no ip phones can take access to trunk to call to PSTN,,,iam using cisco 2821, ios 12.4(9)T.

    here is the short output from sh voice call status.

    x819 1481 0x47B5C8B0 0/3/0:15.21 0/1:2 18884 g711ulaw 9/9

    0x81A 1481 0x47B5C8B0 0/3/0:15.19 0/1:3 *18884 g711ulaw 9/9

    0x81B 1482 0x47B5C8B0 0/3/0:15.18 0/1:6 18884 g711ulaw 9/9

    0x81C 1482 0x47B5C8B0 0/3/0:15.17 0/2:2 *18884 g711ulaw 9/9

    0x81D 1483 0x47B5C8B0 0/3/0:15.1 0/2:3 18884 g711ulaw 9/9

    0x81E 1483 0x47B5C8B0 0/3/0:15.15 0/2:4 *18884 g711ulaw 9/9

    0x81F 1484 0x47B5C8B0 0/3/0:15.2 0/2:5 18884 g711ulaw 9/9

    0x820 1484 0x47B5C8B0 0/3/0:15.14 0/2:6 *18884 g711ulaw 9/9

    0x821 1485 0x47B5C8B0 0/3/0:15.3 0/1:7 18884 g711ulaw 9/9

    0x822 1485 0x47B5C8B0 0/3/0:15.13 0/1:8 *18884 g711ulaw 9/9

    0x823 1486 0x47B5C8B0 0/3/0:15.4 0/1:9 18884 None 9/200

    0x825 1487 0x47B5C8B0 0/3/0:15.5 0/1:10 18444 g711ulaw 9/200

    DB:3.17:Multiple Dsp Channels Are Busy Out For Single Call 9k


    DSP can support multiple calls, up to 16 if the DSP is a C5510, depending upon codec complexity.

    Understanding Codecs: Complexity, Hardware Support, MOS, and Negotiation

    http://www.cisco.com/en/US/tech/tk1077/technologies_tech_note09186a00800b6710.shtml

  • RELEVANCY SCORE 3.16

    DB:3.16:Byte Array To Float pz



    I would like to essentially convert the following python snippet to Labview. It reads in a binary format and puts it into a mix of integer and floating point values.

    I've spent half a day on this and keep getting out nonsense.

    thanks

    Eric

    import sysimport struct

    fn=sys.argv[1]f=open(fn,'r')ll=f.readlines()f.close()

    l=""for l1 in ll: l+=l1ll=""

    i=0psize = 21

    print 'Converted from binary file', fnprint 'file size/particle size: ',len(l)/psizeprint print '{0:7}{1:7}{2:14}{3:9}{4:3}{5:9}{6:10}'.format("Col1","Col2","Col3","Col4","Col5","Col6","Col7")print '--------------------------------------------------------'

    while (i+1)*psize =len(l): try: ty=struct.unpack('b',l[i*psize+0:i*psize+1])[0] en=struct.unpack('f',l[i*psize+1:i*psize+5])[0] x=struct.unpack('f',l[i*psize+5:i*psize+9])[0] y=struct.unpack('f',l[i*psize+9:i*psize+13])[0] px=struct.unpack('f',l[i*psize+13:i*psize+17])[0] py=struct.unpack('f',l[i*psize+17:i*psize+21])[0] i+=1 if (1): print '{0:5g} {1:5g} {2:8.4f} {3:8.4f} {4:8.4f} {5:8.4f} {6:8.4f}'.format(i,ty,en,x,y,px,py) except: print "Error reading particle", i break

    DB:3.16:Byte Array To Float pz


    Thank you so much...this seems to have worked. I tried everything today, except the cluster of elements...that's so simple, yet somehow non-obvious. Again, thanks for helping me out with this.

    Eric

  • RELEVANCY SCORE 3.15

    DB:3.15:How Convert '4.8480000000000001e+02' To Numberic. fc



    Hi all,

    How solve this '4.8480000000000001E+02' convert to numberic.

    Because i use table KBED i take fiel name KBEASOLL (KBED~KBEASOLL)

    This mean start machine time can read from 1 to 9.

    But i show in table KBED is '4.8480000000000001E+02' how can convert to numberic 5, 6, 7 ...???

    thanks so much.

  • RELEVANCY SCORE 3.14

    DB:3.14:Convert 7 Segment From10 To 9 am



    Hello

    Thank's if someone can convert my file from 10 to 9.

    Bye










    Attachments:







    TP Labview 7 segments.vi ‏15 KB

    DB:3.14:Convert 7 Segment From10 To 9 am


    here you go.




    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • RELEVANCY SCORE 3.14

    DB:3.14:Load Function Prints A Different Result 7j


    I want to receive data from the file 'SudokuCopy.dat'
    Inside the file contains these set of data:

    0 0 0 6 0 0 0 2
    3 0 0 0 1 0 4 0
    0 8 0 0 0 2 0 0
    0 0 6 0 3 0 0 0
    0 9 0 8 0 1 0 5
    7 0 0 0 5 0 9 0
    0 0 0 9 0 0 0 8
    0 0 2 0 7 0 0 0
    0 4 0 0 0 3 0 0

    But when i run it, click on the load btn, it prints out as:

    0 0 0 0 3 0 1 4 0 0 0 0 0 6 3 0 0 0 0 0 7 0 5 9 0 0 0 0 0 2 7 0 0 0 0 0

    Somehow it has to do with this line: c = String.valueOf(inputStream.nextInt());
    When i remove it, it prints the result. But i need to pass in a value into the Button array, so i used 'String c' as a variable to contain the numbers. Did i do it correctly or is there a better way in doing so?

    else if(e.getSource() == load){
    Scanner inputStream = null;
    try {
    inputStream = new Scanner(new File("SudokuCopy.dat"));
    String c = null;

    //converts data into int and pass values into model[row][col] array
    for( int row = 0; row model.length; row++ ){
    for( int col = 0; col model[row].length; col++ ) {
    //checks for data stream in SudokuCopy.dat
    while (inputStream.hasNextInt()) {
    System.out.print(inputStream.nextInt() + " ");
    c = String.valueOf(inputStream.nextInt());//when i leave this statement out, it prints correctly
    }//end while(inputStream.hasNext())

    //model[row][col] = Integer.parseInt(c);
    }
    }
    //update model[row][col] into slot[row][col]
    for(int row = 0; row slot.length; row++) {
    for(int col = 0; col slot[row].length; col++) {

    slot[row][col] = new JButton(String.valueOf(model[row][col]));
    slot[row][col].addActionListener(this);
    }
    }
    inputStream.close();
    }
    catch(Exception ex) {
    System.out.println(ex.getMessage());
    }
    }//end load

    DB:3.14:Load Function Prints A Different Result 7j

    Trying to store return values in variables reduces on the one side problems like you experienced.
    And you reduce the cost of the second call.

    while (inputStream.hasNextInt()) {
    c = inputStream.nextInt();
    System.out.print(c + " ");
    }//end while(inputStream.hasNext())Edited by: fbrunner on Jun 20, 2008 2:06 AM

  • RELEVANCY SCORE 3.13

    DB:3.13:Qos - Output Queues Dropped. jd



    Hi, i have a phone thats no working fine, it unregister all the time from the sip server. 

    The port connected to the phone has output queues dropped on queue 1. ¿That's normal? ¿What could be the cause that there drop packet?

     

    Thanks!

     

    I have this configuration for Qos on the switch port:

    interface FastEthernet0/15 switchport mode access switchport voice vlan 15 priority-queue out mls qos trust cos spanning-tree portfast

     

    sh mls qos int fa0/15 st

    FastEthernet0/15 (All statistics are in packets)

      dscp: incoming-------------------------------

      0 -  4 :      184994            0            0            0            0  5 -  9 :           0            0            0            0            0 10 - 14 :           0            0            0            0            0 15 - 19 :           0            0            0            0            0 20 - 24 :           0            0            0            0            0 25 - 29 :           0      2298420            0            0            0 30 - 34 :           0            0            0            0            0 35 - 39 :           0            0            0            0            0 40 - 44 :           0            0            0            0            0 45 - 49 :           0      4806226            0        16934            0 50 - 54 :           0            0            0            0            0 55 - 59 :           0            0            0            0            0 60 - 64 :           0            0            0            0  dscp: outgoing-------------------------------

      0 -  4 :     8134930            0            0            0            0  5 -  9 :           0            0            0            0            0 10 - 14 :           0            0            0            0            0 15 - 19 :           0            0            0            0            0 20 - 24 :           0            0            0            0            0 25 - 29 :           0            0            0            0            0 30 - 34 :           0            0            0            0            0 35 - 39 :           0            0            0            0            0 40 - 44 :         861            0            0            0            0 45 - 49 :           0            0            0            5            0 50 - 54 :           0            0            0            0            0 55 - 59 :           0            0            0            0            0 60 - 64 :           0            0            0            0  cos: incoming-------------------------------

      0 -  4 :      875001            0            0            0            0  5 -  7 :     6544104            0            0  cos: outgoing-------------------------------

      0 -  4 :     8781009            3            6            1            2  5 -  7 :      275463            5        17983  output queues enqueued: queue:    threshold1   threshold2   threshold3----------------------------------------------- queue 0:      292615           0           0 queue 1:     8562114       44049     5388502 queue 2:           0           0           0 queue 3:       17982           0      183824

      output queues dropped: queue:    threshold1   threshold2   threshold3----------------------------------------------- queue 0:           0           0           0 queue 1:        5349           0           0 queue 2:           0           0           0 queue 3:           0           0           0

    Policer: Inprofile:            0 OutofProfile:            0

     

     

    DB:3.13:Qos - Output Queues Dropped. jd


    Ok, i have a doubt about this: Why if QoS drop packets, why don't loses any ICMP packet at the same time?

    in which QoS queue belong the ICMP packets?

     

    Thanks. 

  • RELEVANCY SCORE 3.13

    DB:3.13:T-Sql 2008 R2 Explain Select cm


    In existing t-sql 2008 r2, there is the following sql that I am trying to understand so that I can modify it. The field that is called tMask is definitely as an integer. The values stored in this field are hexadecimal values. The values indicate what fields
    contain a check box in them, For example, if checkbox 1 is selected then the value in this field = 1. If the value is 3, then the first and second checkboxes have been selected.
    Based upon what I have said, can you tell me how to tell what the value = '42' means? What checkboxes have been selected? If the value = 1023, what checkboxes have been selected?
    Can you explain to me the sql listed above?

    select
    , replace(rtrim(
    case when max(case when b = 0 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '1 ' else '' end
    case when max(case when b = 1 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '2 ' else '' end
    case when max(case when b = 2 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '3 ' else '' end
    case when max(case when b = 3 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '4 ' else '' end
    case when max(case when b = 4 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '5 ' else '' end
    case when max(case when b = 5 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '6 ' else '' end
    case when max(case when b = 6 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '7 ' else '' end
    case when max(case when b = 7 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '8 ' else '' end
    case when max(case when b = 8 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '9 ' else '' end
    case when max(case when b = 9 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '10 ' else '' end case when max(case when b = 10 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '11 ' else '' enase when max(case when b = 11 then convert(varchar(2), ((convert(smallint, convert(binary(2), tMask)) e)) / e) else 0 end ) = 1 then '12 ' else '' end ),' ',',') as [tMask] FROM [test].[dbo].[test1]join (select 11 as b)bits on 1=1

    DB:3.13:T-Sql 2008 R2 Explain Select cm

    Whatever version of log(), from a principal point of view you should add a round(), since log retutrns float, and the value returned could be just below the exact value whereupon conversion to int is by truncation. As it happens, it seeems that call values
    that are not exact are slightly above instead:
    DECLARE @val AS BIGINT = 0x7FFFFFFFFFFFFFFF
    ;WITH cteBinary AS
    (
    SELECT @val (@val - 1) COL1, @val - (@val (@val - 1)) AS COL2
    UNION ALL
    SELECT COL1 (COL1 - 1) COL1, COL1 - (COL1 (COL1 - 1)) AS COL2
    FROM cteBinary
    WHERE COL1 0
    )
    SELECT LOG(COL2, 2) 1 AS id, COL2 AS bitvalue FROM cteBinary
    go
    DECLARE @val AS BIGINT
    SET @val = 0x7FFFFFFFFFFFFFFF
    ;WITH cteBinary AS
    (
    SELECT @val (@val - 1) COL1, @val - (@val (@val - 1)) AS COL2
    UNION ALL
    SELECT COL1 (COL1 - 1) COL1, COL1 - (COL1 (COL1 - 1)) AS COL2
    FROM cteBinary
    WHERE COL1 0
    )
    SELECT LOG(COL2)/LOG(2) 1 AS id, COL2 AS bitvalue FROM cteBinary
    Note: runs this from SQLCMD or the old Query Analyzer, which are more ambitious in showing trailing decimals than SSMS.
    Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

  • RELEVANCY SCORE 3.13

    DB:3.13:File I/O Strange Behavior !!!!!!! a3


    Hello everyone, I have been writing a small program that parses a file and writing to
    another file. what I basically want to do is to read from a file named 10130.txt containing
    around 50 or 60 lines
    19971021 10130 -9 0 0 0 0 -9 0 -9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    the output file should contain
    19971021 00 -9
    19971021 01 0
    19971021 02 0
    19971021 03 0
    19971021 04 0
    19971021 05 -9
    19971021 06 0
    19971021 07 -9
    19971021 08 0
    19971021 09 0
    19971021 10 0
    19971021 11 0
    19971021 12 0
    19971021 13 0
    19971021 14 0
    19971021 15 0
    19971021 16 0
    19971021 17 0
    19971021 18 0
    19971021 19 0
    19971021 20 0
    19971021 21 0
    19971021 22 0
    19971021 23 0

    the previous output should be for each line from the input file.so if I have 50 lines in i/p file then
    the o/p file should contain 50x24 lines.
    The code I have written works very fine till almost the middle of the i/p file and then gives me the following
    exception:
    java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken(StringTokenizer.java:259)
    at Pras.parseFile(Pras.java:55)
    at Pras.main(Pras.java:22

    I really dont knw whats wrong

    *
    * Created on Jun 17, 2004
    *
    * To change the template for this generated file go to
    * WindowPreferencesJavaCode GenerationCode and Comments
    */

    /**
    * @author onemanarmy
    *
    * To change the template for this generated type comment go to
    * WindowPreferencesJavaCode GenerationCode and Comments
    */
    import java.io.*;
    import java.util.*;
    public class Pras {

    public static void main(String[] args) {

    parseFile();
    }

    public static void parseFile()
    {

    String text =null;
    String temp=null;
    try
    {

    FileReader fr = new FileReader("/home/onemanarmy/10130.txt");
    BufferedReader br = new BufferedReader(fr);
    FileOutputStream fw = new FileOutputStream("/home/onemanarmy/ooot.txt");
    PrintWriter pw = new PrintWriter(fw);

    while ((text = br.readLine()) !=null)
    {
    StringTokenizer stk = new StringTokenizer(text);
    temp=stk.nextToken();
    stk.nextToken();
    for (int i=0;i24;i++)
    {
    if (i10)
    {
    pw.println(temp+" "+"0"+Integer.toString(i)+" "+stk.nextToken());
    }

    else
    {
    pw.println(temp+" "+Integer.toString(i)+" "+stk.nextToken());

    }

    }
    }

    }
    catch (Exception e)
    {
    e.printStackTrace();
    }

    }
    }

    the part of the i/p file where the code seems to throw the exception is
    19971021 10130 -9 0 0 0 0 -9 0 -9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    19971022 10130 0 0 0 0 0 0 0 0 0 0 0 0 -9 0 1 1 1 4 2 -9 2 0 -9 0
    19971023 10130 0 0 0 -9 0 0 0 0 0 -9 1 -9 0 0 -9 5 9 0 0 -9 1 1 0 0
    19971024 10130 0 0 -9 0 0 0 0 0 0 0 -9 13 0 0 0 0 0 0 0 0 -9 3 0 5
    19971025 10130 2 2 1 0 9 1 2 0 1 0 -9 3 0 0 0 0 0 0 0 0 0 0 0 -9
    19980113 10130 0 0 0 0 0 0 0 0 0 -9 -9 0 0 0 0 0 0 0 0 0 0 0 0 0
    19980114 10130 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    19980115 10130 3 3 0 -9 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 4 1 0 5 13
    19980116 10130 -9 6 1 0 -9 -9 0 0 0 -9 0 0 0 0 0 0 -9 0 0 0 0 3 0 0
    19980117 10130 0 0 0 0 0 0 -9 0 0 0 0 0 0 26 -9 0 0 3 5 3 0 0 -9 0
    19980118 10130 1 0 0 0 0 0 0 0 0 0 0 -9 0 0 0 0 0 0 0 0 3 10 1 0
    19980119 10130 0 1 0 0 -9 15 14 12 10 8 -9 3 0 -9 -9 0 0 0 -9 0 1 7 9 4
    19980120 10130 2 4 2 1 0 0 0 -9 0 0 -9 0 0 -9 0 0 0 0 0 0 0 0 0 -9
    19980121 10130 0 0 0 0 0 -9 0 0 0 0 0 0 0 -9 0 0 0 0 0 0 0 0 0 0
    19980122 10130 0 0 0 0 0 -9 0 0 0 0 0 0 0 0 0 0 -9 0 0 0 0 0 0 0
    19980123 10130 0 0 0 0 -9 0 0 -9 0 0 0 0 0 0 0 0 0 -9 0 0 0 0 4 5
    19980124 10130 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0
    19980225 10130 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    19980226 10130 0 0 0 0 0 0 -9 0 0 0 0 0 0 0 0 0 -9 0 0 0 0 0 0 0
    19980227 10130 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8
    19980228 10130 42 9 0 30 11 -9 0 0 1 4 3 0 0 -9 0 0 0 0 0 0 0 0 0 0
    19980301 10130 2 0 0 5 0 0 0 0 0 0 4 12 5 -9 1 0 -9 0 0 0 0 0 0 0
    19980302 10130 0 0 0 -9 0 0 21 -9 -9 0 3 2 2 0 0 0 0 -9 0 0 0 0 0 0
    19980303 10130 0 2 5 6 4 2 0 4 2 0 0 0 0 9 15 12 5 2 8 21 6 1 0 0
    19980305 10130 0 0 0 0 0 0 11 0 13 15 0 0 -9 -9 0 0 0 0 -9 0 0 0 0 -9 === this line
    ^
    here

    last lines in the o/p file looks like

    19980303 14 15
    19980303 15 12
    19980303 16 5
    19980303 17 2
    19980303 18 8
    19980303 19 21
    19980303 20 6
    19980303 21 1
    19980303 22 0
    19980303 23 0
    19980305 00 0
    19980305 01 0
    19980305 02 0
    19980305 03 0
    19

    I really dont knw whats the problem since the code works very fine till the specfied line in the i/p file.
    that line have the same no. of tokens and spacing as all the previous lines so no wrong parsing here (I think).

    Any help would be appreciated?
    thanx in advance.

    DB:3.13:File I/O Strange Behavior !!!!!!! a3

    Maybe some error checking would help:
    ...
    while ((text = br.readLine()) !=null)
    {
    StringTokenizer stk = new StringTokenizer(text);
    if (stk.countTokens() 26)
    continue;
    ...Next time please paste your code between code tags exactly like this:

    #91;code#93;
    your code
    #91;/code#93;

    Thank you

  • RELEVANCY SCORE 3.13

    DB:3.13:Convert 7.1 Vi's To 7.0, Please Help sk



    Can someone convert these VI's from 7.1 to 7.0 for me?

    Thanks in advance.










    Attachments:







    7.1VI's.zip ‏189 KB

    DB:3.13:Convert 7.1 Vi's To 7.0, Please Help sk


    Thanks for everyone's help. I can read the converted VI's find, but you're right the DLL's are needed and I seem to have a problem on my Vista system with them. I will when I get a chance to see if I can read it on an XP system.

    For now it seems like it would be a better idea to use the NI GPIB-USB adapter then the Prologix adapter. It seems like NI's adapter is fully compatible with Labview's GPIB calls while one has to make new VI's with the Prologix adapter.Alas, we do need to try different things!

  • RELEVANCY SCORE 3.13

    DB:3.13:Is It Better To Convert From A Database To Tdms, For Analysis In Diadem? cc



    I have a database (sampleattached, mdf sql server localdb ) file (170 mb max) and would like to analyse it in Diadem. What is the best way? One thought is to create a Labview exe converter (mdf to tdms). What do yousuggest? Thanks.

    database

    https://www.dropbox.com/s/eb3cydanshrokx3/M2004%20​2013_04_18%2013_22_16%20WNM-6141-MG_Post.zip?dl=0

    An example of our data

    ,

    The two Definitions above are known/fixed.

    [Log Event Definition] below

    Event Name Event Number

    Flow Evt 0

    DirSnsr Evt 1

    Pulse Evt 2

    Gamma Evt 3

    Vibration Evt 4

    Temperature Evt 5

    Power Evt 6

    Extreme Vib Evt 7

    Extreme Shock Evt 8

    Config Change Evt 9

    Set Time Evt 10

    Reset Evt 11

    Snsr Com Evt 12

    PC Com Evt 13

    Int FLASH Evt 14

    Int EEPROM Evt 15

    INA Evt 16

    EM Pulse Evt 17

    Tilt Snsr Evt 18

    [Log Field Definition] 145 lines; removing seconds, ms about 130

    Event Number Field Name Field Index Unit Format Offset From Last Byte Offset Bit Offset Element Length Raw Datatype Scale Offset

    0 Seconds 0 Time 1 0 0 32 1 1 0

    0 Milliseconds 1 TimeOffset%0.3f 1 0 0 16 2 0.001 0

    0 Flow 2 %d 1 0 0 8 0 1 0

    0 Temp 3 °C %d 1 0 0 8 2 1 30

    0 Flow Confirm Dly 4 secs %d 1 0 0 8 2 1 0

    Rest in the attachement. Ignore the size mentioned in the docx










    Attachments:







    Problem description.docx ‏92 KB

    DB:3.13:Is It Better To Convert From A Database To Tdms, For Analysis In Diadem? cc

    Thanks Brad. I thought what the AE suggested was a little off but email communication doesn't help either.

  • RELEVANCY SCORE 3.12

    DB:3.12:Nokia Secret Codes am


    Nokia secret codes
    IMEI number: * # 0 6 #
    Software version: * # 0 0 0 0 # lub * # 9 9 9 9 #
    Simlock info: * # 9 2 7 0 2 6 8 9 #
    Enhanced Full Rate: * 3 3 7 0 # [ # 3 3 7 0 # off]
    Half Rate: * 4 7 2 0 #
    Provider lock status: # p w + 1 2 3 4 5 6 7 8 9 0 + 1
    Network lock status: # p w + 1 2 3 4 5 6 7 8 9 0 + 2
    Provider lock status: # p w + 1 2 3 4 5 6 7 8 9 0 + 3
    SimCard lock status: # p w + 1 2 3 4 5 6 7 8 9 0 + 4
    1234567890 - MasterCode which is generated from IMEI
    Notice the ff. "provider lock status"
    "Network lock status"
    "Simcard lock status"
    What are these for?? Anybody can ecplain this for the benefit of the doubt..pls

  • RELEVANCY SCORE 3.12

    DB:3.12:Convert From 10.0 To 9.0.1 jd



    program is coded in 10.0. could you convert it for 9.0.4? Thanks in advance




    Egemen

    DB:3.12:Convert From 10.0 To 9.0.1 jd


    Saved in 8.0




    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • RELEVANCY SCORE 3.12

    DB:3.12:Schedule Job - Date Conversion 7f



    Date/Time: 9/14/2007 12:11:33 PM

    Source: Microsoft OLE DB Provider for SQL Server
    Description: The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value.
    Err. Num.: -2147217913

    convert( smalldatetime,Null,103) ,convert( smalldatetime,Null,103), convert( smalldatetime,Null,103),'G-ECT-ABL-01','','','','','','','','','','','','','','','','','','','','AC
    ASSIS BRASIL','','26300273',convert( smalldatetime,'3/16/2002',103), convert( smalldatetime,'4/3/2002',103), convert( smalldatetime,'3/1/2002',103),'CPA-2448/IP-10.111.184.129','782','REOP 02',convert( smalldatetime,Null,103), convert( smalldatetime,Null,103),convert(
    smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),'','','',convert(
    smalldatetime,'7/25/2002',103),'Estao migrada para nova plataforma
    em 25/07/2002.',0,'10.111.184.128','10.111.184.129','10.111.184.254','255.255.255.128','...','...','...','68','No','64K','64K',convert( smalldatetime,'3/1/2002',103),692)

    DB:3.12:Schedule Job - Date Conversion 7f

    hi,

     gumarti wrote:

    ..., convert( smalldatetime,'3/16/2002',103), ...

  • RELEVANCY SCORE 3.11

    DB:3.11:Memory Problem x3





    This is not normal Please help

    I have a low load server that recieves about 300 page views per day with about 10 domains.
    The problem is that with 512Mb Ram the ram fills and i need to restart nearly evry 48 hours.

    There are usually 9 HTTPD running each consuming about 27MB.
    On WEBMIN (which is beautiful to see what is happening inside with plesk for a newbie like me) it shows that HTTPD is called like this.

    19239 apache 104120 kB /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE

    And the full output from top is

    12:21pm up 1 day, 4:46, 2 users, load average: 0.00, 0.66, 1.33
    81 processes: 80 sleeping, 1 running, 0 zombie, 0 stopped
    CPU states: 1.5% user, 1.4% system, 0.0% nice, 14.0% idle
    Mem: 512304K av, 470416K used, 41888K free, 172K shrd, 12476K buff
    Swap: 2048248K av, 0K used, 2048248K free 174036K cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
    26270 root 18 0 1056 1052 828 R 0.9 0.2 0:00 top
    1 root 9 0 520 520 452 S 0.0 0.1 0:12 init
    2 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd
    3 root 9 0 0 0 0 SW 0.0 0.0 0:03 kapm-idled
    4 root 19 19 0 0 0 SWN 0.0 0.0 0:07 ksoftirqd_CPU0
    5 root 9 0 0 0 0 SW 0.0 0.0 0:30 kswapd
    6 root 9 0 0 0 0 SW 0.0 0.0 0:00 kreclaimd
    7 root 9 0 0 0 0 SW 0.0 0.0 0:00 bdflush
    8 root 9 0 0 0 0 SW 0.0 0.0 0:10 kupdated
    9 root -1 -20 0 0 0 SW 0.0 0.0 0:00 mdrecoveryd
    13 root 13 0 0 0 0 SW 0.0 0.0 0:29 kjournald
    169 root 9 0 0 0 0 SW 0.0 0.0 0:00 kjournald
    170 root 9 0 0 0 0 SW 0.0 0.0 0:05 kjournald
    171 root 14 0 0 0 0 SW 0.0 0.0 0:11 kjournald
    172 root 9 0 0 0 0 SW 0.0 0.0 0:29 kjournald
    603 root 9 0 0 0 0 SW 0.0 0.0 0:00 eth0
    699 root 9 0 592 592 496 S 0.0 0.1 0:02 syslogd
    704 root 9 0 1100 1100 448 S 0.0 0.2 0:00 klogd
    779 named 9 0 4248 4248 2228 S 0.0 0.8 0:00 named
    781 named 9 0 4248 4248 2228 S 0.0 0.8 0:06 named
    782 named 9 0 4248 4248 2228 S 0.0 0.8 0:09 named
    783 named 9 0 4248 4248 2228 S 0.0 0.8 0:11 named
    787 named 9 0 4248 4248 2228 S 0.0 0.8 0:00 named
    804 root 9 0 1284 1284 1160 S 0.0 0.2 0:02 sshd
    837 root 9 0 976 960 784 S 0.0 0.1 0:00 xinetd
    925 root 8 0 636 636 548 S 0.0 0.1 0:00 couriertcpd
    928 root 9 0 328 328 276 S 0.0 0.0 0:00 logger
    942 root 9 0 636 636 548 S 0.0 0.1 0:00 couriertcpd
    945 root 9 0 328 328 276 S 0.0 0.0 0:00 logger
    958 root 8 0 640 640 552 S 0.0 0.1 0:00 couriertcpd
    964 root 9 0 456 456 392 S 0.0 0.0 0:00 logger
    973 root 9 0 636 636 548 S 0.0 0.1 0:00 couriertcpd
    978 root 9 0 328 328 276 S 0.0 0.0 0:00 logger
    990 qmails 8 0 384 384 304 S 0.0 0.0 0:01 qmail-send
    992 qmaill 9 0 456 456 388 S 0.0 0.0 0:00 splogger
    993 root 9 0 348 348 264 S 0.0 0.0 0:00 qmail-lspawn
    994 qmailr 9 0 360 360 272 S 0.0 0.0 0:00 qmail-rspawn
    995 qmailq 9 0 328 328 272 S 0.0 0.0 0:00 qmail-clean
    1025 root 9 0 1492 1492 1260 S 0.0 0.2 0:00 stunnel
    1050 root 9 0 7744 7744 7132 S 0.0 1.5 0:14 httpd
    1105 root 9 0 3228 3228 2808 S 0.0 0.6 0:12 httpsd
    1125 root 0 0 660 660 576 S 0.0 0.1 0:01 crond
    1143 root 9 0 500 500 436 S 0.0 0.0 0:03 portsentry
    1147 root 9 0 504 504 440 S 0.0 0.0 0:00 portsentry
    1173 root 9 0 3680 3680 1476 S 0.0 0.7 0:11 miniserv.pl
    1177 root 9 0 424 424 360 S 0.0 0.0 0:00 mingetty
    1178 root 9 0 424 424 360 S 0.0 0.0 0:00 mingetty
    1179 root 9 0 424 424 360 S 0.0 0.0 0:00 mingetty
    1180 root 9 0 424 424 360 S 0.0 0.0 0:00 mingetty
    1181 root 9 0 424 424 360 S 0.0 0.0 0:00 mingetty
    1182 root 9 0 424 424 360 S 0.0 0.0 0:00 mingetty
    1185 root 9 0 772 772 600 S 0.0 0.1 0:00 rotatelogs
    1186 root 9 0 772 772 600 S 0.0 0.1 0:00 rotatelogs
    1187 root 9 0 772 772 600 S 0.0 0.1 0:00 rotatelogs
    1188 psaadm 9 0 4776 4776 3496 S 0.0 0.9 0:00 httpsd
    1189 psaadm 9 0 5176 5176 3520 S 0.0 1.0 0:01 httpsd
    1190 psaadm 9 0 4864 4864 3488 S 0.0 0.9 0:00 httpsd
    1191 psaadm 9 0 4856 4856 3516 S 0.0 0.9 0:01 httpsd
    1192 psaadm 9 0 5172 5172 3524 S 0.0 1.0 0:00 httpsd
    14509 psaadm 9 0 4948 4948 3536 S 0.0 0.9 0:00 httpsd
    14558 psaadm 9 0 4952 4952 3528 S 0.0 0.9 0:00 httpsd
    14618 psaadm 9 0 4928 4928 3524 S 0.0 0.9 0:00 httpsd
    15208 psaadm 8 0 5088 5088 3488 S 0.0 0.9 0:00 httpsd
    19151 root 9 0 1024 1024 856 S 0.0 0.1 0:00 safe_mysqld
    19181 mysql 9 0 7344 7344 2276 S 0.0 1.4 0:00 mysqld
    19183 mysql 9 0 7344 7344 2276 S 0.0 1.4 0:04 mysqld
    19184 mysql 9 0 7344 7344 2276 S 0.0 1.4 0:00 mysqld
    19185 mysql 9 0 7344 7344 2276 S 0.0 1.4 0:00 mysqld
    19235 apache 9 0 27652 27M 8208 S 0.0 5.3 0:03 httpd
    19236 apache 9 0 27280 26M 8116 S 0.0 5.3 0:03 httpd
    19237 apache 9 0 27216 26M 8208 S 0.0 5.3 0:03 httpd
    19238 apache 9 0 27360 26M 8184 S 0.0 5.3 0:03 httpd
    19239 apache 8 0 27372 26M 8140 S 0.0 5.3 0:03 httpd
    19240 apache 8 0 27116 26M 8208 S 0.0 5.2 0:02 httpd
    19254 apache 9 0 27436 26M 8212 S 0.0 5.3 0:03 httpd
    19265 apache 9 0 27076 26M 8144 S 0.0 5.2 0:05 httpd
    20477 apache 8 0 26360 25M 8144 S 0.0 5.1 0:02 httpd
    25620 root 9 0 1988 1988 1672 S 0.0 0.3 0:10 sshd
    25621 root 8 0 1392 1392 1004 S 0.0 0.2 0:00 bash
    26015 root 9 0 1976 1976 1672 S 0.0 0.3 0:04 sshd
    26034 root 14 0 1392 1392 1004 S 0.0 0.2 0:01 bash
    This is not normail PLEASE help.

    Ehab Heikal
    ValueCms.com

    DB:3.11:Memory Problem x3




    swap is strange i dont see free space

    1 Linux 1 13 /boot 42 %
    2 Linux swap 14 144 swap
    3 Linux 145 14593 / 94 %

  • RELEVANCY SCORE 3.11

    DB:3.11:Convert 7.1 To 7.0 f1


    Can someone please convert this VI in 7.1 to 7.0?In advance, thanks much for your time.TJ.









    Attachments:







    clampex_like.vi ‏390 KB

    DB:3.11:Convert 7.1 To 7.0 f1

    Here it is in 7.0. There were a few conversion warnings but it should be fine.



    _______________________________________Systems Test EngineerCertified LabVIEW Architect (CLA)

  • RELEVANCY SCORE 3.11

    DB:3.11:Convert 9.0 To 7.1 km


    Can anyone please convert this to labview 7.1










    Attachments:







    main9.vi ‏35 KB

    DB:3.11:Convert 9.0 To 7.1 km


    Hello,

    I'm attaching here the VI in the version 7.1 of LabVIEW.

    Let me know if you need anything else.

    Thanks.

    Best Regards




    Luciano BorgesRD EngineerPirelli Brazil

  • RELEVANCY SCORE 3.11

    DB:3.11:Agrupar Excepciones Por Dia En Sql Server 2008 cj


    yo tengo un query que es el siguiente:

    select u.id_usuario, u.nombre_usuario
    , ISNULL(totalEscaneos,0) as totalEscaneos
    , ISNULl(totalEscaneosSalida,0) as totalEscaneosSalida
    , ISNULl(totalEscaneosSinRegistro,0) as totalEscaneosSinRegistro
    , ISNULl(totalEscaneosSinRegistroSalidaRefri,0) as totalEscaneosSinRegistroSalidaRefri
    , ISNULl(totalEscaneosSinRegistroFifo,0) as totalEscaneosSinRegistroFifo
    , ISNULl(totalEscaneosSinReposo,0) as totalEscaneosSinReposo
    , ISNULL(totalEscaneosEntradaFifo,0) as totalEscaneosEntradaFifo
    , ISNULL(totalEscaneosSalidaFifo,0) as totalEscaneosSalidaFifo
    , ISNULL(totalEscaneos,0)
    ISNULl(totalEscaneosSalida,0)
    ISNULl(totalEscaneosSinRegistro,0)
    ISNULl(totalEscaneosSinRegistroSalidaRefri,0)
    ISNULl(totalEscaneosSinRegistroFifo,0)
    ISNULl(totalEscaneosSinReposo,0)
    ISNULL(totalEscaneosEntradaFifo,0)
    ISNULL(totalEscaneosSalidaFifo,0) as Total
    from tb_usuarios u
    left join (
    SELECT id_usuario , SUM( num_escaneos ) as totalEscaneos
    FROM tb_escaneos WHERE Convert(Char(10), tb_escaneos.fecha , 101) between '01/01/2013' AND '06/14/2013' AND fifo is null

    GROUP BY id_usuario
    ) e on u.id_usuario = e.id_usuario
    left join (
    SELECT id_usuario , SUM( num_escaneos ) as totalEscaneosSalida
    FROM tb_escaneosSalida WHERE Convert(Char(10), tb_escaneosSalida .fecha , 101) between '01/01/2013' AND '06/14/2013' AND fifo is null
    GROUP BY id_usuario
    ) es on u.id_usuario = es.id_usuario
    left join (
    SELECT id_usuario , SUM( sin_registroTotal ) as totalEscaneosSinRegistro

    FROM tb_registros WHERE Convert(Char(10), tb_registros .fecha , 101) between '01/01/2013' AND '06/14/2013'
    GROUP BY id_usuario
    ) et on u.id_usuario = et.id_usuario
    left join (
    SELECT id_usuario , SUM( sin_registroSalidaRefri ) as totalEscaneosSinRegistroSalidaRefri
    FROM tb_registros WHERE Convert(Char(10), tb_registros .fecha , 101) between '01/01/2013' AND '06/14/2013'
    GROUP BY id_usuario
    ) ete on u.id_usuario = ete.id_usuario
    left join (
    SELECT id_usuario , SUM( sin_registroFifo ) as totalEscaneosSinRegistroFifo
    FROM tb_registros WHERE Convert(Char(10), tb_registros .fecha , 101) between '01/01/2013' AND '06/14/2013'
    GROUP BY id_usuario
    ) ele on u.id_usuario = ele.id_usuario
    left join (
    SELECT id_usuario , SUM( no_cumplioReposo ) as totalEscaneosSinReposo
    FROM tb_registros WHERE Convert(Char(10), tb_registros .fecha , 101) between '01/01/2013' AND '06/14/2013'
    GROUP BY id_usuario
    ) el on u.id_usuario = el.id_usuario
    left join (
    SELECT id_usuario , SUM( num_escaneos ) as totalEscaneosEntradaFifo
    FROM tb_escaneos WHERE Convert(Char(10), tb_escaneos.fecha , 101) between '01/01/2013' AND '06/14/2013' AND fifo = 1
    GROUP BY id_usuario
    ) epe on u.id_usuario = epe.id_usuario
    left join (
    SELECT id_usuario , SUM( num_escaneos ) as totalEscaneosSalidaFifo
    FROM tb_escaneosSalida WHERE Convert(Char(10), tb_escaneosSalida .fecha , 101) between '01/01/2013' AND '06/14/2013' AND fifo = 1
    GROUP BY id_usuario
    ) eper on u.id_usuario = eper.id_usuario

    y este me da el siguiente resultado:

    Excepcion1
    Excepcion2
    Excepcion3
    Excepcion4
    Excepcion5
    Excepcion6
    Excepcion7
    Excepcion8
    TOTAL

    Fernando Jimenez
    15
    0
    0
    0
    0
    0
    0
    0
    15

    Irineo Torres
    0
    0
    0
    0
    1
    4
    2
    0
    7

    Jose Mario Garcia
    0
    5
    0
    0
    0
    0
    0
    0
    5

    Rolando maldonado
    0
    0
    0
    0
    4
    0
    1
    0
    5

    Julio Cesar Hdz
    0
    0
    3
    0
    0
    0
    0
    1
    4

    ADMIN TOTAL
    2
    1
    0
    0
    0
    0
    0
    0
    3

    Samuel Perez
    2
    1
    0
    0
    0
    0
    0
    0
    3

    Veronica Hernandez
    0
    0
    2
    0
    0
    0
    0
    0
    2

    Crisoforo Santiago
    0
    0
    1
    0
    1
    0
    0
    0
    2

    Maribel Santiago
    0
    0
    1
    0
    0
    0
    1
    0
    2

    Maribel Lopez
    0
    0
    0
    0
    0
    0
    2
    0
    2

    Marcelino Diaz
    0
    1
    0
    0
    0
    0
    0
    0
    1

    Valentin De la Cruz
    0
    0
    0
    0
    1
    0
    0
    0
    1

    Adrian Martinez
    0
    0
    0
    0
    0
    1
    0
    0
    1

    Nelson Garcia
    0
    0
    0
    0
    1
    0
    0
    0
    1

    Cricelda Garcia
    0
    0
    0
    0
    0
    1
    0
    0
    1

    Fernando David Mendoza
    0
    0
    0
    0
    0
    1
    0
    0
    1

    Jaime Ramirez
    0
    0
    0
    0
    0
    0
    1
    0
    1

    Cesar Araguz
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Victor del Angel
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Daniel Diaz Martinez
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Adolfo Martinez Avila
    0
    0
    0
    0
    0
    0
    0
    0
    0

    ADMIN
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Paulina Lorenzo
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Monica Guerra
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Alejandra Barrera
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Georgina Salazar
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Gloria Izaguiire
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Teodora Cerna
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Julio Cesar martinez
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Deisy cruz
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Amairani Cristal
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Ma del Carmen Morato
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Juan Carlos Rojas
    0
    0
    0
    0
    0
    0
    0
    0
    0

    alfonso samuel
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Ana Yanci Morales
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Julio Rivera
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Jose Luis Regino
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Eliana Beatriz Perez
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Porfirio Gregorio Hdz
    0
    0
    0
    0
    0
    0
    0
    0
    0

    samuel perez
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Rosa Aidee
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Yolanda Dolores
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Vicente Garcia
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Nohemi Ramirez
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Uriel Lopez
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Ancelma Hdz
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Odilon Elizalde
    0
    0
    0
    0
    0
    0
    0
    0
    0

    Pero com ole hago para que me de por ejemplo asi:

    Nombre Total Dia
    Samuel 15 06/10/2013
    Uriel8 06/10/2013
    Odilon 4 06/15/2013

    Les agradeceria su ayuda gracias soy nuevo en sql server

    DB:3.11:Agrupar Excepciones Por Dia En Sql Server 2008 cj

    Ya funciono pero en los totales me pone unas cantidades exageradas como por ejemplo 432 cuando solo tengo 8 por ejemplo, aqui te dejo el resultado

    ADMIN 0NULL
    ADMIN TOTAL 205/28/2013
    ADMIN TOTAL 2 06/03/2013
    Adolfo Martinez Avila0NULL
    Adrian Martinez1NULL
    Alejandra Barrera0NULL
    alfonso samuel0NULL
    Amairani Cristal0NULL
    Ana Yanci Morales0NULL
    Ancelma Hdz0NULL
    Cesar Araguz0NULL
    Cricelda Garcia1NULL
    Crisoforo Santiago2NULL
    Daniel Diaz Martinez0NULL
    Deisy cruz0NULL
    Eliana Beatriz Perez0NULL
    Fernando David Mendoza1NULL
    Fernando Jimenez1205/29/2013
    Fernando Jimenez305/31/2013
    Georgina Salazar0NULL
    Gloria Izaguiire0NULL
    Irineo Torres432NULL
    Jaime Ramirez1NULL
    Jose Luis Regino0NULL
    Jose Mario Garcia5NULL
    Juan Carlos Rojas0NULL
    Julio Cesar Hdz40NULL
    Julio Cesar martinez0NULL
    Julio Rivera0NULL
    Ma del Carmen Morato0NULL
    Marcelino Diaz1NULL
    Maribel Lopez2NULL
    Maribel Santiago2NULL
    Monica Guerra0NULL
    Nelson Garcia1NULL
    Nohemi Ramirez0NULL
    Odilon Elizalde0NULL
    Paulina Lorenzo0NULL
    Porfirio Gregorio Hdz0NULL
    Rolando maldonado5NULL
    Rosa Aidee0NULL
    samuel perez0NULL
    Samuel Perez205/30/2013
    Samuel Perez206/05/2013
    Teodora Cerna0NULL
    Uriel Lopez0NULL
    Valentin De la Cruz1NULL
    Veronica Hernandez16NULL
    Vicente Garcia0NULL
    Victor del Angel0NULL
    Yolanda Dolores0NULL

  • RELEVANCY SCORE 3.11

    DB:3.11:Data Missing When Loading Data Into Sql Server 2005 1z


     
    Hi, Experts

    The project is a C/S data analysis system built with .Net 2.0 in windows environment, OS: Microsoft Windows 2003 R2 standard Edition Service Pack2, Database used in this project is: Sql server 2005. As a data analysis system, we need to load large amount of data from file to database, we do it by create a dts package and then do data loading by execute m_Package.Execute(null, variables, m_PackageEvents, null, null).
     
    The problem is, we fount that DTS miss some data randomly sometimes, we can't find the rule till now. for example we've data as follows in data file, all data field splited by '|'
    11234|26341|2007-09-03 00:00|0|0|0.0|0|0.011470833793282509|1|0.045497223734855652|0|0|1|0|3|2929|13130|43|0|2|0|0|40|1|0|0|0|0|0|1||0|0|3|0|0|0|0|0||0|3|0|0|43|43|0|41270|0|3|0|0|10|3|0|0|0|0|0||0|1912|0|0|3|0|0|0|0|0|0|0|3|0|0|5|0|40|0|9|0|0|0|0|0|0|0|0|29|1|1|24|24.0|16|16.0|0|0|0.0|0|0|24|23.980693817138672|0|0.0|0|0.0|0|0.0|0|0.0|11|2.0764460563659668|43|2|0|0|30|11|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|3|3|0|0|0|0|0|0|0|0|0|6|0|0|0|0|0|6|0|0|45|1|0|0|0|2|42|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|2|0|0|0|2|0|0|0|0|0|0|51|47|85|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|||||||||||||0|0|0|0|0|97.117401123046875|0|0|83|57|||0.011738888919353485|0|1|0.065955556929111481|0|4|||0.00026658669230528176|1|0.00014440112863667309|1|68|53|12|2|1|2.0562667846679688|10|94|2|0|0|30|11|47|4|13902|7024|6878|18|85|4.9072666168212891|5|0.0|0|0.0|0|0.0|0|0.0|0|358|6448|6324|0|0|0|0||0||462|967|0|41|39|2|0|0|0|1|0|0|0|0|0|0|0|0|3|0|0|3|0|0|0|0|0|0|0|0|0|3|0|3|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|46|0|1|0|1|37|0|0|46|0|1|0|1|37|0|0|0|0|0|0|0|0|0.0|0|0|6|4|2|0|0|2|1|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|1|0.012290795333683491|0|44|44.0|0|0.0|0|0|0|30|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|2|0|2|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|2|1|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|1|0|0|0|0|0|0|0|0|0|0|0|0|27|0|0|2112|411|411|45|437|2|0|2|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|4|0|4|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0|0|0|0|0|0|0|0|0|0|6|6|0|3|2|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|5|5.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|600|600|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|6|0|0|0|0|0|0|6|0|9|1|2|2|3|0|1|0|0|0|0|0|0|0|0|0|0|0|13|3|2|5|1|1|1|0|0|0|102|0|1|1|0|0|0|3|3|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0||0|0|0|0|0|0|0|0|0||||||||||0|0|0|0|0|0|0||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|46.0|46|0.0|0|0.0|0|0.011469460092484951|1|0.0|0|0.0|0|3|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|0.0|0|0|0|0|0|0|0|0|0|0|0|0|0|||0|100.0|100.0|0|1|0|1|0|0|0.02481505274772644|1|0.014951236546039581|1|0|0|0|0|0|0|0|0|0|0|0|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|||0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|4695.5556640625|42260|7126.66650390625|62040|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||||||0|0||||||||||
    11213|26341|2007-09-03 00:00|0|0|0.0|0|0.068584725260734558|2|0.14375555515289307|27|0|2|1|11|3966|13162|97|0|13|0|0|83|3|2|3|0|0|0|26||0|0|11|0|0|0|1|0||0|1|0|3|97|98|0|246795|0|11|1|0|3|14|0|0|0|0|0||0|1912|0|0|12|0|0|0|0|0|0|0|12|0|0|17|0|83|2|2|2|0|0|0|0|0|0|0|73|3|1|24|24.0|16|16.0|0|0|0.0|3|0|24|23.905364990234375|2|0.0040000001899898052|0|0.0|0|0.0|0|0.0|11|2.0772171020507812|97|7|0|0|80|10|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|12|12|0|0|0|0|0|0|0|0|0|41|0|0|0|0|0|41|0|0|99|25|0|0|0|0|74|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|2|0|0|0|0|0|0|0|0|0|0|177|158|332|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|3|||||||||||||0|0|0|0|0|0.0|0|0|321|198|||0.041950233280658722|0|2|0.1999288946390152|0|5|||0.00088306842371821404|1|0.00051651173271238804|1|529|113|4|8|2|2.0671226978302002|10|274|7|0|0|80|10|66|17|13934|7024|6910|31|332|4.7173333168029785|5|0.000033333333703922108|1|0.000033333333703922108|1|0.000033333333703922108|1|0.0|0|358|6448|6356|0|0|0|0||0||1609|3423|0|83|78|5|0|0|26|0|0|0|0|0|0|0|0|0|2|0|1|1|0|0|0|0|3|0|0|0|0|2|0|2|0|0|0|0|0|0|0|0|0|0|2|0|0|0|0|0|0.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|65|0|1|0|1|72|0|0|65|0|1|0|1|72|0|0|0|0|0|0|0|0|0.0|0|0|12|7|0|2|3|16|5|5|6|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|2|0.04131799191236496|0|48|48.0|5|5.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|0|0|1|0|0|0|0|0|0|9|0|5|1|0|0|0|1|0|0|0|1|1|0|0|0|0|0|0|0|0|0|0|4|2|1|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|3|0|0|0|0|3|0|0|0|0|0|0|0|0|121|0|1410|6046|558|1400|192|2467|10|0|5|1|0|0|0|2|0|0|0|1|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|15|0|10|0|0|0|0|3|0|1|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0|0|0|0|0|0|0|0|0|0|21|9|12|10|3|1|0|1|4|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|163|4|144|91|92|2|92|0|0|0|0|0|101|92|0|0|0|0|101|0|0|0|0|600|596|1|0|0|3|0|0|0|0|0|0|0|0|0|0|0|9|0|0|1|0|0|0|8|0|34|3|4|14|7|2|3|0|1|0|0|0|0|0|0|0|0|0|41|6|4|23|5|2|1|0|0|0|289|0|7|7|0|0|0|11|11|0|0|4|4|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0||0|0|4|0|0|0|0|0|4||||||||||3|0|0|0|0|0|3||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|0|0|0|0|0|0|55.814689636230469|47.931411743164062|48|0.0|0|0.0|0|0.068584725260734558|2|0.0|0|0.0|0|14|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|0.0|0|0|0|0|1|0|0|1|0|0|0|0|0|||0|100.0|100.0|0|26|26|0|0|0|0.088263392448425293|2|0.056161552667617798|2|0|0|0|0|0|0|0|0|0|5|22|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|||0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|16308.888671875|146780|23162.22265625|184840|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||||||0|0||||||||||
    11220|26341|2007-09-03 00:00|0|0|0.0|0|0.309184730052948|2|0.17757916450500488|0|0|7|4|18|3925|13682|172|0|19|0|0|164|10|5|4|0|0|0|2||0|0|20|0|0|1|4|0||0|5|0|4|172|172|0|1165085|0|20|4|0|20|8|0|0|0|0|0||0|1912|0|0|24|0|0|1|0|0|0|0|23|0|0|30|0|164|4|6|8|0|0|0|0|0|0|0|121|10|15|24|24.0|16|16.0|0|0|0.0|4|0|24|23.646148681640625|1|0.0040013887919485569|0|0.0|0|0.0|0|0.0|11|2.0849723815917969|172|5|0|0|123|44|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|26|24|0|0|0|2|0|0|0|0|0|192|1|0|0|0|0|191|0|0|190|12|0|0|0|0|178|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|3|0|0|0|0|0|1|0|0|0|0|1008|953|2758|0|5|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|4|||||||||||||0|0|0|0|0|84.418106079101562|0|0|2626|1420|||0.29022222757339478|0|5|1.5045944452285767|0|5|||0.0058597764000296593|2|0.0046600494533777237|2|1340|1114|80|119|27|2.2584490776062012|10|1180|5|0|0|123|44|953|55|14462|7024|7438|52|2758|3.0037333965301514|5|0.021266667172312737|1|0.00036666667438112199|1|0.0|0|0.0|0|362|6440|6880|0|0|0|0||0||13711|27667|0|159|149|10|0|0|1|1|0|0|0|0|0|0|0|0|7|0|0|7|0|0|0|0|4|0|0|0|0|7|0|7|0|0|0|0|0|0|0|0|0|2|3|0|0|0|0|0|0.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|842|0|111|0|102|1702|0|1|842|0|111|0|0|1703|0|0|0|0|0|0|0|0|0.0|0|0|47|26|11|3|7|37|1|20|16|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|4|0.24921548366546631|0|44|44.0|0|0.0|0|0|0|1003|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|10|0|8|2|0|0|0|0|0|0|0|0|0|0|81|1|60|10|10|0|0|0|0|0|0|0|0|0|1|1|0|0|0|0|0|0|0|25|16|4|2|3|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|53|27|17|4|5|0|0|0|0|0|0|0|0|0|421|0|8685|67179|2138|12104|80|26285|104|1|73|16|14|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|87|1|77|7|2|0|0|0|0|0|0|0|0|0|1|0|0|1|0|0|0|0|0|0|0|0|0|0|16|0|9|5|2|0|0|0|0|0|0|0|0|0|155|155|0|105|51|32|9|13|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0|0|0|0|0|0|0|0|0|0|5|5.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|102|0|0|0|0|0|600|445|4|20|32|63|16|15|4|1|0|0|0|0|0|0|0|37|0|0|5|0|0|0|32|0|230|7|10|99|68|22|21|0|3|0|0|0|0|0|0|0|0|0|286|18|10|182|53|17|6|0|0|0|2528|0|10|10|0|0|0|22|22|0|0|25|25|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0||0|0|30|0|0|0|0|0|30||||||||||23|0|0|0|0|0|23||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|0|0|0|0|0|0|0.0|45.998283386230469|46|0.0|0|0.0|0|0.30917638540267944|2|0.0|0|0.0|0|8|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|0.0|0|0|0|0|1|1|0|0|0|0|0|0|0|||0|100.0|100.0|0|2|1|0|0|1|0.73375397920608521|5|0.41600942611694336|6|0|0|0|0|0|0|0|0|0|0|0|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|||0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|98115.5546875|865520|176626.671875|1159360|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||||||0|0|||||||||| 
    We found that some of the data field become 'null' after the load action finished, if we load the same data again, problem disappeared, we can't 100% reproduce this issue each time, we don't know why, Anybody here can help us to solve this issue or give us some clue?
     
     
     

    DB:3.11:Data Missing When Loading Data Into Sql Server 2005 1z

     Sorry, after further investigate, we're not using SSIS, we use DTS only to load data into sql server 2005

  • RELEVANCY SCORE 3.11

    DB:3.11:Proc Help Needed xp


    SET ANSI_NULLS ON
    GO

    SET QUOTED_IDENTIFIER ON
    GO




    ALTER PROCEDURE [dbo].[UpdateAveWeeklyMovementAX]
    @FromDate datetime, -- Starting date for sales processing.
    @ThruDate datetime -- Ending date for sales processing.
    AS


    select @ThruDate = convert( datetime, convert( varchar(10), @ThruDate, 101 ))
    select @FromDate = convert( datetime, convert( varchar(10), @FromDate, 101 ))

    SET NOCOUNT ON

    -- Temp TABLE to store GERS INV.ITM data
    CREATE TABLE #ITMAX
    (
    [ITM_CD] [varchar](9) NULL,
    --[CELL_TYPE] [varchar](1) NOT NULL DEFAULT 'N',
    [VE_CD] [varchar](4) NULL,
    [VSN] [varchar](30) NULL,
    [DES] [varchar](30) NULL,
    [REPL_CST] [DECIMAL](13,2) NULL
    )


    INSERT INTO #ITMAX
    SELECT
    ISNULL(P.ITM_CD,''),
    --ISNULL(P.CELL_TYPE, 'Y'),
    isnull(P.VE_CD,''),
    isnull(P.VSN,''),
    isnull(P.DES,''),
    isnull(P.REPL_CST,0 )

    FROM
    vGERS_AX_INV_ITM P

    BEGIN TRANSACTION InsertRows

    DELETE MFI_AVE_WEEK_MVMT_AX

    INSERT INTO MFI_AVE_WEEK_MVMT_AX
    SELECT
    MAX(S.AWM_WHSE),
    CASE ISNULL(S.TERRITORY, 'NULL')
    WHEN 'NULL' THEN S.MARKET
    ELSE S.TERRITORY END AS MARKET,
    P.ITM_CD,
    MAX(P.VE_CD),
    MAX(P.VSN),
    MAX(P.DES),
    SUM(CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)/7 CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)%7 WHEN 0 THEN 0 ELSE 1 END
    WHEN 8 THEN L.QTY
    ELSE 0 END) AS QTY8,
    SUM(CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)/7 CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)%7 WHEN 0 THEN 0 ELSE 1 END
    WHEN 7 THEN L.QTY
    ELSE 0 END) AS QTY7,
    SUM(CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)/7 CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)%7 WHEN 0 THEN 0 ELSE 1 END
    WHEN 6 THEN L.QTY
    ELSE 0 END) AS QTY6,
    SUM(CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)/7 CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)%7 WHEN 0 THEN 0 ELSE 1 END
    WHEN 5 THEN L.QTY
    ELSE 0 END) AS QTY5,
    SUM(CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)/7 CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)%7 WHEN 0 THEN 0 ELSE 1 END
    WHEN 4 THEN L.QTY
    ELSE 0 END) AS QTY4,
    SUM(CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)/7 CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)%7 WHEN 0 THEN 0 ELSE 1 END
    WHEN 3 THEN L.QTY
    ELSE 0 END) AS QTY3,
    SUM(CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)/7 CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)%7 WHEN 0 THEN 0 ELSE 1 END
    WHEN 2 THEN L.QTY
    ELSE 0 END) AS QTY2,
    SUM(CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)/7 CASE (DATEDIFF(Day, H.FINAL_DT, @ThruDate)1)%7 WHEN 0 THEN 0 ELSE 1 END
    WHEN 1 THEN L.QTY
    ELSE 0 END) AS QTY1,
    P.REPL_CST,
    MAX(@FromDate) AS FROM_DT,
    MAX(@ThruDate) AS THRU_DT
    FROM
    (#ITMAX P
    INNER JOIN
    (SALES_SO_LN_FINAL L
    INNER JOIN SALES_SO_FINAL H
    ON L.DEL_DOC_NUM = H.DEL_DOC_NUM)
    ON P.ITM_CD = L.ITM_CD)
    INNER JOIN MFI_MASTER_STORES S ON H.SO_STORE_CD = S.GERS_CODE
    WHERE
    H.FINAL_DT BETWEEN @FromDate AND @ThruDate
    AND
    --P.CELL_TYPE = 'Y'

    L.QTY 0
    AND
    SUBSTRING(L.ITM_CD, 2, 1) 'F'
    AND
    L.OUT_ID_CD IS NULL
    and s.store '9301'
    GROUP BY
    CASE ISNULL(S.TERRITORY, 'NULL')
    WHEN 'NULL' THEN S.MARKET
    ELSE S.TERRITORY
    END,
    P.ITM_CD,
    P.REPL_CST
    ORDER BY
    CASE ISNULL(S.TERRITORY, 'NULL')
    WHEN 'NULL' THEN S.MARKET
    ELSE S.TERRITORY
    END,
    MAX(P.VSN)

    COMMIT TRANSACTION InsertRows

    DROP TABLE #ITMAX


    When i run the above proc i get an error..

    Am i missing anything?

    Msg 260, Level 16, State 1, Procedure UpdateAveWeeklyMovementAX, Line 67

    Disallowed implicit conversion from data type datetime to data type decimal, table 'GERSRPT.dbo.MFI_AVE_WEEK_MVMT_AX', column 'REPL_CST'. Use the CONVERT function to run this query.

    (1 row(s) affected)
    FM

    DB:3.11:Proc Help Needed xp

    Never mind i got it.. Thank you for your help.. FM

  • RELEVANCY SCORE 3.10

    DB:3.10:Combobox1 Populates Combobox2, Then Populates Combobox3 d9



    I want to use combo box for Date of Birth, as I want to make sure the users will not enter invalid date.

    So I used the setItems function and followed the instructions in the thread here http://forums.adobe.com/message/3014009#3014009.

    Everything works well, but the date will not save. If I close the document and re-open it, the date that was set in the 2 combo boxes are not there anymore!

    I don't know what I is wrong.

    I have box1 that is month, box2 that is day, and box3 that is year.

    Here are my codes (I know there are spaces between the numbers, this is because they have to fit into boxes that were already on the form)

    At Document level JS:

    //First you make the values for box1.

    myBox1Values = ["", " 0 1", " 0 2", " 0 3", " 0 4", " 0 5", " 0 6", " 0 7", " 0 8", " 0 9", " 1 0", " 1 1", " 1 2"];

    //Then you populate the values to box1.

    this.getField("box1").setItems(myBox1Values);

    // Then you define what has to be shown in box2 when value is selected

    var DeptData = { " 0 1": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"," 3 1"],

    " 0 2": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"],

    " 0 3": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"," 3 1"],

    " 0 4": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"],

    " 0 5": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"," 3 1"],

    " 0 6": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"],

    " 0 7": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"," 3 1"],

    " 0 8": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"," 3 1"],

    " 0 9": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"],

    " 1 0": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"," 3 1"],

    " 1 1": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"],

    " 1 2": [" 0 1"," 0 2"," 0 3"," 0 4"," 0 5"," 0 6"," 0 7"," 0 8"," 0 9"," 1 0"," 1 1"," 1 2"," 1 3"," 1 4"," 1 5"," 1 6"," 1 7"," 1 8"," 1 9"," 2 0"," 2 1"," 2 2"," 2 3"," 2 4"," 2 5"," 2 6"," 2 7"," 2 8"," 2 9"," 3 0"," 3 1"],

    };

    //Finally you set the values of box2

    function SetFieldValues(cDeptName)

    {

    this.getField("box2").setItems(DeptData[cDeptName]);

    }

    In Box1 custom keystroke:

    if( event.willCommit )

    {

    if(event.value == "")

    {

    //if nothing is chosen in DOBmm then DOBdd and DOByyyy will be cleared

    this.getField("box2").clearItems();

    this.getField("box3").clearItems();

    }

    else

    {

    SetFieldValues(event.value);

    }}

    Box2 custom format script:

    if((this.getField("box1").value == " 0 2") (this.getField("box2").value == " 2 9"))

    {this.getField("box3").setItems([""," 2 0 1 2", " 2 0 0 8", " 2 0 0 4", " 2 0 0 0", " 1 9 9 6", " 1 9 9 2", " 1 9 8 8", " 1 9 8 4", " 1 9 8 0", " 1 9 7 6", " 1 9 7 2", " 1 9 6 8", " 1 9 6 4", " 1 9 6 0", " 1 9 5 6", " 1 9 5 2", " 1 9 4 8", " 1 9 4 4", " 1 9 4 0", " 1 9 3 6", " 1 9 3 2", " 1 9 2 8", " 1 9 2 4", " 1 9 2 0", " 1 9 1 6", " 1 9 1 2", " 1 9 0 8", " 1 9 0 4", " 1 9 0 0"]);}

    else

    {this.getField("box3").setItems([""," 2 0 1 2"," 2 0 1 1"," 2 0 1 0"," 2 0 0 9"," 2 0 0 8"," 2 0 0 7"," 2 0 0 6"," 2 0 0 5"," 2 0 0 4"," 2 0 0 3"," 2 0 0 2"," 2 0 0 1"," 2 0 0 0"," 1 9 9 9"," 1 9 9 8"," 1 9 9 7"," 1 9 9 6"," 1 9 9 5"," 1 9 9 4"," 1 9 9 3"," 1 9 9 2"," 1 9 9 1"," 1 9 9 0"," 1 9 8 9"," 1 9 8 8"," 1 9 8 7"," 1 9 8 6"," 1 9 8 5"," 1 9 8 4"," 1 9 8 3"," 1 9 8 2"," 1 9 8 1"," 1 9 8 0"," 1 9 7 9"," 1 9 7 8"," 1 9 7 7"," 1 9 7 6"," 1 9 7 5"," 1 9 7 4"," 1 9 7 3"," 1 9 7 2"," 1 9 7 1"," 1 9 7 0"," 1 9 6 9"," 1 9 6 8"," 1 9 6 7"," 1 9 6 6"," 1 9 6 5"," 1 9 6 4"," 1 9 6 3"," 1 9 6 2"," 1 9 6 1"," 1 9 6 0"," 1 9 5 9"," 1 9 5 8"," 1 9 5 7"," 1 9 5 6"," 1 9 5 5"," 1 9 5 4"," 1 9 5 3"," 1 9 5 2"," 1 9 5 1"," 1 9 5 0"," 1 9 4 9"," 1 9 4 8"," 1 9 4 7"," 1 9 4 6"," 1 9 4 5"," 1 9 4 4"," 1 9 4 3"," 1 9 4 2"," 1 9 4 1"," 1 9 4 0"," 1 9 3 9"," 1 9 3 8"," 1 9 3 7"," 1 9 3 6"," 1 9 3 5"," 1 9 3 4"," 1 9 3 3"," 1 9 3 2"," 1 9 3 1"," 1 9 3 0"," 1 9 2 9"," 1 9 2 8"," 1 9 2 7"," 1 9 2 6"," 1 9 2 5"," 1 9 2 4"," 1 9 2 3"," 1 9 2 2"," 1 9 2 1"," 1 9 2 0"," 1 9 1 9"," 1 9 1 8"," 1 9 1 7"," 1 9 1 6"," 1 9 1 5"," 1 9 1 4"," 1 9 1 3"," 1 9 1 2"," 1 9 1 1"," 1 9 1 0"," 1 9 0 9"," 1 9 0 8"," 1 9 0 7"," 1 9 0 6"," 1 9 0 5"," 1 9 0 4"," 1 9 0 3"," 1 9 0 2"," 1 9 0 1"," 1 9 0 0"]);}

    And Box3 is depending on Box1 and Box2.

    Like I said, the code works well, everything works as it should, but when I save and close the document the values will disapear upon re-opening the file.

    Appreciate your help.

    DB:3.10:Combobox1 Populates Combobox2, Then Populates Combobox3 d9


    The code you posted is not showing or hiding any fields, so it must be something else causing that.

  • RELEVANCY SCORE 3.10

    DB:3.10:Please Convert From Ver. 8.5 To Ver. 7.1 Or 7.0 a9



    Please convert the attached .vi saved in LV 8.5 to LV 7.1 (or LV 7.0)

    regards,

    Bojan







    Solved!
    Go to Solution.

    DB:3.10:Please Convert From Ver. 8.5 To Ver. 7.1 Or 7.0 a9


    Hi,

    Here it is in LV 7.0

    Kees










    Attachments:







    hpsd4000-tecaj 7.0 Folder.zip ‏105 KB

  • RELEVANCY SCORE 3.09

    DB:3.09:How To Convert A Dateandtime Of Snmpv2-Tc Mib To A Displayable Java xz


    Hello All,

    Can any one tell me how to convert the DateAndTime octet string to a displayable string to the user.

    The definition is as below

    DateAndTime ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "2d-1d-1d,1d:1d:1d.1d,1a1d:1d"
    STATUS current
    DESCRIPTION
    "A date-time specification.

    field octets contents range
    ----- ------ -------- -----
    1 1-2 year* 0..65536
    2 3 month 1..12
    3 4 day 1..31
    4 5 hour 0..23
    5 6 minutes 0..59
    6 7 seconds 0..60
    (use 60 for leap-second)
    7 8 deci-seconds 0..9
    8 9 direction from UTC '+' / '-'
    9 10 hours from UTC* 0..13
    10 11 minutes from UTC 0..59

    * Notes:
    - the value of year is in network-byte order
    - daylight saving time in New Zealand is +13

    For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be
    displayed as:

    1992-5-26,13:30:15.0,-4:0

    Note that if only local time is known, then timezone
    information (fields 8-10) is not present."
    SYNTAX OCTET STRING (SIZE (8 | 11))

    I get this a String.

    Please help

    DB:3.09:How To Convert A Dateandtime Of Snmpv2-Tc Mib To A Displayable Java xz

    Hi
    We can use the below snippet for the same. As the Zone of simpleDateFormat expects the zone to be in "(+/-)xxxx" with out the ":" inbetween, this cannot be directly used in pattern. So we convert it separately add the same to the Calendar obj.

    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd,HH:mm:ss");
    String timeZone = "GMT"+dateStr.substring(dateStr.lastIndexOf(",")+1);
    System.out.println("TimeZone :"+timeZone);
    TimeZone tz = TimeZone.getTimeZone(timeZone);
    Date dt = sdf.parse(dateStr);
    Calendar calen = Calendar.getInstance();
    calen.setTime(dt);
    calen.setTimeZone(tz);

  • RELEVANCY SCORE 3.09

    DB:3.09:Adding Colimn In Grouping , With Rollup f9


    I have below query

    SELECT
    [MODEL]=CASE WHEN ROW IS NULL THEN 'TOTAL'
    ELSE CONVERT(VARCHAR(80),[ROW]) END ,
    [APR] =SUM( CASE COL WHEN '4' THEN DATA ELSE 0 END ),
    [MAY] =SUM( CASE COL WHEN '5' THEN DATA ELSE 0 END ),
    [JUN] =SUM( CASE COL WHEN '6' THEN DATA ELSE 0 END ),
    [JUL] =SUM( CASE COL WHEN '7' THEN DATA ELSE 0 END ),
    [AUG] =SUM( CASE COL WHEN '8' THEN DATA ELSE 0 END ),
    [SEP] =SUM( CASE COL WHEN '9' THEN DATA ELSE 0 END ),
    [OCT] =SUM( CASE COL WHEN '10' THEN DATA ELSE 0 END ),
    [NOV] =SUM( CASE COL WHEN '11' THEN DATA ELSE 0 END ),
    [DEC] =SUM( CASE COL WHEN '12' THEN DATA ELSE 0 END ),
    [JAN] =SUM( CASE COL WHEN '1' THEN DATA ELSE 0 END ),
    [FEB] =SUM( CASE COL WHEN '2' THEN DATA ELSE 0 END ),
    [MAR] =SUM( CASE COL WHEN '3' THEN DATA ELSE 0 END ),
    [TOTAL]= SUM( DATA )

    FROM
    (SELECT [ROW]=MODELS.DESCRIPTION ' ('CAST((SELECT COUNT(*) FROM CUSTOMER_PRODUCTS WHERE CUSTOMER_PRODUCTS.MODELID=MODELS.MODELID) AS VARCHAR)')',

    [COL]=MONTH(REQUESTS.CALLDATE),
    [DATA]=COUNT(*)

    FROM MODELS
    INNER JOIN REQUESTS ON REQUESTS.MODELID=MODELS.MODELID
    GROUP BY MODELS.DESCRIPTION, MONTH(REQUESTS.CALLDATE) ,MODELS.MODELID
    HAVING COUNT(*)1
    )F

    GROUP BY ROW WITH ROLLUP
    I get a below output when i run this query . Instead of showing the count in bracket () in model, i want to display the count of machine model inseparatecolumn.

    MODEL
    APR
    MAY
    JUN
    JUL
    AUG
    SEP
    OCT
    NOV
    DEC
    JAN
    FEB
    MAR
    TOTAL

    350CL (3)
    0
    0
    0
    0
    0
    3
    0
    0
    2
    0
    0
    0
    5

    2213 (5)
    3
    0
    0
    6
    0
    2
    4
    4
    2
    2
    0
    3
    26

    3213 (2)
    0
    3
    0
    0
    0
    0
    0
    2
    0
    2
    2
    0
    9

    500 (2)
    0
    2
    0
    0
    0
    0
    0
    6
    2
    2
    0
    0
    12

    GA (2)
    0
    0
    0
    0
    0
    2
    0
    0
    0
    2
    0
    0
    4

    1500 (5)
    2
    0
    0
    0
    0
    2
    0
    0
    0
    0
    0
    0
    4

    200 (10)
    3
    0
    2
    5
    0
    0
    0
    0
    0
    4
    2
    0
    16

    2000(1)
    0
    0
    0
    0
    0
    4
    0
    0
    0
    0
    0
    0
    4

    HC 30 (5)
    0
    0
    0
    2
    0
    0
    0
    0
    0
    0
    0
    0
    2

    TOTAL
    8
    5
    2
    13
    0
    13
    4
    12
    6
    12
    4
    3
    82

    raghu

    DB:3.09:Adding Colimn In Grouping , With Rollup f9

    You can put the query with in a sub-query or a CTE and then can apply SUBSTRING() function to separate out the numbers in brackets to an another column.~manoj | email: http://scr.im/m22g
    http://sqlwithmanoj.wordpress.com

    MCCA 2011 | My FB Page

  • RELEVANCY SCORE 3.08

    DB:3.08:Convert 7.0 Driver To 6.1 ms



    Hi,

    Can somebody please convert this driver so that I can use it in ver 6.1? It's for a HP8594A spectrum analyser. It's just a matter of re-saving it from ver7.0 to ver6.1... so I'm told

    Thanks










    Attachments:







    hp859xx.zip ‏1591 KB

  • RELEVANCY SCORE 3.08

    DB:3.08:Convert Monday,Tuesday To .....Date Based On Weekend Date Column Value? 1d


    I have table like below
    Monday Tuesday Wednesday Thursday Friday Saturday Sunday WeekEndDate
    ------ ------- --------- -------- ------ -------- ------ -----------
    2 3 2 5 5 8 0 02/10/2011
    0 3 7 1 0 2 4 09/10/2011
    3 0 2 0 5 0 6 16/10/2011
    2 3 0 1 0 8 9 23/10/2011
    1 6 2 4 0 3 0 30/10/2011

    Weekenddate has sunday's date,the row has one week date from monday to sunday.
    I have two inputs
    fromdate = 06/10/201
    todate = 20/10/2011

    i want to return rows like
    06/10/2011 07/10/2011 08/10/2011 09/10/2011 ....20/10/2011
    --------- ---------- ---------- --------- ----------
    1 0 2 4 ....1

    DB:3.08:Convert Monday,Tuesday To .....Date Based On Weekend Date Column Value? 1d

    You may want to have both Calendar and Numbers tables in your database. I have a script for both of them in this blog post

    Passing multiple ranges to stored procedure

    For every expert, there is an equal and opposite expert. - Becker's Law

    My blog

  • RELEVANCY SCORE 3.08

    DB:3.08:Programming Challenges 7k



    This thread serves as a collection of small (solvable in less than 1 hour), but yet not trivial programming challenges. Please feel free to post your solution below, but try to avoid lengthy discussions.

    1. Challenge:

    Create a program to print the solution for any given (solvable, i.e. no guessing is needed) sudoku puzzle. Puzzles are represented as follows:

    5 3 0 0 7 0 0 0 0 6 0 0 1 9 5 0 0 0 0 9 8 0 0 0 0 6 0 8 0 0 0 6 0 0 0 3 4 0 0 8 0 3 0 0 1 7 0 0 0 2 0 0 0 6 0 6 0 0 0 0 2 8 0 0 0 0 4 1 9 0 0 5 0 0 0 0 8 0 0 7 9

    DB:3.08:Programming Challenges 7k

    wuischke wrote:
    OK, Ill post my solution as well. Written in ansi-C. Its sometimes very ugly (particularly the code to clear the square), well, but it works. You can add a call to the PrintField function before adding each value to see how this solver works.

    Ive seen incredibly small solvers written in Haskell - anyone here who knows functional programming languages well enough to post a nice solution?

  • RELEVANCY SCORE 3.08

    DB:3.08:Remove Leading Zeros From Ip Address Using Regular Expression c9


    Hi,
    I have an IP like this 127.000.000.001 how can I remove the leading zeros to get this 127.0.0.1?
    public static string AsIPAddress(this string str)
    {
    str = str == null ? : str;
    string pattern = @^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$;
    return new Regex(pattern).Replace(str, $1.$2.$3.$4);

    Thanks,

    DB:3.08:Remove Leading Zeros From Ip Address Using Regular Expression c9

    PeacError is correct. You should use regex
    The IP Address object will take leading zeros as octal rather than decimal. For example:
    192.168.1.64 = 192.168.1.64
    192.168.001.064 = 192.168.1.52!!!
    Note that an IPAddress could also be specified with hex values, but the decimal/octal confusion is more likely to happen. Some addresses will be the same in decimal and octal but some won't.
    Depending how you are using the IPAddress object be careful of this.

  • RELEVANCY SCORE 3.08

    DB:3.08:Convert Request From 8.0 To 7.1 sm



    I'd be really grateful if some kind person could convert the attached vis from v 8.0 to 7.1

    There are 15 vis but they are small and simple and should convert easily.

    Thanks in advance - Chris







    Solved!
    Go to Solution.

  • RELEVANCY SCORE 3.08

    DB:3.08:Doubt d7



    Is there any issue , if OQD is high on particular interfaces, if so what need to be done ?

    INHY_MFVS#sh int summ

    INHY_MFVS#sh int summary

    *: interface is up

    IHQ: pkts in input hold queue     IQD: pkts dropped from input queue

    OHQ: pkts in output hold queue    OQD: pkts dropped from output queue

    RXBS: rx rate (bits/sec)          RXPS: rx rate (pkts/sec)

    TXBS: tx rate (bits/sec)          TXPS: tx rate (pkts/sec)

    TRTL: throttle count

      Interface               IHQ   IQD  OHQ   OQD  RXBS RXPS  TXBS TXPS TRTL

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

      Vlan1                         0     0    0     0     0    0     0    0    0

    * Vlan105                      0     0    0     0  4000    7  4000    5    0

      FastEthernet0             0     0    0     0     0    0     0    0    0

    * GigabitEthernet1/0/1     0     0    0 24210 875000   63 46000   50    0

    * GigabitEthernet1/0/2     0     0    0     0     0    0  1000    2    0

      GigabitEthernet1/0/3     0     0    0     0     0    0     0    0    0

    * GigabitEthernet1/0/4     0     0    0     0     0    0  1000    2    0

    * GigabitEthernet1/0/5     0     0    0  5154  1000    0 32000    4    0

    * GigabitEthernet1/0/6     0     0    0     0     0    0  1000    2    0

    * GigabitEthernet1/0/7     0     0    0     0     0    0  1000    2    0

    * GigabitEthernet1/0/8     0     0    0     0  4000    3  5000    5    0

    * GigabitEthernet1/0/9     0     0    0     0  3000    2  5000    5    0

    * GigabitEthernet1/0/10    0     0    0     0     0    0  1000    3    0

    * GigabitEthernet1/0/11    0     0    0   637 1444000  269 3104000  743    0

    * GigabitEthernet1/0/12    0     0    0     0 2818000  329     0    0    0

    * GigabitEthernet1/0/13    0     0    0     0 763000  224 97000   66    0

    * GigabitEthernet1/0/14    0     0    0    34 27000   21 19000   15    0

    * GigabitEthernet1/0/15    0     0    0     0     0    0     0    0    0

    Thanks in advacne !!

    Thanks Regards ,

    T Rajneesh R

    DB:3.08:Doubt d7


    Maybe check the end device that is connected to that port.

  • RELEVANCY SCORE 3.07

    DB:3.07:Convert From Labview 9.0 To Labview 8.2.1 k7



    Hi,

    I need to convert the vi from LV9.0 to LV 8.2.1

    Thanks,

    Vignesh







    Solved!
    Go to Solution.

    DB:3.07:Convert From Labview 9.0 To Labview 8.2.1 k7


    Find attached, saved in version 8.0 (can be opened in 8.2.1)




    I am not allergic toKudos, in fact I loveKudos.

    Make your LabVIEW experience moreCONVENIENT.

  • RELEVANCY SCORE 3.07

    DB:3.07:Convert From 9.0 To 8.5 zx



    Can anyone convert this file from LabView 9.0 to 8.5?







    Solved!
    Go to Solution.

    DB:3.07:Convert From 9.0 To 8.5 zx


    Here you go




    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • RELEVANCY SCORE 3.07

    DB:3.07:Crosstab Query Using Convert f8


    I'm trying to convert the MYSQL query below to work with my current CF Report. It is stopping at the CONVERT statement..?
    --------------------------------------------------------------------------
    SELECT CONVERT(varchar(8),cfmDate,1) AS 'Month', SUM(CASE WHEN DATEPART(month,cfmDate) = 1 THEN 1 ELSE 0 END) AS 'Jan', SUM(CASE WHEN DATEPART(month,cfmDate) = 2 THEN 1 ELSE 0 END) AS 'Feb', SUM(CASE WHEN DATEPART(month,cfmDate) = 3 THEN 1 ELSE 0 END) AS 'Mar', SUM(CASE WHEN DATEPART(month,cfmDate) = 4 THEN 1 ELSE 0 END) AS 'Apr', SUM(CASE WHEN DATEPART(month,cfmDate) = 5 THEN 1 ELSE 0 END) AS 'May', SUM(CASE WHEN DATEPART(month,cfmDate) = 6 THEN 1 ELSE 0 END) AS 'Jun', SUM(CASE WHEN DATEPART(month,cfmDate) = 7 THEN 1 ELSE 0 END) AS 'Jul', SUM(CASE WHEN DATEPART(month,cfmDate) = 8THEN 1 ELSE 0 END) AS 'Aug', SUM(CASE WHEN DATEPART(month,cfmDate) = 9 THEN 1 ELSE 0 END) AS 'Sep', SUM(CASE WHEN DATEPART(month,cfmDate) = 10 THEN 1 ELSE 0 END) AS 'Oct', SUM(CASE WHEN DATEPART(month,cfmDate) = 11 THEN 1 ELSE 0 END) AS 'Nov'
    SUM(CASE WHEN DATEPART(month,cfmDate) = 12 THEN 1 ELSE 0 END) AS 'Dec'

    FROM tblStatus RIGHT OUTER JOIN tblCalixFilterMaint ON tblStatus.statusID =
    tblCalixFilterMaint.cfmStatus LEFT OUTER JOIN tblColloNode ON tblColloNode.NodeID
    = tblCalixFilterMaint.cfmColloGROUP BY CONVERT(varchar(8),cfmDate,1)ORDER BY CONVERT(varchar(8),cfmDate,1)
    ------------------------------------------------------------------------------

    Here is the link to the original author of this code:http://www.sqlteam.com/article/counting-transactions-per-hour-using-a-pivot-table
    Thanks,
    jlig

    DB:3.07:Crosstab Query Using Convert f8

    That was it.. I mistakenly used %d instead of %m.. now all of the records are showing up.
    Thanks to all..
    jlig

  • RELEVANCY SCORE 3.07

    DB:3.07:Help With Fonts jz


    Hello,
    I need to remove the following fonts from a Solaris 8 2/02 system.

    -monotype-arial-0-0-normal--0-0-0-0-p-0-iso8859-1
    -monotype-arial-0-0-normal--0-0-100-100-p-0-iso8859-1
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-1
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-2
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-5
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-7
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-8
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-9

    Can anyone tell me how to go about this, or point me to a good manual/tutorial? Thanks!

    DB:3.07:Help With Fonts jz

    Hello,
    I need to remove the following fonts from a Solaris 8 2/02 system.

    -monotype-arial-0-0-normal--0-0-0-0-p-0-iso8859-1
    -monotype-arial-0-0-normal--0-0-100-100-p-0-iso8859-1
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-1
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-2
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-5
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-7
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-8
    -monotype-arial-0-0-normal--0-0-75-75-p-0-iso8859-9

    Can anyone tell me how to go about this, or point me to a good manual/tutorial? Thanks!

  • RELEVANCY SCORE 3.07

    DB:3.07:Kernel zj



    I've got non-unicode system - I've changed kernel from version 175 to 196 and got errors at sm21:

    Time Ty. Nr Cl. User Tcod MNo Text

    0#:8#:0# # 0#3#7#5#2#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#2#2#0#0#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#2#8#7#6#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#3#9#8#0#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#2#0#0#8#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#3#6#2#4#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#4#0#4#8#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#3#2#1#6#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#2#0#0#0#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#1#4#7#2#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#2#0#5#2#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#5#0#8#0#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#3#4#3#2#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#5#0#4#0#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#5#0#3#2#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#3#7#3#2#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#4#1#4#0#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    0#:8#:0# # 0#5#0#7#6#0# 0#0# #R# Missng:TSL1TE,#R#): # # # # # # # # # # # # # # # #

    etc.

    What is the reason?

    DB:3.07:Kernel zj


    Which Version of SAP is this Kernel on ?

  • RELEVANCY SCORE 3.07

    DB:3.07:Bcp Xml Format File kf


    in the current application we are currently using a non xml format file like below.
    7.0
    15
    1 SQLCHAR 0 30
    1 ABC
    2 SQLCHAR 0 12
    2 DEF
    3 SQLCHAR 0 60
    0 FILLER
    4 SQLCHAR 0 39
    0 FILLER
    5 SQLCHAR 0 5
    0 FILLER
    6 SQLCHAR 0 7
    3 XYZ
    7 SQLCHAR 0 10
    0 FILLER
    8 SQLCHAR 0 10
    0 FILLER
    9 SQLCHAR 0 4
    11 PRQ
    10 SQLCHAR 0 4
    0 FILLER
    11 SQLCHAR 0 25
    44 LMN
    12 SQLCHAR 0 4
    58 CO
    13 SQLCHAR 0 3
    59 APPL
    14 SQLCHAR 0 20
    60 ACCT
    15 SQLCHAR 0 10 \r\n
    61 PD_C

    I want to convert this non xml format file to xml format file. I am not sure how to specify the filler and column terminator as . Any help would be greatly appreciated. Thank you.

    DB:3.07:Bcp Xml Format File kf

    Use thje format and -x options from bcp to create an XML format file. Quote from:
    http://msdn.microsoft.com/en-us/library/ms191516.aspx
    To use a bcp command to create a format file, specify the
    format argument and use nul instead of a data-file path. The
    format option always requires the -f option, and to create an XML format file, you must also specify the
    -x option, such as:
    bcp table_or_view format nul
    -f format_file_name -x

  • RELEVANCY SCORE 3.06

    DB:3.06:Convert 8.0 To 7.1 dk



    I have to convert these VI's from 8.0 to 7.1 but I don't have 8.0

    Could someone please convert this for me?

    Thanks










    Attachments:







    VaneCorrection.vi ‏9 KB

    DB:3.06:Convert 8.0 To 7.1 dk


    Please post your request in the Downconvert Requests Thread. Thanks.

  • RELEVANCY SCORE 3.06

    DB:3.06:String Manipulation 78


    Hello,
    Please see image below. I need to manipulate the strings in the column OBJ_UDFCHAR07 to produce the values in SYSTEM_NUMBER. I need to convert 'A-KQI-10-067A' to'A-10-067'instead of 'A-10-067A'. There are 3 possible formatsfor the values
    in OBJ_UDFCHAR07:
    (1) '%-%-%-[0-9][0-9][0-9][0-9]'
    (2) '%-%-%-[0-9][0-9][0-9]'
    (3) '%-%-%-[0-9][0-9][0-9][A-Z]'
    I do not know how to exclude the last letter from (3) because a validSYSTEM_NUMBER and formatcan be (1).Both formats containfourcharacters.
    Here are two attempts that produce the SYSTEM_NUMBER shown below, but does not remove the trailing letter, if it exists. They both produce the same values, but the second one extracts the last portion of thestring (067, 067A) whilethe first one
    extracts the last two parts of teh string (-10-067, -10-067A)
    1.
    SELECT (SUBSTRING(OBJ_UDFCHAR07, 1, 1)) (SUBSTRING(OBJ_UDFCHAR07, PATINDEX('%-[0-9][0-9]-%', OBJ_UDFCHAR07), LEN(OBJ_UDFCHAR07) - (PATINDEX('%-[0-9][0-9]-%', OBJ_UDFCHAR07) - 1))) as SYSTEM_NUMBER, OBJ_UDFCHAR07, OBJ_UDFCHAR08
    FROM MV_R5Objects_Vw
    WHERE ((OBJ_OBTYPE = 'P') AND (OBJ_UDFCHAR07 LIKE '%-%-%-____' OR OBJ_UDFCHAR07 LIKE '%-%-%-[0-9][0-9][0-9]') AND (OBJ_UDFCHAR07 NOT LIKE 'W-%') AND (OBJ_UDFCHAR07 NOT LIKE 'S-%'))
    ORDER BY SYSTEM_NUMBER
    2.
    SELECT (SUBSTRING(OBJ_UDFCHAR07, 1, 1)) (SUBSTRING(OBJ_UDFCHAR07, PATINDEX('%-[0-9][0-9]-%', OBJ_UDFCHAR07), 4)) SUBSTRING(OBJ_UDFCHAR07, PATINDEX('%-[0-9][0-9]-%', OBJ_UDFCHAR07) 4, LEN(OBJ_UDFCHAR07) - (PATINDEX('%-[0-9][0-9]-%', OBJ_UDFCHAR07) - 1)) AS SYSTEM_NUMBER, OBJ_UDFCHAR07, OBJ_UDFCHAR08
    FROM MV_R5Objects_Vw
    WHERE ((OBJ_OBTYPE = 'P') AND (OBJ_UDFCHAR07 LIKE '%-%-%-____' OR OBJ_UDFCHAR07 LIKE '%-%-%-[0-9][0-9][0-9]') AND (OBJ_UDFCHAR07 NOT LIKE 'W-%') AND (OBJ_UDFCHAR07 NOT LIKE 'S-%'))
    ORDER BY SYSTEM_NUMBER
    Thanks in advance!
    SYSTEM_NUMBER OBJ_UDFCHAR07
    A-10-067
    A-CP-10-067
    A-10-0670 A-HS-10-0670
    A-10-067A A-KQI-10-067A

    DB:3.06:String Manipulation 78

    That worked! I just had tochange '[a-z]' to '[a-zA-Z]'. Thanks Johnqflorida!

  • RELEVANCY SCORE 3.06

    DB:3.06:Erro De Converso De Data, Vba E Sql Server 2000 sc


     
    Quando agendo uma aplicação desenvolvida em Visual Basic para ser executada automaticamente no SQL Server 2000 em Management/SQL Server Agent/Jobs isso gera um erro de conversão de data. Vide log da aplicação.
     
    x------- ERRO INÍCIO -------x
    Data/Hora: 9/14/2007 12:11:33 PM
       Source: Microsoft OLE DB Provider for SQL Server
    Descrição: The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value.
    Err. Num.: -2147217913

    …     
    convert( smalldatetime,Null,103) ,convert( smalldatetime,Null,103), convert( smalldatetime,Null,103),'G-ECT-ABL-01','','','','','','','','','','','','','','','','','','','','AC ASSIS BRASIL','','26300273',convert( smalldatetime,'3/16/2002',103), convert( smalldatetime,'4/3/2002',103), convert( smalldatetime,'3/1/2002',103),'CPA-2448/IP-10.111.184.129','782','REOP 02',convert( smalldatetime,Null,103), convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),convert( smalldatetime,Null,103),'','','',convert( smalldatetime,'7/25/2002',103),'Estação migrada para nova plataforma  em 25/07/2002.',0,'10.111.184.128','10.111.184.129','10.111.184.254','255.255.255.128','...','...','...','68','Não','64K','64K',convert( smalldatetime,'3/1/2002',103),692)
       x--------- ERRO FIM --------x
     
     
    Quando a aplicação em Visual Basic é executado fora do “Jobs” do SQL Server com um simples duplo click no binário.exe, ele processa normalmente. Como posso corrigir esta falha?

    DB:3.06:Erro De Converso De Data, Vba E Sql Server 2000 sc

     
    tente passar a data como yyy-mm-dd para testar, acho que este o problema, se for veja o usuario que vc. esta logando veja qual o default language dele.
     
    Abs;

  • RELEVANCY SCORE 3.06

    DB:3.06:Converting Rows To Columns Using T-Sql xc


    Hi All,
    I have a table with3 columns, let say ID1 , ID2, Flag
    My Source data looks like this..
    ID1ID2 Flag
    1 1 0
    1 2 0
    1 3 0
    2 7 0
    2 8 1
    2 9 0
    4 5 0
    Now My output should look like this..
    ID1 Newcol1 NewFlag1 Newcol2 NewFlag2 Newcol3 NewFlag3
    1 1 0
    2 0 3
    0
    2 7 0
    8 1 9
    0
    4 5 0
    null null null null
    Basically I want to convert rows to columns and to get above output I need t-SQL query.
    Thanks in advance
    RH

    sql

  • RELEVANCY SCORE 3.05

    DB:3.05:Convert Labview 7.1 To 6.0 k7


    Hi.Could someone please convert these Vi's from 7.1 to 6.0?Many thanks in advance.Andreas









    Attachments:







    main_71.zip ‏175 KB

    DB:3.05:Convert Labview 7.1 To 6.0 k7

    Well, you didn't include the dll that the subVIs appear to use but I was able to get around that. Give this a try.









    Attachments:







    main_6.zip ‏354 KB

  • RELEVANCY SCORE 3.05

    DB:3.05:How Do I Count An Occurrence That Runs Continuously Through A Weekend Or When An Occurrence Starts In One Month And Ends In The Next As 1 Occurrence E.G. O On Fri. Jan 30 Mon. Feb 1st z3


    *** I am open to tweaking the worksheet if needed only concern I have is any editing to the sheet doesn’t make it too large to print on one page and still be readible (the sheet can be too long)…
    The formula currently being used for the "AO6" is: =SUMPRODUCT((I6:AL6"o")*(H6:AK6="o"))

    I trying to convert a manual attendance tracking process to an Excel based process. While I’m confident I have most formulas down with no problem I am unable to calculate the following from my worksheet.

    Please help: I am willing to put the formula in a hidden cell. Thanks in advance for all your HELP!

    1
    A
    B
    C
    D
    E
    F
    G
    H
    I
    j
    K
    L
    M
    N
    O
    P
    Q
    R
    S
    T
    U
    V
    W
    X
    Y
    Z
    AA
    AB
    AC
    AD
    AE
    AF
    AG
    AH
    AI
    AJ
    AK
    AL
    AM
    AN
    AO
    AP
    AQ
    AR
    AS
    AT
    AU
    AV
    AW
    AX
    AY
    AZ
    BA
    BB
    BC
    BD
    BE
    BF

    2
    EMPLOYEE ATTENDANCE RECORDS

    3
    Administrator Name:

    E-MAIL:

    Phone Num:

    Occurrence counter
    Employee ID Number:

    4
    Year: 2011
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    t
    f
    o
    Monthly
    Summaries

    5
    D
    E
    F
    H
    J
    L
    M
    N
    O
    T
    V
    HV
    W
    X
    Z
    Total

    6
    JANUARY

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    7
    FEBRUARY

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    8
    MARCH

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    9
    APRIL

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    10
    MAY

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    11
    JUNE

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    12
    JULY

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    13
    AUGUST

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    14
    SEPTEMBER

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    15
    OCTOBER

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    16
    NOVEMBER

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    17
    DECEMBER

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    18

    Total Time Used

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    19

    ABSENCE CODES

    Total Time Available

    20

    Total Time Remaining

    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0

    21

    D
    =
    Death

    L
    =
    Leave of Absence

    V
    =
    Vacation

    YEARLY TOTALS
    0

    22

    E
    =
    Early Leave

    M
    =
    Military Duty

    HV
    =
    Half-Day Vacation

    23

    F
    =
    Family Medical Leave

    N
    =
    Necessity Leave

    W
    =
    Weather

    DATE OF HIRE

    24

    H
    =
    Holiday

    O
    =
    Occasional Absence

    X
    =
    Tardy (15 mins)

    25

    J
    =
    Jury/Witness Duty

    T
    =
    Tardy (15 mins)

    Z
    =
    Floating Holiday

    This record should be filed at the year end in the employees permanent file.

    26

    DB:3.05:How Do I Count An Occurrence That Runs Continuously Through A Weekend Or When An Occurrence Starts In One Month And Ends In The Next As 1 Occurrence E.G. O On Fri. Jan 30 Mon. Feb 1st z3

    Link below states the same issue as yours. Try to input the same function and verify if you get the desired outcome.

    http://www.bettersolutions.com/excel/EUV214/LO231331611.htm

  • RELEVANCY SCORE 3.05

    DB:3.05:Need Help With The Query fm


    Hi,

    I need some help with the below query.

    select
    convert(Varchar(10) ,a.Date,101) AS Date,
    SUM(d.Ins) as SumofIns,
    SUM(d.Outs) as SumofOuts,
    d.Period as Hourly_Periods,
    c.Name as Location_Name
    from Publish a
    Join Traffic d on d.PublishID = a.ID
    Join Location c on c.ID = d.LocationID
    where a.Date = GETDATE()
    and a.Date GETDATE()-1
    group by a.Date ,d.Period,d.Ins, c.Name
    order by a.Date Desc

    below is the result of the above query.

    Date SumofIns SumofOuts Hourly_Periods Location_Name
    4/2/2012 0 1 0 Location 5
    4/2/2012 0 1 0 Location 8
    4/2/2012 1 1 0 Location 1
    4/2/2012 1 2 0 Location 6
    4/2/2012 2 0 0 Location 4
    4/2/2012 3 4 0 Location 9
    4/2/2012 4 2 0 Location 7
    4/2/2012 6 7 0 Location 2
    4/2/2012 6 10 0 Location 3
    4/2/2012 7 8 0 Location 11
    4/2/2012 10 17 0 Location 13
    4/2/2012 11 8 0 Location 10
    4/2/2012 11 11 0 Location 12
    4/2/2012 0 0 1 Location 4
    4/2/2012 0 0 1 Location 5
    4/2/2012 0 1 1 Location 7
    4/2/2012 0 0 1 Location 8
    4/2/2012 0 0 1 Location 9
    4/2/2012 0 3 1 Location 12
    4/2/2012 1 2 1 Location 2
    4/2/2012 1 0 1 Location 6
    4/2/2012 2 0 1 Location 1
    4/2/2012 2 2 1 Location 10
    4/2/2012 5 18 1 Location 13
    4/2/2012 9 5 1 Location 11
    4/2/2012 10 11 1 Location 3
    4/2/2012 0 0 2 Location 4
    4/2/2012 0 0 2 Location 5
    4/2/2012 0 0 2 Location 7
    4/2/2012 0 0 2 Location 8
    4/2/2012 0 0 2 Location 9
    4/2/2012 1 1 2 Location 6
    4/2/2012 1 0 2 Location 12
    4/2/2012 3 1 2 Location 1
    4/2/2012 3 2 2 Location 10
    4/2/2012 3 6 2 Location 11
    4/2/2012 8 9 2 Location 13
    4/2/2012 10 7 2 Location 2
    4/2/2012 12 16 2 Location 3
    4/2/2012 0 0 21 Location 1
    4/2/2012 0 0 21 Location 2
    4/2/2012 0 0 21 Location 3
    4/2/2012 0 0 21 Location 4
    4/2/2012 0 0 21 Location 5
    4/2/2012 0 0 21 Location 6
    4/2/2012 0 0 21 Location 7
    4/2/2012 0 0 21 Location 8
    4/2/2012 0 0 21 Location 9
    4/2/2012 0 0 21 Location 10
    4/2/2012 0 0 21 Location 11
    4/2/2012 0 0 21 Location 12
    4/2/2012 0 0 21 Location 13
    4/2/2012 0 0 22 Location 1
    4/2/2012 0 0 22 Location 2
    4/2/2012 0 0 22 Location 3
    4/2/2012 0 0 22 Location 4
    4/2/2012 0 0 22 Location 5
    4/2/2012 0 0 22 Location 6
    4/2/2012 0 0 22 Location 7
    4/2/2012 0 0 22 Location 8
    4/2/2012 0 0 22 Location 9
    4/2/2012 0 0 22 Location 10
    4/2/2012 0 0 22 Location 11
    4/2/2012 0 0 22 Location 12
    4/2/2012 0 0 22 Location 13
    4/2/2012 0 0 23 Location 1
    4/2/2012 0 0 23 Location 2
    4/2/2012 0 0 23 Location 3
    4/2/2012 0 0 23 Location 4
    4/2/2012 0 0 23 Location 5
    4/2/2012 0 0 23 Location 6
    4/2/2012 0 0 23 Location 7
    4/2/2012 0 0 23 Location 8
    4/2/2012 0 0 23 Location 9
    4/2/2012 0 0 23 Location 10
    4/2/2012 0 0 23 Location 11
    4/2/2012 0 0 23 Location 12
    4/2/2012 0 0 23 Location 13

    Hourly periods are from 0 to 23.

    sum of ins is the visitors visited for that particular hour from a particular location. sum of out is the visitors left for that particular hour from a particular location.

    I need to calculate sum of visitors from all of the locations for a particular hour.

    The result should look like Below.
    Date Visitors Visited at 12 a.m Visitors Visited at 1 a.m Visitors Visited at 2 a.m Visitors Visited at 3 a.m Visitors Visited at 4 a.m Visitors
    Visited at 5 a.m Visitors Visited at 6 a.m Visitors Visited at 7 a.m Visitors Visited at 8 a.m Visitors Visited at 9 a.m Visitors Visited
    at 10 a.m Visitors Visited at 11 a.m Visitors Visited at 12 p.m Visitors Visited at 1 p.m Visitors Visited at 2 p.m Visitors Visited at 3
    p.m Visitors Visited at 4 p.m Visitors Visited at 5 p.m Visitors Visited at 6 p.m Visitors Visited at 7 p.m Visitors Visited at 8 p.m
    Visitors Visited at 9 p.m Visitors Visited at 10 p.m Visitors Visited at 11 p.m Visitors Left at 12 a.m Visitors Left at 1 a.m Visitors
    Left at 2 a.m Visitors Left at 3 a.m Visitors Left at 4 a.m Visitors Left at 5 a.m Visitors Left at 6 a.m Visitors Left at 7 a.m Visitors
    Left at 8 a.m Visitors Left at 9 a.m Visitors Left at 10 a.m Visitors Left at 11 a.m Visitors Left at 12 p.m Visitors Left at 1 p.m
    Visitors Left at 2 p.m Visitors Left at 3 p.m Visitors Left at 4 p.m Visitors Left at 5 p.m Visitors Left at 6 p.m Visitors
    Left at 7 p.m Visitors Left at 8 p.m Visitors Left at 9 p.m Visitors Left at 10 p.m Visitors Left at 11 p.m


    can you please help me with the below query.

    Thank You,

    DB:3.05:Need Help With The Query fm

    Can you provide DDL of the table, the insert statements and desired output? I used the existing query (which you posted in the prior message) and corrected it.For every expert, there is an equal and opposite expert. - Becker's Law

    My blog

  • RELEVANCY SCORE 3.05

    DB:3.05:Encryption Des Class Useful Code, Plz Help Convert It Vb.Net To Vc++ c7




    Encryption DES Class Useful Code, Plz Help Convert it VB.NET to VC++HI,
    I need to convet total desalgorithm to VC++ , origin text written in VB.NET 

    I can to convert matrix declaration  ( Public IP, IV.. etc) ...   code:______________________________________________________________________Public Class desalgorithm
        Public IP() As Byte = {57, 49, 41, 33, 25, 17, 9, 1, 59, 51, 43, 35, 27, 19, 11, 3, _
                                               61, 53, 45, 37, 29, 21, 13, 5, 63, 55, 47, 39, 31, 23, 15, 7, _
                                               56, 48, 40, 32, 24, 16, 8, 0, 58, 50, 42, 34, 26, 18, 10, 2, _
                                               60, 52, 44, 36, 28, 20, 12, 4, 62, 54, 46, 38, 30, 22, 14, 6}
        Public IV() As Byte = {39, 7, 47, 15, 55, 23, 63, 31, _
                                           38, 6, 46, 14, 54, 22, 62, 30, _
                                           37, 5, 45, 13, 53, 21, 61, 29, _
                                           36, 4, 44, 12, 52, 20, 60, 28, _
                                           35, 3, 43, 11, 51, 19, 59, 27, _
                                           34, 2, 42, 10, 50, 18, 58, 26, _
                                           33, 1, 41, 9, 49, 17, 57, 25, _
                                           32, 0, 40, 8, 48, 16, 56, 24}
        Public P() As Byte = {15, 6, 19, 20, 28, 11, 27, 16, 0, 14, 22, 25, 4, 17, 30, 9, _
                                      1, 7, 23, 13, 31, 26, 2, 8, 18, 12, 29, 5, 21, 10, 3, 24}
        Public SBOX(,,) As Byte = {{{14, 4, 13, 1, 2, 15, 11, 8, 3, 10, 6, 12, 5, 9, 0, 7}, _
                         {0, 15, 7, 4, 14, 2, 13, 1, 10, 6, 12, 11, 9, 5, 3, 8}, _
                         {4, 1, 14, 8, 13, 6, 2, 11, 15, 12, 9, 7, 3, 10, 5, 0}, _
                         {15, 12, 8, 2, 4, 9, 1, 7, 5, 11, 3, 14, 10, 0, 6, 13}}, _
                         {{15, 1, 8, 14, 6, 11, 3, 4, 9, 7, 2, 13, 12, 0, 5, 10}, _
                         {3, 13, 4, 7, 15, 2, 8, 14, 12, 0, 1, 10, 6, 9, 11, 5}, _
                         {0, 14, 7, 11, 10, 4, 13, 1, 5, 8, 12, 6, 9, 3, 2, 15}, _
                         {13, 8, 10, 1, 3, 15, 4, 2, 11, 6, 7, 12, 0, 5, 14, 9}}, _
                         {{10, 0, 9, 14, 6, 3, 15, 5, 1, 13, 12, 7, 11, 4, 2, 8}, _
                         {13, 7, 0, 9, 3, 4, 6, 10, 2, 8, 5, 14, 12, 11, 15, 1}, _
                         {13, 6, 4, 9, 8, 15, 3, 0, 11, 1, 2, 12, 5, 10, 14, 7}, _
                         {1, 10, 13, 0, 6, 9, 8, 7, 4, 15, 14, 3, 11, 5, 2, 12}}, _
                         {{7, 13, 14, 3, 0, 6, 9, 10, 1, 2, 8, 5, 11, 12, 4, 15}, _
                         {13, 8, 11, 5, 6, 15, 0, 3, 4, 7, 2, 12, 1, 10, 14, 9}, _
                         {10, 6, 9, 0, 12, 11, 7, 13, 15, 1, 3, 14, 5, 2, 8, 4}, _
                         {3, 15, 0, 6, 10, 1, 13, 8, 9, 4, 5, 11, 12, 7, 2, 14}}, _
                         {{2, 12, 4, 1, 7, 10, 11, 6, 8, 5, 3, 15, 13, 0, 14, 9}, _
                         {14, 11, 2, 12, 4, 7, 13, 1, 5, 0, 15, 10, 3, 9, 8, 6}, _
                         {4, 2, 1, 11, 10, 13, 7, 8, 15, 9, 12, 5, 6, 3, 0, 14}, _
                         {11, 8, 12, 7, 1, 14, 2, 13, 6, 15, 0, 9, 10, 4, 5, 3}}, _
                         {{12, 1, 10, 15, 9, 2, 6, 8, 0, 13, 3, 4, 14, 7, 5, 11}, _
                         {10, 15, 4, 2, 7, 12, 9, 5, 6, 1, 13, 14, 0, 11, 3, 8}, _
                         {9, 14, 15, 5, 2, 8, 12, 3, 7, 0, 4, 10, 1, 13, 11, 6}, _
                         {4, 3, 2, 12, 9, 5, 15, 10, 11, 14, 1, 7, 6, 0, 8, 13}}, _
                         {{4, 11, 2, 14, 15, 0, 8, 13, 3, 12, 9, 7, 5, 10, 6, 1}, _
                         {13, 0, 11, 7, 4, 9, 1, 10, 14, 3, 5, 12, 2, 15, 8, 6}, _
                         {1, 4, 11, 13, 12, 3, 7, 14, 10, 15, 6, 8, 0, 5, 9, 2}, _
                         {6, 11, 13, 8, 1, 4, 10, 7, 9, 5, 0, 15, 14, 2, 3, 12}}, _
                         {{13, 2, 8, 4, 6, 15, 11, 1, 10, 9, 3, 14, 5, 0, 12, 7}, _
                         {1, 15, 13, 8, 10, 3, 7, 4, 12, 5, 6, 11, 0, 14, 9, 2}, _
                         {7, 11, 4, 1, 9, 12, 14, 2, 0, 6, 10, 13, 15, 3, 5, 8}, _
                         {2, 1, 14, 7, 4, 10, 8, 13, 15, 12, 9, 0, 3, 5, 6, 11}}}
        Public SHIFT() As Byte = {1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1}
        Public PC1() As Byte = {56, 48, 40, 32, 24, 16, 8, _
                                       0, 57, 49, 41, 33, 25, 17, _
                                       9, 1, 58, 50, 42, 34, 26, _
                                       18, 10, 2, 59, 51, 43, 35, _
                                       62, 54, 46, 38, 30, 22, 14, _
                                       6, 61, 53, 45, 37, 29, 21, _
                                       13, 5, 60, 52, 44, 36, 28, _
                                       20, 12, 4, 27, 19, 11, 3}
        Public PC2() As Byte = {13, 16, 10, 23, 0, 4, _
                                      2, 27, 14, 5, 20, 9, _
                                      22, 18, 11, 3, 25, 7, _
                                      15, 6, 26, 19, 12, 1, _
                                      40, 51, 30, 36, 46, 54, _
                                      29, 39, 50, 44, 32, 47, _
                                      43, 48, 38, 55, 33, 52, _
                                      45, 41, 49, 35, 28, 31}
        Public EXTEN() As Byte = {31, 0, 1, 2, 3, 4, _
                                      3, 4, 5, 6, 7, 8, _
                                      7, 8, 9, 10, 11, 12, _
                                      11, 12, 13, 14, 15, 16, _
                                      15, 16, 17, 18, 19, 20, _
                                      19, 20, 21, 22, 23, 24, _
                                      23, 24, 25, 26, 27, 28, _
                                      27, 28, 29, 30, 31, 0}
        Public K(16, 48) As Byte
        Public bit(64), Key(64) As Byte
        Public oper As Char
        Public secret As String
       
        Public Sub openfiles(ByVal inpname As String, ByVal outname As String)
            Dim I, J As Integer
            Dim got As Byte
            Dim getbyt(8) As Byte
            FileOpen(1, inpname, OpenMode.Binary, OpenAccess.Read, OpenShare.LockRead, )
            FileOpen(2, outname, OpenMode.Binary, OpenAccess.Write, OpenShare.LockWrite, )
            Do While Not (EOF(1))
                I = 0
                Do
                    If Not EOF(1) Then FileGet(1, got, )
                    getbyt(I) = got
                    I += 1
                Loop Until EOF(1) Or (I = 8)
                If I 8 Then
                    For J = I To 7
                        getbyt(J) = 0
                    Next
                End If
                For I = 0 To 7
                    For J = 7 To 0 Step -1
                        bit(I * 8 + J) = getbyt(I) And 1
                        getbyt(I) = 1
                    Next
                Next
                KEY_GEN()
                CIP_DEC()
                CONVERT(getbyt)
                For I = 0 To 7
                    FilePut(2, getbyt(I), )
                Next
            Loop
            FileClose(1)
            FileClose(2)
        End Sub
        '{**************************** SHIFT ****************************************}
        Public Sub DO_SHIFT(ByVal S As Byte, ByRef CD() As Byte)
            Dim I, J, K As Integer
            For K = 1 To S
                J = CD(0)
                For I = 0 To 26
                    CD(I) = CD(I + 1)
                Next
                CD(27) = J
                J = CD(28)
                For I = 28 To 54
                    CD(I) = CD(I + 1)
                Next
                CD(55) = J
            Next
        End Sub

        '{**************************** GENERATOR ************************************}
        Public Sub GET_KEY()
            Dim I, J As Integer
            Dim A As Byte
            For I = 0 To 7
                A = Asc(secret(I))
                For J = 7 To 0 Step -1
                    Key(I * 8 + J) = A And 1
                    A = A 1
                Next
            Next
        End Sub
        '{**************************** GENERATOR ************************************}
        Public Sub KEY_GEN()
            Dim temp(56) As Byte
            Dim I, J As Integer
            GET_KEY()
            For I = 0 To 55
                temp(I) = Key(PC1(I))
            Next
            For I = 0 To 15
                DO_SHIFT(SHIFT(I), temp)
                For J = 0 To 47
                    K(I, J) = temp(PC2(J))
                Next
            Next
        End Sub
        ' {**************************** S BOX ****************************************}
        Public Sub DO_SBOX(ByVal E() As Byte, ByRef T() As Byte)
            Dim TEMP(32) As Byte
            Dim I, J, K, L As Integer
            I = 0
            L = 0
            Do
                J = E(I) * 2 + E(I + 5)
                K = E(I + 1) * 8 + E(I + 2) * 4 + E(I + 3) * 2 + E(I + 4)
                J = SBOX(I / 6, J, K)
                For K = 3 To 0 Step -1
                    TEMP(L + K) = J And 1
                    J = J 1
                Next
                L = L + 4
                I = I + 6
            Loop Until I = 48

            For I = 0 To 31
                T(I) = TEMP(P(I))
            Next
        End Sub
        '{**************************** CIPHER OR DECIPHER ***************************}
        Public Sub CIP_DEC()
            Dim TEMP(64) As Byte
            Dim L(32), R(32), T(32) As Byte
            Dim E(48) As Byte
            Dim SL, EL, I, J, iSTEP As Integer
            For I = 0 To 63
                TEMP(I) = bit(IP(I))
            Next
            If oper = D Then
                For I = 0 To 31
                    R(I) = TEMP(I)
                Next
                For I = 0 To 31
                    L(I) = TEMP(I + 32)
                Next
            Else
                For I = 0 To 31
                    L(I) = TEMP(I)
                Next
                For I = 0 To 31
                    R(I) = TEMP(I + 32)
                Next
            End If
            If oper = C Then
                SL = 0
                EL = 16
                iSTEP = 1
            Else
                SL = 15
                EL = -1
                iSTEP = -1
            End If
            Do
                For J = 0 To 47
                    E(J) = R(EXTEN(J))
                Next
                For J = 0 To 47
                    E(J) = E(J) Xor K(SL, J)
                Next
                DO_SBOX(E, T)
                For J = 0 To 31
                    T(J) = T(J) Xor L(J)
                Next
                For J = 0 To 31
                    L(J) = R(J)
                Next
                For J = 0 To 31
                    R(J) = T(J)
                Next
                SL = SL + iSTEP
            Loop Until SL = EL
            If oper = C Then
                For I = 0 To 31
                    TEMP(I) = L(I)
                Next
                For I = 0 To 31
                    TEMP(I + 32) = R(I)
                Next
            Else
                For I = 0 To 31
                    TEMP(I) = R(I)
                Next
                For I = 0 To 31
                    TEMP(I + 32) = L(I)
                Next
            End If
            For I = 0 To 63
                bit(I) = TEMP(IV(I))
            Next
        End Sub
        '{**************************** BINARY TO DECIMAL ****************************}
        Public Sub BINTODEC(ByVal A() As Byte, ByRef B As Byte)
            Dim I As Integer
            B = 0
            For I = 0 To 7
                B = B 1
                B = B Or A(I)
            Next
        End Sub
        '{**************************** CONVERT **************************************}
        Public Sub CONVERT(ByRef K() As Byte)
            Dim I, J As Integer
            Dim BYT(8) As Byte
            For I = 0 To 7
                For J = 0 To 7
                    BYT(J) = bit(I * 8 + J)
                Next
                BINTODEC(BYT, K(I))
            Next
        End Sub
    End Class

    ____________________________________________________________________________________

    this code is very important for me .. please help me to complete it.

  • RELEVANCY SCORE 3.04

    DB:3.04:Errors On A 2801 Router k8



    Client has a C2801 router with the following interfaces:

    2 FastEthernet interfaces2 ISDN Basic Rate interfaces2 ATM interfaces1 terminal line1 Virtual Private Network (VPN) Module1 DSP, 8 Voice resources1 cisco service engine(s)

     

    Client is constantly having slow performance issues when trying to access the application from a remote VPN server.

    I've had them isolate the line and I did a clear counters on all interfaces.

    After 6 hours of no internal activity I had a look at the stats and there are 1190 total drops for the ATM interface and 0 drops for all other interface.

    unfortunately I cannot perform a ATMloop test as I'm not in the vicinity of the router (it's in the northern territory of Australia and I'm in the southwestern  of Australia).

    Before I have the interface exchanged I would like to get some input from others first to either confirm my findings or dispute it.

    ki-darwin#sh dsl intATM0/1/0Alcatel 20190 chipset information                ATU-R (DS)                      ATU-C (US)Modem Status:    Showtime (DMTDSL_SHOWTIME)DSL Mode:        ITU G.992.5 (ADSL2+) Annex AITU STD NUM:     0x03                            0x2Chip Vendor ID:  'STMI'                          'BDCM'Chip Vendor Specific:  0x0000                    0xA1F2Chip Vendor Country:   0x0F                      0xB5Modem Vendor ID: 'CSCO'                          'BDCM'Modem Vendor Specific: 0x0000                    0x0000Modem Vendor Country:  0xB5                      0xB5Serial Number Near:    FOC11304VLKCISCO73993206Serial Number Far:  Chip ID:     C196 (0)DFE BOM:         DFE3.0 Annex A (1)Capacity Used:   98%                             100%Noise Margin:     6.5 dB                          6.0 dBOutput Power:    18.5 dBm                        12.0 dBmAttenuation:     44.0 dB                         27.0 dBFEC ES Errors:    0                              388683ES Errors:        1                              6540SES Errors:       1                              11LOSES Errors:     1                               0UES Errors:       0                              41965Defect Status:   None                            NoneLast Fail Code:  NoneWatchdog Counter: 0x8DWatchdog Resets: 0Selftest Result: 0x00Subfunction:     0x00Interrupts:      8299 (0 spurious)PHY Access Err:  0Activations:     1LED Status:      OFFLED On Time:     0LED Off Time:    0Init FW:         init_AMR-3.0.014_no_bist.binOperation FW:    AMR-3.0.014.binFW Source:       embeddedFW Version:      3.0.14

                     DS Channel1      DS Channel0   US Channel1       US Channel0Speed (kbps):             0            10817             0              1020Cells:                    0          7572979             0         177251803Reed-Solomon EC:          0            13462             0           1963266CRC Errors:               0            10033             0             10452Header Errors:            0            10147             0             15432Total BER:                0E-0           4898E-9Leakage Average BER:      0E-0           2525E-8Interleave Delay:         0                0             0                15                        ATU-R (DS)      ATU-C (US)Bitswap:               enabled            enabledBitswap success:          0                   0Bitswap failure:          0                   0

    LOM Monitoring : Disabled

    DMT Bits Per Bin000: 0 0 0 0 0 0 0 9 B C C D E E F E010: E E E E F F E E E E E E E D C B020: 0 2 2 3 5 6 6 7 8 9 9 A B B B C030: C C D D D E E E E E F F F F F E040: E E E E E E E E E E F 2 E E E E050: E E E E E E E E E E E E E E E D060: E E E E E E E D D D D D D D D D070: D D D D D D D D D D D D D D D D080: D D D D D D D D D D D D D C C C090: C C C C C C B A 6 9 B B B C C C0A0: C C C C C C C C C C C C C C C C0B0: C C B B B B B B B B B B B 9 A A0C0: 9 A B B B B A A A A A A A A A A0D0: A A A A A A A A A A A A 9 A A 90E0: 9 9 9 9 9 9 9 9 9 9 9 9 9 8 8 80F0: 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8100: 8 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7110: 7 7 7 7 7 7 7 7 7 7 7 6 6 6 5 3120: 0 5 6 6 6 6 6 6 6 5 5 5 5 5 5 5130: 5 5 5 5 5 5 5 4 4 4 4 4 4 4 4 4140: 4 3 4 4 4 4 3 3 3 2 3 2 3 2 2 2150: 2 0 0 2 2 2 2 2 2 2 2 2 2 2 2 2160: 2 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0170: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0180: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0190: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 01A0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 01B0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 01C0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 01D0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 01E0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 01F0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    DSL: Training log buffer capability is not enabledATM0/3/0Alcatel 20190 chipset information

    Line has not yet been activated.

    Modem Status:    Down (DMTDSL_STOP)DSL Mode:        UnknownInterrupts:      4126 (0 spurious)PHY Access Err:  0Activations:     0LED Status:      OFFLED On Time:     0LED Off Time:    0Init FW:         init_AMR-3.0.014_no_bist.binOperation FW:    AMR-3.0.014.binFW Source:       embedded

    DSL: Training log buffer capability is not enabled

     

     

    Thanks

     

    Jon

     

     

    DB:3.04:Errors On A 2801 Router k8


    Noise Margin: 6.5 dB 6.0 dB
    Attenuation: 44.0 dB 27.0 dB

    Any decent ISP, when they are furnished the above output, will know it's a bad line.  

     

    Noise:  Above 20 dB is better. 6.5 dB is BAD!

    Attenuation:  30 dB and below is better.   Attenuation value of 44 dB is BAD.  

    Init FW: init_AMR-3.0.014_no_bist.bin
    Operation FW: AMR-3.0.014.bin
    FW Version: 3.0.14

    Another thing, your firmware is very, very old.  You really need to upgrade them.  

     

    Go HERE for instructions on how to upgrade the firmware and where to get the firmware.  

  • RELEVANCY SCORE 3.04

    DB:3.04:Convert From Lv 9.0 To 8.6.1 jj



    I am recieving an error: flie version is later than the current LabVIEW version. I am attaching the code for which this error appears.

    Thanks!

    Matt







    Solved!
    Go to Solution.

  • RELEVANCY SCORE 3.04

    DB:3.04:How To Convert Labview 9.0 Vi Files To 7.1 Vi Files? a9



    Hi, I havea set of LabView 9.0 .vi files that I need to convert to 7.1 .vi files, but the current LabView 9.0 version only allows me to save it to 8.0 version. Thus, my questions are:

    1) Can a user with LabView 7.1 open 8.0 files?

    2) If not, is there any other way to convert 9.0 files straight to 7.1 files?

    Many thanks!







    Solved!
    Go to Solution.

    DB:3.04:How To Convert Labview 9.0 Vi Files To 7.1 Vi Files? a9


    It requires two steps.

    You need to open the VI's in LV 2009 and do a Save for Previous version back to LV 8.0

    Then open that in LV 8.0 and do a Save for Previous back to LV 7.1.

    If you don't have LV 8.0, then you can post the files to the downconvert thread and request there that they be converted to LV 7.1

  • RELEVANCY SCORE 3.03

    DB:3.03:Please Convert My Files From 8.0.1 To 7.0 c7


    Can anyone help me convert these files to 7.0? Greatly appreciated it if you could help me. Thanks.






    Solved!
    Go to Solution.

  • RELEVANCY SCORE 3.03

    DB:3.03:Please Convert Lv 10.0 To 7.1 cz



    Hello, can someone help me convert this vi from version 10.0 to version 7.1. Thanks







    Solved!
    Go to Solution.

    DB:3.03:Please Convert Lv 10.0 To 7.1 cz


    Hi,

    Here it is in LV 7.1

    Kees










    Attachments:






    Dilatometer_Setup_Control_With_Loss Folder.zip ‏156 KB

  • RELEVANCY SCORE 3.03

    DB:3.03:Criar View 3x


    Prezados veja se pode me ajudar, Preciso criar uma View para SQL abaixo.
    SELECT
    YEAR = YEAR(dataemissao),
    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 1 THEN VALORBRUTO
    END), 1), '') AS 'JAN',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 2 THEN VALORBRUTO
    END), 1), '') AS 'FEB',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 3 THEN VALORBRUTO
    END), 1), '') AS 'MAR',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 4 THEN VALORBRUTO
    END), 1), '') AS 'APR',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 5 THEN VALORBRUTO
    END), 1), '') AS 'MAY',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 6 THEN VALORBRUTO
    END), 1), '') AS 'JUN',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 7 THEN VALORBRUTO
    END), 1), '') AS 'JUL',
    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 8 THEN VALORBRUTO
    END), 1), '') AS 'AUG',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 9 THEN VALORBRUTO
    END), 1), '') AS 'SEP',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 10 THEN VALORBRUTO
    END), 1), '') AS 'OCT',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 11 THEN VALORBRUTO
    END), 1), '') AS 'NOV',

    COALESCE(CONVERT(VARCHAR,SUM(CASE

    WHEN MONTH(dataemissao) = 12 THEN VALORBRUTO
    END), 1), '') AS 'DEC' ,
    TOTAL_ANO = Sum(Case When (Year(dataemissao) = Year(GetDate()) ) Then IsNull(VALORBRUTO, 0) End)

    FROM tmov
    WHERE TMOV.CODTMV = '2.2.01'
    GROUP BY YEAR(dataemissao)
    ORDER BY YEAR(dataemissao)
    GO

  • RELEVANCY SCORE 3.03

    DB:3.03:Convert 7.0 Vi To 6.1 13


    Hi all, as altenbach suggested (thanks a lot altenbach) I managed to save from 7.1 to 7.0 - the problem is I am missing 7.0!!!can someone please convert the attached VI to 6.1!thanksDimitris









    Attachments:







    IP measurement - Folder.zip ‏355 KB

    DB:3.03:Convert 7.0 Vi To 6.1 13

    Well, it does not look too good because you use a lot of express VIs, a functionality that did not exist in 6.1.Here's the main VI in LabVIEW 6.1, maybe you can patch it all up. It will need some work. Good luck!



    LabVIEW Champion . Do more with less code and in less time .

  • RELEVANCY SCORE 3.02

    DB:3.02:Sort Algorithm ms


    // StringCounter5.cpp
    #include iostream
    #include cmath
    #include string
    #include cstring
    #include cstdlib
    #include vector
    #include fstream

    using namespace std;

    bool prime(int n);

    int main()
    {
    fstream dataFile;
    string buffer;
    dataFile.open(PrimeCount.dat, ios::out);

    int i=2;

    for ( i=2; i 1000000000; i)
    if(prime(i))
    {
    cout i endl;

    int ZeroCount = 0;
    int OneCount = 0;
    int TwoCount = 0;
    int ThreeCount = 0;
    int FourCount = 0;
    int FiveCount = 0;
    int SixCount = 0;
    int SevenCount = 0;
    int EightCount = 0;
    int NineCount = 0;


    char buf[20];
    sprintf(buf, %09d, i);

    for ( int pos = 0; buf[pos] != '\0'; pos)
    {
    switch(buf[pos])
    {
    case '0':
    ZeroCount;
    break;
    case '1':
    OneCount;
    break;
    case '2':
    TwoCount;
    break;
    case '3':
    ThreeCount;
    break;
    case '4':
    FourCount;
    break;
    case '5':
    FiveCount;
    break;
    case '6':
    SixCount;
    break;
    case '7':
    SevenCount;
    break;
    case '8':
    EightCount;
    break;
    case '9':
    NineCount;
    break;
    }
    }
    vector int v;
    v.push_back(ZeroCount);
    v.push_back(OneCount);
    v.push_back(TwoCount);
    v.push_back(ThreeCount);
    v.push_back(FourCount);
    v.push_back(FiveCount);
    v.push_back(SixCount);
    v.push_back(SevenCount);
    v.push_back(EightCount);
    v.push_back(NineCount);
    dataFile v[0] \t v[1] \t v[2] \t v[3] \t v[4] \t v [5] \t v[6] \t v[7] \t v[8] \t v[9] endl;


    }
    dataFile.close();
    cout The program is complete. endl;
    }

    bool prime(int n)
    {
    int i;
    for(i=2; i * i = n; i)
    {
    if(n % i == 0)
    return false;
    }
    return true;
    }

    I am using this program in C to produce data.
    I would like to sort this data in Powershell.
    I would like to sort according to frequency of matches
    where a match would be the same numbers in the first 10 columns,
    ignoring the eleventh column.
    Is there an easy way to do this?
    The data starts like this:
    8 0 1 0 0 0 0 0 0 0 2
    8 0 0 1 0 0 0 0 0 0 3
    8 0 0 0 0 1 0 0 0 0 5
    8 0 0 0 0 0 0 1 0 0 7
    7 2 0 0 0 0 0 0 0 0 11
    7 1 0 1 0 0 0 0 0 0 13
    7 1 0 0 0 0 0 1 0 0 17
    7 1 0 0 0 0 0 0 0 1 19
    7 0 1 1 0 0 0 0 0 0 23
    7 0 1 0 0 0 0 0 0 1 29
    7 1 0 1 0 0 0 0 0 0 31
    7 0 0 1 0 0 0 1 0 0 37
    7 1 0 0 1 0 0 0 0 0 41
    7 0 0 1 1 0 0 0 0 0 43
    7 0 0 0 1 0 0 1 0 0 47
    7 0 0 1 0 1 0 0 0 0 53
    7 0 0 0 0 1 0 0 0 1 59
    7 1 0 0 0 0 1 0 0 0 61
    7 0 0 0 0 0 1 1 0 0 67
    7 1 0 0 0 0 0 1 0 0 71
    7 0 0 1 0 0 0 1 0 0 73
    7 0 0 0 0 0 0 1 0 1 79
    7 0 0 1 0 0 0 0 1 0 83
    7 0 0 0 0 0 0 0 1 1 89
    7 0 0 0 0 0 0 1 0 1 97
    7 2 0 0 0 0 0 0 0 0 101
    7 1 0 1 0 0 0 0 0 0 103
    7 1 0 0 0 0 0 1 0 0 107
    7 1 0 0 0 0 0 0 0 1 109
    6 2 0 1 0 0 0 0 0 0 113
    6 1 1 0 0 0 0 1 0 0 127
    6 2 0 1 0 0 0 0 0 0 131
    6 1 0 1 0 0 0 1 0 0 137
    6 1 0 1 0 0 0 0 0 1 139
    6 1 0 0 1 0 0 0 0 1 149
    6 2 0 0 0 1 0 0 0 0 151
    6 1 0 0 0 1 0 1 0 0 157
    6 1 0 1 0 0 1 0 0 0 163
    6 1 0 0 0 0 1 1 0 0 167
    6 1 0 1 0 0 0 1 0 0 173
    6 1 0 0 0 0 0 1 0 1 179
    6 2 0 0 0 0 0 0 1 0 181
    6 2 0 0 0 0 0 0 0 1 191
    6 1 0 1 0 0 0 0 0 1 193
    6 1 0 0 0 0 0 1 0 1 197
    6 1 0 0 0 0 0 0 0 2 199
    6 2 1 0 0 0 0 0 0 0 211
    6 0 2 1 0 0 0 0 0 0 223
    6 0 2 0 0 0 0 1 0 0 227
    6 0 2 0 0 0 0 0 0 1 229
    6 0 1 2 0 0 0 0 0 0 233
    6 0 1 1 0 0 0 0 0 1 239
    6 1 1 0 1 0 0 0 0 0 241
    6 1 1 0 0 1 0 0 0 0 251
    6 0 1 0 0 1 0 1 0 0 257
    6 0 1 1 0 0 1 0 0 0 263
    6 0 1 0 0 0 1 0 0 1 269
    6 1 1 0 0 0 0 1 0 0 271
    6 0 1 0 0 0 0 2 0 0 277
    6 1 1 0 0 0 0 0 1 0 281
    6 0 1 1 0 0 0 0 1 0 283
    6 0 1 1 0 0 0 0 0 1 293
    7 0 0 1 0 0 0 1 0 0 307
    6 2 0 1 0 0 0 0 0 0 311
    6 1 0 2 0 0 0 0 0 0 313
    6 1 0 1 0 0 0 1 0 0 317
    6 1 0 2 0 0 0 0 0 0 331
    6 0 0 2 0 0 0 1 0 0 337
    6 0 0 1 1 0 0 1 0 0 347
    6 0 0 1 1 0 0 0 0 1 349
    6 0 0 2 0 1 0 0 0 0 353
    6 0 0 1 0 1 0 0 0 1 359
    6 0 0 1 0 0 1 1 0 0 367
    6 0 0 2 0 0 0 1 0 0 373
    6 0 0 1 0 0 0 1 0 1 379
    6 0 0 2 0 0 0 0 1 0 383
    6 0 0 1 0 0 0 0 1 1 389
    6 0 0 1 0 0 0 1 0 1 397
    7 1 0 0 1 0 0 0 0 0 401
    7 0 0 0 1 0 0 0 0 1 409
    6 1 0 0 1 0 0 0 0 1 419
    6 1 1 0 1 0 0 0 0 0 421
    6 1 0 1 1 0 0 0 0 0 431
    6 0 0 2 1 0 0 0 0 0 433
    6 0 0 1 1 0 0 0 0 1 439
    6 0 0 1 2 0 0 0 0 0 443
    6 0 0 0 2 0 0 0 0 1 449
    6 0 0 0 1 1 0 1 0 0 457
    6 1 0 0 1 0 1 0 0 0 461
    6 0 0 1 1 0 1 0 0 0 463
    6 0 0 0 1 0 1 1 0 0 467
    6 0 0 0 1 0 0 1 0 1 479
    6 0 0 0 1 0 0 1 1 0 487
    6 1 0 0 1 0 0 0 0 1 491
    6 0 0 0 1 0 0 0 0 2 499
    7 0 0 1 0 1 0 0 0 0 503
    7 0 0 0 0 1 0 0 0 1 509
    6 1 1 0 0 1 0 0 0 0 521
    6 0 1 1 0 1 0 0 0 0 523
    6 1 0 0 1 1 0 0 0 0 541
    6 0 0 0 1 1 0 1 0 0 547
    6 0 0 0 0 2 0 1 0 0 557
    6 0 0 1 0 1 1 0 0 0 563
    6 0 0 0 0 1 1 0 0 1 569
    6 1 0 0 0 1 0 1 0 0 571
    6 0 0 0 0 1 0 2 0 0 577
    6 0 0 0 0 1 0 1 1 0 587
    6 0 0 1 0 1 0 0 0 1 593
    6 0 0 0 0 1 0 0 0 2 599
    7 1 0 0 0 0 1 0 0 0 601
    7 0 0 0 0 0 1 1 0 0 607
    6 1 0 1 0 0 1 0 0 0 613
    6 1 0 0 0 0 1 1 0 0 617
    6 1 0 0 0 0 1 0 0 1 619
    6 1 0 1 0 0 1 0 0 0 631
    6 1 0 0 1 0 1 0 0 0 641
    6 0 0 1 1 0 1 0 0 0 643
    6 0 0 0 1 0 1 1 0 0 647
    6 0 0 1 0 1 1 0 0 0 653
    6 0 0 0 0 1 1 0 0 1 659
    6 1 0 0 0 0 2 0 0 0 661
    6 0 0 1 0 0 1 1 0 0 673
    6 0 0 0 0 0 1 2 0 0 677
    6 0 0 1 0 0 1 0 1 0 683
    6 1 0 0 0 0 1 0 0 1 691
    7 1 0 0 0 0 0 1 0 0 701
    7 0 0 0 0 0 0 1 0 1 709
    6 1 0 0 0 0 0 1 0 1 719
    6 0 1 0 0 0 0 2 0 0 727
    6 0 0 2 0 0 0 1 0 0 733
    6 0 0 1 0 0 0 1 0 1 739
    6 0 0 1 1 0 0 1 0 0 743
    6 1 0 0 0 1 0 1 0 0 751
    6 0 0 0 0 1 0 2 0 0 757
    6 1 0 0 0 0 1 1 0 0 761
    6 0 0 0 0 0 1 1 0 1 769
    6 0 0 1 0 0 0 2 0 0 773
    6 0 0 0 0 0 0 2 1 0 787
    6 0 0 0 0 0 0 2 0 1 797
    7 0 0 0 0 0 0 0 1 1 809
    6 2 0 0 0 0 0 0 1 0 811
    6 1 1 0 0 0 0 0 1 0 821
    6 0 1 1 0 0 0 0 1 0 823
    6 0 1 0 0 0 0 1 1 0 827
    6 0 1 0 0 0 0 0 1 1 829
    6 0 0 1 0 0 0 0 1 1 839
    6 0 0 1 0 1 0 0 1 0 853
    6 0 0 0 0 1 0 1 1 0 857
    6 0 0 0 0 1 0 0 1 1 859
    6 0 0 1 0 0 1 0 1 0 863
    6 0 0 0 0 0 0 2 1 0 877
    6 1 0 0 0 0 0 0 2 0 881
    6 0 0 1 0 0 0 0 2 0 883
    6 0 0 0 0 0 0 1 2 0 887
    7 0 0 0 0 0 0 1 0 1 907
    6 2 0 0 0 0 0 0 0 1 911
    6 1 0 0 0 0 0 0 0 2 919
    6 0 1 0 0 0 0 0 0 2 929
    6 0 0 1 0 0 0 1 0 1 937
    6 1 0 0 1 0 0 0 0 1 941
    6 0 0 0 1 0 0 1 0 1 947
    6 0 0 1 0 1 0 0 0 1 953
    6 0 0 0 0 0 1 1 0 1 967
    6 1 0 0 0 0 0 1 0 1 971
    6 0 0 0 0 0 0 2 0 1 977
    6 0 0 1 0 0 0 0 1 1 983
    6 1 0 0 0 0 0 0 0 2 991
    6 0 0 0 0 0 0 1 0 2 997
    and should look like this:
    ...
    ...
    6 2 0 1 0 0 0 0 0 0 113
    6 2 0 1 0 0 0 0 0 0 131
    6 2 0 1 0 0 0 0 0 0 311
    ...
    ...

    MGM

    DB:3.02:Sort Algorithm ms

    I think the results will really depend on your sample and how wide you decide a number should be. I don't know what it is you are looking for, but I think the question you have to ask yourself is this:
    How would you recognize a good representative sample of an infinite number of primes?
    But I think we've gone way off topic for this forum. All I ask is that if this script helps you solve a big mathematical mystery, please leave enough room in the margin of your notes for my script. :-)
    Good luck.

  • RELEVANCY SCORE 3.02

    DB:3.02:Need To Convert Vi From 8.0 - 7.1 - 7.0 mf


    I have an 8.0 VI that I need to convert to version 7.0. Looks like 8.0 can only convert to 7.1. Does anyone know where I can download the evaluation for 7.1 so I can do the 7.1 - 7.0 conversion?Thanks.

    DB:3.02:Need To Convert Vi From 8.0 - 7.1 - 7.0 mf

    There is no evaluation version for 7.1. Typically you only get eval versions for the ".0" releases...6.0, 7.0, 8.0, etc. If it's only a few VIs, you can post your 7.1 VI(s) on these forums and someone will surely convert them for you.

    -D




    Darren Nattinger, CLALabVIEW Artisan and Nugget Penman

  • RELEVANCY SCORE 3.02

    DB:3.02:Convert From 9.0 To 8.5 7m



    Can anyone convert this file from LabView 9.0 to 8.5?







    Solved!
    Go to Solution.

    DB:3.02:Convert From 9.0 To 8.5 7m


    Hi,

    You have to post it in Version Conversion Board




    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Thanks as kudos only

  • RELEVANCY SCORE 3.02

    DB:3.02:Whensys.D xz


    Some benchmarks or workloads go through several steady states that may be interesting. This is a script that aggregates on system call, and increments a per-minute bucket based on when the system call is called. This allows trends to be easily spotted. (In the example output -- from a workload that runs for about 30 minutes -- reads are performed at the beginning of the benchmark as a data set is read in and writes are performed at the end of the benchmark as results are written out.)

    ---8--- whensys.d ---8---
    #!/usr/sbin/dtrace -sBEGIN
    {
    start = timestamp;
    }syscall:::entry
    /pid == $1/
    {
    /*
    * Aggregate on the system call and increment a per-minute count.
    * We set the upper bound on the lquantize() to be 60 minutes.
    */
    @[probefunc] = lquantize((timestamp - start) / 60000000000,
    0, 60, 1);
    }---8--- whensys.d ---8---

    Sample output:
    # ./whensys.d 642
    dtrace: script './syswhen.d' matched 215 probes
    ^C times
    value ------------- Distribution ------------- count
    2 | 0
    3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    4 | 0 fcntl
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    9 | 0 getdents
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
    9 | 0 uname
    value ------------- Distribution ------------- count
    24 | 0
    25 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    26 | 0 getpid
    value ------------- Distribution ------------- count
    24 | 0
    25 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    26 | 0 rename
    value ------------- Distribution ------------- count
    27 | 0
    28 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    29 | 0 lwp_mutex_enter
    value ------------- Distribution ------------- count
    28 | 0
    29 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    30 | 0 rexit
    value ------------- Distribution ------------- count
    28 | 0
    29 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    30 | 0 lseek
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 7
    9 | 0
    10 | 0
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 | 0
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 2
    25 | 0 vfork
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@ 2
    9 | 0
    10 |@@@@ 1
    11 |@@@@ 1
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 |@@@@ 1
    20 |@@@@@@@@ 2
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 2
    25 | 0
    26 | 0
    27 | 0
    28 | 0
    29 |@@@@ 1
    30 | 0 waitsys
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@ 2
    9 | 0
    10 |@@@@ 1
    11 |@@@@ 1
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 |@@@@ 1
    20 |@@@@@@@@ 2
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 2
    25 | 0
    26 | 0
    27 | 0
    28 | 0
    29 |@@@@ 1
    30 | 0 access
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@ 18
    9 | 0
    10 |@ 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@@@ 7
    21 | 0
    22 |@ 1
    23 | 0 brk
    value ------------- Distribution ------------- count
    0 | 0
    0 |@@@@@@@@ 26
    1 |@@@@@ 16
    2 |@@@@ 12
    3 |@@@@ 12
    4 |@@@@@@@@@@@@@@@ 44
    5 | 0
    6 | 0
    7 | 2
    8 | 2
    9 | 0
    10 | 0
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 | 0
    21 | 0
    22 | 0
    23 | 0
    24 | 0
    25 | 0
    26 | 2
    27 | 0 fstat
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 23
    9 | 0
    10 |@ 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@ 7
    21 | 0
    22 |@ 1
    23 | 0 close
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 24
    9 | 0
    10 |@ 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@ 7
    21 | 0
    22 |@ 1
    23 | 0
    24 | 0
    25 | 0
    26 | 0
    27 | 0
    28 |@ 1
    29 | 0 open
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@ 23
    9 | 0
    10 |@ 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@ 7
    21 | 0
    22 |@ 1
    23 | 0
    24 |@@ 2
    25 |@ 1
    26 | 0 sigprocmask
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@ 8
    9 | 0
    10 |@@@@ 4
    11 |@@@@ 4
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 |@@@@ 4
    20 |@@@@@@@@ 8
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 8
    25 | 0
    26 | 0
    27 | 0
    28 | 0
    29 |@@@@ 4
    30 | 0 sigaction
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@ 12
    9 | 0
    10 |@@@@ 6
    11 |@@@@ 6
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 |@@@@ 6
    20 |@@@@@@@@ 12
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 12
    25 | 0
    26 | 0
    27 | 0
    28 | 0
    29 |@@@@ 6
    30 | 0 stat
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@ 135
    9 | 0
    10 |@@ 16
    11 |@ 9
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@@@@@@@@@@ 126
    21 | 0
    22 | 7
    23 | 0 read
    value ------------- Distribution ------------- count
    0 | 0
    0 |@@@@@@@ 34667
    1 |@@@@@@ 31374
    2 |@@@@@ 26162
    3 |@@@ 19306
    4 |@@ 13884
    5 |@@@@@ 26928
    6 |@@@@ 22759
    7 |@@@@ 21934
    8 | 30
    9 | 0
    10 | 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 | 7
    21 | 0
    22 | 1
    23 | 0
    24 | 2
    25 | 0 gtime
    value ------------- Distribution ------------- count
    2 | 0
    3 | 2
    4 | 0
    5 | 0
    6 | 0
    7 | 0
    8 | 0
    9 | 0
    10 | 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 | 2
    21 | 20
    22 |@@@@@@@@@@@@@@@@@ 15134
    23 |@@@@@@@@@@@@@@@@ 14472
    24 |@@@@@@ 5596
    25 | 2
    26 | 0 write
    value ------------- Distribution ------------- count
    7 | 0
    8 | 90
    9 | 0
    10 | 9
    11 | 18
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 6
    20 | 42
    21 | 3
    22 | 3
    23 | 0
    24 | 15
    25 |@@@@@@@@@ 48185
    26 |@@@@@@@@@@@ 59479
    27 |@@@@@@@@@@ 57069
    28 |@@@@@@@@@ 48664
    29 | 3
    30 | 0 rusagesys
    value ------------- Distribution ------------- count
    9 | 0
    10 | 6
    11 | 270
    12 |@@@@@ 973726
    13 |@@@@@ 1031100
    14 |@@@@@ 960350
    15 |@@@@@ 934138
    16 |@@@@@ 901403
    17 |@@@@ 879607
    18 |@@@@ 879990
    19 |@@ 495757
    20 | 36922
    21 | 212
    22 | 2
    23 | 0
    24 | 281
    25 | 0

    DB:3.02:Whensys.D xz

    Some benchmarks or workloads go through several steady states that may be interesting. This is a script that aggregates on system call, and increments a per-minute bucket based on when the system call is called. This allows trends to be easily spotted. (In the example output -- from a workload that runs for about 30 minutes -- reads are performed at the beginning of the benchmark as a data set is read in and writes are performed at the end of the benchmark as results are written out.)

    ---8--- whensys.d ---8---
    #!/usr/sbin/dtrace -sBEGIN
    {
    start = timestamp;
    }syscall:::entry
    /pid == $1/
    {
    /*
    * Aggregate on the system call and increment a per-minute count.
    * We set the upper bound on the lquantize() to be 60 minutes.
    */
    @[probefunc] = lquantize((timestamp - start) / 60000000000,
    0, 60, 1);
    }---8--- whensys.d ---8---

    Sample output:
    # ./whensys.d 642
    dtrace: script './syswhen.d' matched 215 probes
    ^C times
    value ------------- Distribution ------------- count
    2 | 0
    3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    4 | 0 fcntl
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    9 | 0 getdents
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
    9 | 0 uname
    value ------------- Distribution ------------- count
    24 | 0
    25 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    26 | 0 getpid
    value ------------- Distribution ------------- count
    24 | 0
    25 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    26 | 0 rename
    value ------------- Distribution ------------- count
    27 | 0
    28 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    29 | 0 lwp_mutex_enter
    value ------------- Distribution ------------- count
    28 | 0
    29 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    30 | 0 rexit
    value ------------- Distribution ------------- count
    28 | 0
    29 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
    30 | 0 lseek
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 7
    9 | 0
    10 | 0
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 | 0
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 2
    25 | 0 vfork
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@ 2
    9 | 0
    10 |@@@@ 1
    11 |@@@@ 1
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 |@@@@ 1
    20 |@@@@@@@@ 2
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 2
    25 | 0
    26 | 0
    27 | 0
    28 | 0
    29 |@@@@ 1
    30 | 0 waitsys
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@ 2
    9 | 0
    10 |@@@@ 1
    11 |@@@@ 1
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 |@@@@ 1
    20 |@@@@@@@@ 2
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 2
    25 | 0
    26 | 0
    27 | 0
    28 | 0
    29 |@@@@ 1
    30 | 0 access
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@ 18
    9 | 0
    10 |@ 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@@@ 7
    21 | 0
    22 |@ 1
    23 | 0 brk
    value ------------- Distribution ------------- count
    0 | 0
    0 |@@@@@@@@ 26
    1 |@@@@@ 16
    2 |@@@@ 12
    3 |@@@@ 12
    4 |@@@@@@@@@@@@@@@ 44
    5 | 0
    6 | 0
    7 | 2
    8 | 2
    9 | 0
    10 | 0
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 | 0
    21 | 0
    22 | 0
    23 | 0
    24 | 0
    25 | 0
    26 | 2
    27 | 0 fstat
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 23
    9 | 0
    10 |@ 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@ 7
    21 | 0
    22 |@ 1
    23 | 0 close
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 24
    9 | 0
    10 |@ 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@ 7
    21 | 0
    22 |@ 1
    23 | 0
    24 | 0
    25 | 0
    26 | 0
    27 | 0
    28 |@ 1
    29 | 0 open
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@@@@@@@@@ 23
    9 | 0
    10 |@ 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@ 7
    21 | 0
    22 |@ 1
    23 | 0
    24 |@@ 2
    25 |@ 1
    26 | 0 sigprocmask
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@ 8
    9 | 0
    10 |@@@@ 4
    11 |@@@@ 4
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 |@@@@ 4
    20 |@@@@@@@@ 8
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 8
    25 | 0
    26 | 0
    27 | 0
    28 | 0
    29 |@@@@ 4
    30 | 0 sigaction
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@ 12
    9 | 0
    10 |@@@@ 6
    11 |@@@@ 6
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 |@@@@ 6
    20 |@@@@@@@@ 12
    21 | 0
    22 | 0
    23 | 0
    24 |@@@@@@@@ 12
    25 | 0
    26 | 0
    27 | 0
    28 | 0
    29 |@@@@ 6
    30 | 0 stat
    value ------------- Distribution ------------- count
    7 | 0
    8 |@@@@@@@@@@@@@@@@@@ 135
    9 | 0
    10 |@@ 16
    11 |@ 9
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 |@@@@@@@@@@@@@@@@@ 126
    21 | 0
    22 | 7
    23 | 0 read
    value ------------- Distribution ------------- count
    0 | 0
    0 |@@@@@@@ 34667
    1 |@@@@@@ 31374
    2 |@@@@@ 26162
    3 |@@@ 19306
    4 |@@ 13884
    5 |@@@@@ 26928
    6 |@@@@ 22759
    7 |@@@@ 21934
    8 | 30
    9 | 0
    10 | 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 | 7
    21 | 0
    22 | 1
    23 | 0
    24 | 2
    25 | 0 gtime
    value ------------- Distribution ------------- count
    2 | 0
    3 | 2
    4 | 0
    5 | 0
    6 | 0
    7 | 0
    8 | 0
    9 | 0
    10 | 1
    11 | 0
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 0
    20 | 2
    21 | 20
    22 |@@@@@@@@@@@@@@@@@ 15134
    23 |@@@@@@@@@@@@@@@@ 14472
    24 |@@@@@@ 5596
    25 | 2
    26 | 0 write
    value ------------- Distribution ------------- count
    7 | 0
    8 | 90
    9 | 0
    10 | 9
    11 | 18
    12 | 0
    13 | 0
    14 | 0
    15 | 0
    16 | 0
    17 | 0
    18 | 0
    19 | 6
    20 | 42
    21 | 3
    22 | 3
    23 | 0
    24 | 15
    25 |@@@@@@@@@ 48185
    26 |@@@@@@@@@@@ 59479
    27 |@@@@@@@@@@ 57069
    28 |@@@@@@@@@ 48664
    29 | 3
    30 | 0 rusagesys
    value ------------- Distribution ------------- count
    9 | 0
    10 | 6
    11 | 270
    12 |@@@@@ 973726
    13 |@@@@@ 1031100
    14 |@@@@@ 960350
    15 |@@@@@ 934138
    16 |@@@@@ 901403
    17 |@@@@ 879607
    18 |@@@@ 879990
    19 |@@ 495757
    20 | 36922
    21 | 212
    22 | 2
    23 | 0
    24 | 281
    25 | 0

  • RELEVANCY SCORE 3.02

    DB:3.02:3750 Vlan Interface Statistics ? md



    Isn't a layer 3 switch supposed to correctly count routerd packets in the corresponding VLAN interface ? None of these do count correctly on this 3750 below.

    I did not considered that an issue when the system was insatalled, but now thinking about it, it would be nice to know how much traffic each VLAN exchanges with others.

    FG-SW-CORE#sh int summ

    *: interface is up IHQ: pkts in input hold queue     IQD: pkts dropped from input queue OHQ: pkts in output hold queue    OQD: pkts dropped from output queue RXBS: rx rate (bits/sec)          RXPS: rx rate (pkts/sec) TXBS: tx rate (bits/sec)          TXPS: tx rate (pkts/sec) TRTL: throttle count

      Interface               IHQ   IQD  OHQ   OQD  RXBS RXPS  TXBS TXPS TRTL-------------------------------------------------------------------------  Vlan1                    0     0    0     0     0    0     0    0    0* Vlan2                    0     0    0     0  6000    2     0    0    0* Vlan3                    0     0    0     0     0    0     0    0    0* Vlan4                    0     0    0     0     0    0     0    0    0* Vlan5                    0     0    0     0     0    0     0    0    0* Vlan6                    0     0    0     0     0    0     0    0    0* Vlan9                    0     0    0     0  1000    1     0    0    0* Vlan14                   0     0    0     0     0    0     0    0    0* Vlan15                   0     0    0     0     0    0     0    0    0* Vlan17                   0     0    0     0     0    0     0    0    0* Vlan19                   0     0    0     0     0    0     0    0    0* Vlan23                   0     0    0     0     0    0     0    0    0* Vlan50                   0     0    0     0     0    1     0    0    0* Vlan99                   0     0    0     0  6000    7     0    0    0* Vlan100                  0     0    0     0  2000    5  5000    6    0* Vlan101                  0     0    0     0     0    0     0    0    0  GigabitEthernet1/0/1     0     0    0     0     0    0     0    0    0* GigabitEthernet1/0/2     0     0    0     0  2000    3 133000   27    0  GigabitEthernet1/0/3     0     0    0     0     0    0     0    0    0  GigabitEthernet1/0/4     0     0    0     0     0    0     0    0    0* GigabitEthernet1/0/5     0     0    0     0 15559000  3816 20698000  4066    0* GigabitEthernet1/0/6     0     0    0     0 1197000  227 1193000  256    0  GigabitEthernet1/0/7     0     0    0     0     0    0     0    0    0* GigabitEthernet1/0/8     0     0    0     0  3000    2 15000   22    0  GigabitEthernet1/0/9     0     0    0     0     0    0     0    0    0  GigabitEthernet1/0/10    0     0    0     0     0    0     0    0    0* GigabitEthernet1/0/11    0     0    0     0 124000   88 239000  110    0* GigabitEthernet1/0/12    0     0    0   394 9691000  1647 3418000  1423    0* GigabitEthernet2/0/1     0     0    0     0 345000   89 221000  124    0  GigabitEthernet2/0/2     0     0    0     0     0    0     0    0    0* GigabitEthernet2/0/3     0     0    0     0 419000  174 368000  192    0* GigabitEthernet2/0/4     0     0    0     0 371000  126 176000  147    0  GigabitEthernet2/0/5     0     0    0     0     0    0     0    0    0  GigabitEthernet2/0/6     0     0    0     0     0    0     0    0    0* GigabitEthernet2/0/7     0     0    0     0 249000  165 839000  192    0  GigabitEthernet2/0/8     0     0    0     0     0    0     0    0    0* GigabitEthernet2/0/9     0     0    0     0 1423000  414 833000  434    0* GigabitEthernet2/0/10    0     0    0     0 502000  376 1970000  429    0  GigabitEthernet2/0/11    0     0    0     0     0    0     0    0    0  GigabitEthernet2/0/12    0     0    0     0     0    0     0    0    0

    DB:3.02:3750 Vlan Interface Statistics ? md


    Yes, I see.

    I had expected that the genious hardware team would have put a counter for that, wasn't the case.

    Or maybe marketing forgot to specify, and they got away with that

  • RELEVANCY SCORE 3.02

    DB:3.02:Rename Columns In T Sql Query Dynamically ( Using Functions And Variables) f3


    Hello Everyone,
    I have been reading up on this quite a bit over the last couple of days. I have looked at sp_rename and using pivot as a possibility, yet they don't seem to be what I really need for a resolution.

    Below is everything from the select statement without the guts (joins which really don't matter). End result is I want to rename every Current_Minus_% column name with the corresponding value from Current_Title%. In other
    words, I want the member count columns represented by a date set when an argument is passed.

    Is this possible? Any insight would prove useful. Through exploration moving the Convert after the AS is unacceptable as is declaring individual variables to hold the date data and then calling the variable as the column name.
    Example if it worked :COALESCE(one.Members, 0) AS CONVERT(varchar,DATEADD(mm,-35,:AsOfDate),101),
    NOTE: This will be used in a report. Normally I could just take the results from the date columns I have in the select and just place them properly in a report header. This is an export to Excel ( not using SSIS) for a client and there in itself
    is the true problem and the reason I need to find a way to rename the columns in the script.
    DECLARE @AsOfDate datetime
    SET @AsOfDate = '2013-05-01'
    Select DISTINCT
    g.Name AS Name,
    gd.Group_ID AS Policy#,
    gd.Division_ID AS Division,
    COALESCE(one.Members, 0) AS Current_Minus_35,
    COALESCE(two.Members, 0) AS Current_Minus_34,
    COALESCE(thre.Members, 0) AS Current_Minus_33,
    COALESCE(four.Members, 0) AS Current_Minus_32,
    COALESCE(five.Members, 0) AS Current_Minus_31,
    COALESCE(six.Members, 0) AS Current_Minus_30,
    COALESCE(svn.Members, 0) AS Current_Minus_29,
    COALESCE(eigt.Members, 0) AS Current_Minus_28,
    COALESCE(nine.Members, 0) AS Current_Minus_27,
    COALESCE(ten.Members, 0) AS Current_Minus_26,
    COALESCE(elvn.Members, 0) AS Current_Minus_25,
    COALESCE(twlv.Members, 0) AS Current_Minus_24,
    COALESCE(thrtn.Members, 0) AS Current_Minus_23,
    COALESCE(frtn.Members, 0) AS Current_Minus_22,
    COALESCE(fftn.Members, 0) AS Current_Minus_21,
    COALESCE(sxtn.Members, 0) AS Current_Minus_20,
    COALESCE(svtn.Members, 0) AS Current_Minus_19,
    COALESCE(eitn.Members, 0) AS Current_Minus_18,
    COALESCE(nitn.Members, 0) AS Current_Minus_17,
    COALESCE(twty.Members, 0) AS Current_Minus_16,
    COALESCE(twon.Members, 0) AS Current_Minus_15,
    COALESCE(twtw.Members, 0) AS Current_Minus_14,
    COALESCE(twthr.Members, 0) AS Current_Minus_13,
    COALESCE(twfr.Members, 0) AS Current_Minus_12,
    COALESCE(twfv.Members, 0) AS Current_Minus_11,
    COALESCE(twsx.Members, 0) AS Current_Minus_10,
    COALESCE(twsv.Members, 0) AS Current_Minus_9,
    COALESCE(twei.Members, 0) AS Current_Minus_8,
    COALESCE(twnin.Members, 0) AS Current_Minus_7,
    COALESCE(thty.Members, 0) AS Current_Minus_6,
    COALESCE(thon.Members, 0) AS Current_Minus_5,
    COALESCE(thtw.Members, 0) AS Current_Minus_4,
    COALESCE(thth.Members, 0) AS Current_Minus_3,
    COALESCE(thfr.Members, 0) AS Current_Minus_2,
    COALESCE(thfv.Members, 0) AS Current_Minus_1,
    COALESCE(thsx.Members, 0) AS Current_Enrll,
    CONVERT(varchar,DATEADD(mm,-35,:AsOfDate),101)AS Current_Title35,
    CONVERT(varchar,DATEADD(mm,-34,:AsOfDate),101)AS Current_Title34,
    CONVERT(varchar,DATEADD(mm,-33,:AsOfDate),101)AS Current_Title33,
    CONVERT(varchar,DATEADD(mm,-32,:AsOfDate),101)AS Current_Title32,
    CONVERT(varchar,DATEADD(mm,-31,:AsOfDate),101)AS Current_Title31,
    CONVERT(varchar,DATEADD(mm,-30,:AsOfDate),101)AS Current_Title30,
    CONVERT(varchar,DATEADD(mm,-29,:AsOfDate),101)AS Current_Title29,
    CONVERT(varchar,DATEADD(mm,-28,:AsOfDate),101)AS Current_Title28,
    CONVERT(varchar,DATEADD(mm,-27,:AsOfDate),101)AS Current_Title27,
    CONVERT(varchar,DATEADD(mm,-26,:AsOfDate),101)AS Current_Title26,
    CONVERT(varchar,DATEADD(mm,-25,:AsOfDate),101)AS Current_Title25,
    CONVERT(varchar,DATEADD(mm,-24,:AsOfDate),101)AS Current_Title24,
    CONVERT(varchar,DATEADD(mm,-23,:AsOfDate),101)AS Current_Title23,
    CONVERT(varchar,DATEADD(mm,-22,:AsOfDate),101)AS Current_Title22,
    CONVERT(varchar,DATEADD(mm,-21,:AsOfDate),101)AS Current_Title21,
    CONVERT(varchar,DATEADD(mm,-20,:AsOfDate),101)AS Current_Title20,
    CONVERT(varchar,DATEADD(mm,-19,:AsOfDate),101)AS Current_Title19,
    CONVERT(varchar,DATEADD(mm,-18,:AsOfDate),101)AS Current_Title18,
    CONVERT(varchar,DATEADD(mm,-17,:AsOfDate),101)AS Current_Title17,
    CONVERT(varchar,DATEADD(mm,-16,:AsOfDate),101)AS Current_Title16,
    CONVERT(varchar,DATEADD(mm,-15,:AsOfDate),101)AS Current_Title15,
    CONVERT(varchar,DATEADD(mm,-14,:AsOfDate),101)AS Current_Title14,
    CONVERT(varchar,DATEADD(mm,-13,:AsOfDate),101)AS Current_Title13,
    CONVERT(varchar,DATEADD(mm,-12,:AsOfDate),101)AS Current_Title12,
    CONVERT(varchar,DATEADD(mm,-11,:AsOfDate),101)AS Current_Title11,
    CONVERT(varchar,DATEADD(mm,-10,:AsOfDate),101)AS Current_Title10,
    CONVERT(varchar,DATEADD(mm,-9,:AsOfDate),101)AS Current_Title9,
    CONVERT(varchar,DATEADD(mm,-8,:AsOfDate),101)AS Current_Title8,
    CONVERT(varchar,DATEADD(mm,-7,:AsOfDate),101)AS Current_Title7,
    CONVERT(varchar,DATEADD(mm,-6,:AsOfDate),101)AS Current_Title6,
    CONVERT(varchar,DATEADD(mm,-5,:AsOfDate),101)AS Current_Title5,
    CONVERT(varchar,DATEADD(mm,-4,:AsOfDate),101)AS Current_Title4,
    CONVERT(varchar,DATEADD(mm,-3,:AsOfDate),101)AS Current_Title3,
    CONVERT(varchar,DATEADD(mm,-2,:AsOfDate),101)AS Current_Title2,
    CONVERT(varchar,DATEADD(mm,-1,:AsOfDate),101)AS Current_Title1,
    CONVERT(varchar,:AsOfDate,101)AS Current_Title

    Thanks Ahead of Time,
    Mitch

    DB:3.02:Rename Columns In T Sql Query Dynamically ( Using Functions And Variables) f3

    Hi Mitch,
    We can use dynamic pivot to achieve the function, you can refer to my codes on the following links:
    http://social.technet.microsoft.com/Forums/en-US/fdd8abb3-702b-4f2c-b495-f5568f40acb0/dynamic-pivot-by-naomi
    http://social.technet.microsoft.com/Forums/en-US/c80f39e7-907f-4849-98d5-d46dbc99f2b2/pivot-query-problem-in-ms-sqlserver-2008Allen Li
    TechNet Community Support

  • RELEVANCY SCORE 3.02

    DB:3.02:Xml Format File - Looking For Some Help sc


    How to convert the follwing format to a xmlformat file.
    7.0
    15
    1 SQLCHAR 0 30
    1 ABC
    2 SQLCHAR 0 12
    2 DEF
    3 SQLCHAR 0 60
    0 FILLER
    4 SQLCHAR 0 39
    0 FILLER
    5 SQLCHAR 0 5
    0 FILLER
    6 SQLCHAR 0 7
    3 XYZ
    7 SQLCHAR 0 10
    0 FILLER
    8 SQLCHAR 0 10
    0 FILLER
    9 SQLCHAR 0 4
    11 PRQ
    10 SQLCHAR 0 4
    0 FILLER
    11 SQLCHAR 0 25
    44 LMN
    12 SQLCHAR 0 4
    58 CO
    13 SQLCHAR 0 3
    59 APPL
    14 SQLCHAR 0 20
    60 ACCT
    15 SQLCHAR 0 10 \r\n
    61 PD_C

    DB:3.02:Xml Format File - Looking For Some Help sc

    Hi sir, thank you for your response.
    My scenario is like this. I have a age old Vb 6.0 application using the sql server 2000. My application is receiving the datafeeds from Mainframe system. the datafeed is fixed length character file. Using the bcp this information will be loaded
    to a table. This table has more columns than the data feed. While performing that bcp earlier programmers used teh above mentioned format file. this format file was not generated using the bcp command as it oldver version format file. My main concren
    here is how to specify the filler columns like
    3 SQLCHAR 0 60
    0 FILLER
    4 SQLCHAR 0 39
    0 FILLER
    4 SQLCHAR 0 39
    0 FILLER
    and how to specify the delimiter as it is a fixed length file. I was in vacation for two weeks.
    thank you in advance.

  • RELEVANCY SCORE 3.02

    DB:3.02:Convert A 7.1 To 7.0 s7


    Hi!Is there anyone that can convert these file from Labview 7.1 to 7.0 ? As I see it there is no other way of doing it, or is there ? Thanks for your help









    Attachments:







    NIModbus.llb ‏1579 KB

    DB:3.02:Convert A 7.1 To 7.0 s7

    This Timed Loop can be simply replaced with a (less effective) Wait Until Next ms Multiple to which Period must be wired.Paolo



    Paolo-------------------LV 7.0, 7.1, 8.0.1, 2011

  • RELEVANCY SCORE 3.02

    DB:3.02:Data Missing When Loading Data Into Sql Server 2005 3f



    Hi, Experts

    The project is a C/S data analysis system built with .Net 2.0 in windows environment, OS: Microsoft Windows 2003 R2 standard Edition Service Pack2, we use SQL Server 2005 as a Database. As a data analysis system, we need to load large amount of data from file to database, we do it by create a dts package and then do data loading by execute m_Package.Execute(null, variables, m_PackageEvents, null, null).
     
    But we fount that DTS miss some data randomly sometimes, we can't find the rule till now. for example we've data as follows in data file, all data field splited by '|'
     
    11234|26341|2007-09-03 00:00|0|0|0.0|0|0.011470833793282509|1|0.045497223734855652|0|0|1|0|3|2929|13130|43|0|2|0|0|40|1|0|0|0|0|0|1||0|0|3|0|0|0|0|0||0|3|0|0|43|43|0|41270|0|3|0|0|10|3|0|0|0|0|0||0|1912|0|0|3|0|0|0|0|0|0|0|3|0|0|5|0|40|0|9|0|0|0|0|0|0|0|0|29|1|1|24|24.0|16|16.0|0|0|0.0|0|0|24|23.980693817138672|0|0.0|0|0.0|0|0.0|0|0.0|11|2.0764460563659668|43|2|0|0|30|11|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|3|3|0|0|0|0|0|0|0|0|0|6|0|0|0|0|0|6|0|0|45|1|0|0|0|2|42|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|2|0|0|0|2|0|0|0|0|0|0|51|47|85|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|||||||||||||0|0|0|0|0|97.117401123046875|0|0|83|57|||0.011738888919353485|0|1|0.065955556929111481|0|4|||0.00026658669230528176|1|0.00014440112863667309|1|68|53|12|2|1|2.0562667846679688|10|94|2|0|0|30|11|47|4|13902|7024|6878|18|85|4.9072666168212891|5|0.0|0|0.0|0|0.0|0|0.0|0|358|6448|6324|0|0|0|0||0||462|967|0|41|39|2|0|0|0|1|0|0|0|0|0|0|0|0|3|0|0|3|0|0|0|0|0|0|0|0|0|3|0|3|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|46|0|1|0|1|37|0|0|46|0|1|0|1|37|0|0|0|0|0|0|0|0|0.0|0|0|6|4|2|0|0|2|1|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|1|0.012290795333683491|0|44|44.0|0|0.0|0|0|0|30|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|2|0|2|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|2|1|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|1|0|0|0|0|0|0|0|0|0|0|0|0|27|0|0|2112|411|411|45|437|2|0|2|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|4|0|4|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0|0|0|0|0|0|0|0|0|0|6|6|0|3|2|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|5|5.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|600|600|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|6|0|0|0|0|0|0|6|0|9|1|2|2|3|0|1|0|0|0|0|0|0|0|0|0|0|0|13|3|2|5|1|1|1|0|0|0|102|0|1|1|0|0|0|3|3|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0||0|0|0|0|0|0|0|0|0||||||||||0|0|0|0|0|0|0||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|46.0|46|0.0|0|0.0|0|0.011469460092484951|1|0.0|0|0.0|0|3|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|0.0|0|0|0|0|0|0|0|0|0|0|0|0|0|||0|100.0|100.0|0|1|0|1|0|0|0.02481505274772644|1|0.014951236546039581|1|0|0|0|0|0|0|0|0|0|0|0|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|||0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|4695.5556640625|42260|7126.66650390625|62040|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||||||0|0||||||||||
     
    11213|26341|2007-09-03 00:00|0|0|0.0|0|0.068584725260734558|2|0.14375555515289307|27|0|2|1|11|3966|13162|97|0|13|0|0|83|3|2|3|0|0|0|26||0|0|11|0|0|0|1|0||0|1|0|3|97|98|0|246795|0|11|1|0|3|14|0|0|0|0|0||0|1912|0|0|12|0|0|0|0|0|0|0|12|0|0|17|0|83|2|2|2|0|0|0|0|0|0|0|73|3|1|24|24.0|16|16.0|0|0|0.0|3|0|24|23.905364990234375|2|0.0040000001899898052|0|0.0|0|0.0|0|0.0|11|2.0772171020507812|97|7|0|0|80|10|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|12|12|0|0|0|0|0|0|0|0|0|41|0|0|0|0|0|41|0|0|99|25|0|0|0|0|74|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|2|0|0|0|0|0|0|0|0|0|0|177|158|332|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|3|||||||||||||0|0|0|0|0|0.0|0|0|321|198|||0.041950233280658722|0|2|0.1999288946390152|0|5|||0.00088306842371821404|1|0.00051651173271238804|1|529|113|4|8|2|2.0671226978302002|10|274|7|0|0|80|10|66|17|13934|7024|6910|31|332|4.7173333168029785|5|0.000033333333703922108|1|0.000033333333703922108|1|0.000033333333703922108|1|0.0|0|358|6448|6356|0|0|0|0||0||1609|3423|0|83|78|5|0|0|26|0|0|0|0|0|0|0|0|0|2|0|1|1|0|0|0|0|3|0|0|0|0|2|0|2|0|0|0|0|0|0|0|0|0|0|2|0|0|0|0|0|0.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|65|0|1|0|1|72|0|0|65|0|1|0|1|72|0|0|0|0|0|0|0|0|0.0|0|0|12|7|0|2|3|16|5|5|6|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|2|0.04131799191236496|0|48|48.0|5|5.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|0|0|1|0|0|0|0|0|0|9|0|5|1|0|0|0|1|0|0|0|1|1|0|0|0|0|0|0|0|0|0|0|4|2|1|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|3|0|0|0|0|3|0|0|0|0|0|0|0|0|121|0|1410|6046|558|1400|192|2467|10|0|5|1|0|0|0|2|0|0|0|1|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|15|0|10|0|0|0|0|3|0|1|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0|0|0|0|0|0|0|0|0|0|21|9|12|10|3|1|0|1|4|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|163|4|144|91|92|2|92|0|0|0|0|0|101|92|0|0|0|0|101|0|0|0|0|600|596|1|0|0|3|0|0|0|0|0|0|0|0|0|0|0|9|0|0|1|0|0|0|8|0|34|3|4|14|7|2|3|0|1|0|0|0|0|0|0|0|0|0|41|6|4|23|5|2|1|0|0|0|289|0|7|7|0|0|0|11|11|0|0|4|4|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0||0|0|4|0|0|0|0|0|4||||||||||3|0|0|0|0|0|3||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|0|0|0|0|0|0|55.814689636230469|47.931411743164062|48|0.0|0|0.0|0|0.068584725260734558|2|0.0|0|0.0|0|14|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|0.0|0|0|0|0|1|0|0|1|0|0|0|0|0|||0|100.0|100.0|0|26|26|0|0|0|0.088263392448425293|2|0.056161552667617798|2|0|0|0|0|0|0|0|0|0|5|22|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|||0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|16308.888671875|146780|23162.22265625|184840|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||||||0|0||||||||||
     
    11220|26341|2007-09-03 00:00|0|0|0.0|0|0.309184730052948|2|0.17757916450500488|0|0|7|4|18|3925|13682|172|0|19|0|0|164|10|5|4|0|0|0|2||0|0|20|0|0|1|4|0||0|5|0|4|172|172|0|1165085|0|20|4|0|20|8|0|0|0|0|0||0|1912|0|0|24|0|0|1|0|0|0|0|23|0|0|30|0|164|4|6|8|0|0|0|0|0|0|0|121|10|15|24|24.0|16|16.0|0|0|0.0|4|0|24|23.646148681640625|1|0.0040013887919485569|0|0.0|0|0.0|0|0.0|11|2.0849723815917969|172|5|0|0|123|44|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|26|24|0|0|0|2|0|0|0|0|0|192|1|0|0|0|0|191|0|0|190|12|0|0|0|0|178|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|3|0|0|0|0|0|1|0|0|0|0|1008|953|2758|0|5|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|4|||||||||||||0|0|0|0|0|84.418106079101562|0|0|2626|1420|||0.29022222757339478|0|5|1.5045944452285767|0|5|||0.0058597764000296593|2|0.0046600494533777237|2|1340|1114|80|119|27|2.2584490776062012|10|1180|5|0|0|123|44|953|55|14462|7024|7438|52|2758|3.0037333965301514|5|0.021266667172312737|1|0.00036666667438112199|1|0.0|0|0.0|0|362|6440|6880|0|0|0|0||0||13711|27667|0|159|149|10|0|0|1|1|0|0|0|0|0|0|0|0|7|0|0|7|0|0|0|0|4|0|0|0|0|7|0|7|0|0|0|0|0|0|0|0|0|2|3|0|0|0|0|0|0.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|842|0|111|0|102|1702|0|1|842|0|111|0|0|1703|0|0|0|0|0|0|0|0|0.0|0|0|47|26|11|3|7|37|1|20|16|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|4|0.24921548366546631|0|44|44.0|0|0.0|0|0|0|1003|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|10|0|8|2|0|0|0|0|0|0|0|0|0|0|81|1|60|10|10|0|0|0|0|0|0|0|0|0|1|1|0|0|0|0|0|0|0|25|16|4|2|3|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|53|27|17|4|5|0|0|0|0|0|0|0|0|0|421|0|8685|67179|2138|12104|80|26285|104|1|73|16|14|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|87|1|77|7|2|0|0|0|0|0|0|0|0|0|1|0|0|1|0|0|0|0|0|0|0|0|0|0|16|0|9|5|2|0|0|0|0|0|0|0|0|0|155|155|0|105|51|32|9|13|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0|0|0|0|0|0|0|0|0|0|5|5.0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|102|0|0|0|0|0|600|445|4|20|32|63|16|15|4|1|0|0|0|0|0|0|0|37|0|0|5|0|0|0|32|0|230|7|10|99|68|22|21|0|3|0|0|0|0|0|0|0|0|0|286|18|10|182|53|17|6|0|0|0|2528|0|10|10|0|0|0|22|22|0|0|25|25|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0|0|0|0|0|0|0|0|0|0||0|0|30|0|0|0|0|0|30||||||||||23|0|0|0|0|0|23||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|0|0|0|0|0|0|0.0|45.998283386230469|46|0.0|0|0.0|0|0.30917638540267944|2|0.0|0|0.0|0|8|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.0|0|0.0|0|0|0|0|1|1|0|0|0|0|0|0|0|||0|100.0|100.0|0|2|1|0|0|1|0.73375397920608521|5|0.41600942611694336|6|0|0|0|0|0|0|0|0|0|0|0|0|0|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|||0|||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|98115.5546875|865520|176626.671875|1159360|||||||||||||||||||||||||||||||||||||||||||||||||||||||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||||||0|0|||||||||| 
    We found that some of the data field become 'null' after the load action finished, if we load the same data again, problem disappeared, we can't 100% reproduce this issue each time, we don't know why, Anybody here can help us to solve this issue or give us some clue?

    DB:3.02:Data Missing When Loading Data Into Sql Server 2005 3f

     I just reedit the question and now I think you can know there three lines of data in my question words.

  • RELEVANCY SCORE 3.02

    DB:3.02:Version 10 To Version 9.0.1 (2009 Sp1) 3x



    Could you convert this VI from v.10 to v.9.01 please?




    Egemen

  • RELEVANCY SCORE 3.02

    DB:3.02:Atm Adsl Trouble Shooting! 8a



    Hi Guys / Gals.

    Thought I would start another tread as you all have been very very useful

    Im having issues with a site basically the atm interface drops periodically and the ISP has confirmed the link as working fine (supposedly at 6Mb but clients at site are not seeing this even when router is up) I would like your advise to see if I am troubleshooting the issue correctly:

    show int atm 0

    ATM0 is up, line protocol is up

      Hardware is MPC ATMSAR (with Alcatel ADSL Module)

      MTU 4470 bytes, sub MTU 4470, BW 446 Kbit/sec, DLY 820 usec, --------------------BW is this the actual bandwidth available to the router?

         reliability 255/255, txload 1/255, rxload 1/255

      Encapsulation ATM, loopback not set

      Encapsulation(s): AAL5  AAL2, PVC mode

      10 maximum active VCs, 1024 VCs per VP, 1 current VCCs

      VC Auto Creation Disabled.

      VC idle disconnect time: 300 seconds

      Last input never, output 00:00:00, output hang never

      Last clearing of "show interface" counters never

      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

      Queueing strategy: Per VC Queueing

      5 minute input rate 1000 bits/sec, 3 packets/sec

      5 minute output rate 1000 bits/sec, 2 packets/sec

         7154 packets input, 628130 bytes, 0 no buffer

         Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

         6764 packets output, 640759 bytes, 0 underruns

         2 output errors, 0 collisions, 0 interface resets

         0 unknown protocol drops

         0 output buffer failures, 0 output buffers swapped out

    show dsl interface atm 0

    ATM0

    Alcatel 20190 chipset information

                    ATU-R (DS)                      ATU-C (US)

    Modem Status:    Showtime (DMTDSL_SHOWTIME)

    DSL Mode:        ITU G.992.5 (ADSL2+) Annex A

    ITU STD NUM:     0x03                            0x3

    Chip Vendor ID:  'STMI'                          'TSTC'

    Chip Vendor Specific:  0x0000                    0x0510

    Chip Vendor Country:   0x0F                      0xB5

    Modem Vendor ID: 'CSCO'                          'TSTC'

    Modem Vendor Specific: 0x0000                    0x5100

    Modem Vendor Country:  0xB5                      0xB5

    Serial Number Near:    FCZ143293KG

    Serial Number Far:     0000000000Chip ID:        C196P (1)

    DFE BOM:         DFE3.0 Annex A (1)

    Capacity Used:   57%                             100%

    Noise Margin:    11.5 dB                         21.0 dB

    Output Power:    20.0 dBm                        12.0 dBm

    Attenuation:     25.0 dB                         11.0 dB

    FEC ES Errors:   277                             34161

    ES Errors:       227                             20763

    SES Errors:      215                             15853

    LOSES Errors:    31                              1018946

    UES Errors:       0                              1018667

    Defect Status:   None                            None

    Last Fail Code:  None

    Watchdog Counter: 0x1C

    Watchdog Resets: 0

    Selftest Result: 0x00

    Subfunction:     0x00

    Interrupts:      4443 (0 spurious)

    PHY Access Err:  0

    Activations:     31

    LED Status:      ON

    LED On Time:     100

    LED Off Time:    100

    Init FW:         init_AMR-3.0.014_no_bist.bin

    Operation FW:    AMR-3.0.014.bin

    FW Source:       embedded

    FW Version:      3.0.14

                     DS Channel1      DS Channel0   US Channel1       US Channel0

    Speed (kbps):             0             6656             0               446  ----------------------------- Speed Is this the what the router should be running at?

    Cells:                    0              644             0            648061

    Reed-Solomon EC:          0                3             0            228039

    CRC Errors:               0                0             0            666995

    Header Errors:            0                0             0             36077

    Total BER:                0E-0           0E-0

    Leakage Average BER:      0E-0           0E-0

    Interleave Delay:         0               16             0                38

                            ATU-R (DS)      ATU-C (US)

    Bitswap:               enabled            enabled

    Bitswap success:          0                   0

    Bitswap failure:          0                   0

    LOM Monitoring : Disabled

    DMT Bits Per Bin

    000: 0 0 0 0 0 0 0 2 4 5 6 7 7 8 8 8

    010: 8 9 9 9 9 9 9 9 8 8 8 7 6 5 3 0

    020: 0 2 2 3 5 5 6 7 7 8 8 8 8 9 8 9

    030: 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9

    040: 9 9 9 9 9 9 8 9 9 9 9 9 9 9 8 8

    050: 9 9 9 9 9 9 9 8 9 9 9 9 9 9 9 9

    060: 8 8 9 9 9 9 9 8 8 7 8 8 8 8 8 8

    070: 8 7 7 8 8 8 8 8 2 8 8 8 8 8 8 8

    080: 8 8 8 7 8 8 8 8 8 8 7 5 2 7 7 8

    090: 8 8 8 8 8 8 8 8 8 8 8 8 8 7 8 7

    0A0: 6 4 7 8 8 7 6 8 8 8 8 8 8 8 7 7

    0B0: 8 8 8 8 8 8 8 8 8 8 8 8 7 8 8 8

    0C0: 7 8 8 8 8 8 8 8 7 7 7 7 7 7 7 7

    0D0: 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7

    0E0: 7 7 7 5 7 7 7 7 7 7 7 6 5 7 7 7

    0F0: 7 7 7 6 2 5 5 4 0 0 0 5 5 3 5 6

    100: 7 7 7 7 6 4 2 5 6 6 4 0 4 5 5 2

    110: 4 5 6 6 5 5 5 4 2 0 0 2 4 5 5 4

    120: 2 4 5 5 5 5 5 5 3 2 4 5 5 5 5 5

    130: 5 5 5 5 5 5 5 5 5 5 2 2 5 5 5 5

    140: 5 4 2 0 2 4 5 4 5 5 4 2 2 3 4 2

    150: 2 0 0 0 0 2 3 4 4 4 4 4 2 0 0 3

    160: 4 2 3 4 3 2 0 2 3 4 4 4 4 4 2 2

    170: 4 4 4 4 4 3 2 0 0 2 3 2 2 2 2 2

    180: 0 0 2 2 2 3 3 2 2 0 2 2 3 3 3 3

    190: 3 2 2 2 2 2 2 2 2 2 0 0 2 2 2 2

    1A0: 2 2 2 0 2 2 2 2 2 2 2 2 2 2 2 2

    1B0: 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2

    1C0: 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2

    1D0: 2 2 2 2 2 2 2 0 2 2 2 2 2 2 2 2

    1E0: 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2

    1F0: 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0

    DSL: Training log buffer capability is not enabled

    ----------

    The interface seems to drop randomly for no specific reason I could be telneted to the device while pinging from another location, or just pinging.

    provider has tested the line confirmed as working.

    Is the attenuation, noise margin acceptable? the configuration template is used on other sites without issue,

    Any guidance on this matter would be very helpful.

    show run in atm 0

    Building configuration...

    Current configuration : 132 bytes

    !

    interface ATM0

    no ip address

    no atm ilmi-keepalive

    pvc 0/38

      encapsulation aal5mux ppp dialer

      dialer pool-member 1

    !

    end

    show run int d1

    Building configuration...

    Current configuration : 306 bytes

    !

    interface Dialer1

    ip unnumbered Loopback0

    encapsulation ppp

    dialer pool 1

    dialer-group 1

    no cdp enable

    ppp authentication chap callin

    ppp chap hostname xxxxx

    ppp chap password 0 xxxx

    ppp multilink

    ppp multilink interleave

    ppp multilink fragment delay 20

    end

    What is the correct method for viewing available bandwidth?

    DB:3.02:Atm Adsl Trouble Shooting! 8a


    You should start updating ADSL firmware.

    The access to it is different based if you have a support contract or not.

  • RELEVANCY SCORE 3.01

    DB:3.01:Convert String To Integer Array c1


    Hi All,

    I have a file from which I am reading a STRING. This string lokks like like this:

    2 0 1 2 0 1 2 0 1. Each element in the string is separated by a space.

    Could anyone tell me how I could convert this string into an INTEGER ARRAY. This INTEGER ARRAY should contain 9 elements int[0] = 2 ........int[8] = 1.

    PLEASE...

    Thanks.

    DB:3.01:Convert String To Integer Array c1

    public int[] toArray(String source) {
    if (source == null) return null;
    StringTokenizer st = new StringTokenizer(source);
    int result [] = new int [ st.countTokens() ];
    for (int j=0; st.hasMoreTokens(); j++)
    result[j] = Integer.parseInt( st.nextToken() );
    return result;
    }

  • RELEVANCY SCORE 3.01

    DB:3.01:Convert From Labview 9.0 To Labview 8.2.1 8d



    Hi,

    conver the vi from LV9.0 to LV8.2.1

    Thanks,

    Vignesh







    Solved!
    Go to Solution.

    DB:3.01:Convert From Labview 9.0 To Labview 8.2.1 8d


    Find attached, saved in version 8.2




    I am not allergic toKudos, in fact I loveKudos.

    Make your LabVIEW experience moreCONVENIENT.

  • RELEVANCY SCORE 3.01

    DB:3.01:Agrupar Registros (2) 1c


    Hola retomando este tema se me plantio el siguiente problema :( tengo la siguiente consulta select dbo.ObtenerTipoDeDato(b.ti1) as [Tipo De Dato], --count(a.c12) as total, (case when MONTH(C9)=1 then Count(a.c12) else '0' end) as Enero, (case when MONTH(C9)=2 then Count(a.c12) else '0' end) as Febrero, (case when MONTH(C9)=3 then Count(a.c12) else '0' end) as Marzo, (case when MONTH(C9)=4 then Count(a.c12) else '0' end) as Abril, (case when MONTH(C9)=5 then Count(a.c12) else '0' end) as Mayo, (case when MONTH(C9)=6 then Count(a.c12) else '0' end) as Junio from SRTIVE1 b left join SRCLI1 a on b.ti1 = c12 and a.c13 = 31 AND Convert(char(10),C9,120) between '2009-01-01' and '2009-06-30' group by dbo.ObtenerTipoDeDato(b.ti1) ,MONTH(c9) order by dbo.ObtenerTipoDeDato(b.ti1)  y me muestra lo siguiente DATO NICHO    0    3    0    0    0    0 DATO NICHO    0    0    2    0    0    0 DATO NICHO    0    0    0    1    0    0 DATO NICHO    0    0    0    0    1    0 DATO TIERRA    0    2    0    0    0    0 DATO TIERRA    0    0    2    0    0    0 DATO TIERRA    0    0    0    5    0    0 DATO TIERRA    0    0    0    0    7    0 DATO TIERRA    0    0    0    0    0    2 DATO TURNO    0    16    0    0    0    0 DATO TURNO    0    0    5    0    0    0 DATO TURNO    0    0    0    3    0    0 DATO TURNO    0    0    0    0    12    0 DATO TURNO    0    0    0    0    0    9 EXTERNO    0    2    0    0    0    0 EXTERNO    0    0    1    0    0    0 EXTERNO    0    0    0    1    0    0 FOLLETEO    0    1    0    0    0    0 lo que quiero es q no se repita el tipo de datos como aparece ahi :( se entiende?? desde ya muchas gracias.::**~ No Use for A NamE ~**::.

    DB:3.01:Agrupar Registros (2) 1c

    Con la ayuda de los 2 llege a esta consulta q es la que yo queria... select dbo.ObtenerTipoDeDato(b.ti1) as [Tipo De Dato], --count(a.c12) as total, sum(case when MONTH(C9)=1 then 1 else 0 end) as Enero, sum(case when MONTH(C9)=2 then 1 else 0 end) as Febrero, sum(case when MONTH(C9)=3 then 1 else 0 end) as Marzo, sum(case when MONTH(C9)=4 then 1 else 0 end) as Abril, sum(case when MONTH(C9)=5 then 1 else 0 end) as Mayo, sum(case when MONTH(C9)=6 then 1 else 0 end) as Junio from SRTIVE1 b left join SRCLI1 a on b.ti1 = c12 and a.c13 = 2 AND Convert(char(10),C9,120) between '2009-01-01' and '2009-06-30' group by dbo.ObtenerTipoDeDato(b.ti1) order by dbo.ObtenerTipoDeDato(b.ti1) .::**~ No Use for A NamE ~**::.

  • RELEVANCY SCORE 3.01

    DB:3.01:Re: Scheduling Parent-Teacher Conferences 7p


    This might be more promising for compoterized approach
    It is fairly easy to obtain a table where parents are rows and teachers by grade are columns with 0 indicating the meetings to be scheduled
    Easy to say: the 0 must be replaced by the appropriate time period number
    T| 1| 2| 3| 4| 5| 5| 6| 6| 6| 7| 8| 9|10|11|12|12|12|13|13|13|14|15|15|15|15|16|16|16|16|17|17|17|18|18|18|19|19|19|19|20|21|22|23|24|24|24|
    G| 9| 9|12|12|11|12| 9|10|11| 9| 9|12|12|11|11|10|12| 9|10|12|12| 9|10|11|12| 9|10|11|12| 9|10|11| 9|10|11| 9|10|11|12| 9|10|10|11|10|11|12|
    P| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
    4| 1| 2| | | | | 3| 4| | 5| 6| | | | | 7| | 8| 9| | |10|11| | |12|13| | |14|15| |16|17| |18|19| | |20|21|22| |23| | |
    5| 2| 1| | | | | 5| 6| | 3| 4| | | | | 8| | 7|10| | | 9|12| | |11|14| | |13|16| |15|18| |17|20| | |19|22|23| |21| | |
    6| 0| 0| | | | | 0| 0| | 0| 0| | | | | 0| | 0| 0| | | 0| 0| | | 0| 0| | | 0| 0| | 0| 0| | 0| 0| | | 0| 0| 0| | 0| | |
    10| 0| 0| 0| 0| | 0| 0| | | 0| 0| 0| 0| | | | 0| 0| | 0| 0| 0| | | 0| 0| | | 0| 0| | | 0| | | 0| | | 0| 0| | | | | | 0|
    15| 0| 0| | | 0| | 0| | 0| 0| 0| | | 0| 0| | | 0| | | | 0| | 0| | 0| | 0| | 0| | 0| 0| | 0| 0| | 0| | 0| | | 0| | 0| |
    18| | | | | 0| | | 0| 0| | | | | 0| 0| 0| | | 0| | | | 0| 0| | | 0| 0| | | 0| 0| | 0| 0| | 0| 0| | | 0| 0| 0| 0| 0| |
    22| | | | | 0| | | 0| 0| | | | | 0| 0| 0| | | 0| | | | 0| 0| | | 0| 0| | | 0| 0| | 0| 0| | 0| 0| | | 0| 0| 0| 0| 0| |
    23| | | 0| 0| | 0| | 0| | | | 0| 0| | | 0| | | 0| 0| 0| | 0| | | | 0| | 0| | 0| | | 0| | | 0| | 0| | 0| 0| | 0| | 0|
    27| | | | | 0| | | 0| 0| | | | | 0| 0| 0| | | 0| | | | 0| 0| | | 0| 0| | | 0| 0| | 0| 0| | 0| 0| | | 0| 0| 0| 0| 0| |
    28| | | | | 0| | | 0| 0| | | | | 0| 0| 0| | | 0| | | | 0| 0| | | 0| 0| | | 0| 0| | 0| 0| | 0| 0| | | 0| 0| 0| 0| 0| |
    1| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    2| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    3| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    7| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    8| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    9| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    11| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    12| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    13| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    14| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    16| 0| 0| | | | | 0| | | 0| 0| | | | | | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| | | | | | |
    17| | | | | | | | 0| | | | | | | | 0| | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| 0| | 0| | |
    19| | | | | | | | 0| | | | | | | | 0| | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| 0| | 0| | |
    20| | | | | | | | 0| | | | | | | | 0| | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| 0| | 0| | |
    21| | | | | | | | 0| | | | | | | | 0| | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| 0| | 0| | |
    24| | | | | | | | 0| | | | | | | | 0| | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| 0| | 0| | |
    25| | | | | | | | 0| | | | | | | | 0| | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| 0| | 0| | |
    26| | | | | | | | 0| | | | | | | | 0| | | 0| | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | 0| 0| | 0| | |
    29| | | | | 0| | | | 0| | | | | 0| 0| | | | | | | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | | 0| | 0| |
    30| | | | | 0| | | | 0| | | | | 0| 0| | | | | | | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | | 0| | 0| |
    31| | | | | 0| | | | 0| | | | | 0| 0| | | | | | | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | | 0| | 0| |
    32| | | | | 0| | | | 0| | | | | 0| 0| | | | | | | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | | 0| | 0| |
    33| | | | | 0| | | | 0| | | | | 0| 0| | | | | | | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | | 0| | 0| |
    34| | | | | 0| | | | 0| | | | | 0| 0| | | | | | | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | | 0| | 0| |
    35| | | | | 0| | | | 0| | | | | 0| 0| | | | | | | | | 0| | | | 0| | | | 0| | | 0| | | 0| | | | | 0| | 0| |
    36| | | 0| 0| | 0| | | | | | 0| 0| | | | 0| | | 0| 0| | | | 0| | | | 0| | | | | | | | | | 0| | | | | | | 0|
    37| | | 0| 0| | 0| | | | | | 0| 0| | | | 0| | | 0| 0| | | | 0| | | | 0| | | | | | | | | | 0| | | | | | | 0|
    38| | | 0| 0| | 0| | | | | | 0| 0| | | | 0| | | 0| 0| | | | 0| | | | 0| | | | | | | | | | 0| | | | | | | 0|
    39| | | 0| 0| | 0| | | | | | 0| 0| | | | 0| | | 0| 0| | | | 0| | | | 0| | | | | | | | | | 0| | | | | | | 0|
    40| | | 0| 0| | 0| | | | | | 0| 0| | | | 0| | | 0| 0| | | | 0| | | | 0| | | | | | | | | | 0| | | | | | | 0|
    41| | | 0| 0| | 0| | | | | | 0| 0| | | | 0| | | 0| 0| | | | 0| | | | 0| | | | | | | | | | 0| | | | | | | 0|
    42| | | 0| 0| | 0| | | | | | 0| 0| | | | 0| | | 0| 0| | | | 0| | | | 0| | | | | | | | | | 0| | | | | | | 0|I filled only the first two rows. Filling the first is trivial.
    For the second I skipped to next column until I was able to fill it returning to the first not yet filled column for the next trial.
    Filling the last column produced a conflict (23 in both rows), but the swap with the previous column turned out to be OK.
    again paper and pencil work (no database at home)

    I would start with
    select p.name parent,t.name teacher,p.grade
    from parent_grade p,teacher_grade t
    where p.grade = t.gradeRegards

    Etbin

    DB:3.01:Re: Scheduling Parent-Teacher Conferences 7p

    I used the code he posted, with the Parent_Teacher_Conference TABLE. I RENAMEd it TO a so i could query it quickly.

  • RELEVANCY SCORE 3.01

    DB:3.01:How To Get An Address Of A Matrix Using A Pointer In A Struct? z8


    I've tried:
    struct aElement{
    int (*nth)[9];
    };
    int a[9][9];
    aElement aB;
    void main(){
    for(int i=0; i9; i)
    for(int j=0; j9; j)
    a[i][j]=ij;
    aB.nth=a;
    a[1][1]=200;
    a[7][7]=34;
    a[0][2]=17;
    a=aB.nth;
    I'm getting the error:
    C2440: '=' : cannot convert from 'int'(*)[9] to 'int' [9][9]'
    my goal is to get an address in aB.nth of a matrix push it into a stack,
    and then later on, the 'a' matrix will get it's previous values. I wan't to save the previous state of 'a' matrix and put it into the stack.

    DB:3.01:How To Get An Address Of A Matrix Using A Pointer In A Struct? z8

    On 6/18/2012 2:12 PM, manWithBallsOfSteel wrote:

    My problem is in this line:

    aB.nth=a;

    how can i get a reference to 'a' array?

    i want nth to get all the values that in a (make a copy of 'a' matrix);
    without using loops.

    You can't - arrays are not directly copyable. That's why I suggested wrapping an array in a struct. Your program then becomes:
    struct aElement{
    int nth[9];
    };
    aElement a;
    aElement aB;
    void main(){
    for(int i=0; i9; i)
    for(int j=0; j9; j)
    a.nth[i][j]=ij;
    aB=a;
    a.nth[1][1]=200;
    a.nth[7][7]=34;
    a.nth[0][2]=17;
    a=aB;

    Igor Tandetnik