Flow-control macros (DataStage®)
Use these macros to override the default behavior of the Per-Record loop in your stage definition.
- endLoop(). Causes the operator to stop looping, following completion of the current loop and after writing any auto outputs for this loop.
- nextLoop() Causes the operator to immediately skip to the start of next loop, without writing any outputs.
- failStep() Causes the operator to return a failed status and terminate the job.