Previous Topic: SET (Changing Error Processing)Next Topic: When to Use


SET

The SET function allows you to establish how you want DBUTLTY to support error handling of functions within a specific execution and for other special needs.

Two error handling issues of concern exist and each are enhanced with this function. The first is that if a function fails for any reason, each remaining function in the step is syntax edited and ignored. The second is that at the end of the last function, DBUTLTY ends with an abend 4 in z/OS or CANCEL in z/VSE and never a return code other than zero. These actions remain the default and cannot be globally changed.

The STOP and CONTINUE options indicate the execution option for future functions in the same utility step. The ABEND and RCn options indicate the actions taken to terminate the utility step back to the operating system. The STOP/CONTINUE options are completely independent from the ABEND/RCn options.

The SET function does not open any CA Datacom/DB tables.

A SET function can generate an error condition only for a syntax error. If syntax is correct, it always executes except if the EDIT function was previously specified.