Folder stage problem

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
kaushal.kumar@igate.com
Participant
Posts: 77
Joined: Tue Apr 14, 2009 4:03 am

Folder stage problem

Post by kaushal.kumar@igate.com »

Hi mj jobs get abborted.
below is the error message.Please help.
DataStage Job 24 Phantom 8148
Program "DSD.DIROpen": Line 107, WRITE attempt on read-only file.
Program "DSD.DIROpen": Line 107, WRITE failure.
Attempting to Cleanup after ABORT was raised in stage FolderStage..Folder_0
DataStage Phantom Aborting with @ABORT.CODE = 3
robjones
Participant
Posts: 24
Joined: Tue Nov 18, 2008 3:12 pm
Location: London

Post by robjones »

Have you checked the permissions of the file / directory to which you're trying to write?
kaushal.kumar@igate.com
Participant
Posts: 77
Joined: Tue Apr 14, 2009 4:03 am

Post by kaushal.kumar@igate.com »

robjones wrote:Have you checked the permissions of the file / directory to which you're trying to write?
In my job i am using folder stage to read files from load directory and in output i am using sequential file.

My job is like folderstage-> transformer -> sequenti file stage.

i am facing above message and job gets aborted.Please advice
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Advice that you answer the question. That and double-check file level permissions in general.
-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 »

You can't write to the file because it is read-only to the user ID under which the job is running. That's the problem you need to fix. It's not a DataStage problem.
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