Advanced tables and statistics > Other tabulation facilities > Editing in the tabulation section
 
Editing in the tabulation section
Quick reference
To include edit statements in the tabulation section, type:
#ed
edit statements
#end
More information
Edit statements may by embedded in the tabulation section be enclosing them in #ed and #end statements. This can be useful when you need to do a recode in an axis but do not want to write a full edit. For example:
l ax01
#ed
if (c104'2') c181=or(c151,c152,c153,c155,c155)
#end
n01First Row;c=c181'1'
performs the same function as:
ed
if (c104'2') c181=or(c151,c152,c153,c154,c155)
end
  .
l ax01
n01First Row;c­=c181'1'
Note When you use an #ed — #end statement in an axis to assign a value to a column or variable that is referenced in other axes in the run, the results for that column or variable can be unpredictable in the other axes. You therefore need to take care when using this construction.
See also
Other tabulation facilities