Technote (FAQ)
Question
When using DSAPI DSGetStageInfo function, how can Passive Stage return codes be handled?
Answer
Although DSJ_STAGESTATUS will return a value, Passive stages (for example, Dataset Stages) do not have relevant status return codes. So it is recommended that the DSJ_STAGESTATUS be disregarded for passive stages. The DSGetStageInfo function was designed for Active stages only (for example, Transformer or Load Stages).
Here are some codes for active stage status:
* Executable Stage status types:
EQU DSR.STAGE.RUNNING TO 1 ;* running normally
EQU DSR.STAGE.FINISHED TO 2 ;* last ran without error
EQU DSR.STAGE.ABORTED TO 3 ;* last ran with error
EQU DSR.STAGE.PAUSED TO 4 ;* running but suspended
EQU DSR.STAGE.STOPPED TO 5 ;* last run stopped by operator
EQU DSR.STAGE.NONE TO 6 ;* not compiled
EQU DSR.STAGE.WAITING TO 7 ;* waiting for resource
EQU DSR.STAGE.READY TO 8 ;* ready to start
EQU DSR.STAGE.STARTING TO 9 ;* starting
EQU DSR.STAGE.UNKNOWN TO 10 ;* no status info available for this stage
EQU DSR.STAGE.STATUS.MAX TO 10
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.