Capture files in UVtemp

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
jzparad
Charter Member
Charter Member
Posts: 151
Joined: Thu Apr 01, 2004 9:37 pm

Capture files in UVtemp

Post by jzparad »

Has anyone come across this error while trying to delete a capture file (i.e capturexxxx in UVtemp)?

Code: Select all

Cannot delete capture...: There has been a sharing violation
The source or destination file may be in use.
This happens even with all the DS server processes shut down (i.e. DSEngine, DSTelnet and DSRPC). I've looked at the process list and I cannot see any other process that looks like a DS process.

I think this is probably more an OS question than a DataStage question but if anyone knows how to release a lock on a file (in Windows 2000), any information would be very much appreciated.

Thanks in advance.
Jim Paradies
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Capture files are created by the execute command with a capturing filename option. The filename is being written to while you are trying to delete it. You can do this on UNIX versions. If the command has a lot of output then this file can be quite large. The output is what would of normally went to stdout or normally the screen.
Mamu Kim
Post Reply