Previous Topic: Specify Masking Criteria ValuesNext Topic: Specify Multiple Variables


Manage Errors

The variable named MASKERLV contains a code that tells CA TPX Batch what to do when it finds a value in an input control record that contains the masking character. You can use a SET statement to set the value of MASKERLV to one of the values shown below. A number 1 (one) is the default value.

0

Error message TPBL1050 is issued. Batch continues to process as if the error had not occurred.

1

Error message TPBL1050 is issued. Batch only processes records that do not contain the masking character. The return code for the job is set to 12 if is not already set to a higher number.

2

The return code for the job is set to 16 if is not already set to a higher number. Batch terminates processing. All data before the error was encountered is saved.

3

User abend 930 is issued and no data is written to the extract file.

Example

The following SET statement causes Batch to terminate processing, keeping the data processed before the error occurred:

SET MASKERLV '2'