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.  FTP temp file location

    Posted 09/22/08 11:27 AM

    Originally posted by: rarw


    Hi,

    We are using WTx Command Server 8.1.0.2 (build 38) on Solaris 10. We have several WTx installs on the same server (e.g. wsdtx_QA, wsdtx_UA, ...) and each environment uses a different location for the temporary ftp files (e.g. /opt/IBM/wsdtx_QA/tmp, /var/tmp).

    Since the temp ftp file location is different for each environment on the same server, it seems like this is a configuration relative to WTx. But, I have been unable to determine where the temp ftp file location is set.

    Thanks for your help,
    Becky
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: FTP temp file location

    Posted 09/23/08 10:00 AM

    Originally posted by: rarw


    Re-stating the question:

    Does anyone know where, or how, the temporary ftp file location is set for the WTx FTP adapter?

    We run our maps via a script that runs the envSetup code prior to executing the map. Is the FTP adapter using the DTX_HOME_DIR to set the temp ftp file location?

    Our FTPs fail with large files because the file system be used (/var/tmp) for the temp ftp file location is too small. We need to set the location to a different area - but do not know how to do it.

    Any ideas?

    Thanks fo ryour help.
    Becky
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 3.  Re: FTP temp file location

    Posted 10/22/08 12:15 PM

    Originally posted by: rarw


    Hi,

    I am answering my own question, which includes info from IBM WTx support out of Florida.

    For Solaris 10, if the temporary directory for ftp files is not specified in the environment variables, the default is /var/tmp/. (Info via web pages).

    The WTx envsetup script for WTx 8.1.0.2 (build 38) sets an environment variable to specify the temporary directory for ftp files (DTX_TMP_DIR). The deprecated MERC_TMP_DIR is also set in the envsetup script. A bug was found - the deprecated MERC_TMP_DIR env variable is actually being used in the command server, instead of the DTX_TMP_DIR env variable. This would not normally cause a problem, but due to the script that we use to fire off our maps, it did.

    We had a problem because we pasted the envsetup code in our script that runs the maps, but we did not copy in the deprecated code that contains the MERC_TMP_DIR variable. Thus for our situation, the temporary directory for ftp files was not being set (because command server (8.1.0.2 (build 38))uses MERC_TMP_DIR, and thus the default for Solaris (/var/tmp) was used). This caused a problem because we did not have enough space associated with /var/tmp.

    We have resolved our problem by sourcing the envsetup code instead of pasting it into our script. The temporary directory for ftp files is now set to /opt/IBM/<wtx_install dir>/tmp/. (You could also edit the envsetup code if you wanted to specify a different directory.)

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