DS_TEMP Deletes

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Novak
Participant
Posts: 97
Joined: Mon May 21, 2007 10:08 pm
Location: Australia

DS_TEMP Deletes

Post by Novak »

Hi,

In our project folders (few environments as well) there is over 3000 of DS_TEMP folders.

For the pursposes of testing I deleted few of these belonging to the different jobs and noticed that it does not affect them.

Would it be to risky if I was to delete every DS_TEMP folder? What exactly is its purpose?

Regards,

Novak
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Don't delete anything in project directories from UNIX. You have now ensured that next time any of the jobs are compiled where you have deleted the temporary directories you will get fatal errors. Most likely you will have to backup the jobs in question, delete them in DS and then re-import them before they can be used.

Don't delete anthing in project directories from UNIX.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Let me add a little something. Don't delete anything in project directories from UNIX unless you know for a fact that it doesn't belong there. I will periodically clear out stray hashed and flat files from the Project, typically created when developers use the default hashed filename of its input link or when they don't path a flat file. So a hashed file name "DSLink47" is fair game but "DS_" anything? Forget about it.

When in doubt, leave alone.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DS_TEMPnnn is used when designing job number nnn to hold temporary saves (for example when you click OK to close a Transformer stage) and prototype records for the RT_CONFIGnnn file which will be moved there when the job is compiled.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Novak
Participant
Posts: 97
Joined: Mon May 21, 2007 10:08 pm
Location: Australia

Post by Novak »

Thanks guys.

I would like to add a bit more for those that might be interested.
On a Windows platform, deleting a DS_TEMPnnn folder will not affect the consequent runs of the jobs. But at the point you wish to re-compile the same job, you will regret deleting the folder.

Regards,

Novak
Novak
Participant
Posts: 97
Joined: Mon May 21, 2007 10:08 pm
Location: Australia

Post by Novak »

Thanks guys.

I would like to add a bit more for those that might be interested.
On a Windows platform, deleting a DS_TEMPnnn folder will not affect the consequent runs of the jobs. But at the point you wish to re-compile the same job, you will regret deleting the folder.

Regards,

Novak
Post Reply