After job subroutine(ExecDOS) error

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
ArijitS
Participant
Posts: 24
Joined: Sat Jun 02, 2007 8:58 am
Location: Kolkata

After job subroutine(ExecDOS) error

Post by ArijitS »

I have a job:Pandora_Flexcab_BTP
While i am using ExecDOS in after job of that job adding:move /Y I:\TELSTRA_DATASOURCE_ETL\FLEXCAB\SRC\* I:\TELSTRA_DATASOURCE_ETL\FLEXCAB\PRCSD

I got an error as bellow and the job aborted:

Pandora_Flexcab_BTP..AfterJob (ExecDOS): Error when executing command: move /Y I:\TELSTRA_DATASOURCE_ETL\FLEXCAB\SRC\* I:\TELSTRA_DATASOURCE_ETL\FLEXCAB\PRCSD

*** Output from command was: ***

Though it works fine from normal dos prompt.

Access is denied.

0 file(s) moved.
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Re: After job subroutine(ExecDOS) error

Post by JoshGeorge »

User id you are using is having permission issues.
ArijitS wrote: Access is denied.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Raghumreddy
Participant
Posts: 24
Joined: Fri Aug 26, 2005 3:52 pm
Contact:

Re: After job subroutine(ExecDOS) error

Post by Raghumreddy »

Check the Drive mapping 'I:' on the Datastage Server box.

Map the drive as that is there in your box and see the user that you are running have the permissions to that location and

See the dos commands path is set correctly on your PATH variable


HTH
Raghu M
ArijitS wrote:I have a job:Pandora_Flexcab_BTP
While i am using ExecDOS in after job of that job adding:move /Y I:\TELSTRA_DATASOURCE_ETL\FLEXCAB\SRC\* I:\TELSTRA_DATASOURCE_ETL\FLEXCAB\PRCSD

I got an error as bellow and the job aborted:

Pandora_Flexcab_BTP..AfterJob (ExecDOS): Error when executing command: move /Y I:\TELSTRA_DATASOURCE_ETL\FLEXCAB\SRC\* I:\TELSTRA_DATASOURCE_ETL\FLEXCAB\PRCSD

*** Output from command was: ***

Though it works fine from normal dos prompt.

Access is denied.

0 file(s) moved.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Check the permission not only to the file but also to the parent folder.
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