Page 1 of 1

cannot create file ... DSBackup

Posted: Thu Feb 25, 2010 10:17 am
by basiltarun
Hello,

I am using Datastage 7.1 (Unix) and one of the jobs fails with this error:

DSD.UVOpen mkdbfile: cannot create file /data/dstage/hash/DSBackup

Did anyone experienced this? The job is using the same hash file as both lookup/reference and output, the flag for 'Backup existent file' is set on the hash file stage.

The hash file is created/populated before by another previous job that unloads data from a database table. At the begining of the batch, all the hash files are being removed (rm -r)

Thank you,
T.

Posted: Thu Feb 25, 2010 10:23 am
by chulett
It will create the DSBackup directory automatically, so it's not like you have to pre-create it or anything. Make sure that you have the permissions that you would need to create/write to that directory and to overwrite any current backup copy that might already be there.

Posted: Thu Feb 25, 2010 10:29 am
by basiltarun
chulett wrote:It will create the DSBackup directory automatically, so it's not like you have to pre-create it or anything. Make sure that you have the permissions that you would need to create/write to that directory and to overwrite any current backup copy that might already be there.
Thanks craig, permissions are there, this issue does not show up at every run and pretty hard to reproduce. DSBackup directory is there, with other files. Is this is a known bug?

Posted: Thu Feb 25, 2010 10:35 am
by chulett
No clue, you'd have to ask IBM how known it is, 7.1 is pretty darn old now and I don't recall what all didn't work properly there. :wink:

Do you really need to delete it each time? Perhaps just clearing it would help. Unfortunately, you're going to need to nail down what the failed runs have in common or what is different about them from the ones where everything works and it sounds like that could be a bit of a problem for you. I'd ping your official support provider first in your shoes, then start burning brain cells if they can't help.