Hey,
I am trying to run a DS job from command line using Dsjob and the job status code i know are generally '1' for success and '3' for Abort. Could anyone guide me what are the other status codes that can be found and their values like status code for '2','4' etc.....
Thanks in Advance.
Dsjob run Status Code
Moderators: chulett, rschirm, roy
Dsjob run Status Code
Every person you meet knows something you don't, Learn from them.
-- H. Jackson Brown
-- H. Jackson Brown
They can be found in the dsapi.h file under $DSHOME/include:
Code: Select all
/* 'jobStatus' values... */
#define DSJS_RUNNING 0 /* Job running */
#define DSJS_RUNOK 1 /* Job finished a normal run with no warnings */
#define DSJS_RUNWARN 2 /* Job finished a normal run with warnings */
#define DSJS_RUNFAILED 3 /* Job finished a normal run with a fatal error */
#define DSJS_VALOK 11 /* Job finished a validation run with no warnings */
#define DSJS_VALWARN 12 /* Job finished a validation run with warnings */
#define DSJS_VALFAILED 13 /* Job failed a validation run */
#define DSJS_RESET 21 /* Job finished a reset run */
#define DSJS_CRASHED 96 /* Job was stopped by some indeterminate action */
#define DSJS_STOPPED 97 /* Job was stopped by operator intervention (can't tell run type) */
#define DSJS_NOTRUNNABLE 98 /* Job has not been compiled */
#define DSJS_NOTRUNNING 99 /* Any other status */
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers