Below is the Syntax I am using within the shell -
Code: Select all
DSCMD=/opt/IBM/InformationServer/Server/DSEngine/bin/dsjob
$DSCMD -run -wait -param <Parameters> <ProjectName> <Jobname>
Below is message from the Shell output -
Code: Select all
./ScriptName.ksh: line 52: Waiting: command not found
Additional Info - I have checked in $DSHOME/bin path using the command dsjob -h and it doesn't show -wait option there but when I try this by writting an incomplete command like dsjob -run, it shows the dsjob syntax which includes -wait option.