Error: Sequence does not match type xs:string

I am using BDB XML 2.5.16 to store and query my XML  documents in Java. The documents are IMDB xml documents containing actors information
obtained from INEX website https://inex.mmci.uni-saarland.de/login.jsp.  One of  the document I stored in the database is the following
    <?xml version="1.0" encoding="UTF-8"?>
     <persons>
      <person>
          <name>jason angeles
          </name>
          <filmography>
             <act>
                <movie>
                   <title>prison planet 3 the revenge 1998
                    </title>
                  <year>1998
                  </year>
                 <character>evil ninja
                  </character>
               </movie>
             </act>
          </filmography>
         </person>
         </persons>
I want to  search using XQuery  for filmography element whose title element contains ANY of the following keywords ('planet', 'revenge', '1998'). Below is the query I used
              // declaring function functx:contains-any-of
            String qryRk = "declare namespace functx = 'http://www.functx.com'; " 
                  + "declare function functx:contains-any-of "
                 + "( $arg as xs:string?" + " , "  + " $searchStrings as xs:string* )  as xs:boolean { "
                 + "some $searchString in $searchStrings "
                +  " satisfies contains($arg,$searchString)} ; ";
             String myQuery101 = qryRk + "for $entity in collection('simpleExampleData2.dbxml')//filmography "
                  + "where functx:contains-any-of ( $entity/act/movie/title ,  ('planet', 'revenge', '1998'))"
                  + "return $entity";
When I  execute the query  i  expect to get at least get the following element as mu output
                       Document : person_31000.xml:
                    <filmography>
                           <act>
                                 <movie>
                                 <title>prison planet 3 the revenge 1998
                                </title>
                                <year>1998
                                </year>
                               <character>evil ninja
                               </character>
                              </movie>
                           </act>
                         </filmography>
However instead of the above element i got the  following Error
                             Exception in thread "main" com.sleepycat.dbxml.XmlException: Error: Sequence does not match type xs:string? - the sequence contains more than one item [err:XPTY0004], <query>:1:343, errcode =               
                              QUERY_EVALUATION_ERROR
                                  at com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_query__SWIG_0(Native Method)
                                  at com.sleepycat.dbxml.XmlManager.query(XmlManager.java:544)
                                 at com.sleepycat.dbxml.XmlManager.query(XmlManager.java:320)
                                 at xmlirsystemstruxplus.XQueryEngine.queryEngine(XQueryEngine.java:269)
                                 at xmlirsystemstruxplus.XMLIRSystemStruXplus.main(XMLIRSystemStruXplus.java:109)
                                 Java Result: 1
    Note that i used  contains-any-of() function because the contains () function does not work with  'planet revenge 1998' string may be because the keywords do not appear in the order they appear in the element content.
   Please  can any body help me to find out  (1) why i have the  above error ? and solution  (2)  why  the condition contains  ( $entity/act/movie/title ,  'planet revenge 1998') is not working ? how do i use contains() function w.r.t this
Thank you in advance
Message was edited by: RokoA 19/01/2015  by RokoA

Using the shell dbxml in both 2.5 and 6.0 I created a container and put the document example you gave into it.  Then I executed the following query:
[code]
declare namespace functx = 'http://www.functx.com';
declare function functx:contains-any-of ( $arg as xs:string?, $searchStrings as xs:string* )  as xs:boolean {
some $searchString in $searchStrings
satisfies contains($arg,$searchString)
for $entity in collection('simpleExampleData2.dbxml')//filmography
where functx:contains-any-of ( $entity/act/movie/title ,  ('planet', 'revenge', '1998'))
return $entity
[/code]
And got the results you expected instead of an error.
Since you are using the Java API it is possible the problem is in how you configured and executed the query, instead of in the query itself.  If you could post an example program or code section that produces the error, then I can continue you help you with this.
Lauren Foutz

Similar Messages

  • Sequence does not match type document()

    Hi all,
    I am having a problem with building a query - maybe one of you can point out my mistake!
    First of all I have a sequence of nodes in the variable '$__mpqfEngineVar_13' which are built in a FLWOR using the following construct:
    <engine:document ID='{'NoID'}' recordNumber='{0.0}' Rank='{0.0}' Score='{$__mpqfEngineVar_8}'>{$__mpqfEngineVar_1}</engine:document>
    I am trying to filter out those which have a specific value in a descendant node (actually present inside the tree $__mpqfEngineVar_1 from above):
    $__mpqfEngineVar_15 := ($__mpqfEngineVar_13[/mpeg7:FamilyName = $__mpqfEngineVar_14])
    However I get the following error message:
    Sequence does not match type document() - found item of type element({urn:dimis:mpqfQueryEngine:schema:2009}document, {http://www.w3.org/2001/XMLSchema}untyped)
    If I use the following relative path instead (which is not an option since the path is user define) it actually works (notice the '*')....
    *//mpeg7:FamilyName
    Any ideas what I am doing wrong? Honestly I can't really see the semantic difference..
    Thanks for your help,
    Alex

    Hi Alex,
    The expression "//mpeg7:FamilyName" is an abbreviated XQuery step that expands to this:
    root() treat as document-node()/descendant-or-self::node()/mpeg7:FamilyNameThis shows you why you're getting an error about the root node not being a document node.
    I expect that the expression you really want is ".//mpeg7:FamilyName" - the "." prefix makes it a relative path rather than an absolute path.
    John

  • Error: Literal does not match format string

    Can anyone help me with the query below. I am trying to insert CMPGN_ID, PGM_KEY, CMPGN_BEGIN_DT into TEMP.
    I get an error 'Literal does not match format string' for 'SELECT to_char(add_months(SYSDATE,-1),'YYYYMM') from dual'
    CMPGN_BEGIN_DT has a data type of DATE.
    INSERT INTO TEMP (CMPGN_ID, PGM_KEY, CMPGN_BEGIN_DT)
    VALUES(
    ('NCR_'|| (select to_char(add_months(SYSDATE,-1),'YYYYMM') from dual)),
    (SELECT PGM_KEY FROM PROGRAM WHERE PGM_NAME = 'NCR'),
    (SELECT to_char(add_months(SYSDATE,-1),'YYYYMM') from dual)
    Thanks

    INSERT INTO TEMP (CMPGN_ID, PGM_KEY, CMPGN_BEGIN_DT)
    SELECT 'NCR_'|| to_char(add_months(SYSDATE,-1),'YYYYMM'),
         PGM_KEY,
         to_char(add_months(SYSDATE,-1),'YYYYMM')
    FROM PROGRAM
    WHERE PGM_NAME = 'NCR';Datatypes are unclear, may need datatype casting with date column, but otherwise the above should work.
    Thx,
    SriDHAR

  • ERROR ITMS-9000: "File given does not match type JPEG ... Image is likely corrupt

    Hi ALl,
    On compliing my book  get these errors with ITunes producer...I've resaved the files out with photoshop and they seems fine?
    Package Summary:
    1 package(s) were not uploaded because they had problems:
              /Users/Umran/Music/iTunes Producer/Playlists/9780957408654.itmsp - Error Messages:
                        Apple's web service operation was not successful
                        Unable to authenticate the package: 9780957408654.itmsp
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@1cf629f[userString=An unknown error occured while parsing. Image is likely corrupt.  Exception message: null]" at Book (MZItmspBookPackage)
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@1801285[userString=We reached the end of the file before we expected. Image is likely corrupt]" at Book (MZItmspBookPackage)
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@1e056e9[userString=We reached the end of the file before we expected. Image is likely corrupt]" at Book (MZItmspBookPackage)
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@11d58e0[userString=We reached the end of the file before we expected. Image is likely corrupt]" at Book (MZItmspBookPackage)
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@127c00e[userString=We reached the end of the file before we expected. Image is likely corrupt]" at Book (MZItmspBookPackage)
                        ERROR ITMS-5107: "VirtualLandscapesTheModernEra20002012.epub: Fixed-layout books must supply a text or bodymatter starting location in the guide." at Book (MZItmspBookPackage)
    Any advice??? Hope someone can help!

    iBookstore Publisher Support send me a fast response email which included some helpful info:
    Please make sure that all image files inside the ePub end with one of the following: ".tif", ".jpg", or ".png" and that the file itself matches the file extension type. To check if the image file matches the file extension type, please right click on the image then select "Get Info". Once the info tab appears, please make sure that the file extension type of the image file matches the "Kind" found under "General".
    For further information regarding embedded images, please refer to the iBookstore Asset Guide, which is available for download in the Deliver Your Content module in iTunes Connect.
    And they INCLUDED THE TRANSPORTER LOG (!), the log generated by iTunes Producer as it tries to upload a book. We were able to search for the Validation Error # within the log and find out which image Producer was trying to upload when it encountered an error. Turns out the problem was a corrupted screenshot jpeg.
    Grateful!

  • ERROR ITMS-9000 "File given does not match type JPEG....

    I'm trying to upload our iBook. I first did an export outside of publish, then did publish and reloaded everything under the .itmsp file publish created. About 10 minutes into the upload, I received a message that read:
    1 Apple's web service operation was not successful.
    2 Unable to authenticate the package ISBN#...:itmsp
    3: ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@387eb9b2[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    4 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@6bad662[userString=Thi s file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    5 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@450fcee3[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    6 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@69c736ea[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    7 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@15e672e7[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    8 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@4c812a6ec[userString=T his file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    9ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@54180fd6[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    Any suggestions would be greatly appreciated.

    I had done screen shots on the iPad and then emailed them to my Mac. I then worked to cut the black bar off the top, but some how Photoshop wasn't saving them correctly. I couldn't even reopen them in PS. So, I downloaded them again, went back in, saved them as .jpegs and then reuploaded.  That solved it.  It was quite bizarre. 
    Now trying to get the description listing right in the iBookstore.
    I wrote the piece out, I thought in TextEdit.  Then pasted it into the box in iTunesProducer. When I was getting the error message above, it also was saying that there's a 4,000-character limit. So, I copied it into Pages and did a character count and saw 3,887.  I still had to cut about 500 chactacters out.  Support responded and said I was still very close to the limit, so I don't know what it was they were counting. My Pages counter said it was close to 3,300....
    My problem now is that they have bullet points on lines with no text now.  They've fixed it from how it was first diplaying.  So, I'm trying to get that cleaned up.  It's their fault, but it looks like me, the publisher, is the one who is clueless......
    Here's the link to our iBook!
    http://itunes.apple.com/us/book/2012-science-prophecy-ancient/id555557425?mt=11

  • Error : Contract does not match customer and item information[OSCI.ManufSN]

    I need to add Service Call from Service Contract through DIAPI. "Mfr. Serial no" is set as  "Unique serial no by" in system general settings.
    Creating two Customer Equipment Card from the cfl provided on Service Contract in Item Tab and Internal serial is blank in created Cutomer Equipment Card.
    One is terminated and other is active have the same ItemCode but different customers then while adding Service Contract I am paraller generating service call through DIAPI but the system is throughing error - "Contract does not match customer and item information [OSCL.IntrnalSN]"
    Thanks
    deepak gaur

    HI,
    Service Contract can be for a specific customer
    The contract type cound be (Coverage):
    1. including all items (Type Customer) in this case the dates of the coverage is defined in the head!
    2. Including specific serial numbers
    3. Including item groups
    The status every case should have to be Enabled/Approved  for valid contract (OCRT.Status = 'A').
    In case of Do not forget to set the valid from and valid to dates to define in the system the coverage. (header and items tab from/to dates)
    Now, If you create service all, the system will use the first possible Service Contract. IF you have more: you have to select the contract manually.
    Ex:
    1. One for customer including all items
    2. One for a specific serial number
    Best Regadrs,
    János

  • Job Cancelled with an error "Data does not match the job def: Job terminat"

    Dear Friends,
    The following job is with respect to an inbound interface that transfers data into SAP.
    The file mist.txt is picked from the /FI/in directory of the application server and is moved to the /FI/work directory of application server for processing. Once the program ends up without any error, the file is moved to /FI/archive directory.
    The below are the steps listed in job log, no spool is generated for this job and it ended up with an error "Data does not match the job definition; job terminated".Please see below for more info.
    1.Job   Started                                                                               
    2.Step 001 started (program Y_SAP_FI_POST, variant MIST, user ID K364646)                           
    3.File mist.txt copied from /data/sap/ARD/interface/FI/in/ to /data/sap/ARD/interface/FI/work/.
    4.File mist.txt deleted from /data/sap/ARD/interface/FI/in/.                                   
    5.File mist.txt read from /data/sap/ARD/interface/FI/work/.                                    
    6.PD-DKLY-Y_SAP_FI_POST: This job was started periodically or directly from SM36/SM37 (Message Class: BD, Message Number : 076)  
    7.Job PD-DKLY-Y_SAP_FI_POST: Data does not match the job definition; job terminated (Message Class : BD, Message No. 078)    
    8.Job cancelled after system exception
    ERROR_MESSAGE                                                
    Could you please analyse and come up about under what circumstance the above error is reported.
    As well I heard that because of the customization issues in T.Code BMV0, the above error has raised. 
    Also please note that we can define as well schedule jobs from the above transaction and the corresponding data is stored in the table TBICU
    My Trials
    1. Tested uplaoding an empty file
    2. Tested uploading with wrong data
    3. Tested uploading with improper data that has false file structue
    But failed to simulate the above scenario.
    Clarification Required
    Assume that I have defined a job using BMV0. Is that mandatory to use the same job in SM37/SM36 for scheduling?
    Is the above question valid?
    Edited by: dharmendra gali on Jan 28, 2008 6:06 AM

    Dear Friends,
    _Urgent : Please work on this ASAP _
    The following job is with respect to an inbound interface that transfers data into SAP.
    The file mist.txt is picked from the /FI/in directory of the application server and is moved to the /FI/work directory of application server for processing. Once the program ends up without any error, the file is moved to /FI/archive directory.
    The below are the steps listed in job log, no spool is generated for this job and it ended up with an error "Data does not match the job definition; job terminated".Please see below for more info.
    1.Job Started
    2.Step 001 started (program Y_SAP_FI_POST, variant MIST, user ID K364646)
    3.File mist.txt copied from /data/sap/ARD/interface/FI/in/ to /data/sap/ARD/interface/FI/work/.
    4.File mist.txt deleted from /data/sap/ARD/interface/FI/in/.
    5.File mist.txt read from /data/sap/ARD/interface/FI/work/.
    6.PD-DKLY-Y_SAP_FI_POST: This job was started periodically or directly from SM36/SM37 (Message Class: BD, Message Number : 076)
    7.Job PD-DKLY-Y_SAP_FI_POST: Data does not match the job definition; job terminated (Message Class : BD, Message No. 078)
    8.Job cancelled after system exception
    ERROR_MESSAGE
    Could you please analyse and come up about under what circumstance the above error is reported.
    As well I heard that because of the customization issues in T.Code BMV0, the above error has raised.
    Also please note that we can define as well schedule jobs from the above transaction and the corresponding data is stored in the table TBICU
    My Trials
    1. Tested uplaoding an empty file
    2. Tested uploading with wrong data
    3. Tested uploading with improper data that has false file structue
    But failed to simulate the above scenario.
    Clarification Required
    Assume that I have defined a job using BMV0. Is that mandatory to use the same job in SM37/SM36 for scheduling?
    Is the above question valid?

  • SQL query error - Literal does not match format string

    Hi All,
    When I am removing these code form query then it is running fine else it is giving error of "Literal does not match format string."
    AND trunc((SYSDATE)) > DECODE(fifs.id_flex_structure_name, 'XXX Service Agreement', trunc(TO_DATE
    (pac.segment3, 'YYYY/MM/DD HH24:MI:SS')),trunc(SYSDATE) )
    Regards,
    Ajay

    Ajay Sharma wrote:
    It is flexfield segment so it can contain anything. For my query it is returning date.....Oh dear. Two really bad design decisions in one, there - storing dates as varchar2 and storing more than one type of data in one column. I suggest you read this: http://www.simple-talk.com/opinion/opinion-pieces/bad-carma/ in order to see just why that might be a bad design.
    If you have any influence at all over the way your tables/app is designed, then I would highly recommend changing the design, as it will save you countless headaches like the one you've currently got.
    If you are absolutely stuck with that design, then a) poor you and b) you'll have to add in some filters onto your queryto make sure you're only selecting rows with dates in that column.

  • Background Job cancelling with error Data does not match the job definition

    Dear Team,
    Background Job is getting cancelled when I run a Job on periodically but the same Job is executing perfectly when I run it manually(repeat scheduling) .
    Let me describe the problem clearly.
    We have a program which picks up files from an FTP server and posts the documents into SAP. We are scheduling this program as a background Job daily. This Job is running perfectly if the files contain no data. But if the file contains data the JOb is getting cancelled with the following messages.
    And also the same Job is getting executed perfectly when repeat scheduling is done ( even for files with data).
    Time     Message text                                                                       Message class Message no. Message type
    03:46:08 Job PREPAID_OCT_APPS2_11: Data does not match the job definition; job terminated        BD           078          E
    03:46:08 Job cancelled after system exception ERROR_MESSAGE                                      00           564          A
    Please help me in resolving this issue.
    Thanks in advance,
    Sai.

    hi,
    If you have any GUI function modules used in the program of job
    you cannot run it in background mode.

  • Error ITMS-9000 "File given does not match type: PNG image"

    Has anyone been able to solve this problem. All my images are PNG format. I am not sure if there is a problem with the cover or the body. This error was produced in iTunes Producer. Appreciate any help.
    Thanks. K

    My iTunes Producer is also churning out an error message:
    ERROR ITMS-9000: "Image color space 'CMYK' is not supported in image file '_cover.jpg'" at Book (MZItms
    How do i go about this?
    Thanks!
    alab

  • The sequence does not match with the original clip

    What I have learned about how to effectively match the sequence with original clip is by dragging the imported clip into the new item button, or right click the clip and click on "New Sequence from Clip" button. I did it exactly, however, like you can see in the image I attached, there is a black space under the clip on the sequence and the general quality of video and audio are worse than the original. Why is this happening? Please help.

    Is this what you are asking about?

  • Need help with SQL for selecting ID where the sequence does not match..

    I have the following dilemma:
    Database contains IDs as follows:
    Incident#, Case#, & Part Sequence#
    example
    Record 1
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 1
    Record 2
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 2
    Sometimes the user will delete (let's say) Record 2 after creating a new Record 3
    So now the sequencing goes as follows:
    Record 1
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 1
    Record 2
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 3
    Now there will no longer be a Part_Sequence 2
    Need a SQL to select all records where the maximum part sequence > than the count of Incident_number||'-'||Case_number
    I tried the following:
    select a.incident_number||'-'||a.case_number||'-'||a.part_sequence
    from chsuser.a_compl_summary a
    where a.entry_date >= '01-may-2011'
    and max(a.part_sequence) > count(distinct a.incident_number||'-'||a.case_number)I end up getting a ORA-00934: group function is not allowed here (highlighting on the Max(a.part_sequence) portion.
    Any suggestions/hints
    Thanks

    select  incident_number || '-' || case_number || '-' || part_sequence
      from  (
             select  incident_number,
                     case_number,
                     part_sequence,
                     max(part_sequence) over(partition by incident_number,case_number) max_seq,
                     count(*) over(partition by incident_number,case_number) cnt
               from  chsuser.a_compl_summary
               where entry_date >= DATE '2011-05-01'
      where cnt != max_seq
    /SY.

  • Exported nested sequence does not match previews

    I'm currently working on a project in which I've setup my main source video edits in to one master sequence. I have then nested this master sequence in to further sequences to be exported as highlight clips. When previewing the highlight clips within Premiere's work area and within the export tool all appears correct. Once the media file is exported however (no matter my codec choices) - the audio is correctly in sync with my edit but the video is massively out of sync. In fact what appears to be happening is that the video track is reset to the start of the parent master sequence. Now all of my nested highlight sequences export their video from the start of the master sequence. Any suggestions on how to address this would be greatly appreciated.
    Many thanks

    I'm not sure I fully understand the issue.  Perhaps some screen shots?

  • Archive sequence number from standby does not match primary

    I have two unix servers configured, one as primary and one as standby, both in 11.2.0.2. When I run the verification scripts, I noticed that my standby's archive log sequence does not match the primary.
    From standby:
    select database_role, open_mode from v$database; Result: PHYSICAL STANDBY, MOUNTED
    select max(sequence#) from v$archived_log; Result is null
    archive log list;Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /arch/standby
    Oldest online log sequence 0
    Next log sequence to archive 0
    Current log sequence 0

    Hello;
    I don't think you have Data Guard working.
    select max(sequence#) from v$archived_log; This should return a number.
    Do an alter system switch logfile; on the primary, I'm thinking the new log never makes it to your standby.
    Once you have this working consider running something like this from your Primary:
    SELECT name as STANDBY, SEQUENCE#, applied, completion_time from v$archived_log WHERE DEST_ID = 2 AND NEXT_TIME > SYSDATE -1;
    select max(sequence#) from v$archived_log where NEXT_TIME > sysdate -1;
    You can change the first query to include both the Primary and the Standby.
    Best Regards
    mseberg

  • Hash does not match expected

    In trying to distribute apps via advertisements and run advertised programs, I'm getting the errors Hash does not match expected and hash matching failed.  I'm not using binary differential replication.  The package contains source files is
    enabled, along with always obtain files from source directory. 
    This is happening on some, not all of the packages.  I've tried updating the package, but to no avail.  I've deleted the cache on the client as well, but that hasn't helped.  I can run the advertisement from the DP without any issues.
    My question is, on the hash error, can the modified date/time of a folder cause the hash error if all the files within the folder have the same modified date/time on the package source and the DP's?
    Thoughts?

    Hello -  I would like you to compare the size of packages in local DP and in the parent server ? (there could be some diff in size...may be in KBs). Also, compare the PCK file size on both the servers?
    Try to follow below steps..
    1. Remove the package and wait for some time (ensure that the package is removed from the DP). I would suggest you to remove PCK file related to that package as well.
    2. Sometimes it may happen because of some hidden files.
    Run the following on the source package
    Open up a command window in the root director that contains your package.
    Type Dir /S /A:H and hit enter.
    Type attrib -H /S.
     and refresh the package..
    3. There is a tool called HASHDIR.exe for checking the hash value...
    More details on the below thread.
    http://social.technet.microsoft.com/Forums/en-US/configmgrswdist/thread/c1f0d7f2-5bc9-4633-bc60-84a960395df9/
    Anoop C Nair - This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually
    answer your question. This can be beneficial to other community members reading the thread.

Maybe you are looking for