Page 1 of 1

After job subroutine(ExecDOS) error

Posted: Tue Sep 18, 2007 7:37 am
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.

Re: After job subroutine(ExecDOS) error

Posted: Tue Sep 18, 2007 8:16 am
by JoshGeorge
User id you are using is having permission issues.
ArijitS wrote: Access is denied.

Re: After job subroutine(ExecDOS) error

Posted: Tue Sep 18, 2007 8:44 am
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.

Posted: Tue Sep 18, 2007 4:30 pm
by ray.wurlod
Check the permission not only to the file but also to the parent folder.