Page 1 of 1

FTP stage writes to /tmp, how to change this directory?

Posted: Thu Oct 15, 2015 9:35 am
by MrBlack
I've noticed that the parallel FTP stage will write the file temporarily to

Code: Select all

/tmp

on my server. I want to change this be a different directory:

Code: Select all

/scratch
Is this possible, where do I specify to tell datastage where to write these files?

In the project environment variables, I found the

Code: Select all

TMPDIR

variable and set that value, recompiled, and ran the job but no change in behavior.

Posted: Thu Oct 15, 2015 10:02 am
by PaulVL
TMPDIR when left blank will default to /tmp.

There are also setting in uvconfig file in DSHOME that have /tmp settings as default.

without seeing the temp files filenames it's hard to say which aspect of the tool is writing to it.

Posted: Thu Oct 15, 2015 1:28 pm
by qt_ky
There is also at least one place in WAS that defaults to /tmp but it shouldn't have anything to do with running a job having the FTP stage.

Posted: Sun Oct 18, 2015 4:05 pm
by ray.wurlod
Check the value of the TEMP environment variable.