WriteHash() - Write failed for record id 'CHER'

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
padmalavanya
Participant
Posts: 9
Joined: Tue Nov 07, 2006 4:36 pm

WriteHash() - Write failed for record id 'CHER'

Post by padmalavanya »

The job runs every day but fails once in week with this error

WriteHash() - Write failed for record id 'CHER'

From previous run
DataStage Job 788 Phantom 230
Program "DSD.UVClose": Line 56, WRITE attempt on read-only file.


please help with this

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

Post by ArndW »

If it is the same file and the same record and the same user then I'd see if the hashed file might be broken at that address. Try a "RESIZE filename * * *" from the DataStage command line when the file isn't being used and see if the error subsequently goes away. If the RESIZE shows problems, then you would need to do a UVFIXFILE.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The error message indicates that you (the user name under which connection is made) do not have write permission to the hashed file.
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