Page 1 of 1
DSjob failed with DS error code -3
Posted: Tue Dec 01, 2009 8:30 am
by Tej
can any one help in the below error pls
not abe to trigger the datastage job from script
DSjob failed with DS error code -3
Posted: Tue Dec 01, 2009 9:43 am
by chulett
Code: Select all
/* Errors generated by the DataStage server */
#define DSJE_NOERROR 0 /* No error */
#define DSJE_BADHANDLE -1 /* Invalid JobHandle. */
#define DSJE_BADSTATE -2 /* Job is not in the right state (must be compiled & not running). */
#define DSJE_BADPARAM -3 /* ParamName is not a parameter name in the job. */
#define DSJE_BADVALUE -4 /* LimitValue is not appropriate for the limiting condition type. */
#define DSJE_BADTYPE -5 /* Invalid EventType value */
#define DSJE_WRONGJOB -6 /* Job for this JobHandle was not started from a call to DSRunJob by the current process. */
#define DSJE_BADSTAGE -7 /* StageName does not refer to a known stage in the job. */
#define DSJE_NOTINSTAGE -8 /* INTERNAL TO SERVER */
#define DSJE_BADLINK -9 /* LinkName does not refer to a known link for the stage in question. */
#define DSJE_JOBLOCKED -10 /* Job is locked by another user */
#define DSJE_JOBDELETED -11 /* Job has been deleted ! */
#define DSJE_BADNAME -12 /* Job name badly formed */
#define DSJE_BADTIME -13 /* Timestamp parameter was badly formed */
#define DSJE_TIMEOUT -14 /* Given up waiting for something to happen */
#define DSJE_DECRYPTERR -15 /* Decryption of encrypted value failed */
#define DSJE_NOACCESS -16 /* Cannot get values, Default values or Design Default values
for any job except the current job (Job Handle == DSJ.ME) */
#define DSJE_NOTEMPLATE -17 /* Cannot find template file */
#define DSJE_BADTEMPLATE -18 /* Error encountered when processing template file */
#define DSJE_NOPARAM -19 /* Parameter name missing - field does not look like 'name:value' */
#define DSJE_NOFILEPATH -20 /* File path name not given */
#define DSJE_CMDERROR -21 /* Error when executing external command */
#define DSJE_BADVAR -22 /* Stage Variable name not recognised. */
#define DSJE_NONUNIQUEID -23 /* Id already exists for a job in this project.*/
#define DSJE_INVALIDID -24 /* Invalid Job Id */
#define DSJE_REPERROR -99 /* General server 'other error' */