Execute Command stage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Javieregh
Participant
Posts: 25
Joined: Mon Apr 16, 2007 10:35 am
Location: JavierGH

Post by Javieregh »

Javieregh wrote:
chulett wrote:You have no idea and the pushd/popd mask things. Why not comment out the "@echo off" for now and see what it logs? ...
I put the @echo off in comment and it didn't work, I am obtaining this when I run log:

The dslog is:
Output from command ====>
C:\DSProjects\DEVL_DM>
(this one is the Datastage directory)

and I'm expecting to be in this directory "\filedev\XXX\XXX\ISB\Standing\ETLDataFiles\Test1"

I'm using in Execute Command stage and my parameters are:
Command: START
Parameters: #seq_path# #APORIProcessDeleteFile#
#seq_path# = \\filedev\ETLDataFiles\Devl\DM\XXX\Test1\
#APORIProcessDeleteFile# = deletefile.bat

Do you have any script or any suggestion to change directories.

Thank you for your help
I put in comments pushd / popd and log says:
Starting Job delete_filesv2.
seqpath = \ \ filedev \ ITM \ Units \ ISB \ Standing \ ETLDataFiles \ Devl \ DM \ aporie \ test1
APORIProcessDeleteFile = deleteFiles.bat
Consultant in DTS
Post Reply