Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

STEP Define restart point

&pagelevel(4)&pagelevel

The STEP statement is used to define a restart point for error handling in a sequence of SDF-A statements. The STEP statement is valid only in procedures and batch runs.

STEP

This statement has no operands.

If SDF-A encounters a syntax error or a serious logical error, it instigates the following steps:

  • an error message is output

  • the current SDF-A statement is terminated

  • the subsequent statements are skipped until STEP or END is reached.

If the next command reached by SDF-A is an END command, an abnormal program termination (TERM UNIT=STEP,MODE=ABNORMAL) is generated, and the spin-off mechanism is activated. If the next command reached by SDF-A is a STEP command, it continues with the statement following STEP. If an error has no effect on the normal execution of the current job, the user must intercept abnormal program termination by inserting a STEP command.

SDF corrects minor logical errors automatically, accompanying the correction by an appropriate warning message. The spin-off mechanism is not activated.