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