UNIX just resetting the job
Posted: Thu Dec 06, 2007 12:16 am
Hello,
I am trying to run a datastage job in UNIX command line but when executed instead of running the job it just resets it. I already tried compiling the job then re run but it still resets the job. It shows this error:
Status code = -2 DSJE_BADSTATE
Invalid arguments: dsjob -run
[-mode <NORMAL | RESET | VALIDATE>]
[-param <name>=<value>]
[-warn <n>]
[-rows <n>]
[-wait]
[-opmetadata <TRUE | FALSE>]
[-disableprjhandler]
[-disablejobhandler]
[-jobstatus]
[-userstatus]
[-local]
[-useid]
<project> <job|jobid>
The command I used in running calls a UNIX script which provides all the parameters needed by the job. This script is used on other datastage jobs as well with no problem.
I am trying to run a datastage job in UNIX command line but when executed instead of running the job it just resets it. I already tried compiling the job then re run but it still resets the job. It shows this error:
Status code = -2 DSJE_BADSTATE
Invalid arguments: dsjob -run
[-mode <NORMAL | RESET | VALIDATE>]
[-param <name>=<value>]
[-warn <n>]
[-rows <n>]
[-wait]
[-opmetadata <TRUE | FALSE>]
[-disableprjhandler]
[-disablejobhandler]
[-jobstatus]
[-userstatus]
[-local]
[-useid]
<project> <job|jobid>
The command I used in running calls a UNIX script which provides all the parameters needed by the job. This script is used on other datastage jobs as well with no problem.