Question on DSAPI.h
Posted: Fri Oct 14, 2011 11:12 am
Hi,
We are staring to create some extrrenal C++ jobs for auditing purposes but have recently noticed a discrepancy between our DSAPI.h file and what was listed in the documnetation. Specifically the structure _DSJOBINFO,
We are running version 8.0.1 FP3 and the create date on the DSAPI.h is Thursday, January 07, 2010, 4:30:45 PM.
The header that came with our install has:
typedef struct _DSJOBINFO
{
int infoType; /* Key indicating type of information */
union
{
int jobStatus; /* Current status of job */
char *jobController; /* Name of controlling job */
time_t jobStartTime; /* Date and time when job started */
int jobWaveNumber; /* Wave number of current or last run */
char *userStatus; /* Last set user status */
char *stageList; /* List of stage names in job */
char *paramList; /* List of job parameter names */
char *jobName; /* Name of this job */
int jobControl; /* Current job control status */
int jobPid; /* Job process id */
time_t jobLastTime; /* Date and time when job finished */
char *jobInvocations; /* List of job invocation ids */
int jobInterimStatus; /* Interim status of job */
char *jobInvocationId; /* Job invocation id */
char *jobDesc;
char *stageList2;
char *jobElapsed;
int jobDMIService ; /* Job is a DMI (aka WEB) service */
int jobMultiInvokable ; /* Job can be multiply invoked */
char * jobFullDesc ; /* Full job description */
int jobRestartable ; /* Job is restartable */
} info; /* Information value */
} DSJOBINFO;
The document has it listed as(Parallel job Advanced Developers Guide)
typedef struct _DSJOBINFO
{
int infoType;
union
{
int jobStatus;
char *jobController;
time_t jobStartTime;
int jobWaveNumber;
char *userStatus;
char *paramList;
char *stageList;
char *jobname;
int jobcontrol;
int jobPid;
time_t jobLastTime;
char *jobInvocations;
int jobInterimStatus;
char *jobInvocationid;
char *jobDesc;
char *stageList2;
char *jobElapsed;
char *jobFullDesc;
int jobDMIService;
int jobMultiInvokable;
} info;
} DSJOBINFO;
Is there a newer version of the Header file that we are missing? Or is the documentation wrong?
Thanks - - John
We are staring to create some extrrenal C++ jobs for auditing purposes but have recently noticed a discrepancy between our DSAPI.h file and what was listed in the documnetation. Specifically the structure _DSJOBINFO,
We are running version 8.0.1 FP3 and the create date on the DSAPI.h is Thursday, January 07, 2010, 4:30:45 PM.
The header that came with our install has:
typedef struct _DSJOBINFO
{
int infoType; /* Key indicating type of information */
union
{
int jobStatus; /* Current status of job */
char *jobController; /* Name of controlling job */
time_t jobStartTime; /* Date and time when job started */
int jobWaveNumber; /* Wave number of current or last run */
char *userStatus; /* Last set user status */
char *stageList; /* List of stage names in job */
char *paramList; /* List of job parameter names */
char *jobName; /* Name of this job */
int jobControl; /* Current job control status */
int jobPid; /* Job process id */
time_t jobLastTime; /* Date and time when job finished */
char *jobInvocations; /* List of job invocation ids */
int jobInterimStatus; /* Interim status of job */
char *jobInvocationId; /* Job invocation id */
char *jobDesc;
char *stageList2;
char *jobElapsed;
int jobDMIService ; /* Job is a DMI (aka WEB) service */
int jobMultiInvokable ; /* Job can be multiply invoked */
char * jobFullDesc ; /* Full job description */
int jobRestartable ; /* Job is restartable */
} info; /* Information value */
} DSJOBINFO;
The document has it listed as(Parallel job Advanced Developers Guide)
typedef struct _DSJOBINFO
{
int infoType;
union
{
int jobStatus;
char *jobController;
time_t jobStartTime;
int jobWaveNumber;
char *userStatus;
char *paramList;
char *stageList;
char *jobname;
int jobcontrol;
int jobPid;
time_t jobLastTime;
char *jobInvocations;
int jobInterimStatus;
char *jobInvocationid;
char *jobDesc;
char *stageList2;
char *jobElapsed;
char *jobFullDesc;
int jobDMIService;
int jobMultiInvokable;
} info;
} DSJOBINFO;
Is there a newer version of the Header file that we are missing? Or is the documentation wrong?
Thanks - - John