IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only

'Invalid XSL format (or) file name' error running DTXSUPPORT.BAT

  • 1.  'Invalid XSL format (or) file name' error running DTXSUPPORT.BAT

    Posted 02/24/16 06:48 AM

    Originally posted by: paul.brett


    If directed by IBM Support to run the dtxsupport.bat batch script to collect support information, and you see the following:

    C:\IBM\WebSphere Transformation Extender 8.4.1>dtxsupport.bat
    Invalid XSL format (or) file name.
    The syntax of the command is incorrect.

    ...this is due to a bug in the Microsoft wmic implementation on Windows 7.

    As a workaround, change line 576 of file dtx_ui.bat from:

    for /f "skip=2 tokens=2-7 delims=," %%a in ('wmic Path Win32_LocalTime Get Day^,Hour^,Minute^,Month^,Second^,Year /Format:CSV') do (

    to

    for /f "skip=2 tokens=2-7 delims=," %%a in ('wmic Path Win32_LocalTime Get Day^,Hour^,Minute^,Month^,Second^,Year /Format:"%WINDIR%\System32\wbem\en-us\csv"') do (

    ...and then the script will work.

    Thank-you.

    Paul

    Follow me on Twitter


    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender