Hi,
I am running 100+ instances of a Multi-Instance Sequence job. When I need to reset the aborted jobs , one way to reset them manually one by one via Director. But its a very slow process.
Is there any command line option available to reset the jobs via command line?
Thanks,
Sjordery.
Resetting Jobs From Command Prompt
Moderators: chulett, rschirm, roy
Hi,
/opt/IBM/InformationServer/Server/DSEngine/bin/dsjob run -mode RESET Project_P1 Test_job1
Upon executing the above command to reset the job Test_job1, I am getting below error.
Invalid/unknown primary command switch.
Command Syntax:
dsjob [-file <file> <domain> <DataStage server> | -domain <domain> -user <user> -password <password> -server <DataStage server>]
<primary command> [<arguments>]
Valid primary command options are:
-run
-stop
-lprojects
-ljobs
-linvocations
-lstages
-llinks
-projectinfo
-jobinfo
-stageinfo
-linkinfo
-lparams
-paraminfo
-log
-logsum
-logdetail
-lognewest
-report
-jobid
-import
Could anyone please send me the right syntax?
Regards,
Sjordery.
/opt/IBM/InformationServer/Server/DSEngine/bin/dsjob run -mode RESET Project_P1 Test_job1
Upon executing the above command to reset the job Test_job1, I am getting below error.
Invalid/unknown primary command switch.
Command Syntax:
dsjob [-file <file> <domain> <DataStage server> | -domain <domain> -user <user> -password <password> -server <DataStage server>]
<primary command> [<arguments>]
Valid primary command options are:
-run
-stop
-lprojects
-ljobs
-linvocations
-lstages
-llinks
-projectinfo
-jobinfo
-stageinfo
-linkinfo
-lparams
-paraminfo
-log
-logsum
-logdetail
-lognewest
-report
-jobid
-import
Could anyone please send me the right syntax?
Regards,
Sjordery.
i believe it should be:
Code: Select all
/opt/IBM/InformationServer/Server/DSEngine/bin/dsjob -run -mode RESET Project_P1 Test_job1
pandeeswaran