IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
#Supplychain
 View Only
  • 1.  Websphere FTP - alias names

    Posted 11/25/09 04:55 AM

    Originally posted by: goldeneye


    Hi,

    do any one, tried using the Websphere FTP

    Specifing the adapter commands by using a command string on the command line with the adapter alias.

    For the normal ftp adapter, to override the execution command we use as
    -OAaliascard_num

    is there anything available for the Websphere FTP.

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


  • 2.  Re: Websphere FTP - alias names

    Posted 11/25/09 06:04 AM

    Originally posted by: paul.brett


    Although not explicilty listed in the documentation, have you tried -OAWFTP1 'commands' ?

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


  • 3.  Re: Websphere FTP - alias names

    Posted 11/25/09 06:09 AM

    Originally posted by: paul.brett


    The adapters.xml file lists this adapter alias as "FTP Resource Alias", but this can be changed to WFTP, to make the above tip work.

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


  • 4.  Re: Websphere FTP - alias names

    Posted 11/25/09 09:20 AM

    Originally posted by: Dhiren.Ghelani


    Paul: should IBM be fixing this as we'd like the standard adapters to have common aliases. Can we raise a PMR?
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 5.  Re: Websphere FTP - alias names

    Posted 11/25/09 01:20 PM

    Originally posted by: paul.brett


    Yes, I agree that this should be both standardised and in line with other adapters (have no spaces).

    Please raise a PMR.

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


  • 6.  Re: Websphere FTP - alias names

    Posted 11/26/09 05:39 AM

    Originally posted by: goldeneye


    Paul,

    I tried with the options and when I try to run from a command line , it fails with the error as "Target not available" and below is the extract from the trace and the command used.

    TRACE
    =========
    <1675426-1800>: 09.54.21.484 - 11/26/2009 splitCriteria = 0
    <1675426-1800>: 09.54.21.484 - 11/26/2009 localArchivingEnabledForCreate = false
    <1675426-1800>: 09.54.21.484 - 11/26/2009 deleteOnRetrieve = false
    <1675426-1800>: 09.54.21.485 - 11/26/2009 functionName = Create
    <1675426-1800>: 09.54.21.485 - 11/26/2009 generateUniqueFile = false
    <1675426-1800>: 09.54.21.553 - 11/26/2009 JCA Tracing: Entering method.
    <1675426-1800>: 09.54.21.553 - 11/26/2009 JCA Tracing: Exiting method.
    <1675426-1800>: 09.54.22.385 - 11/26/2009 startDocument -- begin
    <1675426-1800>: 09.54.22.388 - 11/26/2009 startDocument -- rootElementURI:
    <1675426-1800>: 09.54.22.388 - 11/26/2009 startDocument -- rootElementName:
    <1675426-1800>: 09.54.24.317 - 11/26/2009 startDocument -- exception
    <1675426-1800>: 09.54.24.318 - 11/26/2009 com.ibm.websphere.dtx.dtxpi.MException: Unknown error code - This is not a valid data object #
    at com.ibm.websphere.dtx.j2ca.MAdapterImpl.startDocument(Unknown Source)
    at com.ibm.websphere.wtx.extDataHandler.jni.CoreEngineHandler.initiateOutputTraversal(Native Method)
    at com.ibm.websphere.dtx.j2ca.MAdapterImpl.initiateOutputTraversal(Unknown Source)
    at com.ibm.websphere.dtx.j2ca.MAdapterImpl.put(Unknown Source)

    <1675426-1800>: 09.54.24.319 - 11/26/2009 Error code: -1003 , Error message: Unknown error code - This is not a valid data object #
    <1675426-1800>: 09.54.24.320 - 11/26/2009 com.ibm.websphere.dtx.dtxpi.MException: Unknown error code - This is not a valid data object #
    at com.ibm.websphere.dtx.j2ca.MAdapterImpl.put(Unknown Source)

    <1675426-1800>: 09.54.24.334 - 11/26/2009 Calling End Transaction - Rollback
    <1675426-1800>: 09.54.25.464 - 11/26/2009 JCA Tracing: Entering method.
    <1675426-1800>: 09.54.25.465 - 11/26/2009 JCA Tracing: Entering method.
    <1675426-1800>: 09.54.25.468 - 11/26/2009 JCA Tracing: Notifying 1 connection listener(s) that client has closed connection handle com.ibm.j2ca.ftp.FTPFileC
    onnection@77837783
    <1675426-1800>: 09.54.25.469 - 11/26/2009 JCA Tracing: Removed connection event listener: com.ibm.j2ca.base.internal.WBIDefaultConnectionManager@44af44af
    <1675426-1800>: 09.54.25.470 - 11/26/2009 JCA Tracing: Entering method.
    <1675426-1800>: 09.54.25.470 - 11/26/2009 JCA Tracing: Entering method.
    COMMAND
    =========
    '-TV trace.mtr -is:maxRecords 100 -is:createFileIfNotExists true -is:fileInLocalDirectory false -is:splitCriteria 0 -is:localArchivingEnabledForCreate false -is:deleteOnRetrieve false -is:functionName Create -is:generateUniqueFile false -wtx:ispec com.ibm.j2ca.ftp.FTPFileInteractionSpec -wtx:record com.ibm.j2ca.ftp.record.FTPOutputStreamRecord -mcf:outputDirectory OUTPUT -mcf:userName USERNAME -mcf:filename test.txt -mcf:password PASSWORD -mcf:hostName hostname'
    Many Thanks.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 7.  Re: Websphere FTP - alias names

    Posted 11/27/09 07:04 AM

    Originally posted by: Dhiren.Ghelani


    Can you check the use of com.ibm.j2ca.ftp.record.FTPOutputStreamRecord ? Are you writing or reading a file?
    you may want to revisit the option -is:maxRecords 100
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 8.  Re: Websphere FTP - alias names

    Posted 11/25/09 09:07 AM
      |   view attached

    Originally posted by: repanzer


    Is that golden eye as in James Bond golden eye?

    Anyway, if I'm getting your question correctly and your questioning the alias's of any adapter, the documentation for each adapter shows the alias for it.

    Look at the attached pic; the documentation for any adapter has a chapter 3.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 9.  Re: Websphere FTP - alias names

    Posted 11/25/09 02:12 PM

    Originally posted by: repanzer


    I guess I don't understand the question and was hoping someone could clarify...

    Is there a "Websphere FTP" aside from the normal FTP adapter (-OAFTP1)??
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 10.  Re: Websphere FTP - alias names

    Posted 11/25/09 03:39 PM

    Originally posted by: Dhiren.Ghelani


    Paul: Thanks. PMR on the way!
    repanzer: Yes, the FTP adapter is deprecated and we have a new Websphere FTP adapter in TX 8.2
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange