Hi All
I am facing problem while executing command through Execute command Stage,
Actually am trying to execute the one script through Execute command Stage,
If i give the absolute path of the command then the command triggered properly,
(csh test/test1.csh)
But the same time if am executing through Parameter values it is not triggered,
(csh #DIRNMAE#/#FILENAME#)
But it shows command execute successfully in the data Stage director
Please advice me to solve this issue
Regards
Raj
Problem with Execute Command Satge
Moderators: chulett, rschirm, roy
#DIRNMAE#?
What exact 7.x version do you have? Before 7.5.x there are known issues where parameters are properly expanded in the job's log but the actual command run leaves in the parameter names and hashes.
For example, you put "csh #DIRNAME#/#FILENAME#" in the stage and it logs the fact that it ran "csh test/test1.csh" - when in actuality it ran it exactly as it looks in the stage.
Also, make sure you put "csh" in the Command box and "#DIRNAME#/#FILENAME#" in the Parameter box.
What exact 7.x version do you have? Before 7.5.x there are known issues where parameters are properly expanded in the job's log but the actual command run leaves in the parameter names and hashes.
For example, you put "csh #DIRNAME#/#FILENAME#" in the stage and it logs the fact that it ran "csh test/test1.csh" - when in actuality it ran it exactly as it looks in the stage.
Also, make sure you put "csh" in the Command box and "#DIRNAME#/#FILENAME#" in the Parameter box.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Upgrade. There's only a couple of 'work arounds' in that version - either stop using parameters and hard-code everything or replace the Execute Command stage with a Routine Activity stage that executes the command using DSExecute. You'll have full control over the parameters there.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers