Listing Passive Stages in a Job
Posted: Mon Aug 08, 2011 1:35 am
Hi,
I'm trying to list out the passive stages in a DataStage Parallel Job [DataStage v8.1] using the DSGetJobInfo function.
#### Server Routine Code as below ####
$INCLUDE DSINCLUDE JOBCONTROL.H
JobHandle = DSAttachJob(JobName,DSJ.ERRFATAL)
Ans = DSGetJobInfo(JobHandle,DSJ.STAGELIST2)
### End of Code ######
This routine doesn't list out the Oracle Enterprise Stage as a passive stage. Instead it shows up as an active stage. In the repository under Stage Types -> Parallel -> Database, I checked the properties of the Oracle Enterprise stage and found that it is check marked as a Passive stage. In that case why should my routine list it as an active component? Could anyone help?
Thanks
Deepti
I'm trying to list out the passive stages in a DataStage Parallel Job [DataStage v8.1] using the DSGetJobInfo function.
#### Server Routine Code as below ####
$INCLUDE DSINCLUDE JOBCONTROL.H
JobHandle = DSAttachJob(JobName,DSJ.ERRFATAL)
Ans = DSGetJobInfo(JobHandle,DSJ.STAGELIST2)
### End of Code ######
This routine doesn't list out the Oracle Enterprise Stage as a passive stage. Instead it shows up as an active stage. In the repository under Stage Types -> Parallel -> Database, I checked the properties of the Oracle Enterprise stage and found that it is check marked as a Passive stage. In that case why should my routine list it as an active component? Could anyone help?
Thanks
Deepti