Data editing > Your Quantum program > Components of a program > Dealing with errors in your data
 
Dealing with errors in your data
When errors are found in the data, you can:
write out incorrect records for further investigation (write or require)
copy the record to a different file (split or write)
correct the errors (Quantum statements, online edit, file of corrections).
Many of the statements mentioned in this section may be used for other purposes, rather than just to deal with errors.
Example
if (c224'5') write
This example writes out all records in which column 24 of card 2 contains a 5. The records are written to the default print file, out2.
See also
Components of a program