Data editing > Data correction > Missing values in numeric fields > Switching missing values processing on and off
 
Switching missing values processing on and off
You can use missing values processing in the edit section, in the tabulation section, or both. To switch it on in the edit section, type:
missingincs 1
To switch it off, type:
missingincs 0
You can use these statements any number of times in the edit to toggle between using and not using the missing values features.
Note The missingincs statement is always executed wherever it appears in the edit. This means that although the compiler will accept statements of the form:
if (....) missingincs 1
Quantum will, in fact, switch on missingincs for the rest of the edit or until a missingincs 0 statement is read. It does not switch on missingincs selectively for only those records that satisfy the expression defined by the if clause.
If a job contains an edit and a tab section and missing values processing is used in the edit, the setting of missingincs carries forward from the edit to the tab section. If the edit uses missing values processing but the tab section does not require it, remember to end the edit with a missingincs 0 statement.
See also
Missing values in numeric fields