Import Failed

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
edward_m
Charter Member
Charter Member
Posts: 257
Joined: Fri Jun 24, 2005 9:34 am
Location: Philadelphia,PA

Import Failed

Post by edward_m »

ALL,

When i try to import jobs into newly created project but i am getting the following error.
Error while creating job hshOnCallList
Error writing record \\NextNumber to file DS_JOBS - error number is 40019
Error on CREATE.FILE command (User does not have WRITE permissions to current directory.)

Could anybody guide me whats the cause for the error.

Thanks in advance..
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You mean other than this - "User does not have WRITE permissions to current directory"? :?

Your newly created project directory is not writable by the importing user, it would seem.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ashwin141
Participant
Posts: 95
Joined: Wed Aug 24, 2005 2:26 am
Location: London, UK

Import Failed

Post by ashwin141 »

Hi

Check the Write access to the particular project.
Also check if its a protected project.

Regards
Ashwin
edward_m
Charter Member
Charter Member
Posts: 257
Joined: Fri Jun 24, 2005 9:34 am
Location: Philadelphia,PA

Post by edward_m »

Problem resolved when we unprotect the project (its projected project).
Thanks for all responses.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You shouldn't have to unprotect the project to do the import - as long as you are using your 'administration' user (typically dsadm) it should import just fine. You might want to try one job that way.

Or, as you've found, you can unprotect the project. But that's kind of like dropping the shields around the entire ship just to bring in the shuttlecraft. Dangerous. :wink:

What 7.x version do you have? From from I recall, early versions had 'import into protected project' issues which was corrected in later versions.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply