Page 1 of 1

not able to write to flat file

Posted: Fri Sep 07, 2007 1:01 am
by Xpert
Hi all,

My target is sequential file stage, i am trying to load some data but its giving the below error message. Please someone knows help me. Thanks in Advance.

"CAS_ETL_DESIGN_MAP10a_New..FFHeader.LnkHeader: ds_seqopen() - error in 'open()' - Permission denied"


The job was running fine till yesterday. Other jobs also have target as flat file and those jobs are running fine. And also i am creating the flat files in the same folder for all the jobs only this job is giving this above said error message.

Posted: Fri Sep 07, 2007 1:28 am
by WoMaWil
check the right on this directory and file. Maybe that DataStage has no right to write into that file.

The User you open datastage with and the user which is used in DataStage might not be the same.

Ask your operating System collegues (UNIX/WINDOW...) for help.

Posted: Fri Sep 07, 2007 1:33 am
by ray.wurlod
Check also whether the file already exists but is (a) owned by someone else and (b) their permissions don't allow your job to overwrite it. Check, too, that you still have write permission to the parent directory. Finally, make sure that all users in the project are in a common group and have a umask setting of 002.

Posted: Fri Sep 07, 2007 2:51 am
by Xpert
Hi,

I didnt do anything now, but its working fine now. Can someone tell me, what is happening? I am not able to get any idea about this. Thanks for your replies.

Posted: Fri Sep 07, 2007 5:30 am
by ray.wurlod
No idea. Tell us what changed before and after this behaviour. Ask your colleagues, as forcefully as necessary.

Posted: Fri Sep 07, 2007 8:56 am
by DeepakCorning
May the process related to the job were not killed properly and it was still locked. Now that you waited for some time it would have timed out and u wud have gained access to the same.

Posted: Fri Sep 07, 2007 3:44 pm
by ray.wurlod
Not that. A lock problem would not emit a "permission denied" error.