Setting the ERROR_STOP ~set Option

The error_stop ~set option is used to stop the execution of a procedure if/when any cleaning error is encountered. It has no effect when cleaning statements are being executed in a ~clean block. Error_stop may not be set to a number, it is either on or off.

Example Spec:

~comment&errstop.doc~defproc={proc1:>filetodb cln1 #check [1^1] "Column 1 is not a 1."check [1^2] "Column 1 is not a 2."check [1^3] "Column 1 is not a 3."check [1^4] "Column 1 is not a 4."check [1^5] "Column 1 is not a 5."check [1^6] "Column 1 is not a 6."check [1^7] "Column 1 is not a 7."check [1^8] "Column 1 is not a 8."check [1^9] "Column 1 is not a 9."check [1^x] "Column 1 is not a x.">eof&&cln1}~set error_stop~input $~cleanm [1$]="1"&&cln1~exc proc=proc1~end