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

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
MrBlack
Participant
Posts: 125
Joined: Wed Aug 08, 2012 8:57 am

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

Post 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.
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post 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.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post 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.
Choose a job you love, and you will never have to work a day in your life. - Confucius
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Check the value of the TEMP environment variable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply