Show TOC

SETVALIDLocate this document in the navigation structure

SETVALID ( <status> ).

SETVALID ( <status> , <exit> ).

SETVALID is used in the implementation of a validation object. The command is not evaluated in other contexts.

The value of <status> determines whether the command causes the validation to pass or fail. <status> can be a fixed value or a parameter. Only 0 or SPACE causes a pass. All other values causes a fail.

The value of <exit> determines the exit behavior. <exit> can be a fixed value or a parameter. Only 0 or SPACE allow the continuation to the next command in the implementation script. All other values cause the validation object to exit and jump to the outer VALIDATE command.